You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void (*object_set_instance)(GDNativeObjectPtrp_o, constchar*p_classname, GDExtensionClassInstancePtrp_instance); /* p_classname should be a registered extension class and should extend the p_o object's class. */
532
+
void (*object_set_instance)(GDNativeObjectPtrp_o, constGDNativeStringNamePtrp_classname, GDExtensionClassInstancePtrp_instance); /* p_classname should be a registered extension class and should extend the p_o object's class. */
GDNativeObjectPtr (*classdb_construct_object)(constchar*p_classname); /* The passed class must be a built-in godot class, or an already-registered extension class. In both case, object_set_instance should be called to fully initialize the object. */
GDNativeObjectPtr (*classdb_construct_object)(constGDNativeStringNamePtrp_classname); /* The passed class must be a built-in godot class, or an already-registered extension class. In both case, object_set_instance should be called to fully initialize the object. */
Copy file name to clipboardExpand all lines: include/godot_cpp/classes/wrapped.hpp
+16-12Lines changed: 16 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ class Wrapped {
49
49
friendvoidpostinitialize_handler(Wrapped *);
50
50
51
51
protected:
52
-
virtualconstchar *_get_extension_class() const; // This is needed to retrieve the class name before the godot object has its _extension and _extension_instance members assigned.
52
+
virtualconstStringName *_get_extension_class() const; // This is needed to retrieve the class name before the godot object has its _extension and _extension_instance members assigned.
0 commit comments