diff options
author | Vitor Sousa <vitorsousasilva@gmail.com> | 2017-06-15 17:11:41 -0300 |
---|---|---|
committer | Vitor Sousa <vitorsousasilva@gmail.com> | 2017-06-15 17:15:25 -0300 |
commit | 5bbb794066bc347da54eaa15a789b55ca4566e32 (patch) | |
tree | 90ccf7e8e1f6ef2536bc51e4b2044087519cabba | |
parent | 8bd40079922be694d8bbe755a0511fe814fbdf32 (diff) | |
download | efl-5bbb794066bc347da54eaa15a789b55ca4566e32.tar.gz |
eo_mono: add Init Eo function
-rw-r--r-- | src/bindings/mono/eo_mono/iwrapper.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/bindings/mono/eo_mono/iwrapper.cs b/src/bindings/mono/eo_mono/iwrapper.cs index 7e8921791e..476055d1dd 100644 --- a/src/bindings/mono/eo_mono/iwrapper.cs +++ b/src/bindings/mono/eo_mono/iwrapper.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; namespace efl { namespace eo { public class Globals { + [DllImport("eo")] public static extern void efl_object_init(); [DllImport("eo")] public static extern IntPtr _efl_add_internal_start([MarshalAs(UnmanagedType.LPStr)] String file, int line, IntPtr klass, IntPtr parent, byte is_ref, byte is_fallback); @@ -163,7 +164,15 @@ public class Globals { handle.Free(); } } - + +public static class Config +{ + public static void Init() + { + Globals.efl_object_init(); + } +} + public interface IWrapper { IntPtr raw_handle |