summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2017-06-19 15:02:32 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-07-13 18:34:54 -0300
commit5be1fdac2e581dee4b472aec12fd0fde5afa2209 (patch)
treea2a757c2f19c2311e53591ec904781cf12be0aa7
parente030893c5b6dec4f2bb734fe446059b8eb7cc980 (diff)
eina_mono: add non functional Eina_List binding to compilation
-rw-r--r--src/Makefile_Efl_Mono.am1
-rw-r--r--src/bindings/mono/eina_mono/eina_inlist.cs6
2 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile_Efl_Mono.am b/src/Makefile_Efl_Mono.am
index 1a40dec739..5586e4dcad 100644
--- a/src/Makefile_Efl_Mono.am
+++ b/src/Makefile_Efl_Mono.am
@@ -133,6 +133,7 @@ efl_eina_mono_files = \
133 bindings/mono/eina_mono/eina_hash.cs \ 133 bindings/mono/eina_mono/eina_hash.cs \
134 bindings/mono/eina_mono/eina_list.cs \ 134 bindings/mono/eina_mono/eina_list.cs \
135 bindings/mono/eina_mono/eina_inarray.cs \ 135 bindings/mono/eina_mono/eina_inarray.cs \
136 bindings/mono/eina_mono/eina_inlist.cs \
136 bindings/mono/eina_mono/eina_container_common.cs \ 137 bindings/mono/eina_mono/eina_container_common.cs \
137 bindings/mono/eina_mono/eina_common.cs \ 138 bindings/mono/eina_mono/eina_common.cs \
138 bindings/mono/eina_mono/eina_log.cs \ 139 bindings/mono/eina_mono/eina_log.cs \
diff --git a/src/bindings/mono/eina_mono/eina_inlist.cs b/src/bindings/mono/eina_mono/eina_inlist.cs
index 7e1cb60f3d..1ef51e8aa1 100644
--- a/src/bindings/mono/eina_mono/eina_inlist.cs
+++ b/src/bindings/mono/eina_mono/eina_inlist.cs
@@ -47,7 +47,7 @@ public static class InlistNativeFunctions
47 eina_inlist_sorted_insert(IntPtr list, IntPtr item, IntPtr func); 47 eina_inlist_sorted_insert(IntPtr list, IntPtr item, IntPtr func);
48 48
49 [DllImport("eina")] public static extern IntPtr 49 [DllImport("eina")] public static extern IntPtr
50 eina_inlist_sorted_state_new(void); 50 eina_inlist_sorted_state_new();
51 51
52 [DllImport("eina")] public static extern int 52 [DllImport("eina")] public static extern int
53 eina_inlist_sorted_state_init(IntPtr state, IntPtr list); 53 eina_inlist_sorted_state_init(IntPtr state, IntPtr list);
@@ -65,8 +65,9 @@ public static class InlistNativeFunctions
65// static inline IntPtr eina_inlist_last(IntPtr list); 65// static inline IntPtr eina_inlist_last(IntPtr list);
66} 66}
67 67
68public class Inlist<T> : IEnumerable<T>, IDisposable 68public class Inlist<T> // : IEnumerable<T>, IDisposable
69{ 69{
70/*
70 public IntPtr Handle {get;set;} = IntPtr.Zero; 71 public IntPtr Handle {get;set;} = IntPtr.Zero;
71 public bool Own {get;set;} 72 public bool Own {get;set;}
72 public bool OwnContent {get;set;} 73 public bool OwnContent {get;set;}
@@ -302,6 +303,7 @@ public class Inlist<T> : IEnumerable<T>, IDisposable
302 { 303 {
303 return this.GetEnumerator(); 304 return this.GetEnumerator();
304 } 305 }
306*/
305} 307}
306 308
307} 309}