diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-11-14 21:48:49 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-11-15 03:22:25 +0100 |
commit | 8cbe4a3db49f61992a978d2311455377bb3a9656 (patch) | |
tree | c6b87d6938bda110637a094d678b8d73a6496a14 /modules/mono/mono_gd | |
parent | 2b67924a0b5f50175da418408dcb8768c2bd3646 (diff) |
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.
Diffstat (limited to 'modules/mono/mono_gd')
0 files changed, 0 insertions, 0 deletions