summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core/class_db.hpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-03-16 10:39:40 +0100
committerGitHub <noreply@github.com>2022-03-16 10:39:40 +0100
commit7bcf579a377bbfb87a67acdfc08696f7cb429bc2 (patch)
treed6a13344f421b45d47fa80602722eb9abb465b82 /include/godot_cpp/core/class_db.hpp
parent13603e40509800da02fbc7df29eff19e91b29158 (diff)
parent817efdd4845ed1a0024804c23c43bfb98d144fc4 (diff)
downloadredot-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.hpp3
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;
};