|
|
|
@ -160,7 +160,7 @@
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// Macros to chain up to 14 conditions
|
|
|
|
|
// Macros to chain up to 40 conditions
|
|
|
|
|
#define _DO_1(W,C,A) (_##W##_1(A))
|
|
|
|
|
#define _DO_2(W,C,A,B) (_##W##_1(A) C _##W##_1(B))
|
|
|
|
|
#define _DO_3(W,C,A,V...) (_##W##_1(A) C _DO_2(W,C,V))
|
|
|
|
@ -176,6 +176,31 @@
|
|
|
|
|
#define _DO_13(W,C,A,V...) (_##W##_1(A) C _DO_12(W,C,V))
|
|
|
|
|
#define _DO_14(W,C,A,V...) (_##W##_1(A) C _DO_13(W,C,V))
|
|
|
|
|
#define _DO_15(W,C,A,V...) (_##W##_1(A) C _DO_14(W,C,V))
|
|
|
|
|
#define _DO_16(W,C,A,V...) (_##W##_1(A) C _DO_15(W,C,V))
|
|
|
|
|
#define _DO_17(W,C,A,V...) (_##W##_1(A) C _DO_16(W,C,V))
|
|
|
|
|
#define _DO_18(W,C,A,V...) (_##W##_1(A) C _DO_17(W,C,V))
|
|
|
|
|
#define _DO_19(W,C,A,V...) (_##W##_1(A) C _DO_18(W,C,V))
|
|
|
|
|
#define _DO_20(W,C,A,V...) (_##W##_1(A) C _DO_19(W,C,V))
|
|
|
|
|
#define _DO_21(W,C,A,V...) (_##W##_1(A) C _DO_20(W,C,V))
|
|
|
|
|
#define _DO_22(W,C,A,V...) (_##W##_1(A) C _DO_21(W,C,V))
|
|
|
|
|
#define _DO_23(W,C,A,V...) (_##W##_1(A) C _DO_22(W,C,V))
|
|
|
|
|
#define _DO_24(W,C,A,V...) (_##W##_1(A) C _DO_23(W,C,V))
|
|
|
|
|
#define _DO_25(W,C,A,V...) (_##W##_1(A) C _DO_24(W,C,V))
|
|
|
|
|
#define _DO_26(W,C,A,V...) (_##W##_1(A) C _DO_25(W,C,V))
|
|
|
|
|
#define _DO_27(W,C,A,V...) (_##W##_1(A) C _DO_26(W,C,V))
|
|
|
|
|
#define _DO_28(W,C,A,V...) (_##W##_1(A) C _DO_27(W,C,V))
|
|
|
|
|
#define _DO_29(W,C,A,V...) (_##W##_1(A) C _DO_28(W,C,V))
|
|
|
|
|
#define _DO_30(W,C,A,V...) (_##W##_1(A) C _DO_29(W,C,V))
|
|
|
|
|
#define _DO_31(W,C,A,V...) (_##W##_1(A) C _DO_30(W,C,V))
|
|
|
|
|
#define _DO_32(W,C,A,V...) (_##W##_1(A) C _DO_31(W,C,V))
|
|
|
|
|
#define _DO_33(W,C,A,V...) (_##W##_1(A) C _DO_32(W,C,V))
|
|
|
|
|
#define _DO_34(W,C,A,V...) (_##W##_1(A) C _DO_33(W,C,V))
|
|
|
|
|
#define _DO_35(W,C,A,V...) (_##W##_1(A) C _DO_34(W,C,V))
|
|
|
|
|
#define _DO_36(W,C,A,V...) (_##W##_1(A) C _DO_35(W,C,V))
|
|
|
|
|
#define _DO_37(W,C,A,V...) (_##W##_1(A) C _DO_36(W,C,V))
|
|
|
|
|
#define _DO_38(W,C,A,V...) (_##W##_1(A) C _DO_37(W,C,V))
|
|
|
|
|
#define _DO_39(W,C,A,V...) (_##W##_1(A) C _DO_38(W,C,V))
|
|
|
|
|
#define _DO_40(W,C,A,V...) (_##W##_1(A) C _DO_39(W,C,V))
|
|
|
|
|
#define __DO_N(W,C,N,V...) _DO_##N(W,C,V)
|
|
|
|
|
#define _DO_N(W,C,N,V...) __DO_N(W,C,N,V)
|
|
|
|
|
#define DO(W,C,V...) (_DO_N(W,C,NUM_ARGS(V),V))
|
|
|
|
@ -251,6 +276,11 @@
|
|
|
|
|
memcpy(&a[0],&b[0],_MIN(sizeof(a),sizeof(b))); \
|
|
|
|
|
}while(0)
|
|
|
|
|
|
|
|
|
|
#define CODE_16( A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,...) A; B; C; D; E; F; G; H; I; J; K; L; M; N; O; P
|
|
|
|
|
#define CODE_15( A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,...) A; B; C; D; E; F; G; H; I; J; K; L; M; N; O
|
|
|
|
|
#define CODE_14( A,B,C,D,E,F,G,H,I,J,K,L,M,N,...) A; B; C; D; E; F; G; H; I; J; K; L; M; N
|
|
|
|
|
#define CODE_13( A,B,C,D,E,F,G,H,I,J,K,L,M,...) A; B; C; D; E; F; G; H; I; J; K; L; M
|
|
|
|
|
#define CODE_12( A,B,C,D,E,F,G,H,I,J,K,L,...) A; B; C; D; E; F; G; H; I; J; K; L
|
|
|
|
|
#define CODE_11( A,B,C,D,E,F,G,H,I,J,K,...) A; B; C; D; E; F; G; H; I; J; K
|
|
|
|
|
#define CODE_10( A,B,C,D,E,F,G,H,I,J,...) A; B; C; D; E; F; G; H; I; J
|
|
|
|
|
#define CODE_9( A,B,C,D,E,F,G,H,I,...) A; B; C; D; E; F; G; H; I
|
|
|
|
|