summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2017-06-15 17:11:41 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-07-13 18:25:43 -0300
commit50021caf0dd4f998493548fa642ffc00089a9dea (patch)
tree8762153ab362fb9da790b7db709c06f3bea3ad5e
parentfd9a300b730fe3c61d3b1e6d95546136e6fd51c8 (diff)
eo_mono: add Init Eo function
-rw-r--r--src/bindings/mono/eo_mono/iwrapper.cs11
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;
6namespace efl { namespace eo { 6namespace efl { namespace eo {
7 7
8public class Globals { 8public class Globals {
9 [DllImport("eo")] public static extern void efl_object_init();
9 [DllImport("eo")] public static extern IntPtr 10 [DllImport("eo")] public static extern IntPtr
10 _efl_add_internal_start([MarshalAs(UnmanagedType.LPStr)] String file, int line, 11 _efl_add_internal_start([MarshalAs(UnmanagedType.LPStr)] String file, int line,
11 IntPtr klass, IntPtr parent, byte is_ref, byte is_fallback); 12 IntPtr klass, IntPtr parent, byte is_ref, byte is_fallback);
@@ -163,7 +164,15 @@ public class Globals {
163 handle.Free(); 164 handle.Free();
164 } 165 }
165} 166}
166 167
168public static class Config
169{
170 public static void Init()
171 {
172 Globals.efl_object_init();
173 }
174}
175
167public interface IWrapper 176public interface IWrapper
168{ 177{
169 IntPtr raw_handle 178 IntPtr raw_handle