diff options
author | Tom Hacohen <tom@stosb.com> | 2013-07-30 17:22:26 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2013-07-30 17:22:26 +0100 |
commit | f017ff486bc8b16a6f41c2aee9787efd852ae6c6 (patch) | |
tree | 2af0e18926acf60cfb1f648e518ada7727246baf | |
parent | b1efedfb5b07dad6915dcdc23e90a2682d816029 (diff) | |
download | efl-f017ff486bc8b16a6f41c2aee9787efd852ae6c6.tar.gz |
Fix backslash alignment.
This is one of the reasons why I hate backslash alignments, you end up
fixing style when you should be working on code.
-rw-r--r-- | src/lib/eo/Eo.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index ede7ce8635..944238e32e 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -658,22 +658,22 @@ typedef struct _Eo2_Op_Call_Data #define EO2_VOID_FUNC_BODYV(Name, Func, ...) EO2_FUNC_BODYV(Name, void, Func, , __VA_ARGS__) // to define a EAPI class function -#define EO2_CLASS_FUNC_BODY(Name, Ret, DefRet, Class) \ - Ret \ - Name(void) \ - { \ - typedef Ret (*__##Name##_func)(Eo_Class *); \ - _EO2_CLASS_FUNC_COMMON(Name, Ret, _func_(call.klass_id), DefRet, Class) \ +#define EO2_CLASS_FUNC_BODY(Name, Ret, DefRet, Class) \ + Ret \ + Name(void) \ + { \ + typedef Ret (*__##Name##_func)(Eo_Class *); \ + _EO2_CLASS_FUNC_COMMON(Name, Ret, _func_(call.klass_id), DefRet, Class) \ } #define EO2_VOID_CLASS_FUNC_BODY(Name, Class) EO2_CLASS_FUNC_BODY(Name, void, , Class) -#define EO2_CLASS_FUNC_BODYV(Name, Ret, Func, DefRet, Class, ...) \ - Ret \ - Name(__VA_ARGS__) \ - { \ - typedef Ret (*__##Name##_func)(Eo_Class *, __VA_ARGS__); \ - _EO2_CLASS_FUNC_COMMON(Name, Ret, Func, DefRet, Class) \ +#define EO2_CLASS_FUNC_BODYV(Name, Ret, Func, DefRet, Class, ...) \ + Ret \ + Name(__VA_ARGS__) \ + { \ + typedef Ret (*__##Name##_func)(Eo_Class *, __VA_ARGS__); \ + _EO2_CLASS_FUNC_COMMON(Name, Ret, Func, DefRet, Class) \ } #define EO2_VOID_CLASS_FUNC_BODYV(Name, Func, Class, ...) EO2_CLASS_FUNC_BODYV(Name, void, Func, , Class, __VA_ARGS__) |