summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eo_mono/FunctionWrapper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/mono/eo_mono/FunctionWrapper.cs')
-rw-r--r--src/bindings/mono/eo_mono/FunctionWrapper.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/mono/eo_mono/FunctionWrapper.cs b/src/bindings/mono/eo_mono/FunctionWrapper.cs
index 448403a..03e8138 100644
--- a/src/bindings/mono/eo_mono/FunctionWrapper.cs
+++ b/src/bindings/mono/eo_mono/FunctionWrapper.cs
@@ -25,7 +25,9 @@ public partial class FunctionInterop
25public class FunctionWrapper<T> 25public class FunctionWrapper<T>
26{ 26{
27 private Lazy<FunctionLoadResult<T>> loadResult; 27 private Lazy<FunctionLoadResult<T>> loadResult;
28#pragma warning disable 0414
28 private NativeModule module; // so it doesn't get unloaded 29 private NativeModule module; // so it doesn't get unloaded
30#pragma warning restore 0414
29 31
30 private static FunctionLoadResult<T> LazyInitialization(NativeModule module, string functionName) 32 private static FunctionLoadResult<T> LazyInitialization(NativeModule module, string functionName)
31 { 33 {