summaryrefslogtreecommitdiff
path: root/src/tests/eo/function_overrides
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-11-07 17:00:09 +0000
committerTom Hacohen <tom@stosb.com>2014-04-10 04:20:18 +0100
commit0ee8b33bf75aedbc803d1f4825709c4eda04605f (patch)
tree8f91791e441a92cbb11c1d4b291477b9d1d64b9e /src/tests/eo/function_overrides
parentf481e8dc645e5472b9dad3cd40270376cf8a24bb (diff)
eo2: migrated function_overrides test to eo2.
Diffstat (limited to 'src/tests/eo/function_overrides')
-rw-r--r--src/tests/eo/function_overrides/function_overrides_inherit.c2
-rw-r--r--src/tests/eo/function_overrides/function_overrides_inherit2.c71
-rw-r--r--src/tests/eo/function_overrides/function_overrides_inherit2.h17
-rw-r--r--src/tests/eo/function_overrides/function_overrides_inherit3.c22
-rw-r--r--src/tests/eo/function_overrides/function_overrides_main.c50
-rw-r--r--src/tests/eo/function_overrides/function_overrides_simple.c70
-rw-r--r--src/tests/eo/function_overrides/function_overrides_simple.h24
7 files changed, 124 insertions, 132 deletions
diff --git a/src/tests/eo/function_overrides/function_overrides_inherit.c b/src/tests/eo/function_overrides/function_overrides_inherit.c
index e2dadbec1b..e9657be845 100644
--- a/src/tests/eo/function_overrides/function_overrides_inherit.c
+++ b/src/tests/eo/function_overrides/function_overrides_inherit.c
@@ -9,7 +9,7 @@
9#define MY_CLASS INHERIT_CLASS 9#define MY_CLASS INHERIT_CLASS
10 10
11static const Eo_Class_Description class_desc = { 11static const Eo_Class_Description class_desc = {
12 EO_VERSION, 12 EO2_VERSION,
13 "Inherit", 13 "Inherit",
14 EO_CLASS_TYPE_REGULAR, 14 EO_CLASS_TYPE_REGULAR,
15 EO_CLASS_DESCRIPTION_OPS(NULL, NULL, 0), 15 EO_CLASS_DESCRIPTION_OPS(NULL, NULL, 0),
diff --git a/src/tests/eo/function_overrides/function_overrides_inherit2.c b/src/tests/eo/function_overrides/function_overrides_inherit2.c
index addf9fdd43..71ccaed787 100644
--- a/src/tests/eo/function_overrides/function_overrides_inherit2.c
+++ b/src/tests/eo/function_overrides/function_overrides_inherit2.c
@@ -9,72 +9,73 @@
9 9
10#include "../eunit_tests.h" 10#include "../eunit_tests.h"
11 11
12EAPI Eo_Op INHERIT2_BASE_ID = 0;
13
14#define MY_CLASS INHERIT2_CLASS 12#define MY_CLASS INHERIT2_CLASS
15 13
16static void 14static void
17_a_set(Eo *obj, void *class_data EINA_UNUSED, va_list *list) 15_a_set(Eo *obj, void *class_data EINA_UNUSED, int a)
18{ 16{
19 int a;
20 a = va_arg(*list, int);
21 printf("%s %d\n", eo_class_name_get(MY_CLASS), a); 17 printf("%s %d\n", eo_class_name_get(MY_CLASS), a);
22 eo_do(obj, simple_a_print()); 18 eo2_do(obj, simple_a_print());
23 eo_do_super(obj, MY_CLASS, simple_a_set(a + 1)); 19 eo2_do_super(obj, MY_CLASS, simple_a_set(a + 1));
24 20
25 fail_if(!eo_do_super(obj, MY_CLASS, simple_a_print())); 21 Simple_Public_Data *pd = eo_data_scope_get(obj, SIMPLE_CLASS);
22 pd->a_print_called = EINA_FALSE;
23 eo2_do_super(obj, MY_CLASS, simple_a_print());
24 fail_if(!pd->a_print_called);
26} 25}
27 26
27Eina_Bool inherit_print_called = EINA_FALSE;
28Eina_Bool inherit2_print_called = EINA_FALSE;
29
28static void 30static void
29_print(Eo *obj, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED) 31_print(Eo *obj, void *class_data EINA_UNUSED)
30{ 32{
31 printf("Hey\n"); 33 printf("Hey\n");
32 fail_if(eo_do_super(obj, MY_CLASS, inherit2_print())); 34 inherit2_print_called = EINA_FALSE;
35 eo2_do_super(obj, MY_CLASS, inherit2_print());
36 fail_if(inherit2_print_called);
37 inherit_print_called = EINA_TRUE;
33} 38}
34 39
35static void 40static void
36_print2(Eo *obj EINA_UNUSED, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED) 41_print2(Eo *obj EINA_UNUSED, void *class_data EINA_UNUSED)
37{ 42{
38 printf("Hey2\n"); 43 printf("Hey2\n");
44 inherit2_print_called = EINA_TRUE;
39} 45}
40 46
41static void 47static void
42_class_print(Eo_Class *klass, void *data EINA_UNUSED, va_list *list) 48_class_print(Eo_Class *klass, void *data EINA_UNUSED)
43{ 49{
44 (void) list;
45 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS)); 50 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS));
46 fail_if(!eo_do_super(klass, MY_CLASS, simple_class_print())); 51 class_print_called = EINA_FALSE;
47 fail_if(!eo_do_super(klass, MY_CLASS, simple_class_print2())); 52 eo2_do_super(klass, MY_CLASS, simple_class_print());
48} 53 fail_if(!class_print_called);
49
50static void
51_class_constructor(Eo_Class *klass)
52{
53 const Eo_Op_Func_Description func_desc[] = {
54 EO_OP_FUNC(SIMPLE_ID(SIMPLE_SUB_ID_A_SET), _a_set),
55 EO_OP_FUNC(INHERIT2_ID(INHERIT2_SUB_ID_PRINT), _print),
56 EO_OP_FUNC(INHERIT2_ID(INHERIT2_SUB_ID_PRINT2), _print2),
57 EO_OP_FUNC_CLASS(SIMPLE_ID(SIMPLE_SUB_ID_CLASS_PRINT), _class_print),
58 EO_OP_FUNC_SENTINEL
59 };
60 54
61 eo_class_funcs_set(klass, func_desc); 55 class_print2_called = EINA_FALSE;
56 eo2_do_super(klass, MY_CLASS, simple_class_print2());
57 fail_if(!class_print2_called);
62} 58}
63 59
64static const Eo_Op_Description op_desc[] = { 60EAPI EO2_VOID_FUNC_BODY(inherit2_print);
65 EO_OP_DESCRIPTION(INHERIT2_SUB_ID_PRINT, "Print hey"), 61EAPI EO2_VOID_FUNC_BODY(inherit2_print2);
66 EO_OP_DESCRIPTION(INHERIT2_SUB_ID_PRINT2, "Print hey2"), 62
67 EO_OP_DESCRIPTION_SENTINEL 63static Eo2_Op_Description op_descs[] = {
64 EO2_OP_FUNC(_print, inherit2_print, "Print hey"),
65 EO2_OP_FUNC(_print2, inherit2_print2, "Print hey2"),
66 EO2_OP_CLASS_FUNC_OVERRIDE(_class_print, simple_class_print),
67 EO2_OP_FUNC_OVERRIDE(_a_set, simple_a_set),
68 EO2_OP_SENTINEL
68}; 69};
69 70
70static const Eo_Class_Description class_desc = { 71static const Eo_Class_Description class_desc = {
71 EO_VERSION, 72 EO2_VERSION,
72 "Inherit2", 73 "Inherit2",
73 EO_CLASS_TYPE_REGULAR, 74 EO_CLASS_TYPE_REGULAR,
74 EO_CLASS_DESCRIPTION_OPS(&INHERIT2_BASE_ID, op_desc, INHERIT2_SUB_ID_LAST), 75 EO2_CLASS_DESCRIPTION_OPS(op_descs),
75 NULL, 76 NULL,
76 0, 77 0,
77 _class_constructor, 78 NULL,
78 NULL 79 NULL
79}; 80};
80 81
diff --git a/src/tests/eo/function_overrides/function_overrides_inherit2.h b/src/tests/eo/function_overrides/function_overrides_inherit2.h
index 2bc0b0d36a..ca73f23d1f 100644
--- a/src/tests/eo/function_overrides/function_overrides_inherit2.h
+++ b/src/tests/eo/function_overrides/function_overrides_inherit2.h
@@ -1,20 +1,13 @@
1#ifndef INHERIT2_H 1#ifndef INHERIT2_H
2#define INHERIT2_H 2#define INHERIT2_H
3 3
4extern EAPI Eo_Op INHERIT2_BASE_ID; 4EAPI void inherit2_print(void);
5 5EAPI void inherit2_print2(void);
6enum {
7 INHERIT2_SUB_ID_PRINT,
8 INHERIT2_SUB_ID_PRINT2,
9 INHERIT2_SUB_ID_LAST
10};
11
12#define INHERIT2_ID(sub_id) (INHERIT2_BASE_ID + sub_id)
13
14#define inherit2_print() INHERIT2_ID(INHERIT2_SUB_ID_PRINT)
15#define inherit2_print2() INHERIT2_ID(INHERIT2_SUB_ID_PRINT2)
16 6
17#define INHERIT2_CLASS inherit2_class_get() 7#define INHERIT2_CLASS inherit2_class_get()
18const Eo_Class *inherit2_class_get(void); 8const Eo_Class *inherit2_class_get(void);
19 9
10extern Eina_Bool inherit_print_called;
11extern Eina_Bool inherit2_print_called;
12
20#endif 13#endif
diff --git a/src/tests/eo/function_overrides/function_overrides_inherit3.c b/src/tests/eo/function_overrides/function_overrides_inherit3.c
index ba6f84a229..ed94e4edf5 100644
--- a/src/tests/eo/function_overrides/function_overrides_inherit3.c
+++ b/src/tests/eo/function_overrides/function_overrides_inherit3.c
@@ -15,28 +15,22 @@ _a_set(Eo *obj, void *class_data EINA_UNUSED, va_list *list)
15 int a; 15 int a;
16 a = va_arg(*list, int); 16 a = va_arg(*list, int);
17 printf("%s %d\n", eo_class_name_get(MY_CLASS), a); 17 printf("%s %d\n", eo_class_name_get(MY_CLASS), a);
18 eo_do_super(obj, MY_CLASS, simple_a_set(a + 1)); 18 eo2_do_super(obj, MY_CLASS, simple_a_set(a + 1));
19} 19}
20 20
21static void 21static Eo2_Op_Description op_descs[] = {
22_class_constructor(Eo_Class *klass) 22 EO2_OP_FUNC_OVERRIDE(_a_set, simple_a_set),
23{ 23 EO2_OP_SENTINEL
24 const Eo_Op_Func_Description func_desc[] = { 24};
25 EO_OP_FUNC(SIMPLE_ID(SIMPLE_SUB_ID_A_SET), _a_set),
26 EO_OP_FUNC_SENTINEL
27 };
28
29 eo_class_funcs_set(klass, func_desc);
30}
31 25
32static const Eo_Class_Description class_desc = { 26static const Eo_Class_Description class_desc = {
33 EO_VERSION, 27 EO2_VERSION,
34 "Inherit3", 28 "Inherit3",
35 EO_CLASS_TYPE_REGULAR, 29 EO_CLASS_TYPE_REGULAR,
36 EO_CLASS_DESCRIPTION_OPS(NULL, NULL, 0), 30 EO2_CLASS_DESCRIPTION_OPS(op_descs),
37 NULL, 31 NULL,
38 0, 32 0,
39 _class_constructor, 33 NULL,
40 NULL 34 NULL
41}; 35};
42 36
diff --git a/src/tests/eo/function_overrides/function_overrides_main.c b/src/tests/eo/function_overrides/function_overrides_main.c
index 4210925dfe..1caf9025ff 100644
--- a/src/tests/eo/function_overrides/function_overrides_main.c
+++ b/src/tests/eo/function_overrides/function_overrides_main.c
@@ -17,45 +17,61 @@ main(int argc, char *argv[])
17 (void) argv; 17 (void) argv;
18 eo_init(); 18 eo_init();
19 19
20 Eo *obj = eo_add(INHERIT2_CLASS, NULL); 20 Eo *obj = eo2_add(INHERIT2_CLASS, NULL);
21 21
22 eo_do(obj, simple_a_set(1)); 22 eo2_do(obj, simple_a_set(1));
23 Simple_Public_Data *pd = eo_data_scope_get(obj, SIMPLE_CLASS); 23 Simple_Public_Data *pd = eo_data_scope_get(obj, SIMPLE_CLASS);
24 fail_if(pd->a != 2); 24 fail_if(pd->a != 2);
25 25
26 eo_unref(obj); 26 eo_unref(obj);
27 27
28 obj = eo_add(INHERIT3_CLASS, NULL); 28 obj = eo2_add(INHERIT3_CLASS, NULL);
29 29
30 eo_do(obj, simple_a_set(1)); 30 eo2_do(obj, simple_a_set(1));
31 pd = eo_data_scope_get(obj, SIMPLE_CLASS); 31 pd = eo_data_scope_get(obj, SIMPLE_CLASS);
32 fail_if(pd->a != 3); 32 fail_if(pd->a != 3);
33 33
34 eo_unref(obj); 34 eo_unref(obj);
35 35
36 obj = eo_add(INHERIT2_CLASS, NULL); 36 obj = eo2_add(INHERIT2_CLASS, NULL);
37 fail_if(!eo_do(obj, inherit2_print())); 37 inherit2_print_called = EINA_FALSE;
38 fail_if(!eo_do(obj, inherit2_print(), inherit2_print())); 38 eo2_do(obj, inherit2_print());
39 eo2_do(obj, inherit2_print(), inherit2_print());
40 fail_if(!inherit2_print_called);
39 eo_unref(obj); 41 eo_unref(obj);
40 42
41 obj = eo_add(SIMPLE_CLASS, NULL); 43 obj = eo2_add(SIMPLE_CLASS, NULL);
42 fail_if(eo_do(obj, inherit2_print2())); 44 inherit2_print_called = EINA_FALSE;
45 eo2_do(obj, inherit2_print());
46 fail_if(inherit2_print_called);
43 47
44#ifdef EO_DEBUG 48#ifdef EO_DEBUG
45 fail_if(eo_do(obj, simple_class_print())); 49 class_print_called = EINA_FALSE;
50 eo2_do(obj, simple_class_print());
51 fail_if(class_print_called);
46#endif 52#endif
47 53
48 fail_if(!eo_do(SIMPLE_CLASS, simple_class_print())); 54 class_print_called = EINA_FALSE;
49 fail_if(!eo_do(INHERIT_CLASS, simple_class_print())); 55 eo2_do(SIMPLE_CLASS, simple_class_print());
50 fail_if(!eo_do(INHERIT2_CLASS, simple_class_print())); 56 fail_if(!class_print_called);
51 fail_if(!eo_do(INHERIT3_CLASS, simple_class_print())); 57 class_print_called = EINA_FALSE;
58 eo2_do(INHERIT_CLASS, simple_class_print());
59 fail_if(!class_print_called);
60 class_print_called = EINA_FALSE;
61 eo2_do(INHERIT2_CLASS, simple_class_print());
62 fail_if(!class_print_called);
63 class_print_called = EINA_FALSE;
64 eo2_do(INHERIT3_CLASS, simple_class_print());
65 fail_if(!class_print_called);
52 66
53#ifdef EO_DEBUG 67#ifdef EO_DEBUG
54 fail_if(eo_do(SIMPLE_CLASS, simple_a_print())); 68 pd->a_print_called = EINA_FALSE;
69 eo2_do(SIMPLE_CLASS, simple_a_print());
70 fail_if(pd->a_print_called);
55#endif 71#endif
56 72
57 eo_do_super(obj, SIMPLE_CLASS, eo_constructor()); 73 eo2_do_super(obj, SIMPLE_CLASS, eo2_constructor());
58 eo_do_super(obj, SIMPLE_CLASS, eo_destructor()); 74 eo2_do_super(obj, SIMPLE_CLASS, eo2_destructor());
59 75
60 eo_unref(obj); 76 eo_unref(obj);
61 77
diff --git a/src/tests/eo/function_overrides/function_overrides_simple.c b/src/tests/eo/function_overrides/function_overrides_simple.c
index afa4fef9fb..67c36a0c31 100644
--- a/src/tests/eo/function_overrides/function_overrides_simple.c
+++ b/src/tests/eo/function_overrides/function_overrides_simple.c
@@ -7,76 +7,72 @@
7 7
8#include "../eunit_tests.h" 8#include "../eunit_tests.h"
9 9
10EAPI Eo_Op SIMPLE_BASE_ID = 0;
11
12#define MY_CLASS SIMPLE_CLASS 10#define MY_CLASS SIMPLE_CLASS
13 11
12Eina_Bool class_print_called = EINA_FALSE;
13Eina_Bool class_print2_called = EINA_FALSE;
14
14static void 15static void
15_a_set(Eo *obj EINA_UNUSED, void *class_data, va_list *list) 16_a_set(Eo *obj EINA_UNUSED, void *class_data, int a)
16{ 17{
17 Simple_Public_Data *pd = class_data; 18 Simple_Public_Data *pd = class_data;
18 int a;
19 a = va_arg(*list, int);
20 printf("%s %d\n", eo_class_name_get(MY_CLASS), a); 19 printf("%s %d\n", eo_class_name_get(MY_CLASS), a);
21 pd->a = a; 20 pd->a = a;
22} 21}
23 22
24static void 23static void
25_a_print(Eo *obj EINA_UNUSED, void *class_data, va_list *list) 24_a_print(Eo *obj EINA_UNUSED, void *class_data)
26{ 25{
27 const Simple_Public_Data *pd = class_data; 26 Simple_Public_Data *pd = class_data;
28 (void) list;
29 printf("Print %s %d\n", eo_class_name_get(MY_CLASS), pd->a); 27 printf("Print %s %d\n", eo_class_name_get(MY_CLASS), pd->a);
28 pd->a_print_called = EINA_TRUE;
30} 29}
31 30
32static void 31static void
33_class_print(Eo_Class *klass, void *data EINA_UNUSED, va_list *list) 32_class_print(Eo_Class *klass)
34{ 33{
35 (void) list;
36 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS)); 34 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS));
37 fail_if(eo_do_super(klass, MY_CLASS, simple_class_print())); 35 class_print_called = EINA_FALSE;
38 fail_if(eo_do_super(klass, MY_CLASS, simple_class_print2())); 36 eo2_do_super(klass, MY_CLASS, simple_class_print());
37 fail_if(class_print_called);
38
39 class_print2_called = EINA_FALSE;
40 eo2_do_super(klass, MY_CLASS, simple_class_print2());
41 fail_if(class_print2_called);
42
43 class_print_called = EINA_TRUE;
39} 44}
40 45
41static void 46static void
42_class_print2(Eo_Class *klass, void *data EINA_UNUSED, va_list *list) 47_class_print2(Eo_Class *klass)
43{ 48{
44 (void) list;
45 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS)); 49 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS));
50 class_print2_called = EINA_TRUE;
46} 51}
47 52
48static void 53EAPI EO2_VOID_FUNC_BODYV(simple_a_set, EO2_FUNC_CALL(a), int a);
49_class_constructor(Eo_Class *klass) 54EAPI EO2_VOID_FUNC_BODY(simple_a_print);
50{ 55EAPI EO2_VOID_CLASS_FUNC_BODY(simple_class_print);
51 const Eo_Op_Func_Description func_desc[] = { 56EAPI EO2_VOID_CLASS_FUNC_BODY(simple_class_print2);
52 EO_OP_FUNC(SIMPLE_ID(SIMPLE_SUB_ID_A_SET), _a_set),
53 EO_OP_FUNC(SIMPLE_ID(SIMPLE_SUB_ID_A_PRINT), _a_print),
54 EO_OP_FUNC_CLASS(SIMPLE_ID(SIMPLE_SUB_ID_CLASS_PRINT), _class_print),
55 EO_OP_FUNC_CLASS(SIMPLE_ID(SIMPLE_SUB_ID_CLASS_PRINT2), _class_print2),
56 EO_OP_FUNC_SENTINEL
57 };
58 57
59 eo_class_funcs_set(klass, func_desc); 58static Eo2_Op_Description op_descs[] = {
60} 59 EO2_OP_FUNC(_a_set, simple_a_set, "Set property A"),
61 60 EO2_OP_FUNC(_a_print, simple_a_print, "Print property A"),
62static const Eo_Op_Description op_desc[] = { 61 EO2_OP_CLASS_FUNC(_class_print, simple_class_print, "Print class name."),
63 EO_OP_DESCRIPTION(SIMPLE_SUB_ID_A_SET, "Set property A"), 62 EO2_OP_CLASS_FUNC(_class_print2, simple_class_print2, "Print2 class name."),
64 EO_OP_DESCRIPTION(SIMPLE_SUB_ID_A_PRINT, "Print property A"), 63 EO2_OP_SENTINEL
65 EO_OP_DESCRIPTION_CLASS(SIMPLE_SUB_ID_CLASS_PRINT, "Print class name."),
66 EO_OP_DESCRIPTION_CLASS(SIMPLE_SUB_ID_CLASS_PRINT2, "Print2 class name."),
67 EO_OP_DESCRIPTION_SENTINEL
68}; 64};
69 65
70static const Eo_Class_Description class_desc = { 66static const Eo_Class_Description class_desc = {
71 EO_VERSION, 67 EO2_VERSION,
72 "Simple", 68 "Simple",
73 EO_CLASS_TYPE_REGULAR, 69 EO_CLASS_TYPE_REGULAR,
74 EO_CLASS_DESCRIPTION_OPS(&SIMPLE_BASE_ID, op_desc, SIMPLE_SUB_ID_LAST), 70 EO2_CLASS_DESCRIPTION_OPS(op_descs),
75 NULL, 71 NULL,
76 sizeof(Simple_Public_Data), 72 sizeof(Simple_Public_Data),
77 _class_constructor, 73 NULL,
78 NULL 74 NULL
79}; 75};
80 76
81EO_DEFINE_CLASS(simple_class_get, &class_desc, EO_BASE_CLASS, NULL); 77EO_DEFINE_CLASS(simple_class_get, &class_desc, EO2_BASE_CLASS, NULL);
82 78
diff --git a/src/tests/eo/function_overrides/function_overrides_simple.h b/src/tests/eo/function_overrides/function_overrides_simple.h
index 3a620fa611..29ab6512b4 100644
--- a/src/tests/eo/function_overrides/function_overrides_simple.h
+++ b/src/tests/eo/function_overrides/function_overrides_simple.h
@@ -1,27 +1,16 @@
1#ifndef SIMPLE_H 1#ifndef SIMPLE_H
2#define SIMPLE_H 2#define SIMPLE_H
3 3
4extern EAPI Eo_Op SIMPLE_BASE_ID;
5
6enum {
7 SIMPLE_SUB_ID_A_SET,
8 SIMPLE_SUB_ID_A_PRINT,
9 SIMPLE_SUB_ID_CLASS_PRINT,
10 SIMPLE_SUB_ID_CLASS_PRINT2,
11 SIMPLE_SUB_ID_LAST
12};
13
14typedef struct 4typedef struct
15{ 5{
16 int a; 6 int a;
7 Eina_Bool a_print_called;
17} Simple_Public_Data; 8} Simple_Public_Data;
18 9
19#define SIMPLE_ID(sub_id) (SIMPLE_BASE_ID + sub_id) 10EAPI void simple_a_set(int a);
20 11EAPI void simple_a_print(void);
21#define simple_a_set(a) SIMPLE_ID(SIMPLE_SUB_ID_A_SET), EO_TYPECHECK(int, a) 12EAPI void simple_class_print(void);
22#define simple_a_print() SIMPLE_ID(SIMPLE_SUB_ID_A_PRINT) 13EAPI void simple_class_print2(void);
23#define simple_class_print() SIMPLE_ID(SIMPLE_SUB_ID_CLASS_PRINT)
24#define simple_class_print2() SIMPLE_ID(SIMPLE_SUB_ID_CLASS_PRINT2)
25 14
26extern const Eo_Event_Description _SIG_A_CHANGED; 15extern const Eo_Event_Description _SIG_A_CHANGED;
27#define SIG_A_CHANGED (&(_SIG_A_CHANGED)) 16#define SIG_A_CHANGED (&(_SIG_A_CHANGED))
@@ -29,4 +18,7 @@ extern const Eo_Event_Description _SIG_A_CHANGED;
29#define SIMPLE_CLASS simple_class_get() 18#define SIMPLE_CLASS simple_class_get()
30const Eo_Class *simple_class_get(void); 19const Eo_Class *simple_class_get(void);
31 20
21extern Eina_Bool class_print_called;
22extern Eina_Bool class_print2_called;
23
32#endif 24#endif