summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-07-30 17:22:26 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-09-17 22:37:00 +0200
commita06b65369d55af0cc35d7e129499123a524bd3a9 (patch)
treee03188868980a0cfea8f4493fc94746742272074
parent0d5120e5884377e1daf50cd7f611bb24a9c6d19c (diff)
downloadefl-a06b65369d55af0cc35d7e129499123a524bd3a9.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.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index acf99ea851..b54bd1c7f9 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -672,22 +672,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__)