Add M_QUAD internal macros
This commit is contained in:
1 parent
f951a947ec
commit
722737d60c
1 file changed
+6
@@ -1158,6 +1158,12 @@ M_BEGIN_PROTECTED_CODE
|
||||
#define M_TRIPLE_2(a,b,c) b
|
||||
#define M_TRIPLE_3(a,b,c) c
|
||||
|
||||
/* Same for quad */
|
||||
#define M_QUAD_1(a,b,c,d) a
|
||||
#define M_QUAD_2(a,b,c,d) b
|
||||
#define M_QUAD_3(a,b,c,d) c
|
||||
#define M_QUAD_4(a,b,c,d) d
|
||||
|
||||
/* Skip the Nth first arguments of a VA_ARGS
|
||||
Generated by:
|
||||
for i in $(seq 0 52) ; do printf "#define M_SKIPI_%d(" $i ; for j in $(seq 1 $i) ; do printf "_%d, " $j ; done ; printf "...) __VA_ARGS__\n"; done
|
||||
|
||||
Reference in new issue
Block a user