|
17 | 17 | * misrepresented as being the original software. * |
18 | 18 | * 3. This notice may not be removed or altered from any source distribution. * |
19 | 19 | */ |
20 | | -#ifndef GUARD_DEEMON_RUNTIME_SLAB_C_INL |
21 | | -#define GUARD_DEEMON_RUNTIME_SLAB_C_INL 1 |
| 20 | +#ifndef GUARD_DEEMON_RUNTIME_OLD_SLAB_C_INL |
| 21 | +#define GUARD_DEEMON_RUNTIME_OLD_SLAB_C_INL 1 |
22 | 22 |
|
23 | 23 | #include <deemon/api.h> |
24 | 24 |
|
@@ -147,105 +147,105 @@ DECL_END |
147 | 147 | for (local x = 20; x >= 2; x = x - 1) { |
148 | 148 | print "#if DeeSlab_HasSize(" + x + ")"; |
149 | 149 | print "#define SIZE", x; |
150 | | - print "#include \"slab-impl.c.inl\""; |
| 150 | + print "#include \"old-slab-impl.c.inl\""; |
151 | 151 | print "#define NEXT_LARGER", x; |
152 | 152 | print "#endif /" "* DeeSlab_HasSize(" + x + ") *" "/"; |
153 | 153 | } |
154 | 154 | print "#undef NEXT_LARGER"; |
155 | 155 | ]]]*/ |
156 | 156 | #if DeeSlab_HasSize(20) |
157 | 157 | #define SIZE 20 |
158 | | -#include "slab-impl.c.inl" |
| 158 | +#include "old-slab-impl.c.inl" |
159 | 159 | #define NEXT_LARGER 20 |
160 | 160 | #endif /* DeeSlab_HasSize(20) */ |
161 | 161 | #if DeeSlab_HasSize(19) |
162 | 162 | #define SIZE 19 |
163 | | -#include "slab-impl.c.inl" |
| 163 | +#include "old-slab-impl.c.inl" |
164 | 164 | #define NEXT_LARGER 19 |
165 | 165 | #endif /* DeeSlab_HasSize(19) */ |
166 | 166 | #if DeeSlab_HasSize(18) |
167 | 167 | #define SIZE 18 |
168 | | -#include "slab-impl.c.inl" |
| 168 | +#include "old-slab-impl.c.inl" |
169 | 169 | #define NEXT_LARGER 18 |
170 | 170 | #endif /* DeeSlab_HasSize(18) */ |
171 | 171 | #if DeeSlab_HasSize(17) |
172 | 172 | #define SIZE 17 |
173 | | -#include "slab-impl.c.inl" |
| 173 | +#include "old-slab-impl.c.inl" |
174 | 174 | #define NEXT_LARGER 17 |
175 | 175 | #endif /* DeeSlab_HasSize(17) */ |
176 | 176 | #if DeeSlab_HasSize(16) |
177 | 177 | #define SIZE 16 |
178 | | -#include "slab-impl.c.inl" |
| 178 | +#include "old-slab-impl.c.inl" |
179 | 179 | #define NEXT_LARGER 16 |
180 | 180 | #endif /* DeeSlab_HasSize(16) */ |
181 | 181 | #if DeeSlab_HasSize(15) |
182 | 182 | #define SIZE 15 |
183 | | -#include "slab-impl.c.inl" |
| 183 | +#include "old-slab-impl.c.inl" |
184 | 184 | #define NEXT_LARGER 15 |
185 | 185 | #endif /* DeeSlab_HasSize(15) */ |
186 | 186 | #if DeeSlab_HasSize(14) |
187 | 187 | #define SIZE 14 |
188 | | -#include "slab-impl.c.inl" |
| 188 | +#include "old-slab-impl.c.inl" |
189 | 189 | #define NEXT_LARGER 14 |
190 | 190 | #endif /* DeeSlab_HasSize(14) */ |
191 | 191 | #if DeeSlab_HasSize(13) |
192 | 192 | #define SIZE 13 |
193 | | -#include "slab-impl.c.inl" |
| 193 | +#include "old-slab-impl.c.inl" |
194 | 194 | #define NEXT_LARGER 13 |
195 | 195 | #endif /* DeeSlab_HasSize(13) */ |
196 | 196 | #if DeeSlab_HasSize(12) |
197 | 197 | #define SIZE 12 |
198 | | -#include "slab-impl.c.inl" |
| 198 | +#include "old-slab-impl.c.inl" |
199 | 199 | #define NEXT_LARGER 12 |
200 | 200 | #endif /* DeeSlab_HasSize(12) */ |
201 | 201 | #if DeeSlab_HasSize(11) |
202 | 202 | #define SIZE 11 |
203 | | -#include "slab-impl.c.inl" |
| 203 | +#include "old-slab-impl.c.inl" |
204 | 204 | #define NEXT_LARGER 11 |
205 | 205 | #endif /* DeeSlab_HasSize(11) */ |
206 | 206 | #if DeeSlab_HasSize(10) |
207 | 207 | #define SIZE 10 |
208 | | -#include "slab-impl.c.inl" |
| 208 | +#include "old-slab-impl.c.inl" |
209 | 209 | #define NEXT_LARGER 10 |
210 | 210 | #endif /* DeeSlab_HasSize(10) */ |
211 | 211 | #if DeeSlab_HasSize(9) |
212 | 212 | #define SIZE 9 |
213 | | -#include "slab-impl.c.inl" |
| 213 | +#include "old-slab-impl.c.inl" |
214 | 214 | #define NEXT_LARGER 9 |
215 | 215 | #endif /* DeeSlab_HasSize(9) */ |
216 | 216 | #if DeeSlab_HasSize(8) |
217 | 217 | #define SIZE 8 |
218 | | -#include "slab-impl.c.inl" |
| 218 | +#include "old-slab-impl.c.inl" |
219 | 219 | #define NEXT_LARGER 8 |
220 | 220 | #endif /* DeeSlab_HasSize(8) */ |
221 | 221 | #if DeeSlab_HasSize(7) |
222 | 222 | #define SIZE 7 |
223 | | -#include "slab-impl.c.inl" |
| 223 | +#include "old-slab-impl.c.inl" |
224 | 224 | #define NEXT_LARGER 7 |
225 | 225 | #endif /* DeeSlab_HasSize(7) */ |
226 | 226 | #if DeeSlab_HasSize(6) |
227 | 227 | #define SIZE 6 |
228 | | -#include "slab-impl.c.inl" |
| 228 | +#include "old-slab-impl.c.inl" |
229 | 229 | #define NEXT_LARGER 6 |
230 | 230 | #endif /* DeeSlab_HasSize(6) */ |
231 | 231 | #if DeeSlab_HasSize(5) |
232 | 232 | #define SIZE 5 |
233 | | -#include "slab-impl.c.inl" |
| 233 | +#include "old-slab-impl.c.inl" |
234 | 234 | #define NEXT_LARGER 5 |
235 | 235 | #endif /* DeeSlab_HasSize(5) */ |
236 | 236 | #if DeeSlab_HasSize(4) |
237 | 237 | #define SIZE 4 |
238 | | -#include "slab-impl.c.inl" |
| 238 | +#include "old-slab-impl.c.inl" |
239 | 239 | #define NEXT_LARGER 4 |
240 | 240 | #endif /* DeeSlab_HasSize(4) */ |
241 | 241 | #if DeeSlab_HasSize(3) |
242 | 242 | #define SIZE 3 |
243 | | -#include "slab-impl.c.inl" |
| 243 | +#include "old-slab-impl.c.inl" |
244 | 244 | #define NEXT_LARGER 3 |
245 | 245 | #endif /* DeeSlab_HasSize(3) */ |
246 | 246 | #if DeeSlab_HasSize(2) |
247 | 247 | #define SIZE 2 |
248 | | -#include "slab-impl.c.inl" |
| 248 | +#include "old-slab-impl.c.inl" |
249 | 249 | #define NEXT_LARGER 2 |
250 | 250 | #endif /* DeeSlab_HasSize(2) */ |
251 | 251 | #undef NEXT_LARGER |
@@ -476,4 +476,4 @@ disable_slabs: |
476 | 476 | DECL_END |
477 | 477 | #endif /* !CONFIG_NO_OBJECT_SLABS */ |
478 | 478 |
|
479 | | -#endif /* !GUARD_DEEMON_RUNTIME_SLAB_C_INL */ |
| 479 | +#endif /* !GUARD_DEEMON_RUNTIME_OLD_SLAB_C_INL */ |
0 commit comments