summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2017-07-03 14:02:25 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-07-13 18:34:56 -0300
commit44edb8e0698a0965907b2e4f7de0fc9022a76007 (patch)
tree1269f87d65f7553174eff2b5f5f5255597075167
parent026fe3195a694b8787fcb88d9b682b2efe47e5f8 (diff)
efl_mono: remove unnecessary "custom exports" functions
-rw-r--r--src/bindings/mono/eina_mono/eina_array.cs6
-rw-r--r--src/lib/efl_mono/efl_custom_exports_mono.c27
2 files changed, 0 insertions, 33 deletions
diff --git a/src/bindings/mono/eina_mono/eina_array.cs b/src/bindings/mono/eina_mono/eina_array.cs
index 4fff37d09e..d3dfe6e238 100644
--- a/src/bindings/mono/eina_mono/eina_array.cs
+++ b/src/bindings/mono/eina_mono/eina_array.cs
@@ -24,12 +24,6 @@ public static class ArrayNativeFunctions
24 eina_array_iterator_new(IntPtr array); 24 eina_array_iterator_new(IntPtr array);
25 25
26 [DllImport("eflcustomexportsmono")] public static extern void 26 [DllImport("eflcustomexportsmono")] public static extern void
27 eina_array_free_generic_custom_export_mono(IntPtr array);
28 [DllImport("eflcustomexportsmono")] public static extern void
29 eina_array_free_string_custom_export_mono(IntPtr array);
30 [DllImport("eflcustomexportsmono")] public static extern void
31 eina_array_free_obj_custom_export_mono(IntPtr array);
32 [DllImport("eflcustomexportsmono")] public static extern void
33 eina_array_clean_custom_export_mono(IntPtr array); 27 eina_array_clean_custom_export_mono(IntPtr array);
34 [DllImport("eflcustomexportsmono")] [return: MarshalAs(UnmanagedType.U1)] public static extern bool 28 [DllImport("eflcustomexportsmono")] [return: MarshalAs(UnmanagedType.U1)] public static extern bool
35 eina_array_push_custom_export_mono(IntPtr array, IntPtr data); 29 eina_array_push_custom_export_mono(IntPtr array, IntPtr data);
diff --git a/src/lib/efl_mono/efl_custom_exports_mono.c b/src/lib/efl_mono/efl_custom_exports_mono.c
index d6110317b9..27fe157a56 100644
--- a/src/lib/efl_mono/efl_custom_exports_mono.c
+++ b/src/lib/efl_mono/efl_custom_exports_mono.c
@@ -125,33 +125,6 @@ static Eina_Iterator *eina_iterator_wrapper_new_mono(Eina_Iterator *internal, Ei
125 125
126// Array // 126// Array //
127 127
128EAPI void eina_array_free_generic_custom_export_mono(Eina_Array *array) EINA_ARG_NONNULL(1)
129{
130 unsigned int i;
131 void *ele;
132 Eina_Array_Iterator it;
133 EINA_ARRAY_ITER_NEXT(array, i, ele, it)
134 free(ele);
135
136 eina_array_clean(array);
137}
138
139EAPI void eina_array_free_string_custom_export_mono(Eina_Array *array) EINA_ARG_NONNULL(1)
140{
141 eina_array_free_generic_custom_export_mono(array);
142}
143
144EAPI void eina_array_free_obj_custom_export_mono(Eina_Array *array) EINA_ARG_NONNULL(1)
145{
146 unsigned int i;
147 Eo *ele;
148 Eina_Array_Iterator it;
149 EINA_ARRAY_ITER_NEXT(array, i, ele, it)
150 efl_unref(ele);
151
152 eina_array_clean(array);
153}
154
155EAPI void eina_array_clean_custom_export_mono(Eina_Array *array) EINA_ARG_NONNULL(1) 128EAPI void eina_array_clean_custom_export_mono(Eina_Array *array) EINA_ARG_NONNULL(1)
156{ 129{
157 eina_array_clean(array); 130 eina_array_clean(array);