diff options
author | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2016-04-11 00:53:03 -0300 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2016-04-11 01:28:50 -0300 |
commit | 62841aee3ce838321149b329008a54185341f9f8 (patch) | |
tree | 62abd7842778d1fd0c541ba1063d732097dc57f2 /src/tests/eo/mixin/mixin_simple.c | |
parent | eff86cd48a9f01ace61aadcfcb8241ec426d6262 (diff) | |
download | efl-62841aee3ce838321149b329008a54185341f9f8.tar.gz |
eolian: Make promise eolian generation use macros for hooks
Modify the way hooks are defined and used by promise generation in
Eolian in the Eo API.
Instead of passing macro names as parameters to EO_FUNC_BODY macros,
just re-define the actual hooks when it is needed.
Diffstat (limited to 'src/tests/eo/mixin/mixin_simple.c')
-rw-r--r-- | src/tests/eo/mixin/mixin_simple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eo/mixin/mixin_simple.c b/src/tests/eo/mixin/mixin_simple.c index 8acccad62a..5184e0ec96 100644 --- a/src/tests/eo/mixin/mixin_simple.c +++ b/src/tests/eo/mixin/mixin_simple.c @@ -31,8 +31,8 @@ _##name##_set(Eo *obj EINA_UNUSED, void *class_data, int name) \ pd->name = name; \ printf("%s %d\n", __func__, pd->name); \ } \ -EO_VOID_FUNC_BODYV(simple_##name##_set, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, EO_FUNC_CALL(name), int name); \ -EO_FUNC_BODY(simple_##name##_get, _EO_EMPTY_HOOK, _EO_EMPTY_HOOK, int, 0); +EO_VOID_FUNC_BODYV(simple_##name##_set, EO_FUNC_CALL(name), int name); \ +EO_FUNC_BODY(simple_##name##_get, int, 0); _GET_SET_FUNC(a) _GET_SET_FUNC(b) |