1#include "dl.h"
2
3extern VALUE rb_DLCdeclCallbackAddrs, rb_DLCdeclCallbackProcs;
4#ifdef FUNC_STDCALL
5extern VALUE rb_DLStdcallCallbackAddrs, rb_DLStdcallCallbackProcs;
6#endif
7extern ID   rb_dl_cb_call;
8
9static void *
10FUNC_CDECL(rb_dl_callback_ptr_0_0_cdecl)()
11{
12    VALUE ret, cb;
13
14    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 0);
15    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
16    return NUM2PTR(ret);
17}
18
19
20static void *
21FUNC_CDECL(rb_dl_callback_ptr_0_1_cdecl)()
22{
23    VALUE ret, cb;
24
25    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 20);
26    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
27    return NUM2PTR(ret);
28}
29
30
31static void *
32FUNC_CDECL(rb_dl_callback_ptr_0_2_cdecl)()
33{
34    VALUE ret, cb;
35
36    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 40);
37    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
38    return NUM2PTR(ret);
39}
40
41
42static void *
43FUNC_CDECL(rb_dl_callback_ptr_0_3_cdecl)()
44{
45    VALUE ret, cb;
46
47    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 60);
48    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
49    return NUM2PTR(ret);
50}
51
52
53static void *
54FUNC_CDECL(rb_dl_callback_ptr_0_4_cdecl)()
55{
56    VALUE ret, cb;
57
58    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 80);
59    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
60    return NUM2PTR(ret);
61}
62
63
64static void *
65FUNC_CDECL(rb_dl_callback_ptr_1_0_cdecl)(DLSTACK_TYPE stack0)
66{
67    VALUE ret, cb, args[1];
68
69    args[0] = PTR2NUM(stack0);
70    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 1);
71    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
72    return NUM2PTR(ret);
73}
74
75
76static void *
77FUNC_CDECL(rb_dl_callback_ptr_1_1_cdecl)(DLSTACK_TYPE stack0)
78{
79    VALUE ret, cb, args[1];
80
81    args[0] = PTR2NUM(stack0);
82    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 21);
83    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
84    return NUM2PTR(ret);
85}
86
87
88static void *
89FUNC_CDECL(rb_dl_callback_ptr_1_2_cdecl)(DLSTACK_TYPE stack0)
90{
91    VALUE ret, cb, args[1];
92
93    args[0] = PTR2NUM(stack0);
94    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 41);
95    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
96    return NUM2PTR(ret);
97}
98
99
100static void *
101FUNC_CDECL(rb_dl_callback_ptr_1_3_cdecl)(DLSTACK_TYPE stack0)
102{
103    VALUE ret, cb, args[1];
104
105    args[0] = PTR2NUM(stack0);
106    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 61);
107    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
108    return NUM2PTR(ret);
109}
110
111
112static void *
113FUNC_CDECL(rb_dl_callback_ptr_1_4_cdecl)(DLSTACK_TYPE stack0)
114{
115    VALUE ret, cb, args[1];
116
117    args[0] = PTR2NUM(stack0);
118    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 81);
119    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
120    return NUM2PTR(ret);
121}
122
123
124static void *
125FUNC_CDECL(rb_dl_callback_ptr_2_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
126{
127    VALUE ret, cb, args[2];
128
129    args[0] = PTR2NUM(stack0);
130    args[1] = PTR2NUM(stack1);
131    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 2);
132    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
133    return NUM2PTR(ret);
134}
135
136
137static void *
138FUNC_CDECL(rb_dl_callback_ptr_2_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
139{
140    VALUE ret, cb, args[2];
141
142    args[0] = PTR2NUM(stack0);
143    args[1] = PTR2NUM(stack1);
144    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 22);
145    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
146    return NUM2PTR(ret);
147}
148
149
150static void *
151FUNC_CDECL(rb_dl_callback_ptr_2_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
152{
153    VALUE ret, cb, args[2];
154
155    args[0] = PTR2NUM(stack0);
156    args[1] = PTR2NUM(stack1);
157    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 42);
158    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
159    return NUM2PTR(ret);
160}
161
162
163static void *
164FUNC_CDECL(rb_dl_callback_ptr_2_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
165{
166    VALUE ret, cb, args[2];
167
168    args[0] = PTR2NUM(stack0);
169    args[1] = PTR2NUM(stack1);
170    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 62);
171    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
172    return NUM2PTR(ret);
173}
174
175
176static void *
177FUNC_CDECL(rb_dl_callback_ptr_2_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
178{
179    VALUE ret, cb, args[2];
180
181    args[0] = PTR2NUM(stack0);
182    args[1] = PTR2NUM(stack1);
183    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 82);
184    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
185    return NUM2PTR(ret);
186}
187
188
189static void *
190FUNC_CDECL(rb_dl_callback_ptr_3_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
191{
192    VALUE ret, cb, args[3];
193
194    args[0] = PTR2NUM(stack0);
195    args[1] = PTR2NUM(stack1);
196    args[2] = PTR2NUM(stack2);
197    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 3);
198    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
199    return NUM2PTR(ret);
200}
201
202
203static void *
204FUNC_CDECL(rb_dl_callback_ptr_3_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
205{
206    VALUE ret, cb, args[3];
207
208    args[0] = PTR2NUM(stack0);
209    args[1] = PTR2NUM(stack1);
210    args[2] = PTR2NUM(stack2);
211    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 23);
212    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
213    return NUM2PTR(ret);
214}
215
216
217static void *
218FUNC_CDECL(rb_dl_callback_ptr_3_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
219{
220    VALUE ret, cb, args[3];
221
222    args[0] = PTR2NUM(stack0);
223    args[1] = PTR2NUM(stack1);
224    args[2] = PTR2NUM(stack2);
225    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 43);
226    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
227    return NUM2PTR(ret);
228}
229
230
231static void *
232FUNC_CDECL(rb_dl_callback_ptr_3_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
233{
234    VALUE ret, cb, args[3];
235
236    args[0] = PTR2NUM(stack0);
237    args[1] = PTR2NUM(stack1);
238    args[2] = PTR2NUM(stack2);
239    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 63);
240    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
241    return NUM2PTR(ret);
242}
243
244
245static void *
246FUNC_CDECL(rb_dl_callback_ptr_3_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
247{
248    VALUE ret, cb, args[3];
249
250    args[0] = PTR2NUM(stack0);
251    args[1] = PTR2NUM(stack1);
252    args[2] = PTR2NUM(stack2);
253    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 83);
254    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
255    return NUM2PTR(ret);
256}
257
258
259static void *
260FUNC_CDECL(rb_dl_callback_ptr_4_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
261{
262    VALUE ret, cb, args[4];
263
264    args[0] = PTR2NUM(stack0);
265    args[1] = PTR2NUM(stack1);
266    args[2] = PTR2NUM(stack2);
267    args[3] = PTR2NUM(stack3);
268    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 4);
269    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
270    return NUM2PTR(ret);
271}
272
273
274static void *
275FUNC_CDECL(rb_dl_callback_ptr_4_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
276{
277    VALUE ret, cb, args[4];
278
279    args[0] = PTR2NUM(stack0);
280    args[1] = PTR2NUM(stack1);
281    args[2] = PTR2NUM(stack2);
282    args[3] = PTR2NUM(stack3);
283    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 24);
284    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
285    return NUM2PTR(ret);
286}
287
288
289static void *
290FUNC_CDECL(rb_dl_callback_ptr_4_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
291{
292    VALUE ret, cb, args[4];
293
294    args[0] = PTR2NUM(stack0);
295    args[1] = PTR2NUM(stack1);
296    args[2] = PTR2NUM(stack2);
297    args[3] = PTR2NUM(stack3);
298    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 44);
299    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
300    return NUM2PTR(ret);
301}
302
303
304static void *
305FUNC_CDECL(rb_dl_callback_ptr_4_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
306{
307    VALUE ret, cb, args[4];
308
309    args[0] = PTR2NUM(stack0);
310    args[1] = PTR2NUM(stack1);
311    args[2] = PTR2NUM(stack2);
312    args[3] = PTR2NUM(stack3);
313    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 64);
314    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
315    return NUM2PTR(ret);
316}
317
318
319static void *
320FUNC_CDECL(rb_dl_callback_ptr_4_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
321{
322    VALUE ret, cb, args[4];
323
324    args[0] = PTR2NUM(stack0);
325    args[1] = PTR2NUM(stack1);
326    args[2] = PTR2NUM(stack2);
327    args[3] = PTR2NUM(stack3);
328    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 84);
329    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
330    return NUM2PTR(ret);
331}
332
333
334static void *
335FUNC_CDECL(rb_dl_callback_ptr_5_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
336{
337    VALUE ret, cb, args[5];
338
339    args[0] = PTR2NUM(stack0);
340    args[1] = PTR2NUM(stack1);
341    args[2] = PTR2NUM(stack2);
342    args[3] = PTR2NUM(stack3);
343    args[4] = PTR2NUM(stack4);
344    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 5);
345    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
346    return NUM2PTR(ret);
347}
348
349
350static void *
351FUNC_CDECL(rb_dl_callback_ptr_5_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
352{
353    VALUE ret, cb, args[5];
354
355    args[0] = PTR2NUM(stack0);
356    args[1] = PTR2NUM(stack1);
357    args[2] = PTR2NUM(stack2);
358    args[3] = PTR2NUM(stack3);
359    args[4] = PTR2NUM(stack4);
360    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 25);
361    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
362    return NUM2PTR(ret);
363}
364
365
366static void *
367FUNC_CDECL(rb_dl_callback_ptr_5_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
368{
369    VALUE ret, cb, args[5];
370
371    args[0] = PTR2NUM(stack0);
372    args[1] = PTR2NUM(stack1);
373    args[2] = PTR2NUM(stack2);
374    args[3] = PTR2NUM(stack3);
375    args[4] = PTR2NUM(stack4);
376    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 45);
377    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
378    return NUM2PTR(ret);
379}
380
381
382static void *
383FUNC_CDECL(rb_dl_callback_ptr_5_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
384{
385    VALUE ret, cb, args[5];
386
387    args[0] = PTR2NUM(stack0);
388    args[1] = PTR2NUM(stack1);
389    args[2] = PTR2NUM(stack2);
390    args[3] = PTR2NUM(stack3);
391    args[4] = PTR2NUM(stack4);
392    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 65);
393    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
394    return NUM2PTR(ret);
395}
396
397
398static void *
399FUNC_CDECL(rb_dl_callback_ptr_5_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
400{
401    VALUE ret, cb, args[5];
402
403    args[0] = PTR2NUM(stack0);
404    args[1] = PTR2NUM(stack1);
405    args[2] = PTR2NUM(stack2);
406    args[3] = PTR2NUM(stack3);
407    args[4] = PTR2NUM(stack4);
408    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 85);
409    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
410    return NUM2PTR(ret);
411}
412
413
414static void *
415FUNC_CDECL(rb_dl_callback_ptr_6_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
416{
417    VALUE ret, cb, args[6];
418
419    args[0] = PTR2NUM(stack0);
420    args[1] = PTR2NUM(stack1);
421    args[2] = PTR2NUM(stack2);
422    args[3] = PTR2NUM(stack3);
423    args[4] = PTR2NUM(stack4);
424    args[5] = PTR2NUM(stack5);
425    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 6);
426    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
427    return NUM2PTR(ret);
428}
429
430
431static void *
432FUNC_CDECL(rb_dl_callback_ptr_6_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
433{
434    VALUE ret, cb, args[6];
435
436    args[0] = PTR2NUM(stack0);
437    args[1] = PTR2NUM(stack1);
438    args[2] = PTR2NUM(stack2);
439    args[3] = PTR2NUM(stack3);
440    args[4] = PTR2NUM(stack4);
441    args[5] = PTR2NUM(stack5);
442    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 26);
443    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
444    return NUM2PTR(ret);
445}
446
447
448static void *
449FUNC_CDECL(rb_dl_callback_ptr_6_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
450{
451    VALUE ret, cb, args[6];
452
453    args[0] = PTR2NUM(stack0);
454    args[1] = PTR2NUM(stack1);
455    args[2] = PTR2NUM(stack2);
456    args[3] = PTR2NUM(stack3);
457    args[4] = PTR2NUM(stack4);
458    args[5] = PTR2NUM(stack5);
459    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 46);
460    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
461    return NUM2PTR(ret);
462}
463
464
465static void *
466FUNC_CDECL(rb_dl_callback_ptr_6_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
467{
468    VALUE ret, cb, args[6];
469
470    args[0] = PTR2NUM(stack0);
471    args[1] = PTR2NUM(stack1);
472    args[2] = PTR2NUM(stack2);
473    args[3] = PTR2NUM(stack3);
474    args[4] = PTR2NUM(stack4);
475    args[5] = PTR2NUM(stack5);
476    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 66);
477    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
478    return NUM2PTR(ret);
479}
480
481
482static void *
483FUNC_CDECL(rb_dl_callback_ptr_6_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
484{
485    VALUE ret, cb, args[6];
486
487    args[0] = PTR2NUM(stack0);
488    args[1] = PTR2NUM(stack1);
489    args[2] = PTR2NUM(stack2);
490    args[3] = PTR2NUM(stack3);
491    args[4] = PTR2NUM(stack4);
492    args[5] = PTR2NUM(stack5);
493    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 86);
494    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
495    return NUM2PTR(ret);
496}
497
498
499static void *
500FUNC_CDECL(rb_dl_callback_ptr_7_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
501{
502    VALUE ret, cb, args[7];
503
504    args[0] = PTR2NUM(stack0);
505    args[1] = PTR2NUM(stack1);
506    args[2] = PTR2NUM(stack2);
507    args[3] = PTR2NUM(stack3);
508    args[4] = PTR2NUM(stack4);
509    args[5] = PTR2NUM(stack5);
510    args[6] = PTR2NUM(stack6);
511    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 7);
512    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
513    return NUM2PTR(ret);
514}
515
516
517static void *
518FUNC_CDECL(rb_dl_callback_ptr_7_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
519{
520    VALUE ret, cb, args[7];
521
522    args[0] = PTR2NUM(stack0);
523    args[1] = PTR2NUM(stack1);
524    args[2] = PTR2NUM(stack2);
525    args[3] = PTR2NUM(stack3);
526    args[4] = PTR2NUM(stack4);
527    args[5] = PTR2NUM(stack5);
528    args[6] = PTR2NUM(stack6);
529    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 27);
530    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
531    return NUM2PTR(ret);
532}
533
534
535static void *
536FUNC_CDECL(rb_dl_callback_ptr_7_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
537{
538    VALUE ret, cb, args[7];
539
540    args[0] = PTR2NUM(stack0);
541    args[1] = PTR2NUM(stack1);
542    args[2] = PTR2NUM(stack2);
543    args[3] = PTR2NUM(stack3);
544    args[4] = PTR2NUM(stack4);
545    args[5] = PTR2NUM(stack5);
546    args[6] = PTR2NUM(stack6);
547    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 47);
548    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
549    return NUM2PTR(ret);
550}
551
552
553static void *
554FUNC_CDECL(rb_dl_callback_ptr_7_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
555{
556    VALUE ret, cb, args[7];
557
558    args[0] = PTR2NUM(stack0);
559    args[1] = PTR2NUM(stack1);
560    args[2] = PTR2NUM(stack2);
561    args[3] = PTR2NUM(stack3);
562    args[4] = PTR2NUM(stack4);
563    args[5] = PTR2NUM(stack5);
564    args[6] = PTR2NUM(stack6);
565    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 67);
566    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
567    return NUM2PTR(ret);
568}
569
570
571static void *
572FUNC_CDECL(rb_dl_callback_ptr_7_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
573{
574    VALUE ret, cb, args[7];
575
576    args[0] = PTR2NUM(stack0);
577    args[1] = PTR2NUM(stack1);
578    args[2] = PTR2NUM(stack2);
579    args[3] = PTR2NUM(stack3);
580    args[4] = PTR2NUM(stack4);
581    args[5] = PTR2NUM(stack5);
582    args[6] = PTR2NUM(stack6);
583    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 87);
584    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
585    return NUM2PTR(ret);
586}
587
588
589static void *
590FUNC_CDECL(rb_dl_callback_ptr_8_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
591{
592    VALUE ret, cb, args[8];
593
594    args[0] = PTR2NUM(stack0);
595    args[1] = PTR2NUM(stack1);
596    args[2] = PTR2NUM(stack2);
597    args[3] = PTR2NUM(stack3);
598    args[4] = PTR2NUM(stack4);
599    args[5] = PTR2NUM(stack5);
600    args[6] = PTR2NUM(stack6);
601    args[7] = PTR2NUM(stack7);
602    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 8);
603    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
604    return NUM2PTR(ret);
605}
606
607
608static void *
609FUNC_CDECL(rb_dl_callback_ptr_8_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
610{
611    VALUE ret, cb, args[8];
612
613    args[0] = PTR2NUM(stack0);
614    args[1] = PTR2NUM(stack1);
615    args[2] = PTR2NUM(stack2);
616    args[3] = PTR2NUM(stack3);
617    args[4] = PTR2NUM(stack4);
618    args[5] = PTR2NUM(stack5);
619    args[6] = PTR2NUM(stack6);
620    args[7] = PTR2NUM(stack7);
621    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 28);
622    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
623    return NUM2PTR(ret);
624}
625
626
627static void *
628FUNC_CDECL(rb_dl_callback_ptr_8_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
629{
630    VALUE ret, cb, args[8];
631
632    args[0] = PTR2NUM(stack0);
633    args[1] = PTR2NUM(stack1);
634    args[2] = PTR2NUM(stack2);
635    args[3] = PTR2NUM(stack3);
636    args[4] = PTR2NUM(stack4);
637    args[5] = PTR2NUM(stack5);
638    args[6] = PTR2NUM(stack6);
639    args[7] = PTR2NUM(stack7);
640    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 48);
641    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
642    return NUM2PTR(ret);
643}
644
645
646static void *
647FUNC_CDECL(rb_dl_callback_ptr_8_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
648{
649    VALUE ret, cb, args[8];
650
651    args[0] = PTR2NUM(stack0);
652    args[1] = PTR2NUM(stack1);
653    args[2] = PTR2NUM(stack2);
654    args[3] = PTR2NUM(stack3);
655    args[4] = PTR2NUM(stack4);
656    args[5] = PTR2NUM(stack5);
657    args[6] = PTR2NUM(stack6);
658    args[7] = PTR2NUM(stack7);
659    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 68);
660    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
661    return NUM2PTR(ret);
662}
663
664
665static void *
666FUNC_CDECL(rb_dl_callback_ptr_8_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
667{
668    VALUE ret, cb, args[8];
669
670    args[0] = PTR2NUM(stack0);
671    args[1] = PTR2NUM(stack1);
672    args[2] = PTR2NUM(stack2);
673    args[3] = PTR2NUM(stack3);
674    args[4] = PTR2NUM(stack4);
675    args[5] = PTR2NUM(stack5);
676    args[6] = PTR2NUM(stack6);
677    args[7] = PTR2NUM(stack7);
678    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 88);
679    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
680    return NUM2PTR(ret);
681}
682
683
684static void *
685FUNC_CDECL(rb_dl_callback_ptr_9_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
686{
687    VALUE ret, cb, args[9];
688
689    args[0] = PTR2NUM(stack0);
690    args[1] = PTR2NUM(stack1);
691    args[2] = PTR2NUM(stack2);
692    args[3] = PTR2NUM(stack3);
693    args[4] = PTR2NUM(stack4);
694    args[5] = PTR2NUM(stack5);
695    args[6] = PTR2NUM(stack6);
696    args[7] = PTR2NUM(stack7);
697    args[8] = PTR2NUM(stack8);
698    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 9);
699    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
700    return NUM2PTR(ret);
701}
702
703
704static void *
705FUNC_CDECL(rb_dl_callback_ptr_9_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
706{
707    VALUE ret, cb, args[9];
708
709    args[0] = PTR2NUM(stack0);
710    args[1] = PTR2NUM(stack1);
711    args[2] = PTR2NUM(stack2);
712    args[3] = PTR2NUM(stack3);
713    args[4] = PTR2NUM(stack4);
714    args[5] = PTR2NUM(stack5);
715    args[6] = PTR2NUM(stack6);
716    args[7] = PTR2NUM(stack7);
717    args[8] = PTR2NUM(stack8);
718    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 29);
719    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
720    return NUM2PTR(ret);
721}
722
723
724static void *
725FUNC_CDECL(rb_dl_callback_ptr_9_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
726{
727    VALUE ret, cb, args[9];
728
729    args[0] = PTR2NUM(stack0);
730    args[1] = PTR2NUM(stack1);
731    args[2] = PTR2NUM(stack2);
732    args[3] = PTR2NUM(stack3);
733    args[4] = PTR2NUM(stack4);
734    args[5] = PTR2NUM(stack5);
735    args[6] = PTR2NUM(stack6);
736    args[7] = PTR2NUM(stack7);
737    args[8] = PTR2NUM(stack8);
738    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 49);
739    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
740    return NUM2PTR(ret);
741}
742
743
744static void *
745FUNC_CDECL(rb_dl_callback_ptr_9_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
746{
747    VALUE ret, cb, args[9];
748
749    args[0] = PTR2NUM(stack0);
750    args[1] = PTR2NUM(stack1);
751    args[2] = PTR2NUM(stack2);
752    args[3] = PTR2NUM(stack3);
753    args[4] = PTR2NUM(stack4);
754    args[5] = PTR2NUM(stack5);
755    args[6] = PTR2NUM(stack6);
756    args[7] = PTR2NUM(stack7);
757    args[8] = PTR2NUM(stack8);
758    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 69);
759    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
760    return NUM2PTR(ret);
761}
762
763
764static void *
765FUNC_CDECL(rb_dl_callback_ptr_9_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
766{
767    VALUE ret, cb, args[9];
768
769    args[0] = PTR2NUM(stack0);
770    args[1] = PTR2NUM(stack1);
771    args[2] = PTR2NUM(stack2);
772    args[3] = PTR2NUM(stack3);
773    args[4] = PTR2NUM(stack4);
774    args[5] = PTR2NUM(stack5);
775    args[6] = PTR2NUM(stack6);
776    args[7] = PTR2NUM(stack7);
777    args[8] = PTR2NUM(stack8);
778    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 89);
779    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
780    return NUM2PTR(ret);
781}
782
783
784static void *
785FUNC_CDECL(rb_dl_callback_ptr_10_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
786{
787    VALUE ret, cb, args[10];
788
789    args[0] = PTR2NUM(stack0);
790    args[1] = PTR2NUM(stack1);
791    args[2] = PTR2NUM(stack2);
792    args[3] = PTR2NUM(stack3);
793    args[4] = PTR2NUM(stack4);
794    args[5] = PTR2NUM(stack5);
795    args[6] = PTR2NUM(stack6);
796    args[7] = PTR2NUM(stack7);
797    args[8] = PTR2NUM(stack8);
798    args[9] = PTR2NUM(stack9);
799    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 10);
800    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
801    return NUM2PTR(ret);
802}
803
804
805static void *
806FUNC_CDECL(rb_dl_callback_ptr_10_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
807{
808    VALUE ret, cb, args[10];
809
810    args[0] = PTR2NUM(stack0);
811    args[1] = PTR2NUM(stack1);
812    args[2] = PTR2NUM(stack2);
813    args[3] = PTR2NUM(stack3);
814    args[4] = PTR2NUM(stack4);
815    args[5] = PTR2NUM(stack5);
816    args[6] = PTR2NUM(stack6);
817    args[7] = PTR2NUM(stack7);
818    args[8] = PTR2NUM(stack8);
819    args[9] = PTR2NUM(stack9);
820    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 30);
821    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
822    return NUM2PTR(ret);
823}
824
825
826static void *
827FUNC_CDECL(rb_dl_callback_ptr_10_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
828{
829    VALUE ret, cb, args[10];
830
831    args[0] = PTR2NUM(stack0);
832    args[1] = PTR2NUM(stack1);
833    args[2] = PTR2NUM(stack2);
834    args[3] = PTR2NUM(stack3);
835    args[4] = PTR2NUM(stack4);
836    args[5] = PTR2NUM(stack5);
837    args[6] = PTR2NUM(stack6);
838    args[7] = PTR2NUM(stack7);
839    args[8] = PTR2NUM(stack8);
840    args[9] = PTR2NUM(stack9);
841    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 50);
842    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
843    return NUM2PTR(ret);
844}
845
846
847static void *
848FUNC_CDECL(rb_dl_callback_ptr_10_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
849{
850    VALUE ret, cb, args[10];
851
852    args[0] = PTR2NUM(stack0);
853    args[1] = PTR2NUM(stack1);
854    args[2] = PTR2NUM(stack2);
855    args[3] = PTR2NUM(stack3);
856    args[4] = PTR2NUM(stack4);
857    args[5] = PTR2NUM(stack5);
858    args[6] = PTR2NUM(stack6);
859    args[7] = PTR2NUM(stack7);
860    args[8] = PTR2NUM(stack8);
861    args[9] = PTR2NUM(stack9);
862    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 70);
863    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
864    return NUM2PTR(ret);
865}
866
867
868static void *
869FUNC_CDECL(rb_dl_callback_ptr_10_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
870{
871    VALUE ret, cb, args[10];
872
873    args[0] = PTR2NUM(stack0);
874    args[1] = PTR2NUM(stack1);
875    args[2] = PTR2NUM(stack2);
876    args[3] = PTR2NUM(stack3);
877    args[4] = PTR2NUM(stack4);
878    args[5] = PTR2NUM(stack5);
879    args[6] = PTR2NUM(stack6);
880    args[7] = PTR2NUM(stack7);
881    args[8] = PTR2NUM(stack8);
882    args[9] = PTR2NUM(stack9);
883    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 90);
884    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
885    return NUM2PTR(ret);
886}
887
888
889static void *
890FUNC_CDECL(rb_dl_callback_ptr_11_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
891{
892    VALUE ret, cb, args[11];
893
894    args[0] = PTR2NUM(stack0);
895    args[1] = PTR2NUM(stack1);
896    args[2] = PTR2NUM(stack2);
897    args[3] = PTR2NUM(stack3);
898    args[4] = PTR2NUM(stack4);
899    args[5] = PTR2NUM(stack5);
900    args[6] = PTR2NUM(stack6);
901    args[7] = PTR2NUM(stack7);
902    args[8] = PTR2NUM(stack8);
903    args[9] = PTR2NUM(stack9);
904    args[10] = PTR2NUM(stack10);
905    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 11);
906    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
907    return NUM2PTR(ret);
908}
909
910
911static void *
912FUNC_CDECL(rb_dl_callback_ptr_11_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
913{
914    VALUE ret, cb, args[11];
915
916    args[0] = PTR2NUM(stack0);
917    args[1] = PTR2NUM(stack1);
918    args[2] = PTR2NUM(stack2);
919    args[3] = PTR2NUM(stack3);
920    args[4] = PTR2NUM(stack4);
921    args[5] = PTR2NUM(stack5);
922    args[6] = PTR2NUM(stack6);
923    args[7] = PTR2NUM(stack7);
924    args[8] = PTR2NUM(stack8);
925    args[9] = PTR2NUM(stack9);
926    args[10] = PTR2NUM(stack10);
927    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 31);
928    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
929    return NUM2PTR(ret);
930}
931
932
933static void *
934FUNC_CDECL(rb_dl_callback_ptr_11_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
935{
936    VALUE ret, cb, args[11];
937
938    args[0] = PTR2NUM(stack0);
939    args[1] = PTR2NUM(stack1);
940    args[2] = PTR2NUM(stack2);
941    args[3] = PTR2NUM(stack3);
942    args[4] = PTR2NUM(stack4);
943    args[5] = PTR2NUM(stack5);
944    args[6] = PTR2NUM(stack6);
945    args[7] = PTR2NUM(stack7);
946    args[8] = PTR2NUM(stack8);
947    args[9] = PTR2NUM(stack9);
948    args[10] = PTR2NUM(stack10);
949    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 51);
950    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
951    return NUM2PTR(ret);
952}
953
954
955static void *
956FUNC_CDECL(rb_dl_callback_ptr_11_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
957{
958    VALUE ret, cb, args[11];
959
960    args[0] = PTR2NUM(stack0);
961    args[1] = PTR2NUM(stack1);
962    args[2] = PTR2NUM(stack2);
963    args[3] = PTR2NUM(stack3);
964    args[4] = PTR2NUM(stack4);
965    args[5] = PTR2NUM(stack5);
966    args[6] = PTR2NUM(stack6);
967    args[7] = PTR2NUM(stack7);
968    args[8] = PTR2NUM(stack8);
969    args[9] = PTR2NUM(stack9);
970    args[10] = PTR2NUM(stack10);
971    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 71);
972    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
973    return NUM2PTR(ret);
974}
975
976
977static void *
978FUNC_CDECL(rb_dl_callback_ptr_11_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
979{
980    VALUE ret, cb, args[11];
981
982    args[0] = PTR2NUM(stack0);
983    args[1] = PTR2NUM(stack1);
984    args[2] = PTR2NUM(stack2);
985    args[3] = PTR2NUM(stack3);
986    args[4] = PTR2NUM(stack4);
987    args[5] = PTR2NUM(stack5);
988    args[6] = PTR2NUM(stack6);
989    args[7] = PTR2NUM(stack7);
990    args[8] = PTR2NUM(stack8);
991    args[9] = PTR2NUM(stack9);
992    args[10] = PTR2NUM(stack10);
993    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 91);
994    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
995    return NUM2PTR(ret);
996}
997
998
999static void *
1000FUNC_CDECL(rb_dl_callback_ptr_12_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
1001{
1002    VALUE ret, cb, args[12];
1003
1004    args[0] = PTR2NUM(stack0);
1005    args[1] = PTR2NUM(stack1);
1006    args[2] = PTR2NUM(stack2);
1007    args[3] = PTR2NUM(stack3);
1008    args[4] = PTR2NUM(stack4);
1009    args[5] = PTR2NUM(stack5);
1010    args[6] = PTR2NUM(stack6);
1011    args[7] = PTR2NUM(stack7);
1012    args[8] = PTR2NUM(stack8);
1013    args[9] = PTR2NUM(stack9);
1014    args[10] = PTR2NUM(stack10);
1015    args[11] = PTR2NUM(stack11);
1016    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 12);
1017    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
1018    return NUM2PTR(ret);
1019}
1020
1021
1022static void *
1023FUNC_CDECL(rb_dl_callback_ptr_12_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
1024{
1025    VALUE ret, cb, args[12];
1026
1027    args[0] = PTR2NUM(stack0);
1028    args[1] = PTR2NUM(stack1);
1029    args[2] = PTR2NUM(stack2);
1030    args[3] = PTR2NUM(stack3);
1031    args[4] = PTR2NUM(stack4);
1032    args[5] = PTR2NUM(stack5);
1033    args[6] = PTR2NUM(stack6);
1034    args[7] = PTR2NUM(stack7);
1035    args[8] = PTR2NUM(stack8);
1036    args[9] = PTR2NUM(stack9);
1037    args[10] = PTR2NUM(stack10);
1038    args[11] = PTR2NUM(stack11);
1039    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 32);
1040    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
1041    return NUM2PTR(ret);
1042}
1043
1044
1045static void *
1046FUNC_CDECL(rb_dl_callback_ptr_12_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
1047{
1048    VALUE ret, cb, args[12];
1049
1050    args[0] = PTR2NUM(stack0);
1051    args[1] = PTR2NUM(stack1);
1052    args[2] = PTR2NUM(stack2);
1053    args[3] = PTR2NUM(stack3);
1054    args[4] = PTR2NUM(stack4);
1055    args[5] = PTR2NUM(stack5);
1056    args[6] = PTR2NUM(stack6);
1057    args[7] = PTR2NUM(stack7);
1058    args[8] = PTR2NUM(stack8);
1059    args[9] = PTR2NUM(stack9);
1060    args[10] = PTR2NUM(stack10);
1061    args[11] = PTR2NUM(stack11);
1062    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 52);
1063    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
1064    return NUM2PTR(ret);
1065}
1066
1067
1068static void *
1069FUNC_CDECL(rb_dl_callback_ptr_12_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
1070{
1071    VALUE ret, cb, args[12];
1072
1073    args[0] = PTR2NUM(stack0);
1074    args[1] = PTR2NUM(stack1);
1075    args[2] = PTR2NUM(stack2);
1076    args[3] = PTR2NUM(stack3);
1077    args[4] = PTR2NUM(stack4);
1078    args[5] = PTR2NUM(stack5);
1079    args[6] = PTR2NUM(stack6);
1080    args[7] = PTR2NUM(stack7);
1081    args[8] = PTR2NUM(stack8);
1082    args[9] = PTR2NUM(stack9);
1083    args[10] = PTR2NUM(stack10);
1084    args[11] = PTR2NUM(stack11);
1085    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 72);
1086    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
1087    return NUM2PTR(ret);
1088}
1089
1090
1091static void *
1092FUNC_CDECL(rb_dl_callback_ptr_12_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
1093{
1094    VALUE ret, cb, args[12];
1095
1096    args[0] = PTR2NUM(stack0);
1097    args[1] = PTR2NUM(stack1);
1098    args[2] = PTR2NUM(stack2);
1099    args[3] = PTR2NUM(stack3);
1100    args[4] = PTR2NUM(stack4);
1101    args[5] = PTR2NUM(stack5);
1102    args[6] = PTR2NUM(stack6);
1103    args[7] = PTR2NUM(stack7);
1104    args[8] = PTR2NUM(stack8);
1105    args[9] = PTR2NUM(stack9);
1106    args[10] = PTR2NUM(stack10);
1107    args[11] = PTR2NUM(stack11);
1108    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 92);
1109    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
1110    return NUM2PTR(ret);
1111}
1112
1113
1114static void *
1115FUNC_CDECL(rb_dl_callback_ptr_13_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
1116{
1117    VALUE ret, cb, args[13];
1118
1119    args[0] = PTR2NUM(stack0);
1120    args[1] = PTR2NUM(stack1);
1121    args[2] = PTR2NUM(stack2);
1122    args[3] = PTR2NUM(stack3);
1123    args[4] = PTR2NUM(stack4);
1124    args[5] = PTR2NUM(stack5);
1125    args[6] = PTR2NUM(stack6);
1126    args[7] = PTR2NUM(stack7);
1127    args[8] = PTR2NUM(stack8);
1128    args[9] = PTR2NUM(stack9);
1129    args[10] = PTR2NUM(stack10);
1130    args[11] = PTR2NUM(stack11);
1131    args[12] = PTR2NUM(stack12);
1132    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 13);
1133    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
1134    return NUM2PTR(ret);
1135}
1136
1137
1138static void *
1139FUNC_CDECL(rb_dl_callback_ptr_13_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
1140{
1141    VALUE ret, cb, args[13];
1142
1143    args[0] = PTR2NUM(stack0);
1144    args[1] = PTR2NUM(stack1);
1145    args[2] = PTR2NUM(stack2);
1146    args[3] = PTR2NUM(stack3);
1147    args[4] = PTR2NUM(stack4);
1148    args[5] = PTR2NUM(stack5);
1149    args[6] = PTR2NUM(stack6);
1150    args[7] = PTR2NUM(stack7);
1151    args[8] = PTR2NUM(stack8);
1152    args[9] = PTR2NUM(stack9);
1153    args[10] = PTR2NUM(stack10);
1154    args[11] = PTR2NUM(stack11);
1155    args[12] = PTR2NUM(stack12);
1156    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 33);
1157    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
1158    return NUM2PTR(ret);
1159}
1160
1161
1162static void *
1163FUNC_CDECL(rb_dl_callback_ptr_13_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
1164{
1165    VALUE ret, cb, args[13];
1166
1167    args[0] = PTR2NUM(stack0);
1168    args[1] = PTR2NUM(stack1);
1169    args[2] = PTR2NUM(stack2);
1170    args[3] = PTR2NUM(stack3);
1171    args[4] = PTR2NUM(stack4);
1172    args[5] = PTR2NUM(stack5);
1173    args[6] = PTR2NUM(stack6);
1174    args[7] = PTR2NUM(stack7);
1175    args[8] = PTR2NUM(stack8);
1176    args[9] = PTR2NUM(stack9);
1177    args[10] = PTR2NUM(stack10);
1178    args[11] = PTR2NUM(stack11);
1179    args[12] = PTR2NUM(stack12);
1180    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 53);
1181    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
1182    return NUM2PTR(ret);
1183}
1184
1185
1186static void *
1187FUNC_CDECL(rb_dl_callback_ptr_13_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
1188{
1189    VALUE ret, cb, args[13];
1190
1191    args[0] = PTR2NUM(stack0);
1192    args[1] = PTR2NUM(stack1);
1193    args[2] = PTR2NUM(stack2);
1194    args[3] = PTR2NUM(stack3);
1195    args[4] = PTR2NUM(stack4);
1196    args[5] = PTR2NUM(stack5);
1197    args[6] = PTR2NUM(stack6);
1198    args[7] = PTR2NUM(stack7);
1199    args[8] = PTR2NUM(stack8);
1200    args[9] = PTR2NUM(stack9);
1201    args[10] = PTR2NUM(stack10);
1202    args[11] = PTR2NUM(stack11);
1203    args[12] = PTR2NUM(stack12);
1204    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 73);
1205    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
1206    return NUM2PTR(ret);
1207}
1208
1209
1210static void *
1211FUNC_CDECL(rb_dl_callback_ptr_13_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
1212{
1213    VALUE ret, cb, args[13];
1214
1215    args[0] = PTR2NUM(stack0);
1216    args[1] = PTR2NUM(stack1);
1217    args[2] = PTR2NUM(stack2);
1218    args[3] = PTR2NUM(stack3);
1219    args[4] = PTR2NUM(stack4);
1220    args[5] = PTR2NUM(stack5);
1221    args[6] = PTR2NUM(stack6);
1222    args[7] = PTR2NUM(stack7);
1223    args[8] = PTR2NUM(stack8);
1224    args[9] = PTR2NUM(stack9);
1225    args[10] = PTR2NUM(stack10);
1226    args[11] = PTR2NUM(stack11);
1227    args[12] = PTR2NUM(stack12);
1228    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 93);
1229    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
1230    return NUM2PTR(ret);
1231}
1232
1233
1234static void *
1235FUNC_CDECL(rb_dl_callback_ptr_14_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
1236{
1237    VALUE ret, cb, args[14];
1238
1239    args[0] = PTR2NUM(stack0);
1240    args[1] = PTR2NUM(stack1);
1241    args[2] = PTR2NUM(stack2);
1242    args[3] = PTR2NUM(stack3);
1243    args[4] = PTR2NUM(stack4);
1244    args[5] = PTR2NUM(stack5);
1245    args[6] = PTR2NUM(stack6);
1246    args[7] = PTR2NUM(stack7);
1247    args[8] = PTR2NUM(stack8);
1248    args[9] = PTR2NUM(stack9);
1249    args[10] = PTR2NUM(stack10);
1250    args[11] = PTR2NUM(stack11);
1251    args[12] = PTR2NUM(stack12);
1252    args[13] = PTR2NUM(stack13);
1253    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 14);
1254    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
1255    return NUM2PTR(ret);
1256}
1257
1258
1259static void *
1260FUNC_CDECL(rb_dl_callback_ptr_14_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
1261{
1262    VALUE ret, cb, args[14];
1263
1264    args[0] = PTR2NUM(stack0);
1265    args[1] = PTR2NUM(stack1);
1266    args[2] = PTR2NUM(stack2);
1267    args[3] = PTR2NUM(stack3);
1268    args[4] = PTR2NUM(stack4);
1269    args[5] = PTR2NUM(stack5);
1270    args[6] = PTR2NUM(stack6);
1271    args[7] = PTR2NUM(stack7);
1272    args[8] = PTR2NUM(stack8);
1273    args[9] = PTR2NUM(stack9);
1274    args[10] = PTR2NUM(stack10);
1275    args[11] = PTR2NUM(stack11);
1276    args[12] = PTR2NUM(stack12);
1277    args[13] = PTR2NUM(stack13);
1278    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 34);
1279    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
1280    return NUM2PTR(ret);
1281}
1282
1283
1284static void *
1285FUNC_CDECL(rb_dl_callback_ptr_14_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
1286{
1287    VALUE ret, cb, args[14];
1288
1289    args[0] = PTR2NUM(stack0);
1290    args[1] = PTR2NUM(stack1);
1291    args[2] = PTR2NUM(stack2);
1292    args[3] = PTR2NUM(stack3);
1293    args[4] = PTR2NUM(stack4);
1294    args[5] = PTR2NUM(stack5);
1295    args[6] = PTR2NUM(stack6);
1296    args[7] = PTR2NUM(stack7);
1297    args[8] = PTR2NUM(stack8);
1298    args[9] = PTR2NUM(stack9);
1299    args[10] = PTR2NUM(stack10);
1300    args[11] = PTR2NUM(stack11);
1301    args[12] = PTR2NUM(stack12);
1302    args[13] = PTR2NUM(stack13);
1303    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 54);
1304    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
1305    return NUM2PTR(ret);
1306}
1307
1308
1309static void *
1310FUNC_CDECL(rb_dl_callback_ptr_14_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
1311{
1312    VALUE ret, cb, args[14];
1313
1314    args[0] = PTR2NUM(stack0);
1315    args[1] = PTR2NUM(stack1);
1316    args[2] = PTR2NUM(stack2);
1317    args[3] = PTR2NUM(stack3);
1318    args[4] = PTR2NUM(stack4);
1319    args[5] = PTR2NUM(stack5);
1320    args[6] = PTR2NUM(stack6);
1321    args[7] = PTR2NUM(stack7);
1322    args[8] = PTR2NUM(stack8);
1323    args[9] = PTR2NUM(stack9);
1324    args[10] = PTR2NUM(stack10);
1325    args[11] = PTR2NUM(stack11);
1326    args[12] = PTR2NUM(stack12);
1327    args[13] = PTR2NUM(stack13);
1328    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 74);
1329    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
1330    return NUM2PTR(ret);
1331}
1332
1333
1334static void *
1335FUNC_CDECL(rb_dl_callback_ptr_14_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
1336{
1337    VALUE ret, cb, args[14];
1338
1339    args[0] = PTR2NUM(stack0);
1340    args[1] = PTR2NUM(stack1);
1341    args[2] = PTR2NUM(stack2);
1342    args[3] = PTR2NUM(stack3);
1343    args[4] = PTR2NUM(stack4);
1344    args[5] = PTR2NUM(stack5);
1345    args[6] = PTR2NUM(stack6);
1346    args[7] = PTR2NUM(stack7);
1347    args[8] = PTR2NUM(stack8);
1348    args[9] = PTR2NUM(stack9);
1349    args[10] = PTR2NUM(stack10);
1350    args[11] = PTR2NUM(stack11);
1351    args[12] = PTR2NUM(stack12);
1352    args[13] = PTR2NUM(stack13);
1353    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 94);
1354    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
1355    return NUM2PTR(ret);
1356}
1357
1358
1359static void *
1360FUNC_CDECL(rb_dl_callback_ptr_15_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
1361{
1362    VALUE ret, cb, args[15];
1363
1364    args[0] = PTR2NUM(stack0);
1365    args[1] = PTR2NUM(stack1);
1366    args[2] = PTR2NUM(stack2);
1367    args[3] = PTR2NUM(stack3);
1368    args[4] = PTR2NUM(stack4);
1369    args[5] = PTR2NUM(stack5);
1370    args[6] = PTR2NUM(stack6);
1371    args[7] = PTR2NUM(stack7);
1372    args[8] = PTR2NUM(stack8);
1373    args[9] = PTR2NUM(stack9);
1374    args[10] = PTR2NUM(stack10);
1375    args[11] = PTR2NUM(stack11);
1376    args[12] = PTR2NUM(stack12);
1377    args[13] = PTR2NUM(stack13);
1378    args[14] = PTR2NUM(stack14);
1379    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 15);
1380    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
1381    return NUM2PTR(ret);
1382}
1383
1384
1385static void *
1386FUNC_CDECL(rb_dl_callback_ptr_15_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
1387{
1388    VALUE ret, cb, args[15];
1389
1390    args[0] = PTR2NUM(stack0);
1391    args[1] = PTR2NUM(stack1);
1392    args[2] = PTR2NUM(stack2);
1393    args[3] = PTR2NUM(stack3);
1394    args[4] = PTR2NUM(stack4);
1395    args[5] = PTR2NUM(stack5);
1396    args[6] = PTR2NUM(stack6);
1397    args[7] = PTR2NUM(stack7);
1398    args[8] = PTR2NUM(stack8);
1399    args[9] = PTR2NUM(stack9);
1400    args[10] = PTR2NUM(stack10);
1401    args[11] = PTR2NUM(stack11);
1402    args[12] = PTR2NUM(stack12);
1403    args[13] = PTR2NUM(stack13);
1404    args[14] = PTR2NUM(stack14);
1405    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 35);
1406    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
1407    return NUM2PTR(ret);
1408}
1409
1410
1411static void *
1412FUNC_CDECL(rb_dl_callback_ptr_15_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
1413{
1414    VALUE ret, cb, args[15];
1415
1416    args[0] = PTR2NUM(stack0);
1417    args[1] = PTR2NUM(stack1);
1418    args[2] = PTR2NUM(stack2);
1419    args[3] = PTR2NUM(stack3);
1420    args[4] = PTR2NUM(stack4);
1421    args[5] = PTR2NUM(stack5);
1422    args[6] = PTR2NUM(stack6);
1423    args[7] = PTR2NUM(stack7);
1424    args[8] = PTR2NUM(stack8);
1425    args[9] = PTR2NUM(stack9);
1426    args[10] = PTR2NUM(stack10);
1427    args[11] = PTR2NUM(stack11);
1428    args[12] = PTR2NUM(stack12);
1429    args[13] = PTR2NUM(stack13);
1430    args[14] = PTR2NUM(stack14);
1431    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 55);
1432    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
1433    return NUM2PTR(ret);
1434}
1435
1436
1437static void *
1438FUNC_CDECL(rb_dl_callback_ptr_15_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
1439{
1440    VALUE ret, cb, args[15];
1441
1442    args[0] = PTR2NUM(stack0);
1443    args[1] = PTR2NUM(stack1);
1444    args[2] = PTR2NUM(stack2);
1445    args[3] = PTR2NUM(stack3);
1446    args[4] = PTR2NUM(stack4);
1447    args[5] = PTR2NUM(stack5);
1448    args[6] = PTR2NUM(stack6);
1449    args[7] = PTR2NUM(stack7);
1450    args[8] = PTR2NUM(stack8);
1451    args[9] = PTR2NUM(stack9);
1452    args[10] = PTR2NUM(stack10);
1453    args[11] = PTR2NUM(stack11);
1454    args[12] = PTR2NUM(stack12);
1455    args[13] = PTR2NUM(stack13);
1456    args[14] = PTR2NUM(stack14);
1457    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 75);
1458    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
1459    return NUM2PTR(ret);
1460}
1461
1462
1463static void *
1464FUNC_CDECL(rb_dl_callback_ptr_15_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
1465{
1466    VALUE ret, cb, args[15];
1467
1468    args[0] = PTR2NUM(stack0);
1469    args[1] = PTR2NUM(stack1);
1470    args[2] = PTR2NUM(stack2);
1471    args[3] = PTR2NUM(stack3);
1472    args[4] = PTR2NUM(stack4);
1473    args[5] = PTR2NUM(stack5);
1474    args[6] = PTR2NUM(stack6);
1475    args[7] = PTR2NUM(stack7);
1476    args[8] = PTR2NUM(stack8);
1477    args[9] = PTR2NUM(stack9);
1478    args[10] = PTR2NUM(stack10);
1479    args[11] = PTR2NUM(stack11);
1480    args[12] = PTR2NUM(stack12);
1481    args[13] = PTR2NUM(stack13);
1482    args[14] = PTR2NUM(stack14);
1483    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 95);
1484    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
1485    return NUM2PTR(ret);
1486}
1487
1488
1489static void *
1490FUNC_CDECL(rb_dl_callback_ptr_16_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
1491{
1492    VALUE ret, cb, args[16];
1493
1494    args[0] = PTR2NUM(stack0);
1495    args[1] = PTR2NUM(stack1);
1496    args[2] = PTR2NUM(stack2);
1497    args[3] = PTR2NUM(stack3);
1498    args[4] = PTR2NUM(stack4);
1499    args[5] = PTR2NUM(stack5);
1500    args[6] = PTR2NUM(stack6);
1501    args[7] = PTR2NUM(stack7);
1502    args[8] = PTR2NUM(stack8);
1503    args[9] = PTR2NUM(stack9);
1504    args[10] = PTR2NUM(stack10);
1505    args[11] = PTR2NUM(stack11);
1506    args[12] = PTR2NUM(stack12);
1507    args[13] = PTR2NUM(stack13);
1508    args[14] = PTR2NUM(stack14);
1509    args[15] = PTR2NUM(stack15);
1510    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 16);
1511    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
1512    return NUM2PTR(ret);
1513}
1514
1515
1516static void *
1517FUNC_CDECL(rb_dl_callback_ptr_16_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
1518{
1519    VALUE ret, cb, args[16];
1520
1521    args[0] = PTR2NUM(stack0);
1522    args[1] = PTR2NUM(stack1);
1523    args[2] = PTR2NUM(stack2);
1524    args[3] = PTR2NUM(stack3);
1525    args[4] = PTR2NUM(stack4);
1526    args[5] = PTR2NUM(stack5);
1527    args[6] = PTR2NUM(stack6);
1528    args[7] = PTR2NUM(stack7);
1529    args[8] = PTR2NUM(stack8);
1530    args[9] = PTR2NUM(stack9);
1531    args[10] = PTR2NUM(stack10);
1532    args[11] = PTR2NUM(stack11);
1533    args[12] = PTR2NUM(stack12);
1534    args[13] = PTR2NUM(stack13);
1535    args[14] = PTR2NUM(stack14);
1536    args[15] = PTR2NUM(stack15);
1537    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 36);
1538    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
1539    return NUM2PTR(ret);
1540}
1541
1542
1543static void *
1544FUNC_CDECL(rb_dl_callback_ptr_16_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
1545{
1546    VALUE ret, cb, args[16];
1547
1548    args[0] = PTR2NUM(stack0);
1549    args[1] = PTR2NUM(stack1);
1550    args[2] = PTR2NUM(stack2);
1551    args[3] = PTR2NUM(stack3);
1552    args[4] = PTR2NUM(stack4);
1553    args[5] = PTR2NUM(stack5);
1554    args[6] = PTR2NUM(stack6);
1555    args[7] = PTR2NUM(stack7);
1556    args[8] = PTR2NUM(stack8);
1557    args[9] = PTR2NUM(stack9);
1558    args[10] = PTR2NUM(stack10);
1559    args[11] = PTR2NUM(stack11);
1560    args[12] = PTR2NUM(stack12);
1561    args[13] = PTR2NUM(stack13);
1562    args[14] = PTR2NUM(stack14);
1563    args[15] = PTR2NUM(stack15);
1564    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 56);
1565    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
1566    return NUM2PTR(ret);
1567}
1568
1569
1570static void *
1571FUNC_CDECL(rb_dl_callback_ptr_16_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
1572{
1573    VALUE ret, cb, args[16];
1574
1575    args[0] = PTR2NUM(stack0);
1576    args[1] = PTR2NUM(stack1);
1577    args[2] = PTR2NUM(stack2);
1578    args[3] = PTR2NUM(stack3);
1579    args[4] = PTR2NUM(stack4);
1580    args[5] = PTR2NUM(stack5);
1581    args[6] = PTR2NUM(stack6);
1582    args[7] = PTR2NUM(stack7);
1583    args[8] = PTR2NUM(stack8);
1584    args[9] = PTR2NUM(stack9);
1585    args[10] = PTR2NUM(stack10);
1586    args[11] = PTR2NUM(stack11);
1587    args[12] = PTR2NUM(stack12);
1588    args[13] = PTR2NUM(stack13);
1589    args[14] = PTR2NUM(stack14);
1590    args[15] = PTR2NUM(stack15);
1591    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 76);
1592    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
1593    return NUM2PTR(ret);
1594}
1595
1596
1597static void *
1598FUNC_CDECL(rb_dl_callback_ptr_16_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
1599{
1600    VALUE ret, cb, args[16];
1601
1602    args[0] = PTR2NUM(stack0);
1603    args[1] = PTR2NUM(stack1);
1604    args[2] = PTR2NUM(stack2);
1605    args[3] = PTR2NUM(stack3);
1606    args[4] = PTR2NUM(stack4);
1607    args[5] = PTR2NUM(stack5);
1608    args[6] = PTR2NUM(stack6);
1609    args[7] = PTR2NUM(stack7);
1610    args[8] = PTR2NUM(stack8);
1611    args[9] = PTR2NUM(stack9);
1612    args[10] = PTR2NUM(stack10);
1613    args[11] = PTR2NUM(stack11);
1614    args[12] = PTR2NUM(stack12);
1615    args[13] = PTR2NUM(stack13);
1616    args[14] = PTR2NUM(stack14);
1617    args[15] = PTR2NUM(stack15);
1618    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 96);
1619    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
1620    return NUM2PTR(ret);
1621}
1622
1623
1624static void *
1625FUNC_CDECL(rb_dl_callback_ptr_17_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
1626{
1627    VALUE ret, cb, args[17];
1628
1629    args[0] = PTR2NUM(stack0);
1630    args[1] = PTR2NUM(stack1);
1631    args[2] = PTR2NUM(stack2);
1632    args[3] = PTR2NUM(stack3);
1633    args[4] = PTR2NUM(stack4);
1634    args[5] = PTR2NUM(stack5);
1635    args[6] = PTR2NUM(stack6);
1636    args[7] = PTR2NUM(stack7);
1637    args[8] = PTR2NUM(stack8);
1638    args[9] = PTR2NUM(stack9);
1639    args[10] = PTR2NUM(stack10);
1640    args[11] = PTR2NUM(stack11);
1641    args[12] = PTR2NUM(stack12);
1642    args[13] = PTR2NUM(stack13);
1643    args[14] = PTR2NUM(stack14);
1644    args[15] = PTR2NUM(stack15);
1645    args[16] = PTR2NUM(stack16);
1646    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 17);
1647    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
1648    return NUM2PTR(ret);
1649}
1650
1651
1652static void *
1653FUNC_CDECL(rb_dl_callback_ptr_17_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
1654{
1655    VALUE ret, cb, args[17];
1656
1657    args[0] = PTR2NUM(stack0);
1658    args[1] = PTR2NUM(stack1);
1659    args[2] = PTR2NUM(stack2);
1660    args[3] = PTR2NUM(stack3);
1661    args[4] = PTR2NUM(stack4);
1662    args[5] = PTR2NUM(stack5);
1663    args[6] = PTR2NUM(stack6);
1664    args[7] = PTR2NUM(stack7);
1665    args[8] = PTR2NUM(stack8);
1666    args[9] = PTR2NUM(stack9);
1667    args[10] = PTR2NUM(stack10);
1668    args[11] = PTR2NUM(stack11);
1669    args[12] = PTR2NUM(stack12);
1670    args[13] = PTR2NUM(stack13);
1671    args[14] = PTR2NUM(stack14);
1672    args[15] = PTR2NUM(stack15);
1673    args[16] = PTR2NUM(stack16);
1674    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 37);
1675    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
1676    return NUM2PTR(ret);
1677}
1678
1679
1680static void *
1681FUNC_CDECL(rb_dl_callback_ptr_17_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
1682{
1683    VALUE ret, cb, args[17];
1684
1685    args[0] = PTR2NUM(stack0);
1686    args[1] = PTR2NUM(stack1);
1687    args[2] = PTR2NUM(stack2);
1688    args[3] = PTR2NUM(stack3);
1689    args[4] = PTR2NUM(stack4);
1690    args[5] = PTR2NUM(stack5);
1691    args[6] = PTR2NUM(stack6);
1692    args[7] = PTR2NUM(stack7);
1693    args[8] = PTR2NUM(stack8);
1694    args[9] = PTR2NUM(stack9);
1695    args[10] = PTR2NUM(stack10);
1696    args[11] = PTR2NUM(stack11);
1697    args[12] = PTR2NUM(stack12);
1698    args[13] = PTR2NUM(stack13);
1699    args[14] = PTR2NUM(stack14);
1700    args[15] = PTR2NUM(stack15);
1701    args[16] = PTR2NUM(stack16);
1702    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 57);
1703    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
1704    return NUM2PTR(ret);
1705}
1706
1707
1708static void *
1709FUNC_CDECL(rb_dl_callback_ptr_17_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
1710{
1711    VALUE ret, cb, args[17];
1712
1713    args[0] = PTR2NUM(stack0);
1714    args[1] = PTR2NUM(stack1);
1715    args[2] = PTR2NUM(stack2);
1716    args[3] = PTR2NUM(stack3);
1717    args[4] = PTR2NUM(stack4);
1718    args[5] = PTR2NUM(stack5);
1719    args[6] = PTR2NUM(stack6);
1720    args[7] = PTR2NUM(stack7);
1721    args[8] = PTR2NUM(stack8);
1722    args[9] = PTR2NUM(stack9);
1723    args[10] = PTR2NUM(stack10);
1724    args[11] = PTR2NUM(stack11);
1725    args[12] = PTR2NUM(stack12);
1726    args[13] = PTR2NUM(stack13);
1727    args[14] = PTR2NUM(stack14);
1728    args[15] = PTR2NUM(stack15);
1729    args[16] = PTR2NUM(stack16);
1730    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 77);
1731    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
1732    return NUM2PTR(ret);
1733}
1734
1735
1736static void *
1737FUNC_CDECL(rb_dl_callback_ptr_17_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
1738{
1739    VALUE ret, cb, args[17];
1740
1741    args[0] = PTR2NUM(stack0);
1742    args[1] = PTR2NUM(stack1);
1743    args[2] = PTR2NUM(stack2);
1744    args[3] = PTR2NUM(stack3);
1745    args[4] = PTR2NUM(stack4);
1746    args[5] = PTR2NUM(stack5);
1747    args[6] = PTR2NUM(stack6);
1748    args[7] = PTR2NUM(stack7);
1749    args[8] = PTR2NUM(stack8);
1750    args[9] = PTR2NUM(stack9);
1751    args[10] = PTR2NUM(stack10);
1752    args[11] = PTR2NUM(stack11);
1753    args[12] = PTR2NUM(stack12);
1754    args[13] = PTR2NUM(stack13);
1755    args[14] = PTR2NUM(stack14);
1756    args[15] = PTR2NUM(stack15);
1757    args[16] = PTR2NUM(stack16);
1758    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 97);
1759    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
1760    return NUM2PTR(ret);
1761}
1762
1763
1764static void *
1765FUNC_CDECL(rb_dl_callback_ptr_18_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
1766{
1767    VALUE ret, cb, args[18];
1768
1769    args[0] = PTR2NUM(stack0);
1770    args[1] = PTR2NUM(stack1);
1771    args[2] = PTR2NUM(stack2);
1772    args[3] = PTR2NUM(stack3);
1773    args[4] = PTR2NUM(stack4);
1774    args[5] = PTR2NUM(stack5);
1775    args[6] = PTR2NUM(stack6);
1776    args[7] = PTR2NUM(stack7);
1777    args[8] = PTR2NUM(stack8);
1778    args[9] = PTR2NUM(stack9);
1779    args[10] = PTR2NUM(stack10);
1780    args[11] = PTR2NUM(stack11);
1781    args[12] = PTR2NUM(stack12);
1782    args[13] = PTR2NUM(stack13);
1783    args[14] = PTR2NUM(stack14);
1784    args[15] = PTR2NUM(stack15);
1785    args[16] = PTR2NUM(stack16);
1786    args[17] = PTR2NUM(stack17);
1787    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 18);
1788    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
1789    return NUM2PTR(ret);
1790}
1791
1792
1793static void *
1794FUNC_CDECL(rb_dl_callback_ptr_18_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
1795{
1796    VALUE ret, cb, args[18];
1797
1798    args[0] = PTR2NUM(stack0);
1799    args[1] = PTR2NUM(stack1);
1800    args[2] = PTR2NUM(stack2);
1801    args[3] = PTR2NUM(stack3);
1802    args[4] = PTR2NUM(stack4);
1803    args[5] = PTR2NUM(stack5);
1804    args[6] = PTR2NUM(stack6);
1805    args[7] = PTR2NUM(stack7);
1806    args[8] = PTR2NUM(stack8);
1807    args[9] = PTR2NUM(stack9);
1808    args[10] = PTR2NUM(stack10);
1809    args[11] = PTR2NUM(stack11);
1810    args[12] = PTR2NUM(stack12);
1811    args[13] = PTR2NUM(stack13);
1812    args[14] = PTR2NUM(stack14);
1813    args[15] = PTR2NUM(stack15);
1814    args[16] = PTR2NUM(stack16);
1815    args[17] = PTR2NUM(stack17);
1816    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 38);
1817    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
1818    return NUM2PTR(ret);
1819}
1820
1821
1822static void *
1823FUNC_CDECL(rb_dl_callback_ptr_18_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
1824{
1825    VALUE ret, cb, args[18];
1826
1827    args[0] = PTR2NUM(stack0);
1828    args[1] = PTR2NUM(stack1);
1829    args[2] = PTR2NUM(stack2);
1830    args[3] = PTR2NUM(stack3);
1831    args[4] = PTR2NUM(stack4);
1832    args[5] = PTR2NUM(stack5);
1833    args[6] = PTR2NUM(stack6);
1834    args[7] = PTR2NUM(stack7);
1835    args[8] = PTR2NUM(stack8);
1836    args[9] = PTR2NUM(stack9);
1837    args[10] = PTR2NUM(stack10);
1838    args[11] = PTR2NUM(stack11);
1839    args[12] = PTR2NUM(stack12);
1840    args[13] = PTR2NUM(stack13);
1841    args[14] = PTR2NUM(stack14);
1842    args[15] = PTR2NUM(stack15);
1843    args[16] = PTR2NUM(stack16);
1844    args[17] = PTR2NUM(stack17);
1845    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 58);
1846    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
1847    return NUM2PTR(ret);
1848}
1849
1850
1851static void *
1852FUNC_CDECL(rb_dl_callback_ptr_18_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
1853{
1854    VALUE ret, cb, args[18];
1855
1856    args[0] = PTR2NUM(stack0);
1857    args[1] = PTR2NUM(stack1);
1858    args[2] = PTR2NUM(stack2);
1859    args[3] = PTR2NUM(stack3);
1860    args[4] = PTR2NUM(stack4);
1861    args[5] = PTR2NUM(stack5);
1862    args[6] = PTR2NUM(stack6);
1863    args[7] = PTR2NUM(stack7);
1864    args[8] = PTR2NUM(stack8);
1865    args[9] = PTR2NUM(stack9);
1866    args[10] = PTR2NUM(stack10);
1867    args[11] = PTR2NUM(stack11);
1868    args[12] = PTR2NUM(stack12);
1869    args[13] = PTR2NUM(stack13);
1870    args[14] = PTR2NUM(stack14);
1871    args[15] = PTR2NUM(stack15);
1872    args[16] = PTR2NUM(stack16);
1873    args[17] = PTR2NUM(stack17);
1874    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 78);
1875    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
1876    return NUM2PTR(ret);
1877}
1878
1879
1880static void *
1881FUNC_CDECL(rb_dl_callback_ptr_18_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
1882{
1883    VALUE ret, cb, args[18];
1884
1885    args[0] = PTR2NUM(stack0);
1886    args[1] = PTR2NUM(stack1);
1887    args[2] = PTR2NUM(stack2);
1888    args[3] = PTR2NUM(stack3);
1889    args[4] = PTR2NUM(stack4);
1890    args[5] = PTR2NUM(stack5);
1891    args[6] = PTR2NUM(stack6);
1892    args[7] = PTR2NUM(stack7);
1893    args[8] = PTR2NUM(stack8);
1894    args[9] = PTR2NUM(stack9);
1895    args[10] = PTR2NUM(stack10);
1896    args[11] = PTR2NUM(stack11);
1897    args[12] = PTR2NUM(stack12);
1898    args[13] = PTR2NUM(stack13);
1899    args[14] = PTR2NUM(stack14);
1900    args[15] = PTR2NUM(stack15);
1901    args[16] = PTR2NUM(stack16);
1902    args[17] = PTR2NUM(stack17);
1903    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 98);
1904    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
1905    return NUM2PTR(ret);
1906}
1907
1908
1909static void *
1910FUNC_CDECL(rb_dl_callback_ptr_19_0_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
1911{
1912    VALUE ret, cb, args[19];
1913
1914    args[0] = PTR2NUM(stack0);
1915    args[1] = PTR2NUM(stack1);
1916    args[2] = PTR2NUM(stack2);
1917    args[3] = PTR2NUM(stack3);
1918    args[4] = PTR2NUM(stack4);
1919    args[5] = PTR2NUM(stack5);
1920    args[6] = PTR2NUM(stack6);
1921    args[7] = PTR2NUM(stack7);
1922    args[8] = PTR2NUM(stack8);
1923    args[9] = PTR2NUM(stack9);
1924    args[10] = PTR2NUM(stack10);
1925    args[11] = PTR2NUM(stack11);
1926    args[12] = PTR2NUM(stack12);
1927    args[13] = PTR2NUM(stack13);
1928    args[14] = PTR2NUM(stack14);
1929    args[15] = PTR2NUM(stack15);
1930    args[16] = PTR2NUM(stack16);
1931    args[17] = PTR2NUM(stack17);
1932    args[18] = PTR2NUM(stack18);
1933    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 19);
1934    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
1935    return NUM2PTR(ret);
1936}
1937
1938
1939static void *
1940FUNC_CDECL(rb_dl_callback_ptr_19_1_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
1941{
1942    VALUE ret, cb, args[19];
1943
1944    args[0] = PTR2NUM(stack0);
1945    args[1] = PTR2NUM(stack1);
1946    args[2] = PTR2NUM(stack2);
1947    args[3] = PTR2NUM(stack3);
1948    args[4] = PTR2NUM(stack4);
1949    args[5] = PTR2NUM(stack5);
1950    args[6] = PTR2NUM(stack6);
1951    args[7] = PTR2NUM(stack7);
1952    args[8] = PTR2NUM(stack8);
1953    args[9] = PTR2NUM(stack9);
1954    args[10] = PTR2NUM(stack10);
1955    args[11] = PTR2NUM(stack11);
1956    args[12] = PTR2NUM(stack12);
1957    args[13] = PTR2NUM(stack13);
1958    args[14] = PTR2NUM(stack14);
1959    args[15] = PTR2NUM(stack15);
1960    args[16] = PTR2NUM(stack16);
1961    args[17] = PTR2NUM(stack17);
1962    args[18] = PTR2NUM(stack18);
1963    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 39);
1964    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
1965    return NUM2PTR(ret);
1966}
1967
1968
1969static void *
1970FUNC_CDECL(rb_dl_callback_ptr_19_2_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
1971{
1972    VALUE ret, cb, args[19];
1973
1974    args[0] = PTR2NUM(stack0);
1975    args[1] = PTR2NUM(stack1);
1976    args[2] = PTR2NUM(stack2);
1977    args[3] = PTR2NUM(stack3);
1978    args[4] = PTR2NUM(stack4);
1979    args[5] = PTR2NUM(stack5);
1980    args[6] = PTR2NUM(stack6);
1981    args[7] = PTR2NUM(stack7);
1982    args[8] = PTR2NUM(stack8);
1983    args[9] = PTR2NUM(stack9);
1984    args[10] = PTR2NUM(stack10);
1985    args[11] = PTR2NUM(stack11);
1986    args[12] = PTR2NUM(stack12);
1987    args[13] = PTR2NUM(stack13);
1988    args[14] = PTR2NUM(stack14);
1989    args[15] = PTR2NUM(stack15);
1990    args[16] = PTR2NUM(stack16);
1991    args[17] = PTR2NUM(stack17);
1992    args[18] = PTR2NUM(stack18);
1993    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 59);
1994    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
1995    return NUM2PTR(ret);
1996}
1997
1998
1999static void *
2000FUNC_CDECL(rb_dl_callback_ptr_19_3_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
2001{
2002    VALUE ret, cb, args[19];
2003
2004    args[0] = PTR2NUM(stack0);
2005    args[1] = PTR2NUM(stack1);
2006    args[2] = PTR2NUM(stack2);
2007    args[3] = PTR2NUM(stack3);
2008    args[4] = PTR2NUM(stack4);
2009    args[5] = PTR2NUM(stack5);
2010    args[6] = PTR2NUM(stack6);
2011    args[7] = PTR2NUM(stack7);
2012    args[8] = PTR2NUM(stack8);
2013    args[9] = PTR2NUM(stack9);
2014    args[10] = PTR2NUM(stack10);
2015    args[11] = PTR2NUM(stack11);
2016    args[12] = PTR2NUM(stack12);
2017    args[13] = PTR2NUM(stack13);
2018    args[14] = PTR2NUM(stack14);
2019    args[15] = PTR2NUM(stack15);
2020    args[16] = PTR2NUM(stack16);
2021    args[17] = PTR2NUM(stack17);
2022    args[18] = PTR2NUM(stack18);
2023    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 79);
2024    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
2025    return NUM2PTR(ret);
2026}
2027
2028
2029static void *
2030FUNC_CDECL(rb_dl_callback_ptr_19_4_cdecl)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
2031{
2032    VALUE ret, cb, args[19];
2033
2034    args[0] = PTR2NUM(stack0);
2035    args[1] = PTR2NUM(stack1);
2036    args[2] = PTR2NUM(stack2);
2037    args[3] = PTR2NUM(stack3);
2038    args[4] = PTR2NUM(stack4);
2039    args[5] = PTR2NUM(stack5);
2040    args[6] = PTR2NUM(stack6);
2041    args[7] = PTR2NUM(stack7);
2042    args[8] = PTR2NUM(stack8);
2043    args[9] = PTR2NUM(stack9);
2044    args[10] = PTR2NUM(stack10);
2045    args[11] = PTR2NUM(stack11);
2046    args[12] = PTR2NUM(stack12);
2047    args[13] = PTR2NUM(stack13);
2048    args[14] = PTR2NUM(stack14);
2049    args[15] = PTR2NUM(stack15);
2050    args[16] = PTR2NUM(stack16);
2051    args[17] = PTR2NUM(stack17);
2052    args[18] = PTR2NUM(stack18);
2053    cb = rb_ary_entry(rb_ary_entry(rb_DLCdeclCallbackProcs, 1), 99);
2054    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
2055    return NUM2PTR(ret);
2056}
2057
2058
2059#ifdef FUNC_STDCALL
2060static void *
2061FUNC_STDCALL(rb_dl_callback_ptr_0_0_stdcall)()
2062{
2063    VALUE ret, cb;
2064
2065    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 0);
2066    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
2067    return NUM2PTR(ret);
2068}
2069#endif
2070
2071
2072#ifdef FUNC_STDCALL
2073static void *
2074FUNC_STDCALL(rb_dl_callback_ptr_0_1_stdcall)()
2075{
2076    VALUE ret, cb;
2077
2078    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 20);
2079    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
2080    return NUM2PTR(ret);
2081}
2082#endif
2083
2084
2085#ifdef FUNC_STDCALL
2086static void *
2087FUNC_STDCALL(rb_dl_callback_ptr_0_2_stdcall)()
2088{
2089    VALUE ret, cb;
2090
2091    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 40);
2092    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
2093    return NUM2PTR(ret);
2094}
2095#endif
2096
2097
2098#ifdef FUNC_STDCALL
2099static void *
2100FUNC_STDCALL(rb_dl_callback_ptr_0_3_stdcall)()
2101{
2102    VALUE ret, cb;
2103
2104    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 60);
2105    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
2106    return NUM2PTR(ret);
2107}
2108#endif
2109
2110
2111#ifdef FUNC_STDCALL
2112static void *
2113FUNC_STDCALL(rb_dl_callback_ptr_0_4_stdcall)()
2114{
2115    VALUE ret, cb;
2116
2117    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 80);
2118    ret = rb_funcall2(cb, rb_dl_cb_call, 0, NULL);
2119    return NUM2PTR(ret);
2120}
2121#endif
2122
2123
2124#ifdef FUNC_STDCALL
2125static void *
2126FUNC_STDCALL(rb_dl_callback_ptr_1_0_stdcall)(DLSTACK_TYPE stack0)
2127{
2128    VALUE ret, cb, args[1];
2129
2130    args[0] = PTR2NUM(stack0);
2131    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 1);
2132    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
2133    return NUM2PTR(ret);
2134}
2135#endif
2136
2137
2138#ifdef FUNC_STDCALL
2139static void *
2140FUNC_STDCALL(rb_dl_callback_ptr_1_1_stdcall)(DLSTACK_TYPE stack0)
2141{
2142    VALUE ret, cb, args[1];
2143
2144    args[0] = PTR2NUM(stack0);
2145    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 21);
2146    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
2147    return NUM2PTR(ret);
2148}
2149#endif
2150
2151
2152#ifdef FUNC_STDCALL
2153static void *
2154FUNC_STDCALL(rb_dl_callback_ptr_1_2_stdcall)(DLSTACK_TYPE stack0)
2155{
2156    VALUE ret, cb, args[1];
2157
2158    args[0] = PTR2NUM(stack0);
2159    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 41);
2160    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
2161    return NUM2PTR(ret);
2162}
2163#endif
2164
2165
2166#ifdef FUNC_STDCALL
2167static void *
2168FUNC_STDCALL(rb_dl_callback_ptr_1_3_stdcall)(DLSTACK_TYPE stack0)
2169{
2170    VALUE ret, cb, args[1];
2171
2172    args[0] = PTR2NUM(stack0);
2173    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 61);
2174    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
2175    return NUM2PTR(ret);
2176}
2177#endif
2178
2179
2180#ifdef FUNC_STDCALL
2181static void *
2182FUNC_STDCALL(rb_dl_callback_ptr_1_4_stdcall)(DLSTACK_TYPE stack0)
2183{
2184    VALUE ret, cb, args[1];
2185
2186    args[0] = PTR2NUM(stack0);
2187    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 81);
2188    ret = rb_funcall2(cb, rb_dl_cb_call, 1, args);
2189    return NUM2PTR(ret);
2190}
2191#endif
2192
2193
2194#ifdef FUNC_STDCALL
2195static void *
2196FUNC_STDCALL(rb_dl_callback_ptr_2_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
2197{
2198    VALUE ret, cb, args[2];
2199
2200    args[0] = PTR2NUM(stack0);
2201    args[1] = PTR2NUM(stack1);
2202    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 2);
2203    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
2204    return NUM2PTR(ret);
2205}
2206#endif
2207
2208
2209#ifdef FUNC_STDCALL
2210static void *
2211FUNC_STDCALL(rb_dl_callback_ptr_2_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
2212{
2213    VALUE ret, cb, args[2];
2214
2215    args[0] = PTR2NUM(stack0);
2216    args[1] = PTR2NUM(stack1);
2217    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 22);
2218    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
2219    return NUM2PTR(ret);
2220}
2221#endif
2222
2223
2224#ifdef FUNC_STDCALL
2225static void *
2226FUNC_STDCALL(rb_dl_callback_ptr_2_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
2227{
2228    VALUE ret, cb, args[2];
2229
2230    args[0] = PTR2NUM(stack0);
2231    args[1] = PTR2NUM(stack1);
2232    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 42);
2233    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
2234    return NUM2PTR(ret);
2235}
2236#endif
2237
2238
2239#ifdef FUNC_STDCALL
2240static void *
2241FUNC_STDCALL(rb_dl_callback_ptr_2_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
2242{
2243    VALUE ret, cb, args[2];
2244
2245    args[0] = PTR2NUM(stack0);
2246    args[1] = PTR2NUM(stack1);
2247    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 62);
2248    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
2249    return NUM2PTR(ret);
2250}
2251#endif
2252
2253
2254#ifdef FUNC_STDCALL
2255static void *
2256FUNC_STDCALL(rb_dl_callback_ptr_2_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1)
2257{
2258    VALUE ret, cb, args[2];
2259
2260    args[0] = PTR2NUM(stack0);
2261    args[1] = PTR2NUM(stack1);
2262    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 82);
2263    ret = rb_funcall2(cb, rb_dl_cb_call, 2, args);
2264    return NUM2PTR(ret);
2265}
2266#endif
2267
2268
2269#ifdef FUNC_STDCALL
2270static void *
2271FUNC_STDCALL(rb_dl_callback_ptr_3_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
2272{
2273    VALUE ret, cb, args[3];
2274
2275    args[0] = PTR2NUM(stack0);
2276    args[1] = PTR2NUM(stack1);
2277    args[2] = PTR2NUM(stack2);
2278    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 3);
2279    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
2280    return NUM2PTR(ret);
2281}
2282#endif
2283
2284
2285#ifdef FUNC_STDCALL
2286static void *
2287FUNC_STDCALL(rb_dl_callback_ptr_3_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
2288{
2289    VALUE ret, cb, args[3];
2290
2291    args[0] = PTR2NUM(stack0);
2292    args[1] = PTR2NUM(stack1);
2293    args[2] = PTR2NUM(stack2);
2294    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 23);
2295    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
2296    return NUM2PTR(ret);
2297}
2298#endif
2299
2300
2301#ifdef FUNC_STDCALL
2302static void *
2303FUNC_STDCALL(rb_dl_callback_ptr_3_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
2304{
2305    VALUE ret, cb, args[3];
2306
2307    args[0] = PTR2NUM(stack0);
2308    args[1] = PTR2NUM(stack1);
2309    args[2] = PTR2NUM(stack2);
2310    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 43);
2311    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
2312    return NUM2PTR(ret);
2313}
2314#endif
2315
2316
2317#ifdef FUNC_STDCALL
2318static void *
2319FUNC_STDCALL(rb_dl_callback_ptr_3_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
2320{
2321    VALUE ret, cb, args[3];
2322
2323    args[0] = PTR2NUM(stack0);
2324    args[1] = PTR2NUM(stack1);
2325    args[2] = PTR2NUM(stack2);
2326    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 63);
2327    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
2328    return NUM2PTR(ret);
2329}
2330#endif
2331
2332
2333#ifdef FUNC_STDCALL
2334static void *
2335FUNC_STDCALL(rb_dl_callback_ptr_3_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2)
2336{
2337    VALUE ret, cb, args[3];
2338
2339    args[0] = PTR2NUM(stack0);
2340    args[1] = PTR2NUM(stack1);
2341    args[2] = PTR2NUM(stack2);
2342    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 83);
2343    ret = rb_funcall2(cb, rb_dl_cb_call, 3, args);
2344    return NUM2PTR(ret);
2345}
2346#endif
2347
2348
2349#ifdef FUNC_STDCALL
2350static void *
2351FUNC_STDCALL(rb_dl_callback_ptr_4_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
2352{
2353    VALUE ret, cb, args[4];
2354
2355    args[0] = PTR2NUM(stack0);
2356    args[1] = PTR2NUM(stack1);
2357    args[2] = PTR2NUM(stack2);
2358    args[3] = PTR2NUM(stack3);
2359    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 4);
2360    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
2361    return NUM2PTR(ret);
2362}
2363#endif
2364
2365
2366#ifdef FUNC_STDCALL
2367static void *
2368FUNC_STDCALL(rb_dl_callback_ptr_4_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
2369{
2370    VALUE ret, cb, args[4];
2371
2372    args[0] = PTR2NUM(stack0);
2373    args[1] = PTR2NUM(stack1);
2374    args[2] = PTR2NUM(stack2);
2375    args[3] = PTR2NUM(stack3);
2376    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 24);
2377    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
2378    return NUM2PTR(ret);
2379}
2380#endif
2381
2382
2383#ifdef FUNC_STDCALL
2384static void *
2385FUNC_STDCALL(rb_dl_callback_ptr_4_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
2386{
2387    VALUE ret, cb, args[4];
2388
2389    args[0] = PTR2NUM(stack0);
2390    args[1] = PTR2NUM(stack1);
2391    args[2] = PTR2NUM(stack2);
2392    args[3] = PTR2NUM(stack3);
2393    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 44);
2394    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
2395    return NUM2PTR(ret);
2396}
2397#endif
2398
2399
2400#ifdef FUNC_STDCALL
2401static void *
2402FUNC_STDCALL(rb_dl_callback_ptr_4_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
2403{
2404    VALUE ret, cb, args[4];
2405
2406    args[0] = PTR2NUM(stack0);
2407    args[1] = PTR2NUM(stack1);
2408    args[2] = PTR2NUM(stack2);
2409    args[3] = PTR2NUM(stack3);
2410    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 64);
2411    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
2412    return NUM2PTR(ret);
2413}
2414#endif
2415
2416
2417#ifdef FUNC_STDCALL
2418static void *
2419FUNC_STDCALL(rb_dl_callback_ptr_4_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3)
2420{
2421    VALUE ret, cb, args[4];
2422
2423    args[0] = PTR2NUM(stack0);
2424    args[1] = PTR2NUM(stack1);
2425    args[2] = PTR2NUM(stack2);
2426    args[3] = PTR2NUM(stack3);
2427    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 84);
2428    ret = rb_funcall2(cb, rb_dl_cb_call, 4, args);
2429    return NUM2PTR(ret);
2430}
2431#endif
2432
2433
2434#ifdef FUNC_STDCALL
2435static void *
2436FUNC_STDCALL(rb_dl_callback_ptr_5_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
2437{
2438    VALUE ret, cb, args[5];
2439
2440    args[0] = PTR2NUM(stack0);
2441    args[1] = PTR2NUM(stack1);
2442    args[2] = PTR2NUM(stack2);
2443    args[3] = PTR2NUM(stack3);
2444    args[4] = PTR2NUM(stack4);
2445    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 5);
2446    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
2447    return NUM2PTR(ret);
2448}
2449#endif
2450
2451
2452#ifdef FUNC_STDCALL
2453static void *
2454FUNC_STDCALL(rb_dl_callback_ptr_5_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
2455{
2456    VALUE ret, cb, args[5];
2457
2458    args[0] = PTR2NUM(stack0);
2459    args[1] = PTR2NUM(stack1);
2460    args[2] = PTR2NUM(stack2);
2461    args[3] = PTR2NUM(stack3);
2462    args[4] = PTR2NUM(stack4);
2463    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 25);
2464    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
2465    return NUM2PTR(ret);
2466}
2467#endif
2468
2469
2470#ifdef FUNC_STDCALL
2471static void *
2472FUNC_STDCALL(rb_dl_callback_ptr_5_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
2473{
2474    VALUE ret, cb, args[5];
2475
2476    args[0] = PTR2NUM(stack0);
2477    args[1] = PTR2NUM(stack1);
2478    args[2] = PTR2NUM(stack2);
2479    args[3] = PTR2NUM(stack3);
2480    args[4] = PTR2NUM(stack4);
2481    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 45);
2482    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
2483    return NUM2PTR(ret);
2484}
2485#endif
2486
2487
2488#ifdef FUNC_STDCALL
2489static void *
2490FUNC_STDCALL(rb_dl_callback_ptr_5_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
2491{
2492    VALUE ret, cb, args[5];
2493
2494    args[0] = PTR2NUM(stack0);
2495    args[1] = PTR2NUM(stack1);
2496    args[2] = PTR2NUM(stack2);
2497    args[3] = PTR2NUM(stack3);
2498    args[4] = PTR2NUM(stack4);
2499    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 65);
2500    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
2501    return NUM2PTR(ret);
2502}
2503#endif
2504
2505
2506#ifdef FUNC_STDCALL
2507static void *
2508FUNC_STDCALL(rb_dl_callback_ptr_5_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4)
2509{
2510    VALUE ret, cb, args[5];
2511
2512    args[0] = PTR2NUM(stack0);
2513    args[1] = PTR2NUM(stack1);
2514    args[2] = PTR2NUM(stack2);
2515    args[3] = PTR2NUM(stack3);
2516    args[4] = PTR2NUM(stack4);
2517    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 85);
2518    ret = rb_funcall2(cb, rb_dl_cb_call, 5, args);
2519    return NUM2PTR(ret);
2520}
2521#endif
2522
2523
2524#ifdef FUNC_STDCALL
2525static void *
2526FUNC_STDCALL(rb_dl_callback_ptr_6_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
2527{
2528    VALUE ret, cb, args[6];
2529
2530    args[0] = PTR2NUM(stack0);
2531    args[1] = PTR2NUM(stack1);
2532    args[2] = PTR2NUM(stack2);
2533    args[3] = PTR2NUM(stack3);
2534    args[4] = PTR2NUM(stack4);
2535    args[5] = PTR2NUM(stack5);
2536    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 6);
2537    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
2538    return NUM2PTR(ret);
2539}
2540#endif
2541
2542
2543#ifdef FUNC_STDCALL
2544static void *
2545FUNC_STDCALL(rb_dl_callback_ptr_6_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
2546{
2547    VALUE ret, cb, args[6];
2548
2549    args[0] = PTR2NUM(stack0);
2550    args[1] = PTR2NUM(stack1);
2551    args[2] = PTR2NUM(stack2);
2552    args[3] = PTR2NUM(stack3);
2553    args[4] = PTR2NUM(stack4);
2554    args[5] = PTR2NUM(stack5);
2555    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 26);
2556    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
2557    return NUM2PTR(ret);
2558}
2559#endif
2560
2561
2562#ifdef FUNC_STDCALL
2563static void *
2564FUNC_STDCALL(rb_dl_callback_ptr_6_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
2565{
2566    VALUE ret, cb, args[6];
2567
2568    args[0] = PTR2NUM(stack0);
2569    args[1] = PTR2NUM(stack1);
2570    args[2] = PTR2NUM(stack2);
2571    args[3] = PTR2NUM(stack3);
2572    args[4] = PTR2NUM(stack4);
2573    args[5] = PTR2NUM(stack5);
2574    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 46);
2575    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
2576    return NUM2PTR(ret);
2577}
2578#endif
2579
2580
2581#ifdef FUNC_STDCALL
2582static void *
2583FUNC_STDCALL(rb_dl_callback_ptr_6_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
2584{
2585    VALUE ret, cb, args[6];
2586
2587    args[0] = PTR2NUM(stack0);
2588    args[1] = PTR2NUM(stack1);
2589    args[2] = PTR2NUM(stack2);
2590    args[3] = PTR2NUM(stack3);
2591    args[4] = PTR2NUM(stack4);
2592    args[5] = PTR2NUM(stack5);
2593    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 66);
2594    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
2595    return NUM2PTR(ret);
2596}
2597#endif
2598
2599
2600#ifdef FUNC_STDCALL
2601static void *
2602FUNC_STDCALL(rb_dl_callback_ptr_6_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5)
2603{
2604    VALUE ret, cb, args[6];
2605
2606    args[0] = PTR2NUM(stack0);
2607    args[1] = PTR2NUM(stack1);
2608    args[2] = PTR2NUM(stack2);
2609    args[3] = PTR2NUM(stack3);
2610    args[4] = PTR2NUM(stack4);
2611    args[5] = PTR2NUM(stack5);
2612    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 86);
2613    ret = rb_funcall2(cb, rb_dl_cb_call, 6, args);
2614    return NUM2PTR(ret);
2615}
2616#endif
2617
2618
2619#ifdef FUNC_STDCALL
2620static void *
2621FUNC_STDCALL(rb_dl_callback_ptr_7_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
2622{
2623    VALUE ret, cb, args[7];
2624
2625    args[0] = PTR2NUM(stack0);
2626    args[1] = PTR2NUM(stack1);
2627    args[2] = PTR2NUM(stack2);
2628    args[3] = PTR2NUM(stack3);
2629    args[4] = PTR2NUM(stack4);
2630    args[5] = PTR2NUM(stack5);
2631    args[6] = PTR2NUM(stack6);
2632    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 7);
2633    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
2634    return NUM2PTR(ret);
2635}
2636#endif
2637
2638
2639#ifdef FUNC_STDCALL
2640static void *
2641FUNC_STDCALL(rb_dl_callback_ptr_7_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
2642{
2643    VALUE ret, cb, args[7];
2644
2645    args[0] = PTR2NUM(stack0);
2646    args[1] = PTR2NUM(stack1);
2647    args[2] = PTR2NUM(stack2);
2648    args[3] = PTR2NUM(stack3);
2649    args[4] = PTR2NUM(stack4);
2650    args[5] = PTR2NUM(stack5);
2651    args[6] = PTR2NUM(stack6);
2652    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 27);
2653    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
2654    return NUM2PTR(ret);
2655}
2656#endif
2657
2658
2659#ifdef FUNC_STDCALL
2660static void *
2661FUNC_STDCALL(rb_dl_callback_ptr_7_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
2662{
2663    VALUE ret, cb, args[7];
2664
2665    args[0] = PTR2NUM(stack0);
2666    args[1] = PTR2NUM(stack1);
2667    args[2] = PTR2NUM(stack2);
2668    args[3] = PTR2NUM(stack3);
2669    args[4] = PTR2NUM(stack4);
2670    args[5] = PTR2NUM(stack5);
2671    args[6] = PTR2NUM(stack6);
2672    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 47);
2673    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
2674    return NUM2PTR(ret);
2675}
2676#endif
2677
2678
2679#ifdef FUNC_STDCALL
2680static void *
2681FUNC_STDCALL(rb_dl_callback_ptr_7_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
2682{
2683    VALUE ret, cb, args[7];
2684
2685    args[0] = PTR2NUM(stack0);
2686    args[1] = PTR2NUM(stack1);
2687    args[2] = PTR2NUM(stack2);
2688    args[3] = PTR2NUM(stack3);
2689    args[4] = PTR2NUM(stack4);
2690    args[5] = PTR2NUM(stack5);
2691    args[6] = PTR2NUM(stack6);
2692    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 67);
2693    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
2694    return NUM2PTR(ret);
2695}
2696#endif
2697
2698
2699#ifdef FUNC_STDCALL
2700static void *
2701FUNC_STDCALL(rb_dl_callback_ptr_7_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6)
2702{
2703    VALUE ret, cb, args[7];
2704
2705    args[0] = PTR2NUM(stack0);
2706    args[1] = PTR2NUM(stack1);
2707    args[2] = PTR2NUM(stack2);
2708    args[3] = PTR2NUM(stack3);
2709    args[4] = PTR2NUM(stack4);
2710    args[5] = PTR2NUM(stack5);
2711    args[6] = PTR2NUM(stack6);
2712    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 87);
2713    ret = rb_funcall2(cb, rb_dl_cb_call, 7, args);
2714    return NUM2PTR(ret);
2715}
2716#endif
2717
2718
2719#ifdef FUNC_STDCALL
2720static void *
2721FUNC_STDCALL(rb_dl_callback_ptr_8_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
2722{
2723    VALUE ret, cb, args[8];
2724
2725    args[0] = PTR2NUM(stack0);
2726    args[1] = PTR2NUM(stack1);
2727    args[2] = PTR2NUM(stack2);
2728    args[3] = PTR2NUM(stack3);
2729    args[4] = PTR2NUM(stack4);
2730    args[5] = PTR2NUM(stack5);
2731    args[6] = PTR2NUM(stack6);
2732    args[7] = PTR2NUM(stack7);
2733    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 8);
2734    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
2735    return NUM2PTR(ret);
2736}
2737#endif
2738
2739
2740#ifdef FUNC_STDCALL
2741static void *
2742FUNC_STDCALL(rb_dl_callback_ptr_8_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
2743{
2744    VALUE ret, cb, args[8];
2745
2746    args[0] = PTR2NUM(stack0);
2747    args[1] = PTR2NUM(stack1);
2748    args[2] = PTR2NUM(stack2);
2749    args[3] = PTR2NUM(stack3);
2750    args[4] = PTR2NUM(stack4);
2751    args[5] = PTR2NUM(stack5);
2752    args[6] = PTR2NUM(stack6);
2753    args[7] = PTR2NUM(stack7);
2754    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 28);
2755    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
2756    return NUM2PTR(ret);
2757}
2758#endif
2759
2760
2761#ifdef FUNC_STDCALL
2762static void *
2763FUNC_STDCALL(rb_dl_callback_ptr_8_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
2764{
2765    VALUE ret, cb, args[8];
2766
2767    args[0] = PTR2NUM(stack0);
2768    args[1] = PTR2NUM(stack1);
2769    args[2] = PTR2NUM(stack2);
2770    args[3] = PTR2NUM(stack3);
2771    args[4] = PTR2NUM(stack4);
2772    args[5] = PTR2NUM(stack5);
2773    args[6] = PTR2NUM(stack6);
2774    args[7] = PTR2NUM(stack7);
2775    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 48);
2776    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
2777    return NUM2PTR(ret);
2778}
2779#endif
2780
2781
2782#ifdef FUNC_STDCALL
2783static void *
2784FUNC_STDCALL(rb_dl_callback_ptr_8_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
2785{
2786    VALUE ret, cb, args[8];
2787
2788    args[0] = PTR2NUM(stack0);
2789    args[1] = PTR2NUM(stack1);
2790    args[2] = PTR2NUM(stack2);
2791    args[3] = PTR2NUM(stack3);
2792    args[4] = PTR2NUM(stack4);
2793    args[5] = PTR2NUM(stack5);
2794    args[6] = PTR2NUM(stack6);
2795    args[7] = PTR2NUM(stack7);
2796    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 68);
2797    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
2798    return NUM2PTR(ret);
2799}
2800#endif
2801
2802
2803#ifdef FUNC_STDCALL
2804static void *
2805FUNC_STDCALL(rb_dl_callback_ptr_8_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7)
2806{
2807    VALUE ret, cb, args[8];
2808
2809    args[0] = PTR2NUM(stack0);
2810    args[1] = PTR2NUM(stack1);
2811    args[2] = PTR2NUM(stack2);
2812    args[3] = PTR2NUM(stack3);
2813    args[4] = PTR2NUM(stack4);
2814    args[5] = PTR2NUM(stack5);
2815    args[6] = PTR2NUM(stack6);
2816    args[7] = PTR2NUM(stack7);
2817    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 88);
2818    ret = rb_funcall2(cb, rb_dl_cb_call, 8, args);
2819    return NUM2PTR(ret);
2820}
2821#endif
2822
2823
2824#ifdef FUNC_STDCALL
2825static void *
2826FUNC_STDCALL(rb_dl_callback_ptr_9_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
2827{
2828    VALUE ret, cb, args[9];
2829
2830    args[0] = PTR2NUM(stack0);
2831    args[1] = PTR2NUM(stack1);
2832    args[2] = PTR2NUM(stack2);
2833    args[3] = PTR2NUM(stack3);
2834    args[4] = PTR2NUM(stack4);
2835    args[5] = PTR2NUM(stack5);
2836    args[6] = PTR2NUM(stack6);
2837    args[7] = PTR2NUM(stack7);
2838    args[8] = PTR2NUM(stack8);
2839    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 9);
2840    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
2841    return NUM2PTR(ret);
2842}
2843#endif
2844
2845
2846#ifdef FUNC_STDCALL
2847static void *
2848FUNC_STDCALL(rb_dl_callback_ptr_9_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
2849{
2850    VALUE ret, cb, args[9];
2851
2852    args[0] = PTR2NUM(stack0);
2853    args[1] = PTR2NUM(stack1);
2854    args[2] = PTR2NUM(stack2);
2855    args[3] = PTR2NUM(stack3);
2856    args[4] = PTR2NUM(stack4);
2857    args[5] = PTR2NUM(stack5);
2858    args[6] = PTR2NUM(stack6);
2859    args[7] = PTR2NUM(stack7);
2860    args[8] = PTR2NUM(stack8);
2861    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 29);
2862    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
2863    return NUM2PTR(ret);
2864}
2865#endif
2866
2867
2868#ifdef FUNC_STDCALL
2869static void *
2870FUNC_STDCALL(rb_dl_callback_ptr_9_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
2871{
2872    VALUE ret, cb, args[9];
2873
2874    args[0] = PTR2NUM(stack0);
2875    args[1] = PTR2NUM(stack1);
2876    args[2] = PTR2NUM(stack2);
2877    args[3] = PTR2NUM(stack3);
2878    args[4] = PTR2NUM(stack4);
2879    args[5] = PTR2NUM(stack5);
2880    args[6] = PTR2NUM(stack6);
2881    args[7] = PTR2NUM(stack7);
2882    args[8] = PTR2NUM(stack8);
2883    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 49);
2884    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
2885    return NUM2PTR(ret);
2886}
2887#endif
2888
2889
2890#ifdef FUNC_STDCALL
2891static void *
2892FUNC_STDCALL(rb_dl_callback_ptr_9_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
2893{
2894    VALUE ret, cb, args[9];
2895
2896    args[0] = PTR2NUM(stack0);
2897    args[1] = PTR2NUM(stack1);
2898    args[2] = PTR2NUM(stack2);
2899    args[3] = PTR2NUM(stack3);
2900    args[4] = PTR2NUM(stack4);
2901    args[5] = PTR2NUM(stack5);
2902    args[6] = PTR2NUM(stack6);
2903    args[7] = PTR2NUM(stack7);
2904    args[8] = PTR2NUM(stack8);
2905    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 69);
2906    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
2907    return NUM2PTR(ret);
2908}
2909#endif
2910
2911
2912#ifdef FUNC_STDCALL
2913static void *
2914FUNC_STDCALL(rb_dl_callback_ptr_9_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8)
2915{
2916    VALUE ret, cb, args[9];
2917
2918    args[0] = PTR2NUM(stack0);
2919    args[1] = PTR2NUM(stack1);
2920    args[2] = PTR2NUM(stack2);
2921    args[3] = PTR2NUM(stack3);
2922    args[4] = PTR2NUM(stack4);
2923    args[5] = PTR2NUM(stack5);
2924    args[6] = PTR2NUM(stack6);
2925    args[7] = PTR2NUM(stack7);
2926    args[8] = PTR2NUM(stack8);
2927    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 89);
2928    ret = rb_funcall2(cb, rb_dl_cb_call, 9, args);
2929    return NUM2PTR(ret);
2930}
2931#endif
2932
2933
2934#ifdef FUNC_STDCALL
2935static void *
2936FUNC_STDCALL(rb_dl_callback_ptr_10_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
2937{
2938    VALUE ret, cb, args[10];
2939
2940    args[0] = PTR2NUM(stack0);
2941    args[1] = PTR2NUM(stack1);
2942    args[2] = PTR2NUM(stack2);
2943    args[3] = PTR2NUM(stack3);
2944    args[4] = PTR2NUM(stack4);
2945    args[5] = PTR2NUM(stack5);
2946    args[6] = PTR2NUM(stack6);
2947    args[7] = PTR2NUM(stack7);
2948    args[8] = PTR2NUM(stack8);
2949    args[9] = PTR2NUM(stack9);
2950    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 10);
2951    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
2952    return NUM2PTR(ret);
2953}
2954#endif
2955
2956
2957#ifdef FUNC_STDCALL
2958static void *
2959FUNC_STDCALL(rb_dl_callback_ptr_10_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
2960{
2961    VALUE ret, cb, args[10];
2962
2963    args[0] = PTR2NUM(stack0);
2964    args[1] = PTR2NUM(stack1);
2965    args[2] = PTR2NUM(stack2);
2966    args[3] = PTR2NUM(stack3);
2967    args[4] = PTR2NUM(stack4);
2968    args[5] = PTR2NUM(stack5);
2969    args[6] = PTR2NUM(stack6);
2970    args[7] = PTR2NUM(stack7);
2971    args[8] = PTR2NUM(stack8);
2972    args[9] = PTR2NUM(stack9);
2973    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 30);
2974    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
2975    return NUM2PTR(ret);
2976}
2977#endif
2978
2979
2980#ifdef FUNC_STDCALL
2981static void *
2982FUNC_STDCALL(rb_dl_callback_ptr_10_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
2983{
2984    VALUE ret, cb, args[10];
2985
2986    args[0] = PTR2NUM(stack0);
2987    args[1] = PTR2NUM(stack1);
2988    args[2] = PTR2NUM(stack2);
2989    args[3] = PTR2NUM(stack3);
2990    args[4] = PTR2NUM(stack4);
2991    args[5] = PTR2NUM(stack5);
2992    args[6] = PTR2NUM(stack6);
2993    args[7] = PTR2NUM(stack7);
2994    args[8] = PTR2NUM(stack8);
2995    args[9] = PTR2NUM(stack9);
2996    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 50);
2997    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
2998    return NUM2PTR(ret);
2999}
3000#endif
3001
3002
3003#ifdef FUNC_STDCALL
3004static void *
3005FUNC_STDCALL(rb_dl_callback_ptr_10_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
3006{
3007    VALUE ret, cb, args[10];
3008
3009    args[0] = PTR2NUM(stack0);
3010    args[1] = PTR2NUM(stack1);
3011    args[2] = PTR2NUM(stack2);
3012    args[3] = PTR2NUM(stack3);
3013    args[4] = PTR2NUM(stack4);
3014    args[5] = PTR2NUM(stack5);
3015    args[6] = PTR2NUM(stack6);
3016    args[7] = PTR2NUM(stack7);
3017    args[8] = PTR2NUM(stack8);
3018    args[9] = PTR2NUM(stack9);
3019    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 70);
3020    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
3021    return NUM2PTR(ret);
3022}
3023#endif
3024
3025
3026#ifdef FUNC_STDCALL
3027static void *
3028FUNC_STDCALL(rb_dl_callback_ptr_10_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9)
3029{
3030    VALUE ret, cb, args[10];
3031
3032    args[0] = PTR2NUM(stack0);
3033    args[1] = PTR2NUM(stack1);
3034    args[2] = PTR2NUM(stack2);
3035    args[3] = PTR2NUM(stack3);
3036    args[4] = PTR2NUM(stack4);
3037    args[5] = PTR2NUM(stack5);
3038    args[6] = PTR2NUM(stack6);
3039    args[7] = PTR2NUM(stack7);
3040    args[8] = PTR2NUM(stack8);
3041    args[9] = PTR2NUM(stack9);
3042    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 90);
3043    ret = rb_funcall2(cb, rb_dl_cb_call, 10, args);
3044    return NUM2PTR(ret);
3045}
3046#endif
3047
3048
3049#ifdef FUNC_STDCALL
3050static void *
3051FUNC_STDCALL(rb_dl_callback_ptr_11_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
3052{
3053    VALUE ret, cb, args[11];
3054
3055    args[0] = PTR2NUM(stack0);
3056    args[1] = PTR2NUM(stack1);
3057    args[2] = PTR2NUM(stack2);
3058    args[3] = PTR2NUM(stack3);
3059    args[4] = PTR2NUM(stack4);
3060    args[5] = PTR2NUM(stack5);
3061    args[6] = PTR2NUM(stack6);
3062    args[7] = PTR2NUM(stack7);
3063    args[8] = PTR2NUM(stack8);
3064    args[9] = PTR2NUM(stack9);
3065    args[10] = PTR2NUM(stack10);
3066    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 11);
3067    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
3068    return NUM2PTR(ret);
3069}
3070#endif
3071
3072
3073#ifdef FUNC_STDCALL
3074static void *
3075FUNC_STDCALL(rb_dl_callback_ptr_11_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
3076{
3077    VALUE ret, cb, args[11];
3078
3079    args[0] = PTR2NUM(stack0);
3080    args[1] = PTR2NUM(stack1);
3081    args[2] = PTR2NUM(stack2);
3082    args[3] = PTR2NUM(stack3);
3083    args[4] = PTR2NUM(stack4);
3084    args[5] = PTR2NUM(stack5);
3085    args[6] = PTR2NUM(stack6);
3086    args[7] = PTR2NUM(stack7);
3087    args[8] = PTR2NUM(stack8);
3088    args[9] = PTR2NUM(stack9);
3089    args[10] = PTR2NUM(stack10);
3090    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 31);
3091    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
3092    return NUM2PTR(ret);
3093}
3094#endif
3095
3096
3097#ifdef FUNC_STDCALL
3098static void *
3099FUNC_STDCALL(rb_dl_callback_ptr_11_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
3100{
3101    VALUE ret, cb, args[11];
3102
3103    args[0] = PTR2NUM(stack0);
3104    args[1] = PTR2NUM(stack1);
3105    args[2] = PTR2NUM(stack2);
3106    args[3] = PTR2NUM(stack3);
3107    args[4] = PTR2NUM(stack4);
3108    args[5] = PTR2NUM(stack5);
3109    args[6] = PTR2NUM(stack6);
3110    args[7] = PTR2NUM(stack7);
3111    args[8] = PTR2NUM(stack8);
3112    args[9] = PTR2NUM(stack9);
3113    args[10] = PTR2NUM(stack10);
3114    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 51);
3115    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
3116    return NUM2PTR(ret);
3117}
3118#endif
3119
3120
3121#ifdef FUNC_STDCALL
3122static void *
3123FUNC_STDCALL(rb_dl_callback_ptr_11_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
3124{
3125    VALUE ret, cb, args[11];
3126
3127    args[0] = PTR2NUM(stack0);
3128    args[1] = PTR2NUM(stack1);
3129    args[2] = PTR2NUM(stack2);
3130    args[3] = PTR2NUM(stack3);
3131    args[4] = PTR2NUM(stack4);
3132    args[5] = PTR2NUM(stack5);
3133    args[6] = PTR2NUM(stack6);
3134    args[7] = PTR2NUM(stack7);
3135    args[8] = PTR2NUM(stack8);
3136    args[9] = PTR2NUM(stack9);
3137    args[10] = PTR2NUM(stack10);
3138    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 71);
3139    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
3140    return NUM2PTR(ret);
3141}
3142#endif
3143
3144
3145#ifdef FUNC_STDCALL
3146static void *
3147FUNC_STDCALL(rb_dl_callback_ptr_11_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10)
3148{
3149    VALUE ret, cb, args[11];
3150
3151    args[0] = PTR2NUM(stack0);
3152    args[1] = PTR2NUM(stack1);
3153    args[2] = PTR2NUM(stack2);
3154    args[3] = PTR2NUM(stack3);
3155    args[4] = PTR2NUM(stack4);
3156    args[5] = PTR2NUM(stack5);
3157    args[6] = PTR2NUM(stack6);
3158    args[7] = PTR2NUM(stack7);
3159    args[8] = PTR2NUM(stack8);
3160    args[9] = PTR2NUM(stack9);
3161    args[10] = PTR2NUM(stack10);
3162    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 91);
3163    ret = rb_funcall2(cb, rb_dl_cb_call, 11, args);
3164    return NUM2PTR(ret);
3165}
3166#endif
3167
3168
3169#ifdef FUNC_STDCALL
3170static void *
3171FUNC_STDCALL(rb_dl_callback_ptr_12_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
3172{
3173    VALUE ret, cb, args[12];
3174
3175    args[0] = PTR2NUM(stack0);
3176    args[1] = PTR2NUM(stack1);
3177    args[2] = PTR2NUM(stack2);
3178    args[3] = PTR2NUM(stack3);
3179    args[4] = PTR2NUM(stack4);
3180    args[5] = PTR2NUM(stack5);
3181    args[6] = PTR2NUM(stack6);
3182    args[7] = PTR2NUM(stack7);
3183    args[8] = PTR2NUM(stack8);
3184    args[9] = PTR2NUM(stack9);
3185    args[10] = PTR2NUM(stack10);
3186    args[11] = PTR2NUM(stack11);
3187    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 12);
3188    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
3189    return NUM2PTR(ret);
3190}
3191#endif
3192
3193
3194#ifdef FUNC_STDCALL
3195static void *
3196FUNC_STDCALL(rb_dl_callback_ptr_12_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
3197{
3198    VALUE ret, cb, args[12];
3199
3200    args[0] = PTR2NUM(stack0);
3201    args[1] = PTR2NUM(stack1);
3202    args[2] = PTR2NUM(stack2);
3203    args[3] = PTR2NUM(stack3);
3204    args[4] = PTR2NUM(stack4);
3205    args[5] = PTR2NUM(stack5);
3206    args[6] = PTR2NUM(stack6);
3207    args[7] = PTR2NUM(stack7);
3208    args[8] = PTR2NUM(stack8);
3209    args[9] = PTR2NUM(stack9);
3210    args[10] = PTR2NUM(stack10);
3211    args[11] = PTR2NUM(stack11);
3212    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 32);
3213    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
3214    return NUM2PTR(ret);
3215}
3216#endif
3217
3218
3219#ifdef FUNC_STDCALL
3220static void *
3221FUNC_STDCALL(rb_dl_callback_ptr_12_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
3222{
3223    VALUE ret, cb, args[12];
3224
3225    args[0] = PTR2NUM(stack0);
3226    args[1] = PTR2NUM(stack1);
3227    args[2] = PTR2NUM(stack2);
3228    args[3] = PTR2NUM(stack3);
3229    args[4] = PTR2NUM(stack4);
3230    args[5] = PTR2NUM(stack5);
3231    args[6] = PTR2NUM(stack6);
3232    args[7] = PTR2NUM(stack7);
3233    args[8] = PTR2NUM(stack8);
3234    args[9] = PTR2NUM(stack9);
3235    args[10] = PTR2NUM(stack10);
3236    args[11] = PTR2NUM(stack11);
3237    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 52);
3238    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
3239    return NUM2PTR(ret);
3240}
3241#endif
3242
3243
3244#ifdef FUNC_STDCALL
3245static void *
3246FUNC_STDCALL(rb_dl_callback_ptr_12_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
3247{
3248    VALUE ret, cb, args[12];
3249
3250    args[0] = PTR2NUM(stack0);
3251    args[1] = PTR2NUM(stack1);
3252    args[2] = PTR2NUM(stack2);
3253    args[3] = PTR2NUM(stack3);
3254    args[4] = PTR2NUM(stack4);
3255    args[5] = PTR2NUM(stack5);
3256    args[6] = PTR2NUM(stack6);
3257    args[7] = PTR2NUM(stack7);
3258    args[8] = PTR2NUM(stack8);
3259    args[9] = PTR2NUM(stack9);
3260    args[10] = PTR2NUM(stack10);
3261    args[11] = PTR2NUM(stack11);
3262    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 72);
3263    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
3264    return NUM2PTR(ret);
3265}
3266#endif
3267
3268
3269#ifdef FUNC_STDCALL
3270static void *
3271FUNC_STDCALL(rb_dl_callback_ptr_12_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11)
3272{
3273    VALUE ret, cb, args[12];
3274
3275    args[0] = PTR2NUM(stack0);
3276    args[1] = PTR2NUM(stack1);
3277    args[2] = PTR2NUM(stack2);
3278    args[3] = PTR2NUM(stack3);
3279    args[4] = PTR2NUM(stack4);
3280    args[5] = PTR2NUM(stack5);
3281    args[6] = PTR2NUM(stack6);
3282    args[7] = PTR2NUM(stack7);
3283    args[8] = PTR2NUM(stack8);
3284    args[9] = PTR2NUM(stack9);
3285    args[10] = PTR2NUM(stack10);
3286    args[11] = PTR2NUM(stack11);
3287    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 92);
3288    ret = rb_funcall2(cb, rb_dl_cb_call, 12, args);
3289    return NUM2PTR(ret);
3290}
3291#endif
3292
3293
3294#ifdef FUNC_STDCALL
3295static void *
3296FUNC_STDCALL(rb_dl_callback_ptr_13_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
3297{
3298    VALUE ret, cb, args[13];
3299
3300    args[0] = PTR2NUM(stack0);
3301    args[1] = PTR2NUM(stack1);
3302    args[2] = PTR2NUM(stack2);
3303    args[3] = PTR2NUM(stack3);
3304    args[4] = PTR2NUM(stack4);
3305    args[5] = PTR2NUM(stack5);
3306    args[6] = PTR2NUM(stack6);
3307    args[7] = PTR2NUM(stack7);
3308    args[8] = PTR2NUM(stack8);
3309    args[9] = PTR2NUM(stack9);
3310    args[10] = PTR2NUM(stack10);
3311    args[11] = PTR2NUM(stack11);
3312    args[12] = PTR2NUM(stack12);
3313    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 13);
3314    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
3315    return NUM2PTR(ret);
3316}
3317#endif
3318
3319
3320#ifdef FUNC_STDCALL
3321static void *
3322FUNC_STDCALL(rb_dl_callback_ptr_13_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
3323{
3324    VALUE ret, cb, args[13];
3325
3326    args[0] = PTR2NUM(stack0);
3327    args[1] = PTR2NUM(stack1);
3328    args[2] = PTR2NUM(stack2);
3329    args[3] = PTR2NUM(stack3);
3330    args[4] = PTR2NUM(stack4);
3331    args[5] = PTR2NUM(stack5);
3332    args[6] = PTR2NUM(stack6);
3333    args[7] = PTR2NUM(stack7);
3334    args[8] = PTR2NUM(stack8);
3335    args[9] = PTR2NUM(stack9);
3336    args[10] = PTR2NUM(stack10);
3337    args[11] = PTR2NUM(stack11);
3338    args[12] = PTR2NUM(stack12);
3339    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 33);
3340    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
3341    return NUM2PTR(ret);
3342}
3343#endif
3344
3345
3346#ifdef FUNC_STDCALL
3347static void *
3348FUNC_STDCALL(rb_dl_callback_ptr_13_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
3349{
3350    VALUE ret, cb, args[13];
3351
3352    args[0] = PTR2NUM(stack0);
3353    args[1] = PTR2NUM(stack1);
3354    args[2] = PTR2NUM(stack2);
3355    args[3] = PTR2NUM(stack3);
3356    args[4] = PTR2NUM(stack4);
3357    args[5] = PTR2NUM(stack5);
3358    args[6] = PTR2NUM(stack6);
3359    args[7] = PTR2NUM(stack7);
3360    args[8] = PTR2NUM(stack8);
3361    args[9] = PTR2NUM(stack9);
3362    args[10] = PTR2NUM(stack10);
3363    args[11] = PTR2NUM(stack11);
3364    args[12] = PTR2NUM(stack12);
3365    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 53);
3366    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
3367    return NUM2PTR(ret);
3368}
3369#endif
3370
3371
3372#ifdef FUNC_STDCALL
3373static void *
3374FUNC_STDCALL(rb_dl_callback_ptr_13_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
3375{
3376    VALUE ret, cb, args[13];
3377
3378    args[0] = PTR2NUM(stack0);
3379    args[1] = PTR2NUM(stack1);
3380    args[2] = PTR2NUM(stack2);
3381    args[3] = PTR2NUM(stack3);
3382    args[4] = PTR2NUM(stack4);
3383    args[5] = PTR2NUM(stack5);
3384    args[6] = PTR2NUM(stack6);
3385    args[7] = PTR2NUM(stack7);
3386    args[8] = PTR2NUM(stack8);
3387    args[9] = PTR2NUM(stack9);
3388    args[10] = PTR2NUM(stack10);
3389    args[11] = PTR2NUM(stack11);
3390    args[12] = PTR2NUM(stack12);
3391    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 73);
3392    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
3393    return NUM2PTR(ret);
3394}
3395#endif
3396
3397
3398#ifdef FUNC_STDCALL
3399static void *
3400FUNC_STDCALL(rb_dl_callback_ptr_13_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12)
3401{
3402    VALUE ret, cb, args[13];
3403
3404    args[0] = PTR2NUM(stack0);
3405    args[1] = PTR2NUM(stack1);
3406    args[2] = PTR2NUM(stack2);
3407    args[3] = PTR2NUM(stack3);
3408    args[4] = PTR2NUM(stack4);
3409    args[5] = PTR2NUM(stack5);
3410    args[6] = PTR2NUM(stack6);
3411    args[7] = PTR2NUM(stack7);
3412    args[8] = PTR2NUM(stack8);
3413    args[9] = PTR2NUM(stack9);
3414    args[10] = PTR2NUM(stack10);
3415    args[11] = PTR2NUM(stack11);
3416    args[12] = PTR2NUM(stack12);
3417    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 93);
3418    ret = rb_funcall2(cb, rb_dl_cb_call, 13, args);
3419    return NUM2PTR(ret);
3420}
3421#endif
3422
3423
3424#ifdef FUNC_STDCALL
3425static void *
3426FUNC_STDCALL(rb_dl_callback_ptr_14_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
3427{
3428    VALUE ret, cb, args[14];
3429
3430    args[0] = PTR2NUM(stack0);
3431    args[1] = PTR2NUM(stack1);
3432    args[2] = PTR2NUM(stack2);
3433    args[3] = PTR2NUM(stack3);
3434    args[4] = PTR2NUM(stack4);
3435    args[5] = PTR2NUM(stack5);
3436    args[6] = PTR2NUM(stack6);
3437    args[7] = PTR2NUM(stack7);
3438    args[8] = PTR2NUM(stack8);
3439    args[9] = PTR2NUM(stack9);
3440    args[10] = PTR2NUM(stack10);
3441    args[11] = PTR2NUM(stack11);
3442    args[12] = PTR2NUM(stack12);
3443    args[13] = PTR2NUM(stack13);
3444    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 14);
3445    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
3446    return NUM2PTR(ret);
3447}
3448#endif
3449
3450
3451#ifdef FUNC_STDCALL
3452static void *
3453FUNC_STDCALL(rb_dl_callback_ptr_14_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
3454{
3455    VALUE ret, cb, args[14];
3456
3457    args[0] = PTR2NUM(stack0);
3458    args[1] = PTR2NUM(stack1);
3459    args[2] = PTR2NUM(stack2);
3460    args[3] = PTR2NUM(stack3);
3461    args[4] = PTR2NUM(stack4);
3462    args[5] = PTR2NUM(stack5);
3463    args[6] = PTR2NUM(stack6);
3464    args[7] = PTR2NUM(stack7);
3465    args[8] = PTR2NUM(stack8);
3466    args[9] = PTR2NUM(stack9);
3467    args[10] = PTR2NUM(stack10);
3468    args[11] = PTR2NUM(stack11);
3469    args[12] = PTR2NUM(stack12);
3470    args[13] = PTR2NUM(stack13);
3471    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 34);
3472    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
3473    return NUM2PTR(ret);
3474}
3475#endif
3476
3477
3478#ifdef FUNC_STDCALL
3479static void *
3480FUNC_STDCALL(rb_dl_callback_ptr_14_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
3481{
3482    VALUE ret, cb, args[14];
3483
3484    args[0] = PTR2NUM(stack0);
3485    args[1] = PTR2NUM(stack1);
3486    args[2] = PTR2NUM(stack2);
3487    args[3] = PTR2NUM(stack3);
3488    args[4] = PTR2NUM(stack4);
3489    args[5] = PTR2NUM(stack5);
3490    args[6] = PTR2NUM(stack6);
3491    args[7] = PTR2NUM(stack7);
3492    args[8] = PTR2NUM(stack8);
3493    args[9] = PTR2NUM(stack9);
3494    args[10] = PTR2NUM(stack10);
3495    args[11] = PTR2NUM(stack11);
3496    args[12] = PTR2NUM(stack12);
3497    args[13] = PTR2NUM(stack13);
3498    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 54);
3499    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
3500    return NUM2PTR(ret);
3501}
3502#endif
3503
3504
3505#ifdef FUNC_STDCALL
3506static void *
3507FUNC_STDCALL(rb_dl_callback_ptr_14_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
3508{
3509    VALUE ret, cb, args[14];
3510
3511    args[0] = PTR2NUM(stack0);
3512    args[1] = PTR2NUM(stack1);
3513    args[2] = PTR2NUM(stack2);
3514    args[3] = PTR2NUM(stack3);
3515    args[4] = PTR2NUM(stack4);
3516    args[5] = PTR2NUM(stack5);
3517    args[6] = PTR2NUM(stack6);
3518    args[7] = PTR2NUM(stack7);
3519    args[8] = PTR2NUM(stack8);
3520    args[9] = PTR2NUM(stack9);
3521    args[10] = PTR2NUM(stack10);
3522    args[11] = PTR2NUM(stack11);
3523    args[12] = PTR2NUM(stack12);
3524    args[13] = PTR2NUM(stack13);
3525    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 74);
3526    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
3527    return NUM2PTR(ret);
3528}
3529#endif
3530
3531
3532#ifdef FUNC_STDCALL
3533static void *
3534FUNC_STDCALL(rb_dl_callback_ptr_14_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13)
3535{
3536    VALUE ret, cb, args[14];
3537
3538    args[0] = PTR2NUM(stack0);
3539    args[1] = PTR2NUM(stack1);
3540    args[2] = PTR2NUM(stack2);
3541    args[3] = PTR2NUM(stack3);
3542    args[4] = PTR2NUM(stack4);
3543    args[5] = PTR2NUM(stack5);
3544    args[6] = PTR2NUM(stack6);
3545    args[7] = PTR2NUM(stack7);
3546    args[8] = PTR2NUM(stack8);
3547    args[9] = PTR2NUM(stack9);
3548    args[10] = PTR2NUM(stack10);
3549    args[11] = PTR2NUM(stack11);
3550    args[12] = PTR2NUM(stack12);
3551    args[13] = PTR2NUM(stack13);
3552    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 94);
3553    ret = rb_funcall2(cb, rb_dl_cb_call, 14, args);
3554    return NUM2PTR(ret);
3555}
3556#endif
3557
3558
3559#ifdef FUNC_STDCALL
3560static void *
3561FUNC_STDCALL(rb_dl_callback_ptr_15_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
3562{
3563    VALUE ret, cb, args[15];
3564
3565    args[0] = PTR2NUM(stack0);
3566    args[1] = PTR2NUM(stack1);
3567    args[2] = PTR2NUM(stack2);
3568    args[3] = PTR2NUM(stack3);
3569    args[4] = PTR2NUM(stack4);
3570    args[5] = PTR2NUM(stack5);
3571    args[6] = PTR2NUM(stack6);
3572    args[7] = PTR2NUM(stack7);
3573    args[8] = PTR2NUM(stack8);
3574    args[9] = PTR2NUM(stack9);
3575    args[10] = PTR2NUM(stack10);
3576    args[11] = PTR2NUM(stack11);
3577    args[12] = PTR2NUM(stack12);
3578    args[13] = PTR2NUM(stack13);
3579    args[14] = PTR2NUM(stack14);
3580    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 15);
3581    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
3582    return NUM2PTR(ret);
3583}
3584#endif
3585
3586
3587#ifdef FUNC_STDCALL
3588static void *
3589FUNC_STDCALL(rb_dl_callback_ptr_15_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
3590{
3591    VALUE ret, cb, args[15];
3592
3593    args[0] = PTR2NUM(stack0);
3594    args[1] = PTR2NUM(stack1);
3595    args[2] = PTR2NUM(stack2);
3596    args[3] = PTR2NUM(stack3);
3597    args[4] = PTR2NUM(stack4);
3598    args[5] = PTR2NUM(stack5);
3599    args[6] = PTR2NUM(stack6);
3600    args[7] = PTR2NUM(stack7);
3601    args[8] = PTR2NUM(stack8);
3602    args[9] = PTR2NUM(stack9);
3603    args[10] = PTR2NUM(stack10);
3604    args[11] = PTR2NUM(stack11);
3605    args[12] = PTR2NUM(stack12);
3606    args[13] = PTR2NUM(stack13);
3607    args[14] = PTR2NUM(stack14);
3608    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 35);
3609    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
3610    return NUM2PTR(ret);
3611}
3612#endif
3613
3614
3615#ifdef FUNC_STDCALL
3616static void *
3617FUNC_STDCALL(rb_dl_callback_ptr_15_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
3618{
3619    VALUE ret, cb, args[15];
3620
3621    args[0] = PTR2NUM(stack0);
3622    args[1] = PTR2NUM(stack1);
3623    args[2] = PTR2NUM(stack2);
3624    args[3] = PTR2NUM(stack3);
3625    args[4] = PTR2NUM(stack4);
3626    args[5] = PTR2NUM(stack5);
3627    args[6] = PTR2NUM(stack6);
3628    args[7] = PTR2NUM(stack7);
3629    args[8] = PTR2NUM(stack8);
3630    args[9] = PTR2NUM(stack9);
3631    args[10] = PTR2NUM(stack10);
3632    args[11] = PTR2NUM(stack11);
3633    args[12] = PTR2NUM(stack12);
3634    args[13] = PTR2NUM(stack13);
3635    args[14] = PTR2NUM(stack14);
3636    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 55);
3637    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
3638    return NUM2PTR(ret);
3639}
3640#endif
3641
3642
3643#ifdef FUNC_STDCALL
3644static void *
3645FUNC_STDCALL(rb_dl_callback_ptr_15_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
3646{
3647    VALUE ret, cb, args[15];
3648
3649    args[0] = PTR2NUM(stack0);
3650    args[1] = PTR2NUM(stack1);
3651    args[2] = PTR2NUM(stack2);
3652    args[3] = PTR2NUM(stack3);
3653    args[4] = PTR2NUM(stack4);
3654    args[5] = PTR2NUM(stack5);
3655    args[6] = PTR2NUM(stack6);
3656    args[7] = PTR2NUM(stack7);
3657    args[8] = PTR2NUM(stack8);
3658    args[9] = PTR2NUM(stack9);
3659    args[10] = PTR2NUM(stack10);
3660    args[11] = PTR2NUM(stack11);
3661    args[12] = PTR2NUM(stack12);
3662    args[13] = PTR2NUM(stack13);
3663    args[14] = PTR2NUM(stack14);
3664    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 75);
3665    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
3666    return NUM2PTR(ret);
3667}
3668#endif
3669
3670
3671#ifdef FUNC_STDCALL
3672static void *
3673FUNC_STDCALL(rb_dl_callback_ptr_15_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14)
3674{
3675    VALUE ret, cb, args[15];
3676
3677    args[0] = PTR2NUM(stack0);
3678    args[1] = PTR2NUM(stack1);
3679    args[2] = PTR2NUM(stack2);
3680    args[3] = PTR2NUM(stack3);
3681    args[4] = PTR2NUM(stack4);
3682    args[5] = PTR2NUM(stack5);
3683    args[6] = PTR2NUM(stack6);
3684    args[7] = PTR2NUM(stack7);
3685    args[8] = PTR2NUM(stack8);
3686    args[9] = PTR2NUM(stack9);
3687    args[10] = PTR2NUM(stack10);
3688    args[11] = PTR2NUM(stack11);
3689    args[12] = PTR2NUM(stack12);
3690    args[13] = PTR2NUM(stack13);
3691    args[14] = PTR2NUM(stack14);
3692    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 95);
3693    ret = rb_funcall2(cb, rb_dl_cb_call, 15, args);
3694    return NUM2PTR(ret);
3695}
3696#endif
3697
3698
3699#ifdef FUNC_STDCALL
3700static void *
3701FUNC_STDCALL(rb_dl_callback_ptr_16_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
3702{
3703    VALUE ret, cb, args[16];
3704
3705    args[0] = PTR2NUM(stack0);
3706    args[1] = PTR2NUM(stack1);
3707    args[2] = PTR2NUM(stack2);
3708    args[3] = PTR2NUM(stack3);
3709    args[4] = PTR2NUM(stack4);
3710    args[5] = PTR2NUM(stack5);
3711    args[6] = PTR2NUM(stack6);
3712    args[7] = PTR2NUM(stack7);
3713    args[8] = PTR2NUM(stack8);
3714    args[9] = PTR2NUM(stack9);
3715    args[10] = PTR2NUM(stack10);
3716    args[11] = PTR2NUM(stack11);
3717    args[12] = PTR2NUM(stack12);
3718    args[13] = PTR2NUM(stack13);
3719    args[14] = PTR2NUM(stack14);
3720    args[15] = PTR2NUM(stack15);
3721    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 16);
3722    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
3723    return NUM2PTR(ret);
3724}
3725#endif
3726
3727
3728#ifdef FUNC_STDCALL
3729static void *
3730FUNC_STDCALL(rb_dl_callback_ptr_16_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
3731{
3732    VALUE ret, cb, args[16];
3733
3734    args[0] = PTR2NUM(stack0);
3735    args[1] = PTR2NUM(stack1);
3736    args[2] = PTR2NUM(stack2);
3737    args[3] = PTR2NUM(stack3);
3738    args[4] = PTR2NUM(stack4);
3739    args[5] = PTR2NUM(stack5);
3740    args[6] = PTR2NUM(stack6);
3741    args[7] = PTR2NUM(stack7);
3742    args[8] = PTR2NUM(stack8);
3743    args[9] = PTR2NUM(stack9);
3744    args[10] = PTR2NUM(stack10);
3745    args[11] = PTR2NUM(stack11);
3746    args[12] = PTR2NUM(stack12);
3747    args[13] = PTR2NUM(stack13);
3748    args[14] = PTR2NUM(stack14);
3749    args[15] = PTR2NUM(stack15);
3750    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 36);
3751    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
3752    return NUM2PTR(ret);
3753}
3754#endif
3755
3756
3757#ifdef FUNC_STDCALL
3758static void *
3759FUNC_STDCALL(rb_dl_callback_ptr_16_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
3760{
3761    VALUE ret, cb, args[16];
3762
3763    args[0] = PTR2NUM(stack0);
3764    args[1] = PTR2NUM(stack1);
3765    args[2] = PTR2NUM(stack2);
3766    args[3] = PTR2NUM(stack3);
3767    args[4] = PTR2NUM(stack4);
3768    args[5] = PTR2NUM(stack5);
3769    args[6] = PTR2NUM(stack6);
3770    args[7] = PTR2NUM(stack7);
3771    args[8] = PTR2NUM(stack8);
3772    args[9] = PTR2NUM(stack9);
3773    args[10] = PTR2NUM(stack10);
3774    args[11] = PTR2NUM(stack11);
3775    args[12] = PTR2NUM(stack12);
3776    args[13] = PTR2NUM(stack13);
3777    args[14] = PTR2NUM(stack14);
3778    args[15] = PTR2NUM(stack15);
3779    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 56);
3780    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
3781    return NUM2PTR(ret);
3782}
3783#endif
3784
3785
3786#ifdef FUNC_STDCALL
3787static void *
3788FUNC_STDCALL(rb_dl_callback_ptr_16_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
3789{
3790    VALUE ret, cb, args[16];
3791
3792    args[0] = PTR2NUM(stack0);
3793    args[1] = PTR2NUM(stack1);
3794    args[2] = PTR2NUM(stack2);
3795    args[3] = PTR2NUM(stack3);
3796    args[4] = PTR2NUM(stack4);
3797    args[5] = PTR2NUM(stack5);
3798    args[6] = PTR2NUM(stack6);
3799    args[7] = PTR2NUM(stack7);
3800    args[8] = PTR2NUM(stack8);
3801    args[9] = PTR2NUM(stack9);
3802    args[10] = PTR2NUM(stack10);
3803    args[11] = PTR2NUM(stack11);
3804    args[12] = PTR2NUM(stack12);
3805    args[13] = PTR2NUM(stack13);
3806    args[14] = PTR2NUM(stack14);
3807    args[15] = PTR2NUM(stack15);
3808    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 76);
3809    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
3810    return NUM2PTR(ret);
3811}
3812#endif
3813
3814
3815#ifdef FUNC_STDCALL
3816static void *
3817FUNC_STDCALL(rb_dl_callback_ptr_16_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15)
3818{
3819    VALUE ret, cb, args[16];
3820
3821    args[0] = PTR2NUM(stack0);
3822    args[1] = PTR2NUM(stack1);
3823    args[2] = PTR2NUM(stack2);
3824    args[3] = PTR2NUM(stack3);
3825    args[4] = PTR2NUM(stack4);
3826    args[5] = PTR2NUM(stack5);
3827    args[6] = PTR2NUM(stack6);
3828    args[7] = PTR2NUM(stack7);
3829    args[8] = PTR2NUM(stack8);
3830    args[9] = PTR2NUM(stack9);
3831    args[10] = PTR2NUM(stack10);
3832    args[11] = PTR2NUM(stack11);
3833    args[12] = PTR2NUM(stack12);
3834    args[13] = PTR2NUM(stack13);
3835    args[14] = PTR2NUM(stack14);
3836    args[15] = PTR2NUM(stack15);
3837    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 96);
3838    ret = rb_funcall2(cb, rb_dl_cb_call, 16, args);
3839    return NUM2PTR(ret);
3840}
3841#endif
3842
3843
3844#ifdef FUNC_STDCALL
3845static void *
3846FUNC_STDCALL(rb_dl_callback_ptr_17_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
3847{
3848    VALUE ret, cb, args[17];
3849
3850    args[0] = PTR2NUM(stack0);
3851    args[1] = PTR2NUM(stack1);
3852    args[2] = PTR2NUM(stack2);
3853    args[3] = PTR2NUM(stack3);
3854    args[4] = PTR2NUM(stack4);
3855    args[5] = PTR2NUM(stack5);
3856    args[6] = PTR2NUM(stack6);
3857    args[7] = PTR2NUM(stack7);
3858    args[8] = PTR2NUM(stack8);
3859    args[9] = PTR2NUM(stack9);
3860    args[10] = PTR2NUM(stack10);
3861    args[11] = PTR2NUM(stack11);
3862    args[12] = PTR2NUM(stack12);
3863    args[13] = PTR2NUM(stack13);
3864    args[14] = PTR2NUM(stack14);
3865    args[15] = PTR2NUM(stack15);
3866    args[16] = PTR2NUM(stack16);
3867    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 17);
3868    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
3869    return NUM2PTR(ret);
3870}
3871#endif
3872
3873
3874#ifdef FUNC_STDCALL
3875static void *
3876FUNC_STDCALL(rb_dl_callback_ptr_17_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
3877{
3878    VALUE ret, cb, args[17];
3879
3880    args[0] = PTR2NUM(stack0);
3881    args[1] = PTR2NUM(stack1);
3882    args[2] = PTR2NUM(stack2);
3883    args[3] = PTR2NUM(stack3);
3884    args[4] = PTR2NUM(stack4);
3885    args[5] = PTR2NUM(stack5);
3886    args[6] = PTR2NUM(stack6);
3887    args[7] = PTR2NUM(stack7);
3888    args[8] = PTR2NUM(stack8);
3889    args[9] = PTR2NUM(stack9);
3890    args[10] = PTR2NUM(stack10);
3891    args[11] = PTR2NUM(stack11);
3892    args[12] = PTR2NUM(stack12);
3893    args[13] = PTR2NUM(stack13);
3894    args[14] = PTR2NUM(stack14);
3895    args[15] = PTR2NUM(stack15);
3896    args[16] = PTR2NUM(stack16);
3897    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 37);
3898    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
3899    return NUM2PTR(ret);
3900}
3901#endif
3902
3903
3904#ifdef FUNC_STDCALL
3905static void *
3906FUNC_STDCALL(rb_dl_callback_ptr_17_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
3907{
3908    VALUE ret, cb, args[17];
3909
3910    args[0] = PTR2NUM(stack0);
3911    args[1] = PTR2NUM(stack1);
3912    args[2] = PTR2NUM(stack2);
3913    args[3] = PTR2NUM(stack3);
3914    args[4] = PTR2NUM(stack4);
3915    args[5] = PTR2NUM(stack5);
3916    args[6] = PTR2NUM(stack6);
3917    args[7] = PTR2NUM(stack7);
3918    args[8] = PTR2NUM(stack8);
3919    args[9] = PTR2NUM(stack9);
3920    args[10] = PTR2NUM(stack10);
3921    args[11] = PTR2NUM(stack11);
3922    args[12] = PTR2NUM(stack12);
3923    args[13] = PTR2NUM(stack13);
3924    args[14] = PTR2NUM(stack14);
3925    args[15] = PTR2NUM(stack15);
3926    args[16] = PTR2NUM(stack16);
3927    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 57);
3928    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
3929    return NUM2PTR(ret);
3930}
3931#endif
3932
3933
3934#ifdef FUNC_STDCALL
3935static void *
3936FUNC_STDCALL(rb_dl_callback_ptr_17_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
3937{
3938    VALUE ret, cb, args[17];
3939
3940    args[0] = PTR2NUM(stack0);
3941    args[1] = PTR2NUM(stack1);
3942    args[2] = PTR2NUM(stack2);
3943    args[3] = PTR2NUM(stack3);
3944    args[4] = PTR2NUM(stack4);
3945    args[5] = PTR2NUM(stack5);
3946    args[6] = PTR2NUM(stack6);
3947    args[7] = PTR2NUM(stack7);
3948    args[8] = PTR2NUM(stack8);
3949    args[9] = PTR2NUM(stack9);
3950    args[10] = PTR2NUM(stack10);
3951    args[11] = PTR2NUM(stack11);
3952    args[12] = PTR2NUM(stack12);
3953    args[13] = PTR2NUM(stack13);
3954    args[14] = PTR2NUM(stack14);
3955    args[15] = PTR2NUM(stack15);
3956    args[16] = PTR2NUM(stack16);
3957    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 77);
3958    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
3959    return NUM2PTR(ret);
3960}
3961#endif
3962
3963
3964#ifdef FUNC_STDCALL
3965static void *
3966FUNC_STDCALL(rb_dl_callback_ptr_17_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16)
3967{
3968    VALUE ret, cb, args[17];
3969
3970    args[0] = PTR2NUM(stack0);
3971    args[1] = PTR2NUM(stack1);
3972    args[2] = PTR2NUM(stack2);
3973    args[3] = PTR2NUM(stack3);
3974    args[4] = PTR2NUM(stack4);
3975    args[5] = PTR2NUM(stack5);
3976    args[6] = PTR2NUM(stack6);
3977    args[7] = PTR2NUM(stack7);
3978    args[8] = PTR2NUM(stack8);
3979    args[9] = PTR2NUM(stack9);
3980    args[10] = PTR2NUM(stack10);
3981    args[11] = PTR2NUM(stack11);
3982    args[12] = PTR2NUM(stack12);
3983    args[13] = PTR2NUM(stack13);
3984    args[14] = PTR2NUM(stack14);
3985    args[15] = PTR2NUM(stack15);
3986    args[16] = PTR2NUM(stack16);
3987    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 97);
3988    ret = rb_funcall2(cb, rb_dl_cb_call, 17, args);
3989    return NUM2PTR(ret);
3990}
3991#endif
3992
3993
3994#ifdef FUNC_STDCALL
3995static void *
3996FUNC_STDCALL(rb_dl_callback_ptr_18_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
3997{
3998    VALUE ret, cb, args[18];
3999
4000    args[0] = PTR2NUM(stack0);
4001    args[1] = PTR2NUM(stack1);
4002    args[2] = PTR2NUM(stack2);
4003    args[3] = PTR2NUM(stack3);
4004    args[4] = PTR2NUM(stack4);
4005    args[5] = PTR2NUM(stack5);
4006    args[6] = PTR2NUM(stack6);
4007    args[7] = PTR2NUM(stack7);
4008    args[8] = PTR2NUM(stack8);
4009    args[9] = PTR2NUM(stack9);
4010    args[10] = PTR2NUM(stack10);
4011    args[11] = PTR2NUM(stack11);
4012    args[12] = PTR2NUM(stack12);
4013    args[13] = PTR2NUM(stack13);
4014    args[14] = PTR2NUM(stack14);
4015    args[15] = PTR2NUM(stack15);
4016    args[16] = PTR2NUM(stack16);
4017    args[17] = PTR2NUM(stack17);
4018    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 18);
4019    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
4020    return NUM2PTR(ret);
4021}
4022#endif
4023
4024
4025#ifdef FUNC_STDCALL
4026static void *
4027FUNC_STDCALL(rb_dl_callback_ptr_18_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
4028{
4029    VALUE ret, cb, args[18];
4030
4031    args[0] = PTR2NUM(stack0);
4032    args[1] = PTR2NUM(stack1);
4033    args[2] = PTR2NUM(stack2);
4034    args[3] = PTR2NUM(stack3);
4035    args[4] = PTR2NUM(stack4);
4036    args[5] = PTR2NUM(stack5);
4037    args[6] = PTR2NUM(stack6);
4038    args[7] = PTR2NUM(stack7);
4039    args[8] = PTR2NUM(stack8);
4040    args[9] = PTR2NUM(stack9);
4041    args[10] = PTR2NUM(stack10);
4042    args[11] = PTR2NUM(stack11);
4043    args[12] = PTR2NUM(stack12);
4044    args[13] = PTR2NUM(stack13);
4045    args[14] = PTR2NUM(stack14);
4046    args[15] = PTR2NUM(stack15);
4047    args[16] = PTR2NUM(stack16);
4048    args[17] = PTR2NUM(stack17);
4049    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 38);
4050    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
4051    return NUM2PTR(ret);
4052}
4053#endif
4054
4055
4056#ifdef FUNC_STDCALL
4057static void *
4058FUNC_STDCALL(rb_dl_callback_ptr_18_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
4059{
4060    VALUE ret, cb, args[18];
4061
4062    args[0] = PTR2NUM(stack0);
4063    args[1] = PTR2NUM(stack1);
4064    args[2] = PTR2NUM(stack2);
4065    args[3] = PTR2NUM(stack3);
4066    args[4] = PTR2NUM(stack4);
4067    args[5] = PTR2NUM(stack5);
4068    args[6] = PTR2NUM(stack6);
4069    args[7] = PTR2NUM(stack7);
4070    args[8] = PTR2NUM(stack8);
4071    args[9] = PTR2NUM(stack9);
4072    args[10] = PTR2NUM(stack10);
4073    args[11] = PTR2NUM(stack11);
4074    args[12] = PTR2NUM(stack12);
4075    args[13] = PTR2NUM(stack13);
4076    args[14] = PTR2NUM(stack14);
4077    args[15] = PTR2NUM(stack15);
4078    args[16] = PTR2NUM(stack16);
4079    args[17] = PTR2NUM(stack17);
4080    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 58);
4081    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
4082    return NUM2PTR(ret);
4083}
4084#endif
4085
4086
4087#ifdef FUNC_STDCALL
4088static void *
4089FUNC_STDCALL(rb_dl_callback_ptr_18_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
4090{
4091    VALUE ret, cb, args[18];
4092
4093    args[0] = PTR2NUM(stack0);
4094    args[1] = PTR2NUM(stack1);
4095    args[2] = PTR2NUM(stack2);
4096    args[3] = PTR2NUM(stack3);
4097    args[4] = PTR2NUM(stack4);
4098    args[5] = PTR2NUM(stack5);
4099    args[6] = PTR2NUM(stack6);
4100    args[7] = PTR2NUM(stack7);
4101    args[8] = PTR2NUM(stack8);
4102    args[9] = PTR2NUM(stack9);
4103    args[10] = PTR2NUM(stack10);
4104    args[11] = PTR2NUM(stack11);
4105    args[12] = PTR2NUM(stack12);
4106    args[13] = PTR2NUM(stack13);
4107    args[14] = PTR2NUM(stack14);
4108    args[15] = PTR2NUM(stack15);
4109    args[16] = PTR2NUM(stack16);
4110    args[17] = PTR2NUM(stack17);
4111    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 78);
4112    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
4113    return NUM2PTR(ret);
4114}
4115#endif
4116
4117
4118#ifdef FUNC_STDCALL
4119static void *
4120FUNC_STDCALL(rb_dl_callback_ptr_18_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17)
4121{
4122    VALUE ret, cb, args[18];
4123
4124    args[0] = PTR2NUM(stack0);
4125    args[1] = PTR2NUM(stack1);
4126    args[2] = PTR2NUM(stack2);
4127    args[3] = PTR2NUM(stack3);
4128    args[4] = PTR2NUM(stack4);
4129    args[5] = PTR2NUM(stack5);
4130    args[6] = PTR2NUM(stack6);
4131    args[7] = PTR2NUM(stack7);
4132    args[8] = PTR2NUM(stack8);
4133    args[9] = PTR2NUM(stack9);
4134    args[10] = PTR2NUM(stack10);
4135    args[11] = PTR2NUM(stack11);
4136    args[12] = PTR2NUM(stack12);
4137    args[13] = PTR2NUM(stack13);
4138    args[14] = PTR2NUM(stack14);
4139    args[15] = PTR2NUM(stack15);
4140    args[16] = PTR2NUM(stack16);
4141    args[17] = PTR2NUM(stack17);
4142    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 98);
4143    ret = rb_funcall2(cb, rb_dl_cb_call, 18, args);
4144    return NUM2PTR(ret);
4145}
4146#endif
4147
4148
4149#ifdef FUNC_STDCALL
4150static void *
4151FUNC_STDCALL(rb_dl_callback_ptr_19_0_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
4152{
4153    VALUE ret, cb, args[19];
4154
4155    args[0] = PTR2NUM(stack0);
4156    args[1] = PTR2NUM(stack1);
4157    args[2] = PTR2NUM(stack2);
4158    args[3] = PTR2NUM(stack3);
4159    args[4] = PTR2NUM(stack4);
4160    args[5] = PTR2NUM(stack5);
4161    args[6] = PTR2NUM(stack6);
4162    args[7] = PTR2NUM(stack7);
4163    args[8] = PTR2NUM(stack8);
4164    args[9] = PTR2NUM(stack9);
4165    args[10] = PTR2NUM(stack10);
4166    args[11] = PTR2NUM(stack11);
4167    args[12] = PTR2NUM(stack12);
4168    args[13] = PTR2NUM(stack13);
4169    args[14] = PTR2NUM(stack14);
4170    args[15] = PTR2NUM(stack15);
4171    args[16] = PTR2NUM(stack16);
4172    args[17] = PTR2NUM(stack17);
4173    args[18] = PTR2NUM(stack18);
4174    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 19);
4175    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
4176    return NUM2PTR(ret);
4177}
4178#endif
4179
4180
4181#ifdef FUNC_STDCALL
4182static void *
4183FUNC_STDCALL(rb_dl_callback_ptr_19_1_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
4184{
4185    VALUE ret, cb, args[19];
4186
4187    args[0] = PTR2NUM(stack0);
4188    args[1] = PTR2NUM(stack1);
4189    args[2] = PTR2NUM(stack2);
4190    args[3] = PTR2NUM(stack3);
4191    args[4] = PTR2NUM(stack4);
4192    args[5] = PTR2NUM(stack5);
4193    args[6] = PTR2NUM(stack6);
4194    args[7] = PTR2NUM(stack7);
4195    args[8] = PTR2NUM(stack8);
4196    args[9] = PTR2NUM(stack9);
4197    args[10] = PTR2NUM(stack10);
4198    args[11] = PTR2NUM(stack11);
4199    args[12] = PTR2NUM(stack12);
4200    args[13] = PTR2NUM(stack13);
4201    args[14] = PTR2NUM(stack14);
4202    args[15] = PTR2NUM(stack15);
4203    args[16] = PTR2NUM(stack16);
4204    args[17] = PTR2NUM(stack17);
4205    args[18] = PTR2NUM(stack18);
4206    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 39);
4207    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
4208    return NUM2PTR(ret);
4209}
4210#endif
4211
4212
4213#ifdef FUNC_STDCALL
4214static void *
4215FUNC_STDCALL(rb_dl_callback_ptr_19_2_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
4216{
4217    VALUE ret, cb, args[19];
4218
4219    args[0] = PTR2NUM(stack0);
4220    args[1] = PTR2NUM(stack1);
4221    args[2] = PTR2NUM(stack2);
4222    args[3] = PTR2NUM(stack3);
4223    args[4] = PTR2NUM(stack4);
4224    args[5] = PTR2NUM(stack5);
4225    args[6] = PTR2NUM(stack6);
4226    args[7] = PTR2NUM(stack7);
4227    args[8] = PTR2NUM(stack8);
4228    args[9] = PTR2NUM(stack9);
4229    args[10] = PTR2NUM(stack10);
4230    args[11] = PTR2NUM(stack11);
4231    args[12] = PTR2NUM(stack12);
4232    args[13] = PTR2NUM(stack13);
4233    args[14] = PTR2NUM(stack14);
4234    args[15] = PTR2NUM(stack15);
4235    args[16] = PTR2NUM(stack16);
4236    args[17] = PTR2NUM(stack17);
4237    args[18] = PTR2NUM(stack18);
4238    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 59);
4239    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
4240    return NUM2PTR(ret);
4241}
4242#endif
4243
4244
4245#ifdef FUNC_STDCALL
4246static void *
4247FUNC_STDCALL(rb_dl_callback_ptr_19_3_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
4248{
4249    VALUE ret, cb, args[19];
4250
4251    args[0] = PTR2NUM(stack0);
4252    args[1] = PTR2NUM(stack1);
4253    args[2] = PTR2NUM(stack2);
4254    args[3] = PTR2NUM(stack3);
4255    args[4] = PTR2NUM(stack4);
4256    args[5] = PTR2NUM(stack5);
4257    args[6] = PTR2NUM(stack6);
4258    args[7] = PTR2NUM(stack7);
4259    args[8] = PTR2NUM(stack8);
4260    args[9] = PTR2NUM(stack9);
4261    args[10] = PTR2NUM(stack10);
4262    args[11] = PTR2NUM(stack11);
4263    args[12] = PTR2NUM(stack12);
4264    args[13] = PTR2NUM(stack13);
4265    args[14] = PTR2NUM(stack14);
4266    args[15] = PTR2NUM(stack15);
4267    args[16] = PTR2NUM(stack16);
4268    args[17] = PTR2NUM(stack17);
4269    args[18] = PTR2NUM(stack18);
4270    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 79);
4271    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
4272    return NUM2PTR(ret);
4273}
4274#endif
4275
4276
4277#ifdef FUNC_STDCALL
4278static void *
4279FUNC_STDCALL(rb_dl_callback_ptr_19_4_stdcall)(DLSTACK_TYPE stack0, DLSTACK_TYPE stack1, DLSTACK_TYPE stack2, DLSTACK_TYPE stack3, DLSTACK_TYPE stack4, DLSTACK_TYPE stack5, DLSTACK_TYPE stack6, DLSTACK_TYPE stack7, DLSTACK_TYPE stack8, DLSTACK_TYPE stack9, DLSTACK_TYPE stack10, DLSTACK_TYPE stack11, DLSTACK_TYPE stack12, DLSTACK_TYPE stack13, DLSTACK_TYPE stack14, DLSTACK_TYPE stack15, DLSTACK_TYPE stack16, DLSTACK_TYPE stack17, DLSTACK_TYPE stack18)
4280{
4281    VALUE ret, cb, args[19];
4282
4283    args[0] = PTR2NUM(stack0);
4284    args[1] = PTR2NUM(stack1);
4285    args[2] = PTR2NUM(stack2);
4286    args[3] = PTR2NUM(stack3);
4287    args[4] = PTR2NUM(stack4);
4288    args[5] = PTR2NUM(stack5);
4289    args[6] = PTR2NUM(stack6);
4290    args[7] = PTR2NUM(stack7);
4291    args[8] = PTR2NUM(stack8);
4292    args[9] = PTR2NUM(stack9);
4293    args[10] = PTR2NUM(stack10);
4294    args[11] = PTR2NUM(stack11);
4295    args[12] = PTR2NUM(stack12);
4296    args[13] = PTR2NUM(stack13);
4297    args[14] = PTR2NUM(stack14);
4298    args[15] = PTR2NUM(stack15);
4299    args[16] = PTR2NUM(stack16);
4300    args[17] = PTR2NUM(stack17);
4301    args[18] = PTR2NUM(stack18);
4302    cb = rb_ary_entry(rb_ary_entry(rb_DLStdcallCallbackProcs, 1), 99);
4303    ret = rb_funcall2(cb, rb_dl_cb_call, 19, args);
4304    return NUM2PTR(ret);
4305}
4306#endif
4307
4308void
4309rb_dl_init_callbacks_1()
4310{
4311    rb_ary_push(rb_DLCdeclCallbackProcs, rb_ary_new3(100,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil));
4312    rb_ary_push(rb_DLCdeclCallbackAddrs, rb_ary_new3(100,PTR2NUM(rb_dl_callback_ptr_0_0_cdecl),PTR2NUM(rb_dl_callback_ptr_1_0_cdecl),PTR2NUM(rb_dl_callback_ptr_2_0_cdecl),PTR2NUM(rb_dl_callback_ptr_3_0_cdecl),PTR2NUM(rb_dl_callback_ptr_4_0_cdecl),PTR2NUM(rb_dl_callback_ptr_5_0_cdecl),PTR2NUM(rb_dl_callback_ptr_6_0_cdecl),PTR2NUM(rb_dl_callback_ptr_7_0_cdecl),PTR2NUM(rb_dl_callback_ptr_8_0_cdecl),PTR2NUM(rb_dl_callback_ptr_9_0_cdecl),PTR2NUM(rb_dl_callback_ptr_10_0_cdecl),PTR2NUM(rb_dl_callback_ptr_11_0_cdecl),PTR2NUM(rb_dl_callback_ptr_12_0_cdecl),PTR2NUM(rb_dl_callback_ptr_13_0_cdecl),PTR2NUM(rb_dl_callback_ptr_14_0_cdecl),PTR2NUM(rb_dl_callback_ptr_15_0_cdecl),PTR2NUM(rb_dl_callback_ptr_16_0_cdecl),PTR2NUM(rb_dl_callback_ptr_17_0_cdecl),PTR2NUM(rb_dl_callback_ptr_18_0_cdecl),PTR2NUM(rb_dl_callback_ptr_19_0_cdecl),PTR2NUM(rb_dl_callback_ptr_0_1_cdecl),PTR2NUM(rb_dl_callback_ptr_1_1_cdecl),PTR2NUM(rb_dl_callback_ptr_2_1_cdecl),PTR2NUM(rb_dl_callback_ptr_3_1_cdecl),PTR2NUM(rb_dl_callback_ptr_4_1_cdecl),PTR2NUM(rb_dl_callback_ptr_5_1_cdecl),PTR2NUM(rb_dl_callback_ptr_6_1_cdecl),PTR2NUM(rb_dl_callback_ptr_7_1_cdecl),PTR2NUM(rb_dl_callback_ptr_8_1_cdecl),PTR2NUM(rb_dl_callback_ptr_9_1_cdecl),PTR2NUM(rb_dl_callback_ptr_10_1_cdecl),PTR2NUM(rb_dl_callback_ptr_11_1_cdecl),PTR2NUM(rb_dl_callback_ptr_12_1_cdecl),PTR2NUM(rb_dl_callback_ptr_13_1_cdecl),PTR2NUM(rb_dl_callback_ptr_14_1_cdecl),PTR2NUM(rb_dl_callback_ptr_15_1_cdecl),PTR2NUM(rb_dl_callback_ptr_16_1_cdecl),PTR2NUM(rb_dl_callback_ptr_17_1_cdecl),PTR2NUM(rb_dl_callback_ptr_18_1_cdecl),PTR2NUM(rb_dl_callback_ptr_19_1_cdecl),PTR2NUM(rb_dl_callback_ptr_0_2_cdecl),PTR2NUM(rb_dl_callback_ptr_1_2_cdecl),PTR2NUM(rb_dl_callback_ptr_2_2_cdecl),PTR2NUM(rb_dl_callback_ptr_3_2_cdecl),PTR2NUM(rb_dl_callback_ptr_4_2_cdecl),PTR2NUM(rb_dl_callback_ptr_5_2_cdecl),PTR2NUM(rb_dl_callback_ptr_6_2_cdecl),PTR2NUM(rb_dl_callback_ptr_7_2_cdecl),PTR2NUM(rb_dl_callback_ptr_8_2_cdecl),PTR2NUM(rb_dl_callback_ptr_9_2_cdecl),PTR2NUM(rb_dl_callback_ptr_10_2_cdecl),PTR2NUM(rb_dl_callback_ptr_11_2_cdecl),PTR2NUM(rb_dl_callback_ptr_12_2_cdecl),PTR2NUM(rb_dl_callback_ptr_13_2_cdecl),PTR2NUM(rb_dl_callback_ptr_14_2_cdecl),PTR2NUM(rb_dl_callback_ptr_15_2_cdecl),PTR2NUM(rb_dl_callback_ptr_16_2_cdecl),PTR2NUM(rb_dl_callback_ptr_17_2_cdecl),PTR2NUM(rb_dl_callback_ptr_18_2_cdecl),PTR2NUM(rb_dl_callback_ptr_19_2_cdecl),PTR2NUM(rb_dl_callback_ptr_0_3_cdecl),PTR2NUM(rb_dl_callback_ptr_1_3_cdecl),PTR2NUM(rb_dl_callback_ptr_2_3_cdecl),PTR2NUM(rb_dl_callback_ptr_3_3_cdecl),PTR2NUM(rb_dl_callback_ptr_4_3_cdecl),PTR2NUM(rb_dl_callback_ptr_5_3_cdecl),PTR2NUM(rb_dl_callback_ptr_6_3_cdecl),PTR2NUM(rb_dl_callback_ptr_7_3_cdecl),PTR2NUM(rb_dl_callback_ptr_8_3_cdecl),PTR2NUM(rb_dl_callback_ptr_9_3_cdecl),PTR2NUM(rb_dl_callback_ptr_10_3_cdecl),PTR2NUM(rb_dl_callback_ptr_11_3_cdecl),PTR2NUM(rb_dl_callback_ptr_12_3_cdecl),PTR2NUM(rb_dl_callback_ptr_13_3_cdecl),PTR2NUM(rb_dl_callback_ptr_14_3_cdecl),PTR2NUM(rb_dl_callback_ptr_15_3_cdecl),PTR2NUM(rb_dl_callback_ptr_16_3_cdecl),PTR2NUM(rb_dl_callback_ptr_17_3_cdecl),PTR2NUM(rb_dl_callback_ptr_18_3_cdecl),PTR2NUM(rb_dl_callback_ptr_19_3_cdecl),PTR2NUM(rb_dl_callback_ptr_0_4_cdecl),PTR2NUM(rb_dl_callback_ptr_1_4_cdecl),PTR2NUM(rb_dl_callback_ptr_2_4_cdecl),PTR2NUM(rb_dl_callback_ptr_3_4_cdecl),PTR2NUM(rb_dl_callback_ptr_4_4_cdecl),PTR2NUM(rb_dl_callback_ptr_5_4_cdecl),PTR2NUM(rb_dl_callback_ptr_6_4_cdecl),PTR2NUM(rb_dl_callback_ptr_7_4_cdecl),PTR2NUM(rb_dl_callback_ptr_8_4_cdecl),PTR2NUM(rb_dl_callback_ptr_9_4_cdecl),PTR2NUM(rb_dl_callback_ptr_10_4_cdecl),PTR2NUM(rb_dl_callback_ptr_11_4_cdecl),PTR2NUM(rb_dl_callback_ptr_12_4_cdecl),PTR2NUM(rb_dl_callback_ptr_13_4_cdecl),PTR2NUM(rb_dl_callback_ptr_14_4_cdecl),PTR2NUM(rb_dl_callback_ptr_15_4_cdecl),PTR2NUM(rb_dl_callback_ptr_16_4_cdecl),PTR2NUM(rb_dl_callback_ptr_17_4_cdecl),PTR2NUM(rb_dl_callback_ptr_18_4_cdecl),PTR2NUM(rb_dl_callback_ptr_19_4_cdecl)));
4313#ifdef FUNC_STDCALL
4314    rb_ary_push(rb_DLStdcallCallbackProcs, rb_ary_new3(100,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil,Qnil));
4315    rb_ary_push(rb_DLStdcallCallbackAddrs, rb_ary_new3(100,PTR2NUM(rb_dl_callback_ptr_0_0_stdcall),PTR2NUM(rb_dl_callback_ptr_1_0_stdcall),PTR2NUM(rb_dl_callback_ptr_2_0_stdcall),PTR2NUM(rb_dl_callback_ptr_3_0_stdcall),PTR2NUM(rb_dl_callback_ptr_4_0_stdcall),PTR2NUM(rb_dl_callback_ptr_5_0_stdcall),PTR2NUM(rb_dl_callback_ptr_6_0_stdcall),PTR2NUM(rb_dl_callback_ptr_7_0_stdcall),PTR2NUM(rb_dl_callback_ptr_8_0_stdcall),PTR2NUM(rb_dl_callback_ptr_9_0_stdcall),PTR2NUM(rb_dl_callback_ptr_10_0_stdcall),PTR2NUM(rb_dl_callback_ptr_11_0_stdcall),PTR2NUM(rb_dl_callback_ptr_12_0_stdcall),PTR2NUM(rb_dl_callback_ptr_13_0_stdcall),PTR2NUM(rb_dl_callback_ptr_14_0_stdcall),PTR2NUM(rb_dl_callback_ptr_15_0_stdcall),PTR2NUM(rb_dl_callback_ptr_16_0_stdcall),PTR2NUM(rb_dl_callback_ptr_17_0_stdcall),PTR2NUM(rb_dl_callback_ptr_18_0_stdcall),PTR2NUM(rb_dl_callback_ptr_19_0_stdcall),PTR2NUM(rb_dl_callback_ptr_0_1_stdcall),PTR2NUM(rb_dl_callback_ptr_1_1_stdcall),PTR2NUM(rb_dl_callback_ptr_2_1_stdcall),PTR2NUM(rb_dl_callback_ptr_3_1_stdcall),PTR2NUM(rb_dl_callback_ptr_4_1_stdcall),PTR2NUM(rb_dl_callback_ptr_5_1_stdcall),PTR2NUM(rb_dl_callback_ptr_6_1_stdcall),PTR2NUM(rb_dl_callback_ptr_7_1_stdcall),PTR2NUM(rb_dl_callback_ptr_8_1_stdcall),PTR2NUM(rb_dl_callback_ptr_9_1_stdcall),PTR2NUM(rb_dl_callback_ptr_10_1_stdcall),PTR2NUM(rb_dl_callback_ptr_11_1_stdcall),PTR2NUM(rb_dl_callback_ptr_12_1_stdcall),PTR2NUM(rb_dl_callback_ptr_13_1_stdcall),PTR2NUM(rb_dl_callback_ptr_14_1_stdcall),PTR2NUM(rb_dl_callback_ptr_15_1_stdcall),PTR2NUM(rb_dl_callback_ptr_16_1_stdcall),PTR2NUM(rb_dl_callback_ptr_17_1_stdcall),PTR2NUM(rb_dl_callback_ptr_18_1_stdcall),PTR2NUM(rb_dl_callback_ptr_19_1_stdcall),PTR2NUM(rb_dl_callback_ptr_0_2_stdcall),PTR2NUM(rb_dl_callback_ptr_1_2_stdcall),PTR2NUM(rb_dl_callback_ptr_2_2_stdcall),PTR2NUM(rb_dl_callback_ptr_3_2_stdcall),PTR2NUM(rb_dl_callback_ptr_4_2_stdcall),PTR2NUM(rb_dl_callback_ptr_5_2_stdcall),PTR2NUM(rb_dl_callback_ptr_6_2_stdcall),PTR2NUM(rb_dl_callback_ptr_7_2_stdcall),PTR2NUM(rb_dl_callback_ptr_8_2_stdcall),PTR2NUM(rb_dl_callback_ptr_9_2_stdcall),PTR2NUM(rb_dl_callback_ptr_10_2_stdcall),PTR2NUM(rb_dl_callback_ptr_11_2_stdcall),PTR2NUM(rb_dl_callback_ptr_12_2_stdcall),PTR2NUM(rb_dl_callback_ptr_13_2_stdcall),PTR2NUM(rb_dl_callback_ptr_14_2_stdcall),PTR2NUM(rb_dl_callback_ptr_15_2_stdcall),PTR2NUM(rb_dl_callback_ptr_16_2_stdcall),PTR2NUM(rb_dl_callback_ptr_17_2_stdcall),PTR2NUM(rb_dl_callback_ptr_18_2_stdcall),PTR2NUM(rb_dl_callback_ptr_19_2_stdcall),PTR2NUM(rb_dl_callback_ptr_0_3_stdcall),PTR2NUM(rb_dl_callback_ptr_1_3_stdcall),PTR2NUM(rb_dl_callback_ptr_2_3_stdcall),PTR2NUM(rb_dl_callback_ptr_3_3_stdcall),PTR2NUM(rb_dl_callback_ptr_4_3_stdcall),PTR2NUM(rb_dl_callback_ptr_5_3_stdcall),PTR2NUM(rb_dl_callback_ptr_6_3_stdcall),PTR2NUM(rb_dl_callback_ptr_7_3_stdcall),PTR2NUM(rb_dl_callback_ptr_8_3_stdcall),PTR2NUM(rb_dl_callback_ptr_9_3_stdcall),PTR2NUM(rb_dl_callback_ptr_10_3_stdcall),PTR2NUM(rb_dl_callback_ptr_11_3_stdcall),PTR2NUM(rb_dl_callback_ptr_12_3_stdcall),PTR2NUM(rb_dl_callback_ptr_13_3_stdcall),PTR2NUM(rb_dl_callback_ptr_14_3_stdcall),PTR2NUM(rb_dl_callback_ptr_15_3_stdcall),PTR2NUM(rb_dl_callback_ptr_16_3_stdcall),PTR2NUM(rb_dl_callback_ptr_17_3_stdcall),PTR2NUM(rb_dl_callback_ptr_18_3_stdcall),PTR2NUM(rb_dl_callback_ptr_19_3_stdcall),PTR2NUM(rb_dl_callback_ptr_0_4_stdcall),PTR2NUM(rb_dl_callback_ptr_1_4_stdcall),PTR2NUM(rb_dl_callback_ptr_2_4_stdcall),PTR2NUM(rb_dl_callback_ptr_3_4_stdcall),PTR2NUM(rb_dl_callback_ptr_4_4_stdcall),PTR2NUM(rb_dl_callback_ptr_5_4_stdcall),PTR2NUM(rb_dl_callback_ptr_6_4_stdcall),PTR2NUM(rb_dl_callback_ptr_7_4_stdcall),PTR2NUM(rb_dl_callback_ptr_8_4_stdcall),PTR2NUM(rb_dl_callback_ptr_9_4_stdcall),PTR2NUM(rb_dl_callback_ptr_10_4_stdcall),PTR2NUM(rb_dl_callback_ptr_11_4_stdcall),PTR2NUM(rb_dl_callback_ptr_12_4_stdcall),PTR2NUM(rb_dl_callback_ptr_13_4_stdcall),PTR2NUM(rb_dl_callback_ptr_14_4_stdcall),PTR2NUM(rb_dl_callback_ptr_15_4_stdcall),PTR2NUM(rb_dl_callback_ptr_16_4_stdcall),PTR2NUM(rb_dl_callback_ptr_17_4_stdcall),PTR2NUM(rb_dl_callback_ptr_18_4_stdcall),PTR2NUM(rb_dl_callback_ptr_19_4_stdcall)));
4316#endif
4317}
4318