diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-12 23:29:37 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-12 23:29:37 +0100 |
commit | 306dd5be3fe8887124be9ebce470090240c5f757 (patch) | |
tree | 8a510ffda0e85b2148ae5bd22180cc74718d9561 /core/object/class_db.h | |
parent | 3be3d5099cc75a2db544b3a0964a430c3eb00909 (diff) | |
parent | be11002e410bbd8e01ef3e91682a94b50dba1dd8 (diff) | |
download | redot-engine-306dd5be3fe8887124be9ebce470090240c5f757.tar.gz |
Merge pull request #87758 from dsnopek/gdextension-register-virtual-method
Allow GDExtensions to register virtual methods and call them on scripts
Diffstat (limited to 'core/object/class_db.h')
-rw-r--r-- | core/object/class_db.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/class_db.h b/core/object/class_db.h index 21243230de..c910b30d11 100644 --- a/core/object/class_db.h +++ b/core/object/class_db.h @@ -410,6 +410,7 @@ public: static void add_virtual_method(const StringName &p_class, const MethodInfo &p_method, bool p_virtual = true, const Vector<String> &p_arg_names = Vector<String>(), bool p_object_core = false); static void get_virtual_methods(const StringName &p_class, List<MethodInfo> *p_methods, bool p_no_inheritance = false); + static void add_extension_class_virtual_method(const StringName &p_class, const GDExtensionClassVirtualMethodInfo *p_method_info); static void bind_integer_constant(const StringName &p_class, const StringName &p_enum, const StringName &p_name, int64_t p_constant, bool p_is_bitfield = false); static void get_integer_constant_list(const StringName &p_class, List<String> *p_constants, bool p_no_inheritance = false); |