summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-08-01 16:54:00 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-08-01 16:55:31 +0200
commit1c5fa59ee87866ccecfd7529827211e9b3ebf388 (patch)
treed0420c78568d9db2ba9359ebd553db5cf7b07045 /src/tests
parent1bcca58d826a2d8fcd88b529b8e5863c6f54ec47 (diff)
eolian: remove __builtin_free_cb
This has long been unused. If we need to replace this eventually, it should be done correctly.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eolian/data/typedef.eo2
-rw-r--r--src/tests/eolian/data/typedef_ref.h4
-rw-r--r--src/tests/eolian/data/typedef_ref_stub.h4
-rw-r--r--src/tests/eolian/eolian_parsing.c2
4 files changed, 0 insertions, 12 deletions
diff --git a/src/tests/eolian/data/typedef.eo b/src/tests/eolian/data/typedef.eo
index ab4d991954..2e017324be 100644
--- a/src/tests/eolian/data/typedef.eo
+++ b/src/tests/eolian/data/typedef.eo
@@ -8,8 +8,6 @@ type @extern Evas.Pants: float; /* not generated */
8 8
9type @beta Undef: __undefined_type; /* not generated */ 9type @beta Undef: __undefined_type; /* not generated */
10 10
11type @beta Free: __builtin_free_cb; /* specially generated */
12
13enum Enum.Bar 11enum Enum.Bar
14{ 12{
15 legacy: bar; 13 legacy: bar;
diff --git a/src/tests/eolian/data/typedef_ref.h b/src/tests/eolian/data/typedef_ref.h
index c03f18ca55..24583b590f 100644
--- a/src/tests/eolian/data/typedef_ref.h
+++ b/src/tests/eolian/data/typedef_ref.h
@@ -19,10 +19,6 @@ typedef Evas_Coord Evas_Coord2;
19 19
20typedef Evas_Coord2 Evas_Coord3; 20typedef Evas_Coord2 Evas_Coord3;
21 21
22#ifdef EFL_BETA_API_SUPPORT
23typedef void (*Free)(void *data);
24#endif /* EFL_BETA_API_SUPPORT */
25
26typedef enum 22typedef enum
27{ 23{
28 BAR_FIRST_ITEM = 0, 24 BAR_FIRST_ITEM = 0,
diff --git a/src/tests/eolian/data/typedef_ref_stub.h b/src/tests/eolian/data/typedef_ref_stub.h
index 3bbb7d2417..0f6f4ec38b 100644
--- a/src/tests/eolian/data/typedef_ref_stub.h
+++ b/src/tests/eolian/data/typedef_ref_stub.h
@@ -11,9 +11,5 @@ typedef Evas_Coord Evas_Coord2;
11 11
12typedef Evas_Coord2 Evas_Coord3; 12typedef Evas_Coord2 Evas_Coord3;
13 13
14#ifdef EFL_BETA_API_SUPPORT
15typedef void (*Free)(void *data);
16#endif /* EFL_BETA_API_SUPPORT */
17
18 14
19#endif 15#endif
diff --git a/src/tests/eolian/eolian_parsing.c b/src/tests/eolian/eolian_parsing.c
index f1294b720c..7d680af4ec 100644
--- a/src/tests/eolian/eolian_parsing.c
+++ b/src/tests/eolian/eolian_parsing.c
@@ -402,8 +402,6 @@ EFL_START_TEST(eolian_typedef)
402 fail_if(!eina_iterator_next(iter, (void**)&tdl)); 402 fail_if(!eina_iterator_next(iter, (void**)&tdl));
403 /* not generated undefined type, skip */ 403 /* not generated undefined type, skip */
404 fail_if(!eina_iterator_next(iter, (void**)&tdl)); 404 fail_if(!eina_iterator_next(iter, (void**)&tdl));
405 /* free cb, tested by generation tests */
406 fail_if(!eina_iterator_next(iter, (void**)&tdl));
407 fail_if(eina_iterator_next(iter, (void**)&tdl)); 405 fail_if(eina_iterator_next(iter, (void**)&tdl));
408 406
409 eolian_state_free(eos); 407 eolian_state_free(eos);