diff options
| author | David Snopek <dsnopek@gmail.com> | 2023-09-20 12:15:31 -0500 |
|---|---|---|
| committer | David Snopek <dsnopek@gmail.com> | 2023-09-20 12:15:31 -0500 |
| commit | 3a02feddc34b56affe1dd9ee2a0bfdb76642f502 (patch) | |
| tree | 2484e3272b91657031ddc454a9f54937699d7807 /include/godot_cpp/core | |
| parent | a3dfbbde8592abe26a8521bec703d5068cda1db5 (diff) | |
| download | redot-cpp-3a02feddc34b56affe1dd9ee2a0bfdb76642f502.tar.gz | |
Update for addition of `get_virtual_call_data_func` and `call_virtual_func` to `GDExtensionClassCreationInfo2`
Diffstat (limited to 'include/godot_cpp/core')
| -rw-r--r-- | include/godot_cpp/core/class_db.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp index 930caa8..af81037 100644 --- a/include/godot_cpp/core/class_db.hpp +++ b/include/godot_cpp/core/class_db.hpp @@ -198,6 +198,8 @@ void ClassDB::_register_class(bool p_virtual, bool p_exposed) { T::create, // GDExtensionClassCreateInstance create_instance_func; /* this one is mandatory */ T::free, // GDExtensionClassFreeInstance free_instance_func; /* this one is mandatory */ &ClassDB::get_virtual_func, // GDExtensionClassGetVirtual get_virtual_func; + nullptr, // GDExtensionClassGetVirtualCallData get_virtual_call_data_func; + nullptr, // GDExtensionClassCallVirtualWithData call_virtual_func; nullptr, // GDExtensionClassGetRID get_rid; (void *)&T::get_class_static(), // void *class_userdata; }; |
