summaryrefslogtreecommitdiff
path: root/src/tests/eolian_js
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-15 14:44:41 +0100
committerTom Hacohen <tom@stosb.com>2016-08-15 15:07:42 +0100
commite65aae994e72c1d3f8ac6b5360d3772f177b77ef (patch)
tree7ecaf136e45470635889191aded2b47057720a98 /src/tests/eolian_js
parent35abb3c34d10a4826c98055fb85ecf93915e5ea8 (diff)
Eo: Finish the renaming of Eo to the EFL.
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
Diffstat (limited to 'src/tests/eolian_js')
-rw-r--r--src/tests/eolian_js/eolian_js_test_constructor_method_impl.c8
-rw-r--r--src/tests/eolian_js/eolian_js_test_test_object_impl.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/tests/eolian_js/eolian_js_test_constructor_method_impl.c b/src/tests/eolian_js/eolian_js_test_constructor_method_impl.c
index 78b2852..62cac07 100644
--- a/src/tests/eolian_js/eolian_js_test_constructor_method_impl.c
+++ b/src/tests/eolian_js/eolian_js_test_constructor_method_impl.c
@@ -23,7 +23,7 @@ EOLIAN static Efl_Object *
23_constructor_method_class_efl_object_constructor(Eo* obj EINA_UNUSED, Constructor_Method_Class_Data *pd) 23_constructor_method_class_efl_object_constructor(Eo* obj EINA_UNUSED, Constructor_Method_Class_Data *pd)
24{ 24{
25 pd->fail = EINA_FALSE; 25 pd->fail = EINA_FALSE;
26 return efl_constructor(eo_super(obj, MY_CLASS)); 26 return efl_constructor(efl_super(obj, MY_CLASS));
27} 27}
28 28
29EOLIAN static void 29EOLIAN static void
@@ -50,7 +50,7 @@ _constructor_method_class_efl_object_finalize(Eo *obj, Constructor_Method_Class_
50 if (pd->fail) 50 if (pd->fail)
51 return NULL; 51 return NULL;
52 52
53 return efl_finalize(eo_super(obj, MY_CLASS)); 53 return efl_finalize(efl_super(obj, MY_CLASS));
54} 54}
55 55
56EOLIAN static Eina_Bool 56EOLIAN static Eina_Bool
@@ -132,7 +132,7 @@ _constructor_method_class_classoutmethod1(Eo* obj EINA_UNUSED, Constructor_Metho
132{ 132{
133 fprintf(stderr, "classoutmethod1\n"); 133 fprintf(stderr, "classoutmethod1\n");
134 fflush(stderr); 134 fflush(stderr);
135 return eo_add(MY_CLASS, NULL, constructor_method_class_constructor1(eo_self, one), constructor_method_class_constructor2(eo_self, two)); 135 return efl_add(MY_CLASS, NULL, constructor_method_class_constructor1(efl_self, one), constructor_method_class_constructor2(efl_self, two));
136} 136}
137 137
138EOLIAN static void 138EOLIAN static void
@@ -140,7 +140,7 @@ _constructor_method_class_classoutmethod2(Eo* obj EINA_UNUSED, Constructor_Metho
140{ 140{
141 fprintf(stderr, "classoutmethod2\n"); 141 fprintf(stderr, "classoutmethod2\n");
142 fflush(stderr); 142 fflush(stderr);
143 *out_class = eo_add(MY_CLASS, NULL, constructor_method_class_constructor1(eo_self, one), constructor_method_class_constructor2(eo_self, two)); 143 *out_class = efl_add(MY_CLASS, NULL, constructor_method_class_constructor1(efl_self, one), constructor_method_class_constructor2(efl_self, two));
144} 144}
145 145
146 146
diff --git a/src/tests/eolian_js/eolian_js_test_test_object_impl.c b/src/tests/eolian_js/eolian_js_test_test_object_impl.c
index 1894429..af4acbf 100644
--- a/src/tests/eolian_js/eolian_js_test_test_object_impl.c
+++ b/src/tests/eolian_js/eolian_js_test_test_object_impl.c
@@ -30,7 +30,7 @@ _test_object_efl_object_constructor(Eo* obj, Test_Object_Data *pd)
30 fflush(stdout); 30 fflush(stdout);
31 31
32 pd->a = 0; 32 pd->a = 0;
33 return efl_constructor(eo_super(obj, MY_CLASS)); 33 return efl_constructor(efl_super(obj, MY_CLASS));
34} 34}
35 35
36EOLIAN static Eo * 36EOLIAN static Eo *
@@ -39,7 +39,7 @@ _test_object_efl_object_finalize(Eo *obj, Test_Object_Data *pd EINA_UNUSED)
39 fprintf(stdout, "_test_object_efl_object_finalize\n"); 39 fprintf(stdout, "_test_object_efl_object_finalize\n");
40 fflush(stdout); 40 fflush(stdout);
41 41
42 return efl_finalize(eo_super(obj, MY_CLASS)); 42 return efl_finalize(efl_super(obj, MY_CLASS));
43} 43}
44 44
45EOLIAN static void 45EOLIAN static void
@@ -47,7 +47,7 @@ _test_object_efl_object_destructor(Eo* obj, Test_Object_Data *pd EINA_UNUSED)
47{ 47{
48 fprintf(stdout, "_test_object_efl_object_destructor\n"); 48 fprintf(stdout, "_test_object_efl_object_destructor\n");
49 fflush(stdout); 49 fflush(stdout);
50 efl_destructor(eo_super(obj, MY_CLASS)); 50 efl_destructor(efl_super(obj, MY_CLASS));
51} 51}
52 52
53 53