eo2: fixed EO2_VOID_CLASS_FUNC_BODY function.

This commit is contained in:
Tom Hacohen 2013-11-07 16:55:26 +00:00
parent cbc9a7bd30
commit f481e8dc64
1 changed files with 1 additions and 3 deletions

View File

@ -714,13 +714,11 @@ EAPI extern Eo2_Hook_Call eo2_hook_call_post;
void \
Name(void) \
{ \
typedef Ret (*__##Name##_func)(Eo_Class *); \
Ret _r; \
typedef void (*__##Name##_func)(Eo_Class *); \
EO2_FUNC_COMMON_OP(Name, , EO_OP_TYPE_CLASS); \
EO2_HOOK_CALL_PREPARE(eo2_hook_call_pre); \
_func_(call.klass); \
EO2_HOOK_CALL_PREPARE(eo2_hook_call_post); \
return _r; \
}
#define EO2_CLASS_FUNC_BODYV(Name, Ret, DefRet, Arguments, ...) \