Fixed style related errors

pull/275/head
Florian Fleissner 7 years ago
parent 3119b6b228
commit ae93c18728

@ -49,7 +49,7 @@ __NL__ "\n***************************************************************"
// be used, e.g.
//
#if 0 // This is just so that A_MACRO is not actually defined
#define A_MACRO(A, B, C, ...) \
#define A_MACRO(A, B, C, ...) \
(void)RESTRICT_ARGS_COUNT(0, 3, A_MACRO, ##__VA_ARGS__); \
int a = A; \
int b = B; \
@ -60,8 +60,8 @@ __NL__ "\n***************************************************************"
// arguments is used, e.g.
//
#if 0 // This is just so that B_MACRO is not actually defined
#define B_MACRO(A, B, C, ...)
int array[] = { A, B, RESTRICT_ARGS_COUNT(C, 3, B_MACRO, ##__VA_ARGS__) };
#define B_MACRO(A, B, C, ...)
int array[] = { A, B, RESTRICT_ARGS_COUNT(C, 3, B_MACRO, ##__VA_ARGS__) };
#endif
//
#define RESTRICT_ARGS_COUNT(B, \
@ -100,4 +100,3 @@ __NL__ ); \
__NL__ }, /* End of dummy lambda, the comma operator's A operand. */ \
__NL__ B /* The overall ASSERT_ARGS_COUNT evaluates to B. */ \
__NL__ )
Loading…
Cancel
Save