summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-14 18:35:52 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-15 13:43:12 +0200
commit817efdd4845ed1a0024804c23c43bfb98d144fc4 (patch)
treed6a13344f421b45d47fa80602722eb9abb465b82 /include/godot_cpp
parent13603e40509800da02fbc7df29eff19e91b29158 (diff)
downloadredot-cpp-817efdd4845ed1a0024804c23c43bfb98d144fc4.tar.gz
Fix build after "Discern between VIRTUAL and ABSTRACT class bindings".
Diffstat (limited to 'include/godot_cpp')
-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;
};