summaryrefslogtreecommitdiff
path: root/src/tests/eo/mixin/mixin_inherit.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-04-02 09:46:34 +0100
committerTom Hacohen <tom@stosb.com>2014-04-10 04:20:21 +0100
commitc32bb4fe958cca857f7f74171bc1be6b53c4fe99 (patch)
treea139f4ac8b0147bcb944afd08609e58e298d7377 /src/tests/eo/mixin/mixin_inherit.c
parent80faa56ed3399fb10dafa0a88831f52e6769a7d4 (diff)
Eo2: Updated naming Eo2->Eo.
Diffstat (limited to 'src/tests/eo/mixin/mixin_inherit.c')
-rw-r--r--src/tests/eo/mixin/mixin_inherit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/eo/mixin/mixin_inherit.c b/src/tests/eo/mixin/mixin_inherit.c
index 4578b54039..521acbe721 100644
--- a/src/tests/eo/mixin/mixin_inherit.c
+++ b/src/tests/eo/mixin/mixin_inherit.c
@@ -13,22 +13,22 @@ static int
13_a_get(Eo *obj, void *class_data EINA_UNUSED) 13_a_get(Eo *obj, void *class_data EINA_UNUSED)
14{ 14{
15 int ret = 0; 15 int ret = 0;
16 eo2_do_super(obj, MY_CLASS, ret = simple_a_get()); 16 eo_do_super(obj, MY_CLASS, ret = simple_a_get());
17 printf("%s %d\n", __func__, ret); 17 printf("%s %d\n", __func__, ret);
18 18
19 return ret; 19 return ret;
20} 20}
21 21
22static Eo2_Op_Description op_descs[] = { 22static Eo_Op_Description op_descs[] = {
23 EO2_OP_FUNC_OVERRIDE(simple_a_get, _a_get), 23 EO_OP_FUNC_OVERRIDE(simple_a_get, _a_get),
24 EO2_OP_SENTINEL 24 EO_OP_SENTINEL
25}; 25};
26 26
27static const Eo_Class_Description class_desc = { 27static const Eo_Class_Description class_desc = {
28 EO2_VERSION, 28 EO_VERSION,
29 "Inherit", 29 "Inherit",
30 EO_CLASS_TYPE_REGULAR, 30 EO_CLASS_TYPE_REGULAR,
31 EO2_CLASS_DESCRIPTION_OPS(op_descs), 31 EO_CLASS_DESCRIPTION_OPS(op_descs),
32 NULL, 32 NULL,
33 0, 33 0,
34 NULL, 34 NULL,