diff options
| author | David Snopek <dsnopek@gmail.com> | 2023-10-11 22:59:59 -0500 |
|---|---|---|
| committer | David Snopek <dsnopek@gmail.com> | 2023-10-16 10:19:11 -0500 |
| commit | b507b3e5913344a97e90ba27b221e28924f555ab (patch) | |
| tree | 3f74866f963be20325c590f2e4eee105e9d4bbe3 /src/godot.cpp | |
| parent | ef2f63a00c5496cc325e8546acd743787e87a83d (diff) | |
| download | redot-cpp-b507b3e5913344a97e90ba27b221e28924f555ab.tar.gz | |
Automatically register only engine classes whose header has been included
Diffstat (limited to 'src/godot.cpp')
| -rw-r--r-- | src/godot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/godot.cpp b/src/godot.cpp index 05413ff..ebf4400 100644 --- a/src/godot.cpp +++ b/src/godot.cpp @@ -30,7 +30,7 @@ #include <godot_cpp/godot.hpp> -#include <godot_cpp/classes/editor_plugin.hpp> +#include <godot_cpp/classes/editor_plugin_registration.hpp> #include <godot_cpp/classes/wrapped.hpp> #include <godot_cpp/core/class_db.hpp> #include <godot_cpp/core/memory.hpp> @@ -416,7 +416,7 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge ERR_FAIL_NULL_V_MSG(init_callback, false, "Initialization callback must be defined."); Variant::init_bindings(); - register_engine_classes(); + godot::internal::register_engine_classes(); return true; } |
