-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkarray.h
More file actions
183 lines (169 loc) · 4.88 KB
/
mkarray.h
File metadata and controls
183 lines (169 loc) · 4.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
#ifndef HOL_MKARRAY_H__INCLUDED
#define HOL_MKARRAY_H__INCLUDED 1
/*
MIT License
Copyright (c) 2022 Tristan Styles
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
//------------------------------------------------------------------------------
# define MKARRAY__1 MKARRAY__0 MKARRAY__0
# define MKARRAY__2 MKARRAY__1 MKARRAY__1
# define MKARRAY__3 MKARRAY__2 MKARRAY__2
# define MKARRAY__4 MKARRAY__3 MKARRAY__3
# define MKARRAY__5 MKARRAY__4 MKARRAY__4
# define MKARRAY__6 MKARRAY__5 MKARRAY__5
# define MKARRAY__7 MKARRAY__6 MKARRAY__6
# define MKARRAY__8 MKARRAY__7 MKARRAY__7
# define MKARRAY__9 MKARRAY__8 MKARRAY__8
# define MKARRAY__10 MKARRAY__9 MKARRAY__9
# define MKARRAY__11 MKARRAY__10 MKARRAY__10
# define MKARRAY__12 MKARRAY__11 MKARRAY__11
# define MKARRAY__13 MKARRAY__12 MKARRAY__12
# define MKARRAY__14 MKARRAY__13 MKARRAY__13
# define MKARRAY__15 MKARRAY__14 MKARRAY__14
# define MKARRAY__16 MKARRAY__15 MKARRAY__15
# define MKARRAY__17 MKARRAY__16 MKARRAY__16
# define MKARRAY__18 MKARRAY__17 MKARRAY__17
# define MKARRAY__19 MKARRAY__18 MKARRAY__18
# define MKARRAY__20 MKARRAY__19 MKARRAY__19
# define MKARRAY__21 MKARRAY__20 MKARRAY__20
# define MKARRAY__22 MKARRAY__21 MKARRAY__21
# define MKARRAY__23 MKARRAY__22 MKARRAY__22
# define MKARRAY__24 MKARRAY__23 MKARRAY__23
# define MKARRAY__25 MKARRAY__24 MKARRAY__24
# define MKARRAY__26 MKARRAY__25 MKARRAY__25
# define MKARRAY__27 MKARRAY__26 MKARRAY__26
# define MKARRAY__28 MKARRAY__27 MKARRAY__27
# define MKARRAY__29 MKARRAY__28 MKARRAY__28
# define MKARRAY__30 MKARRAY__29 MKARRAY__29
# define MKARRAY__31 MKARRAY__30 MKARRAY__30
//------------------------------------------------------------------------------
#endif//ndef HOL_MKARRAY_H__INCLUDED
//------------------------------------------------------------------------------
#ifndef MKARRAY_SIZE
# define UNDEF_MKARRAY_SIZE 1
# define MKARRAY_SIZE 0
#endif
#ifndef MKARRAY_DATA
# define UNDEF_MKARRAY_DATA 1
# define MKARRAY_DATA 0,
#endif
#define MKARRAY__0 MKARRAY_DATA
#if (MKARRAY_SIZE) & (1UL << 31)
MKARRAY__31
#endif
#if (MKARRAY_SIZE) & (1UL << 30)
MKARRAY__30
#endif
#if (MKARRAY_SIZE) & (1UL << 29)
MKARRAY__29
#endif
#if (MKARRAY_SIZE) & (1UL << 28)
MKARRAY__28
#endif
#if (MKARRAY_SIZE) & (1UL << 27)
MKARRAY__27
#endif
#if (MKARRAY_SIZE) & (1UL << 26)
MKARRAY__26
#endif
#if (MKARRAY_SIZE) & (1UL << 25)
MKARRAY__25
#endif
#if (MKARRAY_SIZE) & (1UL << 24)
MKARRAY__24
#endif
#if (MKARRAY_SIZE) & (1UL << 23)
MKARRAY__23
#endif
#if (MKARRAY_SIZE) & (1UL << 22)
MKARRAY__22
#endif
#if (MKARRAY_SIZE) & (1UL << 21)
MKARRAY__21
#endif
#if (MKARRAY_SIZE) & (1UL << 20)
MKARRAY__20
#endif
#if (MKARRAY_SIZE) & (1UL << 19)
MKARRAY__19
#endif
#if (MKARRAY_SIZE) & (1UL << 18)
MKARRAY__18
#endif
#if (MKARRAY_SIZE) & (1UL << 17)
MKARRAY__17
#endif
#if (MKARRAY_SIZE) & (1UL << 16)
MKARRAY__16
#endif
#if (MKARRAY_SIZE) & (1UL << 15)
MKARRAY__15
#endif
#if (MKARRAY_SIZE) & (1UL << 14)
MKARRAY__14
#endif
#if (MKARRAY_SIZE) & (1UL << 13)
MKARRAY__13
#endif
#if (MKARRAY_SIZE) & (1UL << 12)
MKARRAY__12
#endif
#if (MKARRAY_SIZE) & (1UL << 11)
MKARRAY__11
#endif
#if (MKARRAY_SIZE) & (1UL << 10)
MKARRAY__10
#endif
#if (MKARRAY_SIZE) & (1UL << 9)
MKARRAY__9
#endif
#if (MKARRAY_SIZE) & (1UL << 8)
MKARRAY__8
#endif
#if (MKARRAY_SIZE) & (1UL << 7)
MKARRAY__7
#endif
#if (MKARRAY_SIZE) & (1UL << 6)
MKARRAY__6
#endif
#if (MKARRAY_SIZE) & (1UL << 5)
MKARRAY__5
#endif
#if (MKARRAY_SIZE) & (1UL << 4)
MKARRAY__4
#endif
#if (MKARRAY_SIZE) & (1UL << 3)
MKARRAY__3
#endif
#if (MKARRAY_SIZE) & (1UL << 2)
MKARRAY__2
#endif
#if (MKARRAY_SIZE) & (1UL << 1)
MKARRAY__1
#endif
#if (MKARRAY_SIZE) & (1UL << 0)
MKARRAY__0
#endif
#undef MKARRAY__0
#if UNDEF_MKARRAY_SIZE
# undef MKARRAY_DATA
#endif
#if UNDEF_MKARRAY_SIZE
# undef MKARRAY_SIZE
#endif
//------------------------------------------------------------------------------