summaryrefslogtreecommitdiff
path: root/core/extension
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2021-08-17 22:11:11 -0300
committerGeorge Marques <george@gmarqu.es>2021-08-17 22:11:11 -0300
commit3b593b596e2fadb2dd3be3fa772c208ce1bb5ed4 (patch)
tree1ab56eb2f1a86d24dc076fda78e4d09653dc8d7a /core/extension
parentfcfea84d5e5e000e24bbe53858af922af8be6f80 (diff)
Properly set up virtual calls for extensions
Diffstat (limited to 'core/extension')
-rw-r--r--core/extension/native_extension.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/extension/native_extension.cpp b/core/extension/native_extension.cpp
index b2f9257f82..0556c9c84d 100644
--- a/core/extension/native_extension.cpp
+++ b/core/extension/native_extension.cpp
@@ -154,6 +154,7 @@ void NativeExtension::_register_extension_class(const GDNativeExtensionClassLibr
extension->native_extension.create_instance = p_extension_funcs->create_instance_func;
extension->native_extension.set_object_instance = p_extension_funcs->object_instance_func;
extension->native_extension.free_instance = p_extension_funcs->free_instance_func;
+ extension->native_extension.get_virtual = p_extension_funcs->get_virtual_func;
ClassDB::register_extension_class(&extension->native_extension);
}