diff options
| author | David Snopek <dsnopek@gmail.com> | 2023-05-16 20:59:54 -0500 |
|---|---|---|
| committer | David Snopek <dsnopek@gmail.com> | 2023-05-16 22:02:35 -0500 |
| commit | e75ebffb70f53426e4d8cafad7a2ff608602fda7 (patch) | |
| tree | 478233c5c90e3d3296ae122ca81bab0398f13bbc /src | |
| parent | 1c18413de00f1a6265b2b6c30175b2f6a434b574 (diff) | |
| download | redot-cpp-e75ebffb70f53426e4d8cafad7a2ff608602fda7.tar.gz | |
Add support for adding/removing editor plugins
Diffstat (limited to 'src')
| -rw-r--r-- | src/godot.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/godot.cpp b/src/godot.cpp index 25828a7..b95f1b8 100644 --- a/src/godot.cpp +++ b/src/godot.cpp @@ -181,6 +181,8 @@ GDExtensionInterfaceClassdbRegisterExtensionClassPropertySubgroup gdextension_in GDExtensionInterfaceClassdbRegisterExtensionClassSignal gdextension_interface_classdb_register_extension_class_signal = nullptr; GDExtensionInterfaceClassdbUnregisterExtensionClass gdextension_interface_classdb_unregister_extension_class = nullptr; GDExtensionInterfaceGetLibraryPath gdextension_interface_get_library_path = nullptr; +GDExtensionInterfaceEditorAddPlugin gdextension_interface_editor_add_plugin = nullptr; +GDExtensionInterfaceEditorRemovePlugin gdextension_interface_editor_remove_plugin = nullptr; } // namespace internal @@ -360,6 +362,8 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge LOAD_PROC_ADDRESS(classdb_register_extension_class_signal, GDExtensionInterfaceClassdbRegisterExtensionClassSignal); LOAD_PROC_ADDRESS(classdb_unregister_extension_class, GDExtensionInterfaceClassdbUnregisterExtensionClass); LOAD_PROC_ADDRESS(get_library_path, GDExtensionInterfaceGetLibraryPath); + LOAD_PROC_ADDRESS(editor_add_plugin, GDExtensionInterfaceEditorAddPlugin); + LOAD_PROC_ADDRESS(editor_remove_plugin, GDExtensionInterfaceEditorRemovePlugin); // Load the Godot version. internal::gdextension_interface_get_godot_version(&internal::godot_version); |
