This repository has been archived by the owner on Jul 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfuncGlue.go
2857 lines (2592 loc) · 45.3 KB
/
funcGlue.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package wrengo
/*
#include "wren.h"
extern void f0(WrenVM*);
extern void f1(WrenVM*);
extern void f2(WrenVM*);
extern void f3(WrenVM*);
extern void f4(WrenVM*);
extern void f5(WrenVM*);
extern void f6(WrenVM*);
extern void f7(WrenVM*);
extern void f8(WrenVM*);
extern void f9(WrenVM*);
extern void f10(WrenVM*);
extern void f11(WrenVM*);
extern void f12(WrenVM*);
extern void f13(WrenVM*);
extern void f14(WrenVM*);
extern void f15(WrenVM*);
extern void f16(WrenVM*);
extern void f17(WrenVM*);
extern void f18(WrenVM*);
extern void f19(WrenVM*);
extern void f20(WrenVM*);
extern void f21(WrenVM*);
extern void f22(WrenVM*);
extern void f23(WrenVM*);
extern void f24(WrenVM*);
extern void f25(WrenVM*);
extern void f26(WrenVM*);
extern void f27(WrenVM*);
extern void f28(WrenVM*);
extern void f29(WrenVM*);
extern void f30(WrenVM*);
extern void f31(WrenVM*);
extern void f32(WrenVM*);
extern void f33(WrenVM*);
extern void f34(WrenVM*);
extern void f35(WrenVM*);
extern void f36(WrenVM*);
extern void f37(WrenVM*);
extern void f38(WrenVM*);
extern void f39(WrenVM*);
extern void f40(WrenVM*);
extern void f41(WrenVM*);
extern void f42(WrenVM*);
extern void f43(WrenVM*);
extern void f44(WrenVM*);
extern void f45(WrenVM*);
extern void f46(WrenVM*);
extern void f47(WrenVM*);
extern void f48(WrenVM*);
extern void f49(WrenVM*);
extern void f50(WrenVM*);
extern void f51(WrenVM*);
extern void f52(WrenVM*);
extern void f53(WrenVM*);
extern void f54(WrenVM*);
extern void f55(WrenVM*);
extern void f56(WrenVM*);
extern void f57(WrenVM*);
extern void f58(WrenVM*);
extern void f59(WrenVM*);
extern void f60(WrenVM*);
extern void f61(WrenVM*);
extern void f62(WrenVM*);
extern void f63(WrenVM*);
extern void f64(WrenVM*);
extern void f65(WrenVM*);
extern void f66(WrenVM*);
extern void f67(WrenVM*);
extern void f68(WrenVM*);
extern void f69(WrenVM*);
extern void f70(WrenVM*);
extern void f71(WrenVM*);
extern void f72(WrenVM*);
extern void f73(WrenVM*);
extern void f74(WrenVM*);
extern void f75(WrenVM*);
extern void f76(WrenVM*);
extern void f77(WrenVM*);
extern void f78(WrenVM*);
extern void f79(WrenVM*);
extern void f80(WrenVM*);
extern void f81(WrenVM*);
extern void f82(WrenVM*);
extern void f83(WrenVM*);
extern void f84(WrenVM*);
extern void f85(WrenVM*);
extern void f86(WrenVM*);
extern void f87(WrenVM*);
extern void f88(WrenVM*);
extern void f89(WrenVM*);
extern void f90(WrenVM*);
extern void f91(WrenVM*);
extern void f92(WrenVM*);
extern void f93(WrenVM*);
extern void f94(WrenVM*);
extern void f95(WrenVM*);
extern void f96(WrenVM*);
extern void f97(WrenVM*);
extern void f98(WrenVM*);
extern void f99(WrenVM*);
extern void f100(WrenVM*);
extern void f101(WrenVM*);
extern void f102(WrenVM*);
extern void f103(WrenVM*);
extern void f104(WrenVM*);
extern void f105(WrenVM*);
extern void f106(WrenVM*);
extern void f107(WrenVM*);
extern void f108(WrenVM*);
extern void f109(WrenVM*);
extern void f110(WrenVM*);
extern void f111(WrenVM*);
extern void f112(WrenVM*);
extern void f113(WrenVM*);
extern void f114(WrenVM*);
extern void f115(WrenVM*);
extern void f116(WrenVM*);
extern void f117(WrenVM*);
extern void f118(WrenVM*);
extern void f119(WrenVM*);
extern void f120(WrenVM*);
extern void f121(WrenVM*);
extern void f122(WrenVM*);
extern void f123(WrenVM*);
extern void f124(WrenVM*);
extern void f125(WrenVM*);
extern void f126(WrenVM*);
extern void f127(WrenVM*);
extern void f128(WrenVM*);
extern void f129(WrenVM*);
extern void f130(WrenVM*);
extern void f131(WrenVM*);
extern void f132(WrenVM*);
extern void f133(WrenVM*);
extern void f134(WrenVM*);
extern void f135(WrenVM*);
extern void f136(WrenVM*);
extern void f137(WrenVM*);
extern void f138(WrenVM*);
extern void f139(WrenVM*);
extern void f140(WrenVM*);
extern void f141(WrenVM*);
extern void f142(WrenVM*);
extern void f143(WrenVM*);
extern void f144(WrenVM*);
extern void f145(WrenVM*);
extern void f146(WrenVM*);
extern void f147(WrenVM*);
extern void f148(WrenVM*);
extern void f149(WrenVM*);
extern void f150(WrenVM*);
extern void f151(WrenVM*);
extern void f152(WrenVM*);
extern void f153(WrenVM*);
extern void f154(WrenVM*);
extern void f155(WrenVM*);
extern void f156(WrenVM*);
extern void f157(WrenVM*);
extern void f158(WrenVM*);
extern void f159(WrenVM*);
extern void f160(WrenVM*);
extern void f161(WrenVM*);
extern void f162(WrenVM*);
extern void f163(WrenVM*);
extern void f164(WrenVM*);
extern void f165(WrenVM*);
extern void f166(WrenVM*);
extern void f167(WrenVM*);
extern void f168(WrenVM*);
extern void f169(WrenVM*);
extern void f170(WrenVM*);
extern void f171(WrenVM*);
extern void f172(WrenVM*);
extern void f173(WrenVM*);
extern void f174(WrenVM*);
extern void f175(WrenVM*);
extern void f176(WrenVM*);
extern void f177(WrenVM*);
extern void f178(WrenVM*);
extern void f179(WrenVM*);
extern void f180(WrenVM*);
extern void f181(WrenVM*);
extern void f182(WrenVM*);
extern void f183(WrenVM*);
extern void f184(WrenVM*);
extern void f185(WrenVM*);
extern void f186(WrenVM*);
extern void f187(WrenVM*);
extern void f188(WrenVM*);
extern void f189(WrenVM*);
extern void f190(WrenVM*);
extern void f191(WrenVM*);
extern void f192(WrenVM*);
extern void f193(WrenVM*);
extern void f194(WrenVM*);
extern void f195(WrenVM*);
extern void f196(WrenVM*);
extern void f197(WrenVM*);
extern void f198(WrenVM*);
extern void f199(WrenVM*);
extern void f200(WrenVM*);
extern void f201(WrenVM*);
extern void f202(WrenVM*);
extern void f203(WrenVM*);
extern void f204(WrenVM*);
extern void f205(WrenVM*);
extern void f206(WrenVM*);
extern void f207(WrenVM*);
extern void f208(WrenVM*);
extern void f209(WrenVM*);
extern void f210(WrenVM*);
extern void f211(WrenVM*);
extern void f212(WrenVM*);
extern void f213(WrenVM*);
extern void f214(WrenVM*);
extern void f215(WrenVM*);
extern void f216(WrenVM*);
extern void f217(WrenVM*);
extern void f218(WrenVM*);
extern void f219(WrenVM*);
extern void f220(WrenVM*);
extern void f221(WrenVM*);
extern void f222(WrenVM*);
extern void f223(WrenVM*);
extern void f224(WrenVM*);
extern void f225(WrenVM*);
extern void f226(WrenVM*);
extern void f227(WrenVM*);
extern void f228(WrenVM*);
extern void f229(WrenVM*);
extern void f230(WrenVM*);
extern void f231(WrenVM*);
extern void f232(WrenVM*);
extern void f233(WrenVM*);
extern void f234(WrenVM*);
extern void f235(WrenVM*);
extern void f236(WrenVM*);
extern void f237(WrenVM*);
extern void f238(WrenVM*);
extern void f239(WrenVM*);
extern void f240(WrenVM*);
extern void f241(WrenVM*);
extern void f242(WrenVM*);
extern void f243(WrenVM*);
extern void f244(WrenVM*);
extern void f245(WrenVM*);
extern void f246(WrenVM*);
extern void f247(WrenVM*);
extern void f248(WrenVM*);
extern void f249(WrenVM*);
extern void f250(WrenVM*);
extern void f251(WrenVM*);
extern void f252(WrenVM*);
extern void f253(WrenVM*);
extern void f254(WrenVM*);
extern void f255(WrenVM*);
static inline void* get_f(int i) {
switch (i) {
case 0: return f0;
case 1: return f1;
case 2: return f2;
case 3: return f3;
case 4: return f4;
case 5: return f5;
case 6: return f6;
case 7: return f7;
case 8: return f8;
case 9: return f9;
case 10: return f10;
case 11: return f11;
case 12: return f12;
case 13: return f13;
case 14: return f14;
case 15: return f15;
case 16: return f16;
case 17: return f17;
case 18: return f18;
case 19: return f19;
case 20: return f20;
case 21: return f21;
case 22: return f22;
case 23: return f23;
case 24: return f24;
case 25: return f25;
case 26: return f26;
case 27: return f27;
case 28: return f28;
case 29: return f29;
case 30: return f30;
case 31: return f31;
case 32: return f32;
case 33: return f33;
case 34: return f34;
case 35: return f35;
case 36: return f36;
case 37: return f37;
case 38: return f38;
case 39: return f39;
case 40: return f40;
case 41: return f41;
case 42: return f42;
case 43: return f43;
case 44: return f44;
case 45: return f45;
case 46: return f46;
case 47: return f47;
case 48: return f48;
case 49: return f49;
case 50: return f50;
case 51: return f51;
case 52: return f52;
case 53: return f53;
case 54: return f54;
case 55: return f55;
case 56: return f56;
case 57: return f57;
case 58: return f58;
case 59: return f59;
case 60: return f60;
case 61: return f61;
case 62: return f62;
case 63: return f63;
case 64: return f64;
case 65: return f65;
case 66: return f66;
case 67: return f67;
case 68: return f68;
case 69: return f69;
case 70: return f70;
case 71: return f71;
case 72: return f72;
case 73: return f73;
case 74: return f74;
case 75: return f75;
case 76: return f76;
case 77: return f77;
case 78: return f78;
case 79: return f79;
case 80: return f80;
case 81: return f81;
case 82: return f82;
case 83: return f83;
case 84: return f84;
case 85: return f85;
case 86: return f86;
case 87: return f87;
case 88: return f88;
case 89: return f89;
case 90: return f90;
case 91: return f91;
case 92: return f92;
case 93: return f93;
case 94: return f94;
case 95: return f95;
case 96: return f96;
case 97: return f97;
case 98: return f98;
case 99: return f99;
case 100: return f100;
case 101: return f101;
case 102: return f102;
case 103: return f103;
case 104: return f104;
case 105: return f105;
case 106: return f106;
case 107: return f107;
case 108: return f108;
case 109: return f109;
case 110: return f110;
case 111: return f111;
case 112: return f112;
case 113: return f113;
case 114: return f114;
case 115: return f115;
case 116: return f116;
case 117: return f117;
case 118: return f118;
case 119: return f119;
case 120: return f120;
case 121: return f121;
case 122: return f122;
case 123: return f123;
case 124: return f124;
case 125: return f125;
case 126: return f126;
case 127: return f127;
case 128: return f128;
case 129: return f129;
case 130: return f130;
case 131: return f131;
case 132: return f132;
case 133: return f133;
case 134: return f134;
case 135: return f135;
case 136: return f136;
case 137: return f137;
case 138: return f138;
case 139: return f139;
case 140: return f140;
case 141: return f141;
case 142: return f142;
case 143: return f143;
case 144: return f144;
case 145: return f145;
case 146: return f146;
case 147: return f147;
case 148: return f148;
case 149: return f149;
case 150: return f150;
case 151: return f151;
case 152: return f152;
case 153: return f153;
case 154: return f154;
case 155: return f155;
case 156: return f156;
case 157: return f157;
case 158: return f158;
case 159: return f159;
case 160: return f160;
case 161: return f161;
case 162: return f162;
case 163: return f163;
case 164: return f164;
case 165: return f165;
case 166: return f166;
case 167: return f167;
case 168: return f168;
case 169: return f169;
case 170: return f170;
case 171: return f171;
case 172: return f172;
case 173: return f173;
case 174: return f174;
case 175: return f175;
case 176: return f176;
case 177: return f177;
case 178: return f178;
case 179: return f179;
case 180: return f180;
case 181: return f181;
case 182: return f182;
case 183: return f183;
case 184: return f184;
case 185: return f185;
case 186: return f186;
case 187: return f187;
case 188: return f188;
case 189: return f189;
case 190: return f190;
case 191: return f191;
case 192: return f192;
case 193: return f193;
case 194: return f194;
case 195: return f195;
case 196: return f196;
case 197: return f197;
case 198: return f198;
case 199: return f199;
case 200: return f200;
case 201: return f201;
case 202: return f202;
case 203: return f203;
case 204: return f204;
case 205: return f205;
case 206: return f206;
case 207: return f207;
case 208: return f208;
case 209: return f209;
case 210: return f210;
case 211: return f211;
case 212: return f212;
case 213: return f213;
case 214: return f214;
case 215: return f215;
case 216: return f216;
case 217: return f217;
case 218: return f218;
case 219: return f219;
case 220: return f220;
case 221: return f221;
case 222: return f222;
case 223: return f223;
case 224: return f224;
case 225: return f225;
case 226: return f226;
case 227: return f227;
case 228: return f228;
case 229: return f229;
case 230: return f230;
case 231: return f231;
case 232: return f232;
case 233: return f233;
case 234: return f234;
case 235: return f235;
case 236: return f236;
case 237: return f237;
case 238: return f238;
case 239: return f239;
case 240: return f240;
case 241: return f241;
case 242: return f242;
case 243: return f243;
case 244: return f244;
case 245: return f245;
case 246: return f246;
case 247: return f247;
case 248: return f248;
case 249: return f249;
case 250: return f250;
case 251: return f251;
case 252: return f252;
case 253: return f253;
case 254: return f254;
case 255: return f255;
default: return (void*)(0);
}
}
*/
import "C"
import (
"errors"
"sync"
"unsafe"
)
const MAX_FUNC_REGISTRATIONS = 256
var (
fMap = make(map[int]func(*VM))
fMapGuard sync.Mutex
fCounter int
)
//export f0
func f0(vm *C.WrenVM) {
f := fMap[0]
if f == nil {
panic("function 0 not registered")
}
f(vmMap[vm])
}
//export f1
func f1(vm *C.WrenVM) {
f := fMap[1]
if f == nil {
panic("function 1 not registered")
}
f(vmMap[vm])
}
//export f2
func f2(vm *C.WrenVM) {
f := fMap[2]
if f == nil {
panic("function 2 not registered")
}
f(vmMap[vm])
}
//export f3
func f3(vm *C.WrenVM) {
f := fMap[3]
if f == nil {
panic("function 3 not registered")
}
f(vmMap[vm])
}
//export f4
func f4(vm *C.WrenVM) {
f := fMap[4]
if f == nil {
panic("function 4 not registered")
}
f(vmMap[vm])
}
//export f5
func f5(vm *C.WrenVM) {
f := fMap[5]
if f == nil {
panic("function 5 not registered")
}
f(vmMap[vm])
}
//export f6
func f6(vm *C.WrenVM) {
f := fMap[6]
if f == nil {
panic("function 6 not registered")
}
f(vmMap[vm])
}
//export f7
func f7(vm *C.WrenVM) {
f := fMap[7]
if f == nil {
panic("function 7 not registered")
}
f(vmMap[vm])
}
//export f8
func f8(vm *C.WrenVM) {
f := fMap[8]
if f == nil {
panic("function 8 not registered")
}
f(vmMap[vm])
}
//export f9
func f9(vm *C.WrenVM) {
f := fMap[9]
if f == nil {
panic("function 9 not registered")
}
f(vmMap[vm])
}
//export f10
func f10(vm *C.WrenVM) {
f := fMap[10]
if f == nil {
panic("function 10 not registered")
}
f(vmMap[vm])
}
//export f11
func f11(vm *C.WrenVM) {
f := fMap[11]
if f == nil {
panic("function 11 not registered")
}
f(vmMap[vm])
}
//export f12
func f12(vm *C.WrenVM) {
f := fMap[12]
if f == nil {
panic("function 12 not registered")
}
f(vmMap[vm])
}
//export f13
func f13(vm *C.WrenVM) {
f := fMap[13]
if f == nil {
panic("function 13 not registered")
}
f(vmMap[vm])
}
//export f14
func f14(vm *C.WrenVM) {
f := fMap[14]
if f == nil {
panic("function 14 not registered")
}
f(vmMap[vm])
}
//export f15
func f15(vm *C.WrenVM) {
f := fMap[15]
if f == nil {
panic("function 15 not registered")
}
f(vmMap[vm])
}
//export f16
func f16(vm *C.WrenVM) {
f := fMap[16]
if f == nil {
panic("function 16 not registered")
}
f(vmMap[vm])
}
//export f17
func f17(vm *C.WrenVM) {
f := fMap[17]
if f == nil {
panic("function 17 not registered")
}
f(vmMap[vm])
}
//export f18
func f18(vm *C.WrenVM) {
f := fMap[18]
if f == nil {
panic("function 18 not registered")
}
f(vmMap[vm])
}
//export f19
func f19(vm *C.WrenVM) {
f := fMap[19]
if f == nil {
panic("function 19 not registered")
}
f(vmMap[vm])
}
//export f20
func f20(vm *C.WrenVM) {
f := fMap[20]
if f == nil {
panic("function 20 not registered")
}
f(vmMap[vm])
}
//export f21
func f21(vm *C.WrenVM) {
f := fMap[21]
if f == nil {
panic("function 21 not registered")
}
f(vmMap[vm])
}
//export f22
func f22(vm *C.WrenVM) {
f := fMap[22]
if f == nil {
panic("function 22 not registered")
}
f(vmMap[vm])
}
//export f23
func f23(vm *C.WrenVM) {
f := fMap[23]
if f == nil {
panic("function 23 not registered")
}
f(vmMap[vm])
}
//export f24
func f24(vm *C.WrenVM) {
f := fMap[24]
if f == nil {
panic("function 24 not registered")
}
f(vmMap[vm])
}
//export f25
func f25(vm *C.WrenVM) {
f := fMap[25]
if f == nil {
panic("function 25 not registered")
}
f(vmMap[vm])
}
//export f26
func f26(vm *C.WrenVM) {
f := fMap[26]
if f == nil {
panic("function 26 not registered")
}
f(vmMap[vm])
}
//export f27
func f27(vm *C.WrenVM) {
f := fMap[27]
if f == nil {
panic("function 27 not registered")
}
f(vmMap[vm])
}
//export f28
func f28(vm *C.WrenVM) {
f := fMap[28]
if f == nil {
panic("function 28 not registered")
}
f(vmMap[vm])
}
//export f29
func f29(vm *C.WrenVM) {
f := fMap[29]
if f == nil {
panic("function 29 not registered")
}
f(vmMap[vm])
}
//export f30
func f30(vm *C.WrenVM) {
f := fMap[30]
if f == nil {
panic("function 30 not registered")
}
f(vmMap[vm])
}
//export f31
func f31(vm *C.WrenVM) {
f := fMap[31]
if f == nil {
panic("function 31 not registered")
}
f(vmMap[vm])
}
//export f32
func f32(vm *C.WrenVM) {
f := fMap[32]
if f == nil {
panic("function 32 not registered")
}
f(vmMap[vm])
}
//export f33
func f33(vm *C.WrenVM) {
f := fMap[33]
if f == nil {
panic("function 33 not registered")
}
f(vmMap[vm])
}
//export f34
func f34(vm *C.WrenVM) {
f := fMap[34]
if f == nil {
panic("function 34 not registered")
}
f(vmMap[vm])
}
//export f35
func f35(vm *C.WrenVM) {
f := fMap[35]
if f == nil {
panic("function 35 not registered")
}
f(vmMap[vm])
}
//export f36
func f36(vm *C.WrenVM) {
f := fMap[36]
if f == nil {
panic("function 36 not registered")
}
f(vmMap[vm])
}
//export f37
func f37(vm *C.WrenVM) {
f := fMap[37]
if f == nil {
panic("function 37 not registered")
}
f(vmMap[vm])
}
//export f38
func f38(vm *C.WrenVM) {
f := fMap[38]
if f == nil {
panic("function 38 not registered")
}
f(vmMap[vm])
}
//export f39
func f39(vm *C.WrenVM) {
f := fMap[39]
if f == nil {
panic("function 39 not registered")
}
f(vmMap[vm])
}
//export f40
func f40(vm *C.WrenVM) {
f := fMap[40]
if f == nil {
panic("function 40 not registered")
}
f(vmMap[vm])
}
//export f41
func f41(vm *C.WrenVM) {
f := fMap[41]
if f == nil {
panic("function 41 not registered")
}
f(vmMap[vm])
}
//export f42
func f42(vm *C.WrenVM) {
f := fMap[42]
if f == nil {
panic("function 42 not registered")
}
f(vmMap[vm])
}
//export f43
func f43(vm *C.WrenVM) {
f := fMap[43]
if f == nil {
panic("function 43 not registered")
}
f(vmMap[vm])
}
//export f44
func f44(vm *C.WrenVM) {
f := fMap[44]
if f == nil {
panic("function 44 not registered")
}
f(vmMap[vm])
}
//export f45
func f45(vm *C.WrenVM) {
f := fMap[45]
if f == nil {
panic("function 45 not registered")
}
f(vmMap[vm])
}
//export f46
func f46(vm *C.WrenVM) {
f := fMap[46]
if f == nil {
panic("function 46 not registered")
}
f(vmMap[vm])
}
//export f47
func f47(vm *C.WrenVM) {
f := fMap[47]
if f == nil {
panic("function 47 not registered")
}
f(vmMap[vm])
}
//export f48
func f48(vm *C.WrenVM) {
f := fMap[48]
if f == nil {
panic("function 48 not registered")
}
f(vmMap[vm])
}
//export f49
func f49(vm *C.WrenVM) {
f := fMap[49]
if f == nil {
panic("function 49 not registered")
}
f(vmMap[vm])
}
//export f50
func f50(vm *C.WrenVM) {
f := fMap[50]
if f == nil {
panic("function 50 not registered")
}
f(vmMap[vm])
}
//export f51
func f51(vm *C.WrenVM) {