diff options
author | David Snopek <dsnopek@gmail.com> | 2023-09-21 16:20:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 16:20:21 -0500 |
commit | c44c3d5ebf9826214efc971f0cbe047789af2575 (patch) | |
tree | 5ca066cd3e84799c40defebe7923d7785bc20fe6 /src/godot.cpp | |
parent | 4314f91b7dc23d930506f52d3a3c88fae0f5d57d (diff) | |
parent | c18c1916c3f465d00800921d527902f18308fbf4 (diff) | |
download | redot-cpp-c44c3d5ebf9826214efc971f0cbe047789af2575.tar.gz |
Merge pull request #1155 from dsnopek/callable-mp
Implement `callable_mp()` and `callable_mp_static()`
Diffstat (limited to 'src/godot.cpp')
-rw-r--r-- | src/godot.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/godot.cpp b/src/godot.cpp index 0671221..05413ff 100644 --- a/src/godot.cpp +++ b/src/godot.cpp @@ -170,6 +170,7 @@ GDExtensionInterfaceObjectGetClassName gdextension_interface_object_get_class_na GDExtensionInterfaceObjectCastTo gdextension_interface_object_cast_to = nullptr; GDExtensionInterfaceObjectGetInstanceFromId gdextension_interface_object_get_instance_from_id = nullptr; GDExtensionInterfaceObjectGetInstanceId gdextension_interface_object_get_instance_id = nullptr; +GDExtensionInterfaceCallableCustomCreate gdextension_interface_callable_custom_create = nullptr; GDExtensionInterfaceRefGetObject gdextension_interface_ref_get_object = nullptr; GDExtensionInterfaceRefSetObject gdextension_interface_ref_set_object = nullptr; GDExtensionInterfaceScriptInstanceCreate2 gdextension_interface_script_instance_create2 = nullptr; @@ -386,6 +387,7 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge LOAD_PROC_ADDRESS(object_cast_to, GDExtensionInterfaceObjectCastTo); LOAD_PROC_ADDRESS(object_get_instance_from_id, GDExtensionInterfaceObjectGetInstanceFromId); LOAD_PROC_ADDRESS(object_get_instance_id, GDExtensionInterfaceObjectGetInstanceId); + LOAD_PROC_ADDRESS(callable_custom_create, GDExtensionInterfaceCallableCustomCreate); LOAD_PROC_ADDRESS(ref_get_object, GDExtensionInterfaceRefGetObject); LOAD_PROC_ADDRESS(ref_set_object, GDExtensionInterfaceRefSetObject); LOAD_PROC_ADDRESS(script_instance_create2, GDExtensionInterfaceScriptInstanceCreate2); |