|
|
|
1 |
|
// xawrap internal header |
2 |
|
// NOTE: no include guard |
3 |
|
|
4 |
|
// includes <xawrap1> for [0,10] arguments |
5 |
|
|
6 |
|
#if _NMAX != 10 |
7 |
|
#error argument number mismatch |
8 |
|
#endif /* _NMAX != 10 */ |
9 |
|
|
10 |
|
#ifdef _NOZERO |
11 |
|
#undef _NOZERO |
12 |
|
|
13 |
|
#else /* _NOZERO */ |
14 |
|
#define _NARGS 0 |
15 |
|
#define _CLASS_CARG0 |
16 |
|
#define _C0_C1 |
17 |
|
#define _C_TAIL(x) _TAIL_0(x) |
18 |
|
#include <xawrap0> |
19 |
|
#undef _C_TAIL |
20 |
|
#undef _C0_C1 |
21 |
|
#undef _CLASS_CARG0 |
22 |
|
#undef _NARGS |
23 |
|
#endif /* _NOZERO */ |
24 |
|
|
25 |
|
#define _NARGS 1 |
26 |
|
#define _CLASS_CARG0 class _Carg0 |
27 |
|
#define _C0_C1 _CA0 |
28 |
|
#define _C_TAIL(x) , _TAIL_1(x) |
29 |
|
#include <xawrap0> |
30 |
|
#undef _C_TAIL |
31 |
|
#undef _C0_C1 |
32 |
|
#undef _CLASS_CARG0 |
33 |
|
#undef _NARGS |
34 |
|
|
35 |
|
#define _NARGS 2 |
36 |
|
#define _CLASS_CARG0 class _Carg0, class _Carg1 |
37 |
|
#define _C0_C1 _CA0, _CA1 |
38 |
|
#define _C_TAIL(x) , _TAIL_2(x) |
39 |
|
#include <xawrap0> |
40 |
|
#undef _C_TAIL |
41 |
|
#undef _C0_C1 |
42 |
|
#undef _CLASS_CARG0 |
43 |
|
#undef _NARGS |
44 |
|
|
45 |
|
#define _NARGS 3 |
46 |
|
#define _CLASS_CARG0 class _Carg0, class _Carg1, class _Carg2 |
47 |
|
#define _C0_C1 _CA0, _CA1, _CA2 |
48 |
|
#define _C_TAIL(x) , _TAIL_3(x) |
49 |
|
#include <xawrap0> |
50 |
|
#undef _C_TAIL |
51 |
|
#undef _C0_C1 |
52 |
|
#undef _CLASS_CARG0 |
53 |
|
#undef _NARGS |
54 |
|
|
55 |
|
#define _NARGS 4 |
56 |
|
#define _CLASS_CARG0 class _Carg0, class _Carg1, class _Carg2, class _Carg3 |
57 |
|
#define _C0_C1 _CA0, _CA1, _CA2, _CA3 |
58 |
|
#define _C_TAIL(x) , _TAIL_4(x) |
59 |
|
#include <xawrap0> |
60 |
|
#undef _C_TAIL |
61 |
|
#undef _C0_C1 |
62 |
|
#undef _CLASS_CARG0 |
63 |
|
#undef _NARGS |
64 |
|
|
65 |
|
#define _NARGS 5 |
66 |
|
#define _CLASS_CARG0 class _Carg0, class _Carg1, class _Carg2, \ |
67 |
|
class _Carg3, class _Carg4 |
68 |
|
#define _C0_C1 _CA0, _CA1, _CA2, _CA3, _CA4 |
69 |
|
#define _C_TAIL(x) , _TAIL_5(x) |
70 |
|
#include <xawrap0> |
71 |
|
#undef _C_TAIL |
72 |
|
#undef _C0_C1 |
73 |
|
#undef _CLASS_CARG0 |
74 |
|
#undef _NARGS |
75 |
|
|
76 |
|
#define _NARGS 6 |
77 |
|
#define _CLASS_CARG0 class _Carg0, class _Carg1, class _Carg2, \ |
78 |
|
class _Carg3, class _Carg4, class _Carg5 |
79 |
|
#define _C0_C1 _CA0, _CA1, _CA2, _CA3, _CA4, _CA5 |
80 |
|
#define _C_TAIL(x) , _TAIL_6(x) |
81 |
|
#include <xawrap0> |
82 |
|
#undef _C_TAIL |
83 |
|
#undef _C0_C1 |
84 |
|
#undef _CLASS_CARG0 |
85 |
|
#undef _NARGS |
86 |
|
|
87 |
|
#define _NARGS 7 |
88 |
|
#define _CLASS_CARG0 class _Carg0, class _Carg1, class _Carg2, \ |
89 |
|
class _Carg3, class _Carg4, class _Carg5, class _Carg6 |
90 |
|
#define _C0_C1 _CA0, _CA1, _CA2, _CA3, _CA4, _CA5, _CA6 |
91 |
|
#define _C_TAIL(x) , _TAIL_7(x) |
92 |
|
#include <xawrap0> |
93 |
|
#undef _C_TAIL |
94 |
|
#undef _C0_C1 |
95 |
|
#undef _CLASS_CARG0 |
96 |
|
#undef _NARGS |
97 |
|
|
98 |
|
#define _NARGS 8 |
99 |
|
#define _CLASS_CARG0 class _Carg0, class _Carg1, class _Carg2, \ |
100 |
|
class _Carg3, class _Carg4, class _Carg5, class _Carg6, class _Carg7 |
101 |
|
#define _C0_C1 _CA0, _CA1, _CA2, _CA3, _CA4, _CA5, _CA6, _CA7 |
102 |
|
#define _C_TAIL(x) , _TAIL_8(x) |
103 |
|
#include <xawrap0> |
104 |
|
#undef _C_TAIL |
105 |
|
#undef _C0_C1 |
106 |
|
#undef _CLASS_CARG0 |
107 |
|
#undef _NARGS |
108 |
|
|
109 |
|
#define _NARGS 9 |
110 |
|
#define _CLASS_CARG0 class _Carg0, class _Carg1, class _Carg2, \ |
111 |
|
class _Carg3, class _Carg4, class _Carg5, class _Carg6, class _Carg7, \ |
112 |
|
class _Carg8 |
113 |
|
#define _C0_C1 _CA0, _CA1, _CA2, _CA3, _CA4, _CA5, _CA6, _CA7, _CA8 |
114 |
|
#define _C_TAIL(x) , _TAIL_9(x) |
115 |
|
#include <xawrap0> |
116 |
|
#undef _C_TAIL |
117 |
|
#undef _C0_C1 |
118 |
|
#undef _CLASS_CARG0 |
119 |
|
#undef _NARGS |
120 |
|
|
121 |
|
#define _NARGS 10 |
122 |
|
#define _CLASS_CARG0 class _Carg0, class _Carg1, class _Carg2, \ |
123 |
|
class _Carg3, class _Carg4, class _Carg5, class _Carg6, class _Carg7, \ |