summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eo_mono/iwrapper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/mono/eo_mono/iwrapper.cs')
-rw-r--r--src/bindings/mono/eo_mono/iwrapper.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bindings/mono/eo_mono/iwrapper.cs b/src/bindings/mono/eo_mono/iwrapper.cs
index ae39b61..cc9e47e 100644
--- a/src/bindings/mono/eo_mono/iwrapper.cs
+++ b/src/bindings/mono/eo_mono/iwrapper.cs
@@ -36,12 +36,12 @@ public class Globals
36 36
37 [return: MarshalAs(UnmanagedType.U1)] 37 [return: MarshalAs(UnmanagedType.U1)]
38 public delegate bool efl_object_init_delegate(); 38 public delegate bool efl_object_init_delegate();
39 public static FunctionWrapper<efl_object_init_delegate> efl_object_init_ptr = 39 public static readonly FunctionWrapper<efl_object_init_delegate> efl_object_init_ptr =
40 new FunctionWrapper<efl_object_init_delegate>(efl.Libs.EoModule, "efl_object_init"); 40 new FunctionWrapper<efl_object_init_delegate>(efl.Libs.EoModule, "efl_object_init");
41 public static bool efl_object_init() => efl_object_init_ptr.Value.Delegate(); 41 public static bool efl_object_init() => efl_object_init_ptr.Value.Delegate();
42 42
43 public delegate void efl_object_shutdown_delegate(); 43 public delegate void efl_object_shutdown_delegate();
44 public static FunctionWrapper<efl_object_shutdown_delegate> efl_object_shutdown_ptr = new FunctionWrapper<efl_object_shutdown_delegate>(efl.Libs.EoModule, "efl_object_shutdown"); 44 public static readonly FunctionWrapper<efl_object_shutdown_delegate> efl_object_shutdown_ptr = new FunctionWrapper<efl_object_shutdown_delegate>(efl.Libs.EoModule, "efl_object_shutdown");
45 public static void efl_object_shutdown() => efl_object_shutdown_ptr.Value.Delegate(); 45 public static void efl_object_shutdown() => efl_object_shutdown_ptr.Value.Delegate();
46 // [DllImport(efl.Libs.Eo)] public static extern void efl_object_shutdown(); 46 // [DllImport(efl.Libs.Eo)] public static extern void efl_object_shutdown();
47 47
@@ -996,10 +996,10 @@ public static class ClassRegister
996 typeFromKlass[klassPtr] = objectType; 996 typeFromKlass[klassPtr] = objectType;
997 } 997 }
998 998
999 public static System.Collections.Concurrent.ConcurrentDictionary<System.Type, System.IntPtr> klassFromType 999 public static readonly System.Collections.Concurrent.ConcurrentDictionary<System.Type, System.IntPtr> klassFromType
1000 = new System.Collections.Concurrent.ConcurrentDictionary<System.Type, System.IntPtr>(); 1000 = new System.Collections.Concurrent.ConcurrentDictionary<System.Type, System.IntPtr>();
1001 1001
1002 public static System.Collections.Concurrent.ConcurrentDictionary<System.IntPtr, System.Type> typeFromKlass 1002 public static readonly System.Collections.Concurrent.ConcurrentDictionary<System.IntPtr, System.Type> typeFromKlass
1003 = new System.Collections.Concurrent.ConcurrentDictionary<System.IntPtr, System.Type>(); 1003 = new System.Collections.Concurrent.ConcurrentDictionary<System.IntPtr, System.Type>();
1004 1004
1005 private static readonly object klassAllocLock = new object(); 1005 private static readonly object klassAllocLock = new object();