diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-07 23:40:11 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-07 23:40:11 +0100 |
commit | a4a9e7dc9cfcd3c5777138b8b8ddcfa10267a890 (patch) | |
tree | 9f9cb06b30c1b96627e4922dc5e7bd072ff0ad33 | |
parent | 663136473cc196dc7dba98c208ed6d44a13a1892 (diff) | |
download | efl-a4a9e7dc9cfcd3c5777138b8b8ddcfa10267a890.tar.gz |
fix eo2test, see previous commit
-rw-r--r-- | eo2test/eo2_inherit.c | 4 | ||||
-rw-r--r-- | eo2test/eo2_simple.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/eo2test/eo2_inherit.c b/eo2test/eo2_inherit.c index 3b6a3d4e59..38ac6df7cd 100644 --- a/eo2test/eo2_inherit.c +++ b/eo2test/eo2_inherit.c @@ -26,7 +26,7 @@ _get(Eo *obj EINA_UNUSED, void *obj_data) EAPI EO2_FUNC_BODY(eo2_inherit_get, int, -2); static void -_class_hello(const Eo_Class *klass, int a) +_class_hello(const Eo_Class *klass, void *obj_data EINA_UNUSED, int a) { printf("Hello %d - body %s - EAPI %s\n", a, eo_class_name_get(klass), eo_class_name_get(EO2_SIMPLE_CLASS)); @@ -60,7 +60,7 @@ static Eo2_Op_Description op_descs [] = { EO2_OP_FUNC_OVERRIDE(_destructor, eo2_destructor), EO2_OP_FUNC_OVERRIDE(_inc, eo2_inc), EO2_OP_FUNC_OVERRIDE(_virtual, eo2_virtual), - EO2_OP_CLASS_FUNC_OVERRIDE(_class_hello, eo2_class_hello), + EO2_OP_FUNC_OVERRIDE(_class_hello, eo2_class_hello), EO2_OP_FUNC(_get, eo2_inherit_get, "Get Y"), EO2_OP_SENTINEL }; diff --git a/eo2test/eo2_simple.c b/eo2test/eo2_simple.c index 19f898494c..c7cc81dbad 100644 --- a/eo2test/eo2_simple.c +++ b/eo2test/eo2_simple.c @@ -45,11 +45,11 @@ _set_evt(Eo *obj, void *obj_data, int x) EAPI EO2_VOID_FUNC_BODYV(eo2_set_evt, EO2_FUNC_CALL(x), int x); static void -_class_hello(const Eo_Class *klass, int a) +_class_hello(const Eo_Class *klass, void *obj_data EINA_UNUSED, int a) { printf("Hello %d - body %s - EAPI %s\n", a, eo_class_name_get(klass), eo_class_name_get(EO2_SIMPLE_CLASS)); } -EAPI EO2_VOID_CLASS_FUNC_BODYV(eo2_class_hello, EO2_CLASS_FUNC_CALL(a), int a); +EAPI EO2_VOID_FUNC_BODYV(eo2_class_hello, EO2_FUNC_CALL(a), int a); EAPI EO2_FUNC_BODYV(eo2_virtual, int, -1, EO2_FUNC_CALL(x), int x); @@ -77,7 +77,7 @@ static Eo2_Op_Description op_descs [] = { EO2_OP_FUNC(_get, eo2_get, "Get X"), EO2_OP_FUNC(_set, eo2_set, "Set X"), EO2_OP_FUNC(_set_evt, eo2_set_evt, "Set X + event"), - EO2_OP_CLASS_FUNC(_class_hello, eo2_class_hello, "Class says hello"), + EO2_OP_FUNC(_class_hello, eo2_class_hello, "Class says hello"), EO2_OP_FUNC(NULL, eo2_virtual, "Virtual Func"), EO2_OP_SENTINEL }; |