1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

C#: Fix module builds for Windows 32-bit with mingw-w64

The lambda was giving issues, so I re-wrote it as a static function.
This commit is contained in:
Ignacio Roldán Etcheverry
2022-09-08 20:13:49 +02:00
parent 337e4d185a
commit 8199a209c2
4 changed files with 58 additions and 47 deletions

View File

@@ -133,6 +133,10 @@ class CSharpScript : public Script {
void _clear();
static void GD_CLR_STDCALL _add_property_info_list_callback(CSharpScript *p_script, const String *p_current_class_name, void *p_props, int32_t p_count);
#ifdef TOOLS_ENABLED
static void GD_CLR_STDCALL _add_property_default_values_callback(CSharpScript *p_script, void *p_def_vals, int32_t p_count);
#endif
bool _update_exports(PlaceHolderScriptInstance *p_instance_to_update = nullptr);
CSharpInstance *_create_instance(const Variant **p_args, int p_argcount, Object *p_owner, bool p_is_ref_counted, Callable::CallError &r_error);