forked from enlightenment/efl
eo2: explicitly put void as the arguments in a zero argument function (macro).
This commit is contained in:
parent
13b1d03def
commit
ec1e507465
|
@ -639,7 +639,7 @@ typedef struct _Eo2_Op_Call_Data
|
||||||
// to define an EAPI function
|
// to define an EAPI function
|
||||||
#define EO2_FUNC_BODY(Name, Ret, DefRet) \
|
#define EO2_FUNC_BODY(Name, Ret, DefRet) \
|
||||||
Ret \
|
Ret \
|
||||||
Name() \
|
Name(void) \
|
||||||
{ \
|
{ \
|
||||||
typedef Ret (*__##Name##_func)(Eo *, void *obj_data); \
|
typedef Ret (*__##Name##_func)(Eo *, void *obj_data); \
|
||||||
_EO2_FUNC_COMMON(Name, Ret, _func_(call.obj_id, call.data), DefRet)\
|
_EO2_FUNC_COMMON(Name, Ret, _func_(call.obj_id, call.data), DefRet)\
|
||||||
|
|
Loading…
Reference in New Issue