diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-11-24 10:22:12 +0100 |
---|---|---|
committer | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-11-30 16:55:48 +0100 |
commit | 4fc0fb826afb606a4c934cf07656a783756a242d (patch) | |
tree | 34e6fdd55c7e6c85c7ebda71f67d641bdc1d410e /core/object/class_db.h | |
parent | 2d118bd8b881fe9658e70eb8dc4fa7a6efac41a3 (diff) |
Change gdnative interface so that Godot object initialization should be triggered from the extension side
Diffstat (limited to 'core/object/class_db.h')
-rw-r--r-- | core/object/class_db.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/object/class_db.h b/core/object/class_db.h index dae75ba564..ca9c1def29 100644 --- a/core/object/class_db.h +++ b/core/object/class_db.h @@ -211,8 +211,7 @@ public: static bool is_parent_class(const StringName &p_class, const StringName &p_inherits); static bool can_instantiate(const StringName &p_class); static Object *instantiate(const StringName &p_class); - static Object *construct_object(Object *(*p_create_func)(), ObjectNativeExtension *p_extension); - static void instance_get_native_extension_data(ObjectNativeExtension **r_extension, GDExtensionClassInstancePtr *r_extension_instance, Object *p_base); + static void set_object_extension_instance(Object *p_object, const StringName &p_class, GDExtensionClassInstancePtr p_instance); static APIType get_api_type(const StringName &p_class); |