summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/GodotGlobal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/GodotGlobal.cpp b/src/core/GodotGlobal.cpp
index ba984a8..8f178f8 100644
--- a/src/core/GodotGlobal.cpp
+++ b/src/core/GodotGlobal.cpp
@@ -67,6 +67,7 @@ void Godot::print_error(const String &description, const String &function, const
}
void ___register_types();
+void ___init_method_bindings();
void Godot::gdnative_init(godot_gdnative_init_options *options) {
godot::api = options->api_struct;
@@ -111,6 +112,7 @@ void Godot::nativescript_init(void *handle) {
godot::_RegisterState::language_index = godot::nativescript_1_1_api->godot_nativescript_register_instance_binding_data_functions(binding_funcs);
___register_types();
+ ___init_method_bindings();
}
void Godot::nativescript_terminate(void *handle) {