diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-16 10:39:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 10:39:40 +0100 |
commit | 7bcf579a377bbfb87a67acdfc08696f7cb429bc2 (patch) | |
tree | d6a13344f421b45d47fa80602722eb9abb465b82 /include/godot_cpp/core/class_db.hpp | |
parent | 13603e40509800da02fbc7df29eff19e91b29158 (diff) | |
parent | 817efdd4845ed1a0024804c23c43bfb98d144fc4 (diff) | |
download | redot-cpp-7bcf579a377bbfb87a67acdfc08696f7cb429bc2.tar.gz |
Merge pull request #724 from bruvzg/fix-after-expose-more-gdextension
Diffstat (limited to 'include/godot_cpp/core/class_db.hpp')
-rw-r--r-- | include/godot_cpp/core/class_db.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp index 92d42df..2034c27 100644 --- a/include/godot_cpp/core/class_db.hpp +++ b/include/godot_cpp/core/class_db.hpp @@ -155,10 +155,11 @@ void ClassDB::register_class() { nullptr, // GDNativeExtensionClassNotification notification_func; nullptr, // GDNativeExtensionClassToString to_string_func; nullptr, // GDNativeExtensionClassReference reference_func; - nullptr, // GDNativeExtensionClassUnreference + nullptr, // GDNativeExtensionClassUnreference unreference_func; T::create, // GDNativeExtensionClassCreateInstance create_instance_func; /* this one is mandatory */ T::free, // GDNativeExtensionClassFreeInstance free_instance_func; /* this one is mandatory */ &ClassDB::get_virtual_func, // GDNativeExtensionClassGetVirtual get_virtual_func; + nullptr, // GDNativeExtensionClassGetRID get_rid; (void *)cl.name, // void *class_userdata; }; |