brandonlamb
06/19/2018, 3:50 PMgodot_gdnative_init()
function for the game engine to find and call.dany
06/19/2018, 4:01 PMbrandonlamb
06/19/2018, 4:03 PMgodot_gdnative_init()
and godot_gdnative_terminate()
. I get a dynlib compiled, and when I try to load this, godot says it cant find the function.
I'm assuming that I'm missing a step, or annotation, or somethingdany
06/19/2018, 4:15 PMsvyatoslav.scherbina
06/19/2018, 4:43 PM@konan.internal.CName
annotation:
@konan.internal.CName("godot_gdnative_init")
fun godot_gdnative_init(o: CPointer<godot_gdnative_init_options>>?) {
}
(or something like this).@konan.internal.ExportForCppRuntime
. However this annotation is more internal 🙂