mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 21:21:33 +00:00
ffi: autogen java bindings (very wip)
This commit is contained in:
@ -131,6 +131,9 @@ class Printer(buffer: StringBuilder) : NodeVisitor<Unit> {
|
||||
}
|
||||
|
||||
override fun visitFunctionDefinition(node: FunctionDefinition) {
|
||||
if (node.modifiers.export) {
|
||||
append("export ")
|
||||
}
|
||||
append("func ")
|
||||
visit(node.symbol)
|
||||
append("(")
|
||||
|
Reference in New Issue
Block a user