summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/classes
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-11-05 23:04:03 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-11-09 20:01:59 +0200
commit29b34d92bbaa467fa6f9b28071563ffb340702ba (patch)
tree5862d27d16315867946796d390f4318b9cf7e91d /include/godot_cpp/classes
parentcc89bd21324c3820d1823456563bcc30855b5c5e (diff)
downloadredot-cpp-29b34d92bbaa467fa6f9b28071563ffb340702ba.tar.gz
[iOS] Fix building as static library or xcframework, add iOS config and xcframework build script to the test project.
Diffstat (limited to 'include/godot_cpp/classes')
-rw-r--r--include/godot_cpp/classes/wrapped.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/classes/wrapped.hpp b/include/godot_cpp/classes/wrapped.hpp
index 75bd3b0..f8f921b 100644
--- a/include/godot_cpp/classes/wrapped.hpp
+++ b/include/godot_cpp/classes/wrapped.hpp
@@ -450,7 +450,7 @@ public:
\
static void *_gde_binding_create_callback(void *p_token, void *p_instance) { \
/* Do not call memnew here, we don't want the post-initializer to be called */ \
- return new ("") m_class((GodotObject *)p_instance); \
+ return new ("", "") m_class((GodotObject *)p_instance); \
} \
static void _gde_binding_free_callback(void *p_token, void *p_instance, void *p_binding) { \
/* Explicitly call the deconstructor to ensure proper lifecycle for non-trivial members */ \