|
|
@ -198,12 +198,22 @@ |
|
|
|
}while(0) |
|
|
|
|
|
|
|
// Macros for initializing arrays
|
|
|
|
#define ARRAY_6(v1, v2, v3, v4, v5, v6, ...) { v1, v2, v3, v4, v5, v6 } |
|
|
|
#define ARRAY_5(v1, v2, v3, v4, v5, ...) { v1, v2, v3, v4, v5 } |
|
|
|
#define ARRAY_4(v1, v2, v3, v4, ...) { v1, v2, v3, v4 } |
|
|
|
#define ARRAY_3(v1, v2, v3, ...) { v1, v2, v3 } |
|
|
|
#define ARRAY_2(v1, v2, ...) { v1, v2 } |
|
|
|
#define ARRAY_1(v1, ...) { v1 } |
|
|
|
#define ARRAY_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 ARRAY_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 ARRAY_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 ARRAY_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 ARRAY_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 ARRAY_11(A,B,C,D,E,F,G,H,I,J,K,...) { A,B,C,D,E,F,G,H,I,J,K } |
|
|
|
#define ARRAY_10(A,B,C,D,E,F,G,H,I,J,...) { A,B,C,D,E,F,G,H,I,J } |
|
|
|
#define ARRAY_9( A,B,C,D,E,F,G,H,I,...) { A,B,C,D,E,F,G,H,I } |
|
|
|
#define ARRAY_8( A,B,C,D,E,F,G,H,...) { A,B,C,D,E,F,G,H } |
|
|
|
#define ARRAY_7( A,B,C,D,E,F,G,...) { A,B,C,D,E,F,G } |
|
|
|
#define ARRAY_6( A,B,C,D,E,F,...) { A,B,C,D,E,F } |
|
|
|
#define ARRAY_5( A,B,C,D,E,...) { A,B,C,D,E } |
|
|
|
#define ARRAY_4( A,B,C,D,...) { A,B,C,D } |
|
|
|
#define ARRAY_3( A,B,C,...) { A,B,C } |
|
|
|
#define ARRAY_2( A,B,...) { A,B } |
|
|
|
#define ARRAY_1( A,...) { A } |
|
|
|
|
|
|
|
#define _ARRAY_N(N,V...) ARRAY_##N(V) |
|
|
|
#define ARRAY_N(N,V...) _ARRAY_N(N,V) |
|
|
|