diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-10-17 21:37:57 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-10-17 22:36:26 +0200 |
commit | 23ae64b15e14e868f3a152ca2745b2db764b12c2 (patch) | |
tree | f3d68e5022b7ee59993d9106a17c91e6f15cb301 /modules/mono/SCsub | |
parent | eeaa9124af0cf6b66acd70f003482eecdd997a4a (diff) |
C#: Optimize struct marshalling
- We no longer box struct to return them from internal calls.
- Use reinterpret_cast if the managed struct layout is the same as the native struct.
Diffstat (limited to 'modules/mono/SCsub')
-rw-r--r-- | modules/mono/SCsub | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/mono/SCsub b/modules/mono/SCsub index e4691ee5c8..9a62b0fdc9 100644 --- a/modules/mono/SCsub +++ b/modules/mono/SCsub @@ -88,9 +88,6 @@ vars.Update(env_mono) if env_mono['mono_glue']: env_mono.Append(CPPDEFINES=['MONO_GLUE_ENABLED']) -if ARGUMENTS.get('yolo_copy', False): - env_mono.Append(CPPDEFINES=['YOLO_COPY']) - # Configure TLS checks import tls_configure |