aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-02-28 12:12:39 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-02-28 12:21:56 -0300
commitbf4280e915ebbd4cbad2ee9c8fcd2730fd29eb6f (patch)
tree00bf70db66dea9c4fe79a55f52ececb93ba1b1d6
parenteolian_gen: fix generation of legacy class functions (diff)
downloadefl-bf4280e915ebbd4cbad2ee9c8fcd2730fd29eb6f.tar.gz
efl-csharp: Remove generated inlist/inarray support
Summary: To be added again in a later release after rework in Eolian Reviewers: q66, vitor.sousa, felipealmeida Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8056
-rw-r--r--src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh10
-rw-r--r--src/bin/eolian_mono/eolian/mono/parameter.hh56
-rw-r--r--src/bin/eolian_mono/eolian/mono/struct_definition.hh4
-rw-r--r--src/bin/eolian_mono/eolian/mono/type_impl.hh12
-rw-r--r--src/tests/efl_mono/Eina.cs480
-rw-r--r--src/tests/efl_mono/StructHelpers.cs17
-rw-r--r--src/tests/efl_mono/dummy_test_object.eo297
-rw-r--r--src/tests/efl_mono/libefl_mono_native_test.c15
8 files changed, 0 insertions, 891 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh b/src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh
index e14369ad7b..3bd8791e89 100644
--- a/src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh
+++ b/src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh
@@ -212,21 +212,11 @@ struct marshall_type_visitor_generate
return regular_type_def{" System.IntPtr", complex.outer.base_qualifier, {}};
}
}
- ,{"inarray", nullptr, nullptr, [&]
- {
- return regular_type_def{" System.IntPtr", complex.outer.base_qualifier, {}};
- }
- }
,{"list", nullptr, nullptr, [&]
{
return regular_type_def{" System.IntPtr", complex.outer.base_qualifier, {}};
}
}
- ,{"inlist", nullptr, nullptr, [&]
- {
- return regular_type_def{" System.IntPtr", complex.outer.base_qualifier, {}};
- }
- }
,{"hash", nullptr, nullptr, [&]
{
return regular_type_def{" System.IntPtr", complex.outer.base_qualifier, {}};
diff --git a/src/bin/eolian_mono/eolian/mono/parameter.hh b/src/bin/eolian_mono/eolian/mono/parameter.hh
index efb907f7f5..ab4362519b 100644
--- a/src/bin/eolian_mono/eolian/mono/parameter.hh
+++ b/src/bin/eolian_mono/eolian/mono/parameter.hh
@@ -300,18 +300,10 @@ inline bool param_should_use_out_var(attributes::parameter_def const& param, boo
|| param_is_acceptable(param, "Eina_Array *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Accessor *", !WANT_OWN, WANT_OUT)
@@ -352,22 +344,14 @@ inline bool param_should_use_in_var(attributes::parameter_def const& param, bool
|| param_is_acceptable(param, "Eina_Array *", WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", !WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", WANT_OWN, !WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", !WANT_OWN, !WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", WANT_OWN, !WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", !WANT_OWN, !WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", !WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", !WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", WANT_OWN, !WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", !WANT_OWN, !WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", !WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "const Eina_Accessor *", !WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "const Eina_Accessor *", WANT_OWN, !WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", !WANT_OWN, !WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "Eina_Hash *", !WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "Eina_Hash *", WANT_OWN, !WANT_OUT)
|| param_is_acceptable(param, "const Eina_Hash *", !WANT_OWN, !WANT_OUT)
@@ -619,9 +603,7 @@ struct native_convert_in_variable_generator
).generate(sink, std::make_tuple(in_variable_name(param.param_name), param.type), context);
}
else if (param.type.c_type == "Eina_Array *" || param.type.c_type == "const Eina_Array *"
- || param.type.c_type == "Eina_Inarray *" || param.type.c_type == "const Eina_Inarray *"
|| param.type.c_type == "Eina_List *" || param.type.c_type == "const Eina_List *"
- || param.type.c_type == "Eina_Inlist *" || param.type.c_type == "const Eina_Inlist *"
|| param.type.c_type == "Eina_Iterator *" || param.type.c_type == "const Eina_Iterator *"
|| param.type.c_type == "Eina_Accessor *" || param.type.c_type == "const Eina_Accessor *"
)
@@ -707,9 +689,7 @@ struct convert_in_variable_generator
return false;
}
else if (param.type.c_type == "Eina_Array *" || param.type.c_type == "const Eina_Array *"
- || param.type.c_type == "Eina_Inarray *" || param.type.c_type == "const Eina_Inarray *"
|| param.type.c_type == "Eina_List *" || param.type.c_type == "const Eina_List *"
- || param.type.c_type == "Eina_Inlist *" || param.type.c_type == "const Eina_Inlist *"
|| param.type.c_type == "Eina_Iterator *" || param.type.c_type == "const Eina_Iterator *"
|| param.type.c_type == "Eina_Accessor *" || param.type.c_type == "const Eina_Accessor *"
)
@@ -778,18 +758,10 @@ struct convert_out_variable_generator
|| param_is_acceptable(param, "Eina_Array *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Accessor *", WANT_OWN, WANT_OUT)
@@ -857,18 +829,10 @@ struct native_convert_out_variable_generator
|| param_is_acceptable(param, "Eina_Array *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Accessor *", WANT_OWN, WANT_OUT)
@@ -969,18 +933,10 @@ struct convert_out_assign_generator
|| param_is_acceptable(param, "Eina_Array *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Accessor *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Accessor *", WANT_OWN, WANT_OUT)
@@ -1100,9 +1056,7 @@ struct convert_return_generator
return false;
}
else if (ret_type.c_type == "Eina_Array *" || ret_type.c_type == "const Eina_Array *"
- || ret_type.c_type == "Eina_Inarray *" || ret_type.c_type == "const Eina_Inarray *"
|| ret_type.c_type == "Eina_List *" || ret_type.c_type == "const Eina_List *"
- || ret_type.c_type == "Eina_Inlist *" || ret_type.c_type == "const Eina_Inlist *"
|| ret_type.c_type == "Eina_Iterator *" || ret_type.c_type == "const Eina_Iterator *"
|| ret_type.c_type == "Eina_Accessor *" || ret_type.c_type == "const Eina_Accessor *"
)
@@ -1219,18 +1173,10 @@ struct native_convert_out_assign_generator
|| param_is_acceptable(param, "Eina_Array *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Array *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inarray *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inarray *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_List *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_List *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "Eina_Inlist *", !WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", WANT_OWN, WANT_OUT)
- || param_is_acceptable(param, "const Eina_Inlist *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Iterator *", WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "Eina_Iterator *", !WANT_OWN, WANT_OUT)
|| param_is_acceptable(param, "const Eina_Iterator *", WANT_OWN, WANT_OUT)
@@ -1362,9 +1308,7 @@ struct native_convert_return_generator
.generate(sink, attributes::unused, context);
}
else if (ret_type.c_type == "Eina_Array *" || ret_type.c_type == "const Eina_Array *"
- || ret_type.c_type == "Eina_Inarray *" || ret_type.c_type == "const Eina_Inarray *"
|| ret_type.c_type == "Eina_List *" || ret_type.c_type == "const Eina_List *"
- || ret_type.c_type == "Eina_Inlist *" || ret_type.c_type == "const Eina_Inlist *"
|| ret_type.c_type == "Eina_Iterator *" || ret_type.c_type == "const Eina_Iterator *"
|| ret_type.c_type == "Eina_Accessor *" || ret_type.c_type == "const Eina_Accessor *"
)
diff --git a/src/bin/eolian_mono/eolian/mono/struct_definition.hh b/src/bin/eolian_mono/eolian/mono/struct_definition.hh
index 0eda387668..7802b4518c 100644
--- a/src/bin/eolian_mono/eolian/mono/struct_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/struct_definition.hh
@@ -192,9 +192,7 @@ struct to_internal_field_convert_generator
return false;
}
else if ((complex && (complex->outer.base_type == "array"
- || complex->outer.base_type == "inarray"
|| complex->outer.base_type == "list"
- || complex->outer.base_type == "inlist"
|| complex->outer.base_type == "iterator"
|| complex->outer.base_type == "hash"))
|| field.type.c_type == "Eina_Binbuf *" || field.type.c_type == "const Eina_Binbuf *")
@@ -299,9 +297,7 @@ struct to_external_field_convert_generator
return false;
}
else if (complex && (complex->outer.base_type == "array"
- || complex->outer.base_type == "inarray"
|| complex->outer.base_type == "list"
- || complex->outer.base_type == "inlist"
|| complex->outer.base_type == "iterator"))
{
// Always assumes pointer
diff --git a/src/bin/eolian_mono/eolian/mono/type_impl.hh b/src/bin/eolian_mono/eolian/mono/type_impl.hh
index c449d216a5..9810250909 100644
--- a/src/bin/eolian_mono/eolian/mono/type_impl.hh
+++ b/src/bin/eolian_mono/eolian/mono/type_impl.hh
@@ -333,24 +333,12 @@ struct visitor_generate
c.outer.base_type = "Eina.List";
return c;
}}
- , {"inlist", nullptr, nullptr, [&]
- {
- complex_type_def c = complex;
- c.outer.base_type = "Eina.Inlist";
- return c;
- }}
, {"array", nullptr, nullptr, [&]
{
complex_type_def c = complex;
c.outer.base_type = "Eina.Array";
return c;
}}
- , {"inarray", nullptr, nullptr, [&]
- {
- complex_type_def c = complex;
- c.outer.base_type = "Eina.Inarray";
- return c;
- }}
, {"hash", nullptr, nullptr
, [&]
{
diff --git a/src/tests/efl_mono/Eina.cs b/src/tests/efl_mono/Eina.cs
index 1009252c73..8b7f1a9672 100644
--- a/src/tests/efl_mono/Eina.cs
+++ b/src/tests/efl_mono/Eina.cs
@@ -1263,251 +1263,6 @@ class TestEinaInarray
arr.Dispose();
}
- // //
- // Code Generation
- //
-
- // Integer //
-
- public static void test_eina_inarray_int_in()
- {
- var t = new Dummy.TestObject();
- var arr = new Eina.Inarray<int>();
- arr.Append(base_seq_int);
- Test.Assert(t.EinaInarrayIntIn(arr));
- Test.Assert(arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(modified_seq_int));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inarray_int_in_own()
- {
- var t = new Dummy.TestObject();
- var arr = new Eina.Inarray<int>();
- arr.Append(base_seq_int);
- Test.Assert(t.EinaInarrayIntInOwn(arr));
- Test.Assert(!arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(modified_seq_int));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInarrayIntInOwn());
- }
-
- public static void test_eina_inarray_int_out()
- {
- var t = new Dummy.TestObject();
- Eina.Inarray<int> arr;
- Test.Assert(t.EinaInarrayIntOut(out arr));
- Test.Assert(!arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(base_seq_int));
- Test.Assert(arr.Append(append_seq_int));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInarrayIntOut());
- }
-
- public static void test_eina_inarray_int_out_own()
- {
- var t = new Dummy.TestObject();
- Eina.Inarray<int> arr;
- Test.Assert(t.EinaInarrayIntOutOwn(out arr));
- Test.Assert(arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(base_seq_int));
- Test.Assert(arr.Append(append_seq_int));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inarray_int_return()
- {
- var t = new Dummy.TestObject();
- var arr = t.EinaInarrayIntReturn();
- Test.Assert(!arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(base_seq_int));
- Test.Assert(arr.Append(append_seq_int));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInarrayIntReturn());
- }
-
- public static void test_eina_inarray_int_return_own()
- {
- var t = new Dummy.TestObject();
- var arr = t.EinaInarrayIntReturnOwn();
- Test.Assert(arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(base_seq_int));
- Test.Assert(arr.Append(append_seq_int));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- }
-
- // String //
- public static void test_eina_inarray_str_in()
- {
- var t = new Dummy.TestObject();
- var arr = new Eina.Inarray<string>();
- arr.Append(base_seq_str);
- Test.Assert(t.EinaInarrayStrIn(arr));
- Test.Assert(arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(modified_seq_str));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inarray_str_in_own()
- {
- var t = new Dummy.TestObject();
- var arr = new Eina.Inarray<string>();
- arr.Append(base_seq_str);
- Test.Assert(t.EinaInarrayStrInOwn(arr));
- Test.Assert(!arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(modified_seq_str));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInarrayStrInOwn());
- }
-
- public static void test_eina_inarray_str_out()
- {
- var t = new Dummy.TestObject();
- Eina.Inarray<string> arr;
- Test.Assert(t.EinaInarrayStrOut(out arr));
- Test.Assert(!arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(base_seq_str));
- Test.Assert(arr.Append(append_seq_str));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInarrayStrOut());
- }
-
- public static void test_eina_inarray_str_out_own()
- {
- var t = new Dummy.TestObject();
- Eina.Inarray<string> arr;
- Test.Assert(t.EinaInarrayStrOutOwn(out arr));
- Test.Assert(arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(base_seq_str));
- Test.Assert(arr.Append(append_seq_str));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inarray_str_return()
- {
- var t = new Dummy.TestObject();
- var arr = t.EinaInarrayStrReturn();
- Test.Assert(!arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(base_seq_str));
- Test.Assert(arr.Append(append_seq_str));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInarrayStrReturn());
- }
-
- public static void test_eina_inarray_str_return_own()
- {
- var t = new Dummy.TestObject();
- var arr = t.EinaInarrayStrReturnOwn();
- Test.Assert(arr.Own);
- Test.Assert(arr.ToArray().SequenceEqual(base_seq_str));
- Test.Assert(arr.Append(append_seq_str));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- }
-
- // Object //
-
- public static void test_eina_inarray_obj_in()
- {
- var t = new Dummy.TestObject();
- var arr = new Eina.Inarray<Dummy.Numberwrapper>();
- arr.Append(BaseSeqObj());
- Test.Assert(t.EinaInarrayObjIn(arr));
- Test.Assert(arr.Own);
- NumberwrapperSequenceAssertEqual(arr.ToArray(), ModifiedSeqObj());
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inarray_obj_in_own()
- {
- var t = new Dummy.TestObject();
- var arr = new Eina.Inarray<Dummy.Numberwrapper>();
- arr.Append(BaseSeqObj());
- Test.Assert(t.EinaInarrayObjInOwn(arr));
- Test.Assert(!arr.Own);
- NumberwrapperSequenceAssertEqual(arr.ToArray(), ModifiedSeqObj());
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInarrayObjInOwn());
- }
-
- public static void test_eina_inarray_obj_out()
- {
- var t = new Dummy.TestObject();
- Eina.Inarray<Dummy.Numberwrapper> arr;
- Test.Assert(t.EinaInarrayObjOut(out arr));
- Test.Assert(!arr.Own);
- NumberwrapperSequenceAssertEqual(arr.ToArray(), BaseSeqObj());
- Test.Assert(arr.Append(AppendSeqObj()));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInarrayObjOut());
- }
-
- public static void test_eina_inarray_obj_out_own()
- {
- var t = new Dummy.TestObject();
- Eina.Inarray<Dummy.Numberwrapper> arr;
- Test.Assert(t.EinaInarrayObjOutOwn(out arr));
- Test.Assert(arr.Own);
- NumberwrapperSequenceAssertEqual(arr.ToArray(), BaseSeqObj());
- Test.Assert(arr.Append(AppendSeqObj()));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inarray_obj_return()
- {
- var t = new Dummy.TestObject();
- var arr = t.EinaInarrayObjReturn();
- Test.Assert(!arr.Own);
- NumberwrapperSequenceAssertEqual(arr.ToArray(), BaseSeqObj());
- Test.Assert(arr.Append(AppendSeqObj()));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInarrayObjReturn());
- }
-
- public static void test_eina_inarray_obj_return_own()
- {
- var t = new Dummy.TestObject();
- var arr = t.EinaInarrayObjReturnOwn();
- Test.Assert(arr.Own);
- NumberwrapperSequenceAssertEqual(arr.ToArray(), BaseSeqObj());
- Test.Assert(arr.Append(AppendSeqObj()));
- arr.Dispose();
- Test.Assert(arr.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inarray_obj_return_in_same_id()
- {
- var t = new Dummy.TestObject();
- var cmp = BaseSeqObj();
- var a = new Eina.Inarray<Dummy.Numberwrapper>();
- a.Append(cmp);
- var b = t.EinaInarrayObjReturnIn(a);
- NumberwrapperSequenceAssertEqual(a.ToArray(), b.ToArray());
- NumberwrapperSequenceAssertEqual(a.ToArray(), BaseSeqObj());
- int len = a.Length;
- for (int i=0; i < len; ++i)
- {
- Test.Assert(a[i].NativeHandle == b[i].NativeHandle);
- Test.Assert(a[i].NativeHandle == cmp[i].NativeHandle);
- }
- a.Dispose();
- }
}
class TestEinaList
@@ -2323,241 +2078,6 @@ class TestEinaInlist
}
}
- // //
- // Code Generation
- //
-
- // Integer //
-
- public static void test_eina_inlist_int_in()
- {
- var t = new Dummy.TestObject();
- var lst = new Eina.Inlist<int>();
- lst.AppendArray(base_seq_int);
- Test.Assert(t.EinaInlistIntIn(lst));
- Test.Assert(lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_int));
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inlist_int_in_own()
- {
- var t = new Dummy.TestObject();
- var lst = new Eina.Inlist<int>();
- lst.AppendArray(base_seq_int);
- Test.Assert(t.EinaInlistIntInOwn(lst));
- Test.Assert(!lst.Own);
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInlistIntInOwn());
- }
-
- public static void test_eina_inlist_int_out()
- {
- var t = new Dummy.TestObject();
- Eina.Inlist<int> lst;
- Test.Assert(t.EinaInlistIntOut(out lst));
- Test.Assert(!lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_int));
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInlistIntOut());
- }
-
- public static void test_eina_inlist_int_out_own()
- {
- var t = new Dummy.TestObject();
- Eina.Inlist<int> lst;
- Test.Assert(t.EinaInlistIntOutOwn(out lst));
- Test.Assert(lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_int));
- lst.AppendArray(append_seq_int);
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inlist_int_return()
- {
- var t = new Dummy.TestObject();
- var lst = t.EinaInlistIntReturn();
- Test.Assert(!lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_int));
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInlistIntReturn());
- }
-
- public static void test_eina_inlist_int_return_own()
- {
- var t = new Dummy.TestObject();
- var lst = t.EinaInlistIntReturnOwn();
- Test.Assert(lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_int));
- lst.AppendArray(append_seq_int);
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- }
-
- // String //
- public static void test_eina_inlist_str_in()
- {
- var t = new Dummy.TestObject();
- var lst = new Eina.Inlist<string>();
- lst.AppendArray(base_seq_str);
- Test.Assert(t.EinaInlistStrIn(lst));
- Test.Assert(lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_str));
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inlist_str_in_own()
- {
- var t = new Dummy.TestObject();
- var lst = new Eina.Inlist<string>();
- lst.AppendArray(base_seq_str);
- Test.Assert(t.EinaInlistStrInOwn(lst));
- Test.Assert(!lst.Own);
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInlistStrInOwn());
- }
-
- public static void test_eina_inlist_str_out()
- {
- var t = new Dummy.TestObject();
- Eina.Inlist<string> lst;
- Test.Assert(t.EinaInlistStrOut(out lst));
- Test.Assert(!lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_str));
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInlistStrOut());
- }
-
- public static void test_eina_inlist_str_out_own()
- {
- var t = new Dummy.TestObject();
- Eina.Inlist<string> lst;
- Test.Assert(t.EinaInlistStrOutOwn(out lst));
- Test.Assert(lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_str));
- lst.AppendArray(append_seq_str);
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inlist_str_return()
- {
- var t = new Dummy.TestObject();
- var lst = t.EinaInlistStrReturn();
- Test.Assert(!lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_str));
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInlistStrReturn());
- }
-
- public static void test_eina_inlist_str_return_own()
- {
- var t = new Dummy.TestObject();
- var lst = t.EinaInlistStrReturnOwn();
- Test.Assert(lst.Own);
- Test.Assert(lst.ToArray().SequenceEqual(base_seq_str));
- lst.AppendArray(append_seq_str);
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- }
-
- // Object //
-
- public static void test_eina_inlist_obj_in()
- {
- var t = new Dummy.TestObject();
- var lst = new Eina.Inlist<Dummy.Numberwrapper>();
- lst.AppendArray(BaseSeqObj());
- Test.Assert(t.EinaInlistObjIn(lst));
- Test.Assert(lst.Own);
- NumberwrapperSequenceAssertEqual(lst.ToArray(), BaseSeqObj());
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inlist_obj_in_own()
- {
- var t = new Dummy.TestObject();
- var lst = new Eina.Inlist<Dummy.Numberwrapper>();
- lst.AppendArray(BaseSeqObj());
- Test.Assert(t.EinaInlistObjInOwn(lst));
- Test.Assert(!lst.Own);
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInlistObjInOwn());
- }
-
- public static void test_eina_inlist_obj_out()
- {
- var t = new Dummy.TestObject();
- Eina.Inlist<Dummy.Numberwrapper> lst;
- Test.Assert(t.EinaInlistObjOut(out lst));
- Test.Assert(!lst.Own);
- NumberwrapperSequenceAssertEqual(lst.ToArray(), BaseSeqObj());
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInlistObjOut());
- }
-
- public static void test_eina_inlist_obj_out_own()
- {
- var t = new Dummy.TestObject();
- Eina.Inlist<Dummy.Numberwrapper> lst;
- Test.Assert(t.EinaInlistObjOutOwn(out lst));
- Test.Assert(lst.Own);
- NumberwrapperSequenceAssertEqual(lst.ToArray(), BaseSeqObj());
- lst.AppendArray(AppendSeqObj());
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inlist_obj_return()
- {
- var t = new Dummy.TestObject();
- var lst = t.EinaInlistObjReturn();
- Test.Assert(!lst.Own);
- NumberwrapperSequenceAssertEqual(lst.ToArray(), BaseSeqObj());
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- Test.Assert(t.CheckEinaInlistObjReturn());
- }
-
- public static void test_eina_inlist_obj_return_own()
- {
- var t = new Dummy.TestObject();
- var lst = t.EinaInlistObjReturnOwn();
- Test.Assert(lst.Own);
- NumberwrapperSequenceAssertEqual(lst.ToArray(), BaseSeqObj());
- lst.AppendArray(AppendSeqObj());
- lst.Dispose();
- Test.Assert(lst.Handle == IntPtr.Zero);
- }
-
- public static void test_eina_inlist_obj_return_in_same_id()
- {
- var t = new Dummy.TestObject();
- var cmp = BaseSeqObj();
- var a = new Eina.Inlist<Dummy.Numberwrapper>();
- a.AppendArray(cmp);
- var b = t.EinaInlistObjReturnIn(a);
- NumberwrapperSequenceAssertEqual(a.ToArray(), b.ToArray());
- NumberwrapperSequenceAssertEqual(a.ToArray(), BaseSeqObj());
- int len = a.Length;
- for (int i=0; i < len; ++i)
- {
- Test.Assert(a[i].NativeHandle == b[i].NativeHandle);
- Test.Assert(a[i].NativeHandle == cmp[i].NativeHandle);
- }
- }
} // < TestEinaInlist
diff --git a/src/tests/efl_mono/StructHelpers.cs b/src/tests/efl_mono/StructHelpers.cs
index 1b05a072fc..4debea53f1 100644
--- a/src/tests/efl_mono/StructHelpers.cs
+++ b/src/tests/efl_mono/StructHelpers.cs
@@ -129,22 +129,11 @@ internal class StructHelpers
complex.Farray.Push(0x2A);
complex.Farray.Push(0x42);
- complex.Finarray = new Eina.Inarray<int>();
- complex.Finarray.Push(0x0);
- complex.Finarray.Push(0x2A);
- complex.Finarray.Push(0x42);
-
-
complex.Flist = new Eina.List<string>();
complex.Flist.Append("0x0");
complex.Flist.Append("0x2A");
complex.Flist.Append("0x42");
- complex.Finlist = new Eina.Inlist<int>();
- complex.Finlist.Append(0x0);
- complex.Finlist.Append(0x2A);
- complex.Finlist.Append(0x42);
-
complex.Fhash = new Eina.Hash<string, string>();
complex.Fhash["aa"] = "aaa";
complex.Fhash["bb"] = "bbb";
@@ -175,12 +164,8 @@ internal class StructHelpers
{
Test.Assert(complex.Farray.ToArray().SequenceEqual(base_seq_int));
- Test.Assert(complex.Finarray.ToArray().SequenceEqual(base_seq_int));
-
Test.Assert(complex.Flist.ToArray().SequenceEqual(base_seq_str));
- Test.Assert(complex.Finlist.ToArray().SequenceEqual(base_seq_int));
-
Test.Assert(complex.Fhash["aa"] == "aaa");
Test.Assert(complex.Fhash["bb"] == "bbb");
Test.Assert(complex.Fhash["cc"] == "ccc");
@@ -214,9 +199,7 @@ internal class StructHelpers
internal static void checkZeroedStructComplex(Dummy.StructComplex complex)
{
Test.Assert(complex.Farray == null);
- Test.Assert(complex.Finarray == null);
Test.Assert(complex.Flist == null);
- Test.Assert(complex.Finlist == null);
Test.Assert(complex.Fhash == null);
Test.Assert(complex.Fiterator == null);
Test.Assert(complex.Fany_value == null);
diff --git a/src/tests/efl_mono/dummy_test_object.eo b/src/tests/efl_mono/dummy_test_object.eo
index f405cd446d..c6f2bb7319 100644
--- a/src/tests/efl_mono/dummy_test_object.eo
+++ b/src/tests/efl_mono/dummy_test_object.eo
@@ -76,9 +76,7 @@ struct @free(free) Dummy.StructSimple
struct @free(free) Dummy.StructComplex {
farray: array<ptr(int)>;
- finarray: inarray<int>;
flist: list<string>;
- finlist: inlist<ptr(int)>;
fhash: hash<string, string>;
fiterator: iterator<ptr(int)>;
fany_value: any_value;
@@ -520,153 +518,6 @@ class Dummy.Test_Object extends Efl.Object implements Efl.Part, Dummy.Test_Iface
return: array<Dummy.Numberwrapper>;
}
- /* Eina Inarray */
-
- /* Integer */
- eina_inarray_int_in {
- params {
- @in arr: inarray<ptr(int)>;
- }
- return: bool;
- }
-
- eina_inarray_int_in_own {
- params {
- @in arr: inarray<free(ptr(int),free) @owned> @owned;
- }
- return: bool;
- }
- check_eina_inarray_int_in_own {
- return: bool;
- }
-
- eina_inarray_int_out {
- params {
- @out arr: inarray<ptr(int)>;
- }
- return: bool;
- }
- check_eina_inarray_int_out {
- return: bool;
- }
-
- eina_inarray_int_out_own {
- params {
- @out arr: inarray<free(ptr(int),free) @owned> @owned;
- }
- return: bool;
- }
-
- eina_inarray_int_return {
- return: inarray<int>;
- }
- check_eina_inarray_int_return {
- return: bool;
- }
-
- eina_inarray_int_return_own {
- return: inarray<free(ptr(int),free) @owned> @owned;
- }
-
- /* String */
- eina_inarray_str_in {
- params {
- @in arr: inarray<string>;
- }
- return: bool;
- }
-
- eina_inarray_str_in_own {
- params {
- @in arr: inarray<mstring @owned> @owned;
- }
- return: bool;
- }
- check_eina_inarray_str_in_own {
- return: bool;
- }
-
- eina_inarray_str_out {
- params {
- @out arr: inarray<string>;
- }
- return: bool;
- }
- check_eina_inarray_str_out {
- return: bool;
- }
-
- eina_inarray_str_out_own {
- params {
- @out arr: inarray<mstring @owned> @owned;
- }
- return: bool;
- }
-
- eina_inarray_str_return {
- return: inarray<string>;
- }
- check_eina_inarray_str_return {
- return: bool;
- }
-
- eina_inarray_str_return_own {
- return: inarray<mstring @owned> @owned;
- }
-
- /* Object */
- eina_inarray_obj_in {
- params {
- @in arr: inarray<Dummy.Numberwrapper>;
- }
- return: bool;
- }
-
- eina_inarray_obj_in_own {
- params {
- @in arr: inarray<Dummy.Numberwrapper @owned> @owned;
- }
- return: bool;
- }
- check_eina_inarray_obj_in_own {
- return: bool;
- }
-
- eina_inarray_obj_out {
- params {
- @out arr: inarray<Dummy.Numberwrapper>;
- }
- return: bool;
- }
- check_eina_inarray_obj_out {
- return: bool;
- }
-
- eina_inarray_obj_out_own {
- params {
- @out arr: inarray<Dummy.Numberwrapper @owned> @owned;
- }
- return: bool;
- }
-
- eina_inarray_obj_return {
- return: inarray<Dummy.Numberwrapper>;
- }
- check_eina_inarray_obj_return {
- return: bool;
- }
-
- eina_inarray_obj_return_own {
- return: inarray<Dummy.Numberwrapper @owned> @owned;
- }
-
- eina_inarray_obj_return_in {
- params {
- @in arr: inarray<Dummy.Numberwrapper>;
- }
- return: inarray<Dummy.Numberwrapper>;
- }
-
/* Eina List */
/* Integer */
@@ -814,154 +665,6 @@ class Dummy.Test_Object extends Efl.Object implements Efl.Part, Dummy.Test_Iface
return: list<Dummy.Numberwrapper>;
}
- /* Eina Inlist */
-
- /* Integer */
- eina_inlist_int_in {
- params {
- @in lst: inlist<int>;
- }
- return: bool;
- }
-
- eina_inlist_int_in_own {
- params {
- @in lst: inlist<free(ptr(int),free) @owned> @owned;
- }
- return: bool;
- }
- check_eina_inlist_int_in_own {
- return: bool;
- }
-
- eina_inlist_int_out {
- params {
- @out lst: inlist<int>;
- }
- return: bool;
- }
- check_eina_inlist_int_out {
- return: bool;
- }
-
- eina_inlist_int_out_own {
- params {
- @out lst: inlist<free(ptr(int),free) @owned> @owned;
- }
- return: bool;
- }
-
- eina_inlist_int_return {
- return: inlist<int>;
- }
- check_eina_inlist_int_return {
- return: bool;
- }
-
- eina_inlist_int_return_own {
- return: inlist<free(ptr(int),free) @owned> @owned;
- }
-
- /* String */
- eina_inlist_str_in {
- params {
- @in lst: inlist<string>;
- }
- return: bool;
- }
-
- eina_inlist_str_in_own {
- params {
- @in lst: inlist<mstring @owned> @owned;
- }
- return: bool;
- }
- check_eina_inlist_str_in_own {
- return: bool;
- }
-
- eina_inlist_str_out {
- params {
- @out lst: inlist<string>;
- }
- return: bool;
- }
- check_eina_inlist_str_out {
- return: bool;
- }
-
- eina_inlist_str_out_own {
- params {
- @out lst: inlist<mstring @owned> @owned;
- }
- return: bool;
- }
-
- eina_inlist_str_return {
- return: inlist<string>;
- }
- check_eina_inlist_str_return {
- return: bool;
- }
-
- eina_inlist_str_return_own {
- return: inlist<mstring @owned> @owned;
- }
-
- /* Object */
- eina_inlist_obj_in {
- params {
- @in lst: inlist<Dummy.Numberwrapper>;
- }
- return: bool;
- }
-
- eina_inlist_obj_in_own {
- params {
- @in lst: inlist<Dummy.Numberwrapper @owned> @owned;
- }
- return: bool;
- }
- check_eina_inlist_obj_in_own {
- return: bool;
- }
-
- eina_inlist_obj_out {
- params {
- @out lst: inlist<Dummy.Numberwrapper>;
- }
- return: bool;
- }
- check_eina_inlist_obj_out {
- return: bool;
- }
-
- eina_inlist_obj_out_own {
- params {
- @out lst: inlist<Dummy.Numberwrapper @owned> @owned;
- }
- return: bool;
- }
-
- eina_inlist_obj_return {
- return: inlist<Dummy.Numberwrapper>;
- }
- check_eina_inlist_obj_return {
- return: bool;
- }
-
- eina_inlist_obj_return_own {
- return: inlist<Dummy.Numberwrapper @owned> @owned;
- }
-
- eina_inlist_obj_return_in {
- params {
- @in lst: inlist<Dummy.Numberwrapper>;
- }
- return: inlist<Dummy.Numberwrapper>;
- }
-
-
// Eina Hash //
// Integer //
diff --git a/src/tests/efl_mono/libefl_mono_native_test.c b/src/tests/efl_mono/libefl_mono_native_test.c
index 0cc3cbd32c..d702127d98 100644
--- a/src/tests/efl_mono/libefl_mono_native_test.c
+++ b/src/tests/efl_mono/libefl_mono_native_test.c
@@ -3332,19 +3332,10 @@ void struct_complex_with_values(Dummy_StructComplex *complex)
eina_array_push(complex->farray, _new_int(0x2A));
eina_array_push(complex->farray, _new_int(0x42));
- complex->finarray = eina_inarray_new(sizeof(int), 0);
- eina_inarray_push(complex->finarray, _int_ref(0x0));
- eina_inarray_push(complex->finarray, _int_ref(0x2A));
- eina_inarray_push(complex->finarray, _int_ref(0x42));
-
complex->flist = eina_list_append(complex->flist, strdup("0x0"));
complex->flist = eina_list_append(complex->flist, strdup("0x2A"));
complex->flist = eina_list_append(complex->flist, strdup("0x42"));
- complex->finlist = eina_inlist_append(complex->finlist, _new_inlist_int(0x0));
- complex->finlist = eina_inlist_append(complex->finlist, _new_inlist_int(0x2A));
- complex->finlist = eina_inlist_append(complex->finlist, _new_inlist_int(0x42));
-
complex->fhash = eina_hash_string_superfast_new(NULL);
eina_hash_add(complex->fhash, "aa", strdup("aaa"));
eina_hash_add(complex->fhash, "bb", strdup("bbb"));
@@ -3374,15 +3365,9 @@ Eina_Bool check_and_modify_struct_complex(Dummy_StructComplex *complex)
if (!_array_int_equal(complex->farray, base_seq_int, base_seq_int_size))
return EINA_FALSE;
- if (!_inarray_int_equal(complex->finarray, base_seq_int, base_seq_int_size))
- return EINA_FALSE;
-
if (!_list_str_equal(complex->flist, base_seq_str, base_seq_str_size))
return EINA_FALSE;
- if (!_inlist_int_equal(complex->finlist, base_seq_int, base_seq_int_size))
- return EINA_FALSE;
-
if (!_hash_str_check(complex->fhash, "aa", "aaa")
|| !_hash_str_check(complex->fhash, "bb", "bbb")
|| !_hash_str_check(complex->fhash, "cc", "ccc"))