[iOS] Fix building as static library or xcframework, add iOS config and xcframework build script to the test project.

This commit is contained in:
bruvzg
2023-11-05 23:04:03 +02:00
parent cc89bd2132
commit 29b34d92bb
9 changed files with 54 additions and 17 deletions

View File

@@ -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 */ \