00001 #ifndef zarg_h 00002 #define zarg_h 00003 00004 #undef _buildz 00005 #define _buildz(...) __VA_ARGS__, 0 00006 00007 #undef __buildargz 00008 #define __buildargz(a,...) a 00009 00010 #undef __buildargz2 00011 #define __buildargz2(a,b,...) a, b 00012 00013 #undef __buildargz3 00014 #define __buildargz3(a,b,c,...) a, b, c 00015 00016 #undef __buildargz4 00017 #define __buildargz4(a,b,c,d,...) a, b, c, d 00018 00019 #undef __buildargz5 00020 #define __buildargz5(a,b,c,d,e,...) a, b, c, d, e 00021 00022 #undef __buildargz6 00023 #define __buildargz6(a,b,c,d,e,f,...) a, b, c, d, e, f 00024 00025 #undef __buildargz7 00026 #define __buildargz7(a,b,c,d,e,f,g,...) a, b, c, d, e, f, g 00027 00028 #undef __buildargz8 00029 #define __buildargz8(a,b,c,d,e,f,g,h,...) a, b, c, d, e, f, g, h 00030 00031 #undef __buildargz9 00032 #define __buildargz9(a,b,c,d,e,f,g,h,i,...) a, b, c, d, e, f, g, h, i 00033 00034 #undef __buildargz10 00035 #define __buildargz10(a,b,c,d,e,f,g,h,i,j,...) a, b, c, d, e, f, g, h, i, j 00036 00037 #undef __buildargz11 00038 #define __buildargz11(a,b,c,d,e,f,g,h,i,j,k,...) a, b, c, d, e, f, g, h, i, j, k 00039 00040 #undef __buildargz12 00041 #define __buildargz12(a,b,c,d,e,f,g,h,i,j,k,l,...) a, b, c, d, e, f, g, h, i, j, k, l 00042 00043 #undef __buildargz13 00044 #define __buildargz13(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 00045 00046 #undef __buildargz14 00047 #define __buildargz14(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 00048 00049 #undef __buildargz15 00050 #define __buildargz15(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 00051 00052 #undef _buildargz 00053 #define _buildargz(...) __buildargz(__VA_ARGS__, 0) 00054 00055 #undef _buildargz2 00056 #define _buildargz2(...) __buildargz2(__VA_ARGS__, 0, 0) 00057 00058 #undef _buildargz3 00059 #define _buildargz3(...) __buildargz3(__VA_ARGS__, 0, 0, 0) 00060 00061 #undef _buildargz4 00062 #define _buildargz4(...) __buildargz4(__VA_ARGS__, 0, 0, 0, 0) 00063 00064 #undef _buildargz5 00065 #define _buildargz5(...) __buildargz5(__VA_ARGS__, 0, 0, 0, 0, 0) 00066 00067 #undef _buildargz6 00068 #define _buildargz6(...) __buildargz6(__VA_ARGS__, 0, 0, 0, 0, 0, 0) 00069 00070 #undef _buildargz7 00071 #define _buildargz7(...) __buildargz7(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0) 00072 00073 #undef _buildargz8 00074 #define _buildargz8(...) __buildargz8(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0, 0) 00075 00076 #undef _buildargz9 00077 #define _buildargz9(...) __buildargz9(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0, 0, 0) 00078 00079 #undef _buildargz10 00080 #define _buildargz10(...) __buildargz10(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) 00081 00082 #undef _buildargz11 00083 #define _buildargz11(...) __buildargz11(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) 00084 00085 #undef _buildargz12 00086 #define _buildargz12(...) __buildargz12(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) 00087 00088 #undef _buildargz13 00089 #define _buildargz13(...) __buildargz13(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) 00090 00091 #undef _buildargz14 00092 #define _buildargz14(...) __buildargz14(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) 00093 00094 #undef _buildargz15 00095 #define _buildargz15(...) __buildargz15(__VA_ARGS__, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) 00096 00097 #endif 00098