summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/classes/wrapped.hpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-11-10 11:38:21 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-11-10 11:38:21 +0100
commitadb0cfc59c94efea8b8232827805c6e144dda970 (patch)
tree5862d27d16315867946796d390f4318b9cf7e91d /include/godot_cpp/classes/wrapped.hpp
parentcc89bd21324c3820d1823456563bcc30855b5c5e (diff)
parent29b34d92bbaa467fa6f9b28071563ffb340702ba (diff)
downloadredot-cpp-adb0cfc59c94efea8b8232827805c6e144dda970.tar.gz
Merge pull request #1302 from bruvzg/ios_static
[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/wrapped.hpp')
-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 */ \