virtualx-engine/modules/mono
Ignacio Etcheverry 8cbe4a3db4 Make C# internal calls return structs as ref parameters
The Mono IL interpreter's WebAssembly to native trampolines don't support passing structs by value, so we need to do it this way.

Also now we pass and return long, ulong, float and double as ref parameters as well. This is due to missing trampolines for float and long types. This is likely a temporary workaround that will be reverted in the future. The correct solution would be to patch 'mono/mini/m2n-gen.cs' when building the Mono runtime for WASM in order to generate the trampolines we need.
2019-11-15 03:22:25 +01:00
..
build_scripts Mono/C#: WebAssembly support 2019-11-13 21:41:11 +01:00
doc_classes doc: Drop unused <demos> tag 2019-04-19 11:03:46 +02:00
editor Make C# internal calls return structs as ref parameters 2019-11-15 03:22:25 +01:00
glue Mono/C#: WebAssembly support 2019-11-13 21:41:11 +01:00
icons Add C# language editor icon 2019-08-12 18:57:26 +02:00
mono_gd Mono/C#: Initial exporter support for AOT compilation 2019-11-15 03:22:18 +01:00
utils Mono/C#: Initial exporter support for AOT compilation 2019-11-15 03:22:18 +01:00
.gitignore Make git no longer ignore solution files inside the mono module 2019-08-12 15:59:06 +02:00
__init__.py Re-write mono module editor code in C# 2019-07-05 09:38:23 +02:00
class_db_api_json.cpp Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
class_db_api_json.h Style: Fix copyright headers in new files 2019-08-28 09:19:52 +02:00
config.py Mono/C#: WebAssembly support 2019-11-13 21:41:11 +01:00
csharp_script.cpp Mono/C#: Initial exporter support for AOT compilation 2019-11-15 03:22:18 +01:00
csharp_script.h Mono: Fix build errors with tools=no 2019-07-08 18:07:20 +02:00
godotsharp_defs.h Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'modules/mono' 2019-08-09 12:13:21 +02:00
godotsharp_dirs.cpp Mono/C#: Initial exporter support for AOT compilation 2019-11-15 03:22:18 +01:00
godotsharp_dirs.h Re-write mono module editor code in C# 2019-07-05 09:38:23 +02:00
mono_gc_handle.cpp Mono: Lifetime fixes for CSharpInstance and instance binding data 2019-02-03 06:47:25 +01:00
mono_gc_handle.h Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
register_types.cpp Consistency in resource format saver/loader de-registration 2019-01-10 12:45:57 +01:00
register_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub Fix 'android_mono_config.gen.cpp' not compiled first time it's generated 2019-08-26 17:46:57 +02:00
signal_awaiter_utils.cpp Mono/C#: WebAssembly support 2019-11-13 21:41:11 +01:00
signal_awaiter_utils.h Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00