1 // xawrap1 internal header
2 // NOTE: no include guard
3
4 // generates const and non-const variants for
5 // first 5 arguments, using <xawrap2>
6
7   #define _CMASK    0x00
8   #include <xawrap2>
9
10  #if 0 < _NARGS_MAX
11   #define _CMASK    0x01
12   #include <xawrap2>
13  #endif /* 0 < _NARGS_MAX */
14
15  #if 1 < _NARGS_MAX
16   #define _CMASK    0x02
17   #include <xawrap2>
18   #define _CMASK    0x03
19   #include <xawrap2>
20  #endif /* 1 < _NARGS */
21
22  #if 2 < _NARGS_MAX
23   #define _CMASK    0x04
24   #include <xawrap2>
25   #define _CMASK    0x05
26   #include <xawrap2>
27   #define _CMASK    0x06
28   #include <xawrap2>
29   #define _CMASK    0x07
30   #include <xawrap2>
31  #endif /* 2 < _NARGS */
32
33  #if 3 < _NARGS_MAX
34   #define _CMASK    0x08
35   #include <xawrap2>
36   #define _CMASK    0x09
37   #include <xawrap2>
38   #define _CMASK    0x0A
39   #include <xawrap2>
40   #define _CMASK    0x0B
41   #include <xawrap2>
42   #define _CMASK    0x0C
43   #include <xawrap2>
44   #define _CMASK    0x0D
45   #include <xawrap2>
46   #define _CMASK    0x0E
47   #include <xawrap2>
48   #define _CMASK    0x0F
49   #include <xawrap2>
50  #endif /* 3 < _NARGS */
51
52   #if 4 < _NARGS_MAX
53   #define _CMASK    0x10
54   #include <xawrap2>
55   #define _CMASK    0x11
56   #include <xawrap2>
57   #define _CMASK    0x12
58   #include <xawrap2>
59   #define _CMASK    0x13
60   #include <xawrap2>
61   #define _CMASK    0x14
62   #include <xawrap2>
63   #define _CMASK    0x15
64   #include <xawrap2>
65   #define _CMASK    0x16
66   #include <xawrap2>
67   #define _CMASK    0x17
68   #include <xawrap2>
69   #define _CMASK    0x18
70   #include <xawrap2>
71   #define _CMASK    0x19
72   #include <xawrap2>
73   #define _CMASK    0x1A
74   #include <xawrap2>
75   #define _CMASK    0x1B
76   #include <xawrap2>
77   #define _CMASK    0x1C
78   #include <xawrap2>
79   #define _CMASK    0x1D
80   #include <xawrap2>
81   #define _CMASK    0x1E
82   #include <xawrap2>
83   #define _CMASK    0x1F
84   #include <xawrap2>
85  #endif /* 4 < _NARGS_MAX */
86
87 #undef _CMASK2
88
Lines 89 ... 92 are skipped.
93