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 pathclassGlue.go
2857 lines (2592 loc) · 44.6 KB
/
classGlue.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 c0(void *vm);
extern void c1(void *vm);
extern void c2(void *vm);
extern void c3(void *vm);
extern void c4(void *vm);
extern void c5(void *vm);
extern void c6(void *vm);
extern void c7(void *vm);
extern void c8(void *vm);
extern void c9(void *vm);
extern void c10(void *vm);
extern void c11(void *vm);
extern void c12(void *vm);
extern void c13(void *vm);
extern void c14(void *vm);
extern void c15(void *vm);
extern void c16(void *vm);
extern void c17(void *vm);
extern void c18(void *vm);
extern void c19(void *vm);
extern void c20(void *vm);
extern void c21(void *vm);
extern void c22(void *vm);
extern void c23(void *vm);
extern void c24(void *vm);
extern void c25(void *vm);
extern void c26(void *vm);
extern void c27(void *vm);
extern void c28(void *vm);
extern void c29(void *vm);
extern void c30(void *vm);
extern void c31(void *vm);
extern void c32(void *vm);
extern void c33(void *vm);
extern void c34(void *vm);
extern void c35(void *vm);
extern void c36(void *vm);
extern void c37(void *vm);
extern void c38(void *vm);
extern void c39(void *vm);
extern void c40(void *vm);
extern void c41(void *vm);
extern void c42(void *vm);
extern void c43(void *vm);
extern void c44(void *vm);
extern void c45(void *vm);
extern void c46(void *vm);
extern void c47(void *vm);
extern void c48(void *vm);
extern void c49(void *vm);
extern void c50(void *vm);
extern void c51(void *vm);
extern void c52(void *vm);
extern void c53(void *vm);
extern void c54(void *vm);
extern void c55(void *vm);
extern void c56(void *vm);
extern void c57(void *vm);
extern void c58(void *vm);
extern void c59(void *vm);
extern void c60(void *vm);
extern void c61(void *vm);
extern void c62(void *vm);
extern void c63(void *vm);
extern void c64(void *vm);
extern void c65(void *vm);
extern void c66(void *vm);
extern void c67(void *vm);
extern void c68(void *vm);
extern void c69(void *vm);
extern void c70(void *vm);
extern void c71(void *vm);
extern void c72(void *vm);
extern void c73(void *vm);
extern void c74(void *vm);
extern void c75(void *vm);
extern void c76(void *vm);
extern void c77(void *vm);
extern void c78(void *vm);
extern void c79(void *vm);
extern void c80(void *vm);
extern void c81(void *vm);
extern void c82(void *vm);
extern void c83(void *vm);
extern void c84(void *vm);
extern void c85(void *vm);
extern void c86(void *vm);
extern void c87(void *vm);
extern void c88(void *vm);
extern void c89(void *vm);
extern void c90(void *vm);
extern void c91(void *vm);
extern void c92(void *vm);
extern void c93(void *vm);
extern void c94(void *vm);
extern void c95(void *vm);
extern void c96(void *vm);
extern void c97(void *vm);
extern void c98(void *vm);
extern void c99(void *vm);
extern void c100(void *vm);
extern void c101(void *vm);
extern void c102(void *vm);
extern void c103(void *vm);
extern void c104(void *vm);
extern void c105(void *vm);
extern void c106(void *vm);
extern void c107(void *vm);
extern void c108(void *vm);
extern void c109(void *vm);
extern void c110(void *vm);
extern void c111(void *vm);
extern void c112(void *vm);
extern void c113(void *vm);
extern void c114(void *vm);
extern void c115(void *vm);
extern void c116(void *vm);
extern void c117(void *vm);
extern void c118(void *vm);
extern void c119(void *vm);
extern void c120(void *vm);
extern void c121(void *vm);
extern void c122(void *vm);
extern void c123(void *vm);
extern void c124(void *vm);
extern void c125(void *vm);
extern void c126(void *vm);
extern void c127(void *vm);
extern void c128(void *vm);
extern void c129(void *vm);
extern void c130(void *vm);
extern void c131(void *vm);
extern void c132(void *vm);
extern void c133(void *vm);
extern void c134(void *vm);
extern void c135(void *vm);
extern void c136(void *vm);
extern void c137(void *vm);
extern void c138(void *vm);
extern void c139(void *vm);
extern void c140(void *vm);
extern void c141(void *vm);
extern void c142(void *vm);
extern void c143(void *vm);
extern void c144(void *vm);
extern void c145(void *vm);
extern void c146(void *vm);
extern void c147(void *vm);
extern void c148(void *vm);
extern void c149(void *vm);
extern void c150(void *vm);
extern void c151(void *vm);
extern void c152(void *vm);
extern void c153(void *vm);
extern void c154(void *vm);
extern void c155(void *vm);
extern void c156(void *vm);
extern void c157(void *vm);
extern void c158(void *vm);
extern void c159(void *vm);
extern void c160(void *vm);
extern void c161(void *vm);
extern void c162(void *vm);
extern void c163(void *vm);
extern void c164(void *vm);
extern void c165(void *vm);
extern void c166(void *vm);
extern void c167(void *vm);
extern void c168(void *vm);
extern void c169(void *vm);
extern void c170(void *vm);
extern void c171(void *vm);
extern void c172(void *vm);
extern void c173(void *vm);
extern void c174(void *vm);
extern void c175(void *vm);
extern void c176(void *vm);
extern void c177(void *vm);
extern void c178(void *vm);
extern void c179(void *vm);
extern void c180(void *vm);
extern void c181(void *vm);
extern void c182(void *vm);
extern void c183(void *vm);
extern void c184(void *vm);
extern void c185(void *vm);
extern void c186(void *vm);
extern void c187(void *vm);
extern void c188(void *vm);
extern void c189(void *vm);
extern void c190(void *vm);
extern void c191(void *vm);
extern void c192(void *vm);
extern void c193(void *vm);
extern void c194(void *vm);
extern void c195(void *vm);
extern void c196(void *vm);
extern void c197(void *vm);
extern void c198(void *vm);
extern void c199(void *vm);
extern void c200(void *vm);
extern void c201(void *vm);
extern void c202(void *vm);
extern void c203(void *vm);
extern void c204(void *vm);
extern void c205(void *vm);
extern void c206(void *vm);
extern void c207(void *vm);
extern void c208(void *vm);
extern void c209(void *vm);
extern void c210(void *vm);
extern void c211(void *vm);
extern void c212(void *vm);
extern void c213(void *vm);
extern void c214(void *vm);
extern void c215(void *vm);
extern void c216(void *vm);
extern void c217(void *vm);
extern void c218(void *vm);
extern void c219(void *vm);
extern void c220(void *vm);
extern void c221(void *vm);
extern void c222(void *vm);
extern void c223(void *vm);
extern void c224(void *vm);
extern void c225(void *vm);
extern void c226(void *vm);
extern void c227(void *vm);
extern void c228(void *vm);
extern void c229(void *vm);
extern void c230(void *vm);
extern void c231(void *vm);
extern void c232(void *vm);
extern void c233(void *vm);
extern void c234(void *vm);
extern void c235(void *vm);
extern void c236(void *vm);
extern void c237(void *vm);
extern void c238(void *vm);
extern void c239(void *vm);
extern void c240(void *vm);
extern void c241(void *vm);
extern void c242(void *vm);
extern void c243(void *vm);
extern void c244(void *vm);
extern void c245(void *vm);
extern void c246(void *vm);
extern void c247(void *vm);
extern void c248(void *vm);
extern void c249(void *vm);
extern void c250(void *vm);
extern void c251(void *vm);
extern void c252(void *vm);
extern void c253(void *vm);
extern void c254(void *vm);
extern void c255(void *vm);
static inline void* get_c(int i) {
switch (i) {
case 0: return c0;
case 1: return c1;
case 2: return c2;
case 3: return c3;
case 4: return c4;
case 5: return c5;
case 6: return c6;
case 7: return c7;
case 8: return c8;
case 9: return c9;
case 10: return c10;
case 11: return c11;
case 12: return c12;
case 13: return c13;
case 14: return c14;
case 15: return c15;
case 16: return c16;
case 17: return c17;
case 18: return c18;
case 19: return c19;
case 20: return c20;
case 21: return c21;
case 22: return c22;
case 23: return c23;
case 24: return c24;
case 25: return c25;
case 26: return c26;
case 27: return c27;
case 28: return c28;
case 29: return c29;
case 30: return c30;
case 31: return c31;
case 32: return c32;
case 33: return c33;
case 34: return c34;
case 35: return c35;
case 36: return c36;
case 37: return c37;
case 38: return c38;
case 39: return c39;
case 40: return c40;
case 41: return c41;
case 42: return c42;
case 43: return c43;
case 44: return c44;
case 45: return c45;
case 46: return c46;
case 47: return c47;
case 48: return c48;
case 49: return c49;
case 50: return c50;
case 51: return c51;
case 52: return c52;
case 53: return c53;
case 54: return c54;
case 55: return c55;
case 56: return c56;
case 57: return c57;
case 58: return c58;
case 59: return c59;
case 60: return c60;
case 61: return c61;
case 62: return c62;
case 63: return c63;
case 64: return c64;
case 65: return c65;
case 66: return c66;
case 67: return c67;
case 68: return c68;
case 69: return c69;
case 70: return c70;
case 71: return c71;
case 72: return c72;
case 73: return c73;
case 74: return c74;
case 75: return c75;
case 76: return c76;
case 77: return c77;
case 78: return c78;
case 79: return c79;
case 80: return c80;
case 81: return c81;
case 82: return c82;
case 83: return c83;
case 84: return c84;
case 85: return c85;
case 86: return c86;
case 87: return c87;
case 88: return c88;
case 89: return c89;
case 90: return c90;
case 91: return c91;
case 92: return c92;
case 93: return c93;
case 94: return c94;
case 95: return c95;
case 96: return c96;
case 97: return c97;
case 98: return c98;
case 99: return c99;
case 100: return c100;
case 101: return c101;
case 102: return c102;
case 103: return c103;
case 104: return c104;
case 105: return c105;
case 106: return c106;
case 107: return c107;
case 108: return c108;
case 109: return c109;
case 110: return c110;
case 111: return c111;
case 112: return c112;
case 113: return c113;
case 114: return c114;
case 115: return c115;
case 116: return c116;
case 117: return c117;
case 118: return c118;
case 119: return c119;
case 120: return c120;
case 121: return c121;
case 122: return c122;
case 123: return c123;
case 124: return c124;
case 125: return c125;
case 126: return c126;
case 127: return c127;
case 128: return c128;
case 129: return c129;
case 130: return c130;
case 131: return c131;
case 132: return c132;
case 133: return c133;
case 134: return c134;
case 135: return c135;
case 136: return c136;
case 137: return c137;
case 138: return c138;
case 139: return c139;
case 140: return c140;
case 141: return c141;
case 142: return c142;
case 143: return c143;
case 144: return c144;
case 145: return c145;
case 146: return c146;
case 147: return c147;
case 148: return c148;
case 149: return c149;
case 150: return c150;
case 151: return c151;
case 152: return c152;
case 153: return c153;
case 154: return c154;
case 155: return c155;
case 156: return c156;
case 157: return c157;
case 158: return c158;
case 159: return c159;
case 160: return c160;
case 161: return c161;
case 162: return c162;
case 163: return c163;
case 164: return c164;
case 165: return c165;
case 166: return c166;
case 167: return c167;
case 168: return c168;
case 169: return c169;
case 170: return c170;
case 171: return c171;
case 172: return c172;
case 173: return c173;
case 174: return c174;
case 175: return c175;
case 176: return c176;
case 177: return c177;
case 178: return c178;
case 179: return c179;
case 180: return c180;
case 181: return c181;
case 182: return c182;
case 183: return c183;
case 184: return c184;
case 185: return c185;
case 186: return c186;
case 187: return c187;
case 188: return c188;
case 189: return c189;
case 190: return c190;
case 191: return c191;
case 192: return c192;
case 193: return c193;
case 194: return c194;
case 195: return c195;
case 196: return c196;
case 197: return c197;
case 198: return c198;
case 199: return c199;
case 200: return c200;
case 201: return c201;
case 202: return c202;
case 203: return c203;
case 204: return c204;
case 205: return c205;
case 206: return c206;
case 207: return c207;
case 208: return c208;
case 209: return c209;
case 210: return c210;
case 211: return c211;
case 212: return c212;
case 213: return c213;
case 214: return c214;
case 215: return c215;
case 216: return c216;
case 217: return c217;
case 218: return c218;
case 219: return c219;
case 220: return c220;
case 221: return c221;
case 222: return c222;
case 223: return c223;
case 224: return c224;
case 225: return c225;
case 226: return c226;
case 227: return c227;
case 228: return c228;
case 229: return c229;
case 230: return c230;
case 231: return c231;
case 232: return c232;
case 233: return c233;
case 234: return c234;
case 235: return c235;
case 236: return c236;
case 237: return c237;
case 238: return c238;
case 239: return c239;
case 240: return c240;
case 241: return c241;
case 242: return c242;
case 243: return c243;
case 244: return c244;
case 245: return c245;
case 246: return c246;
case 247: return c247;
case 248: return c248;
case 249: return c249;
case 250: return c250;
case 251: return c251;
case 252: return c252;
case 253: return c253;
case 254: return c254;
case 255: return c255;
default: return (void*)(0);
}
}
*/
import "C"
import (
"errors"
"sync"
"unsafe"
)
const MAX_CLASS_REGISTRATIONS = 256
var (
cMap = make(map[int]func())
cMapGuard sync.Mutex
cCounter int
)
//export c0
func c0(vm unsafe.Pointer) {
f := cMap[0]
if f == nil {
panic("function 0 not registered")
}
f()
}
//export c1
func c1(vm unsafe.Pointer) {
f := cMap[1]
if f == nil {
panic("function 1 not registered")
}
f()
}
//export c2
func c2(vm unsafe.Pointer) {
f := cMap[2]
if f == nil {
panic("function 2 not registered")
}
f()
}
//export c3
func c3(vm unsafe.Pointer) {
f := cMap[3]
if f == nil {
panic("function 3 not registered")
}
f()
}
//export c4
func c4(vm unsafe.Pointer) {
f := cMap[4]
if f == nil {
panic("function 4 not registered")
}
f()
}
//export c5
func c5(vm unsafe.Pointer) {
f := cMap[5]
if f == nil {
panic("function 5 not registered")
}
f()
}
//export c6
func c6(vm unsafe.Pointer) {
f := cMap[6]
if f == nil {
panic("function 6 not registered")
}
f()
}
//export c7
func c7(vm unsafe.Pointer) {
f := cMap[7]
if f == nil {
panic("function 7 not registered")
}
f()
}
//export c8
func c8(vm unsafe.Pointer) {
f := cMap[8]
if f == nil {
panic("function 8 not registered")
}
f()
}
//export c9
func c9(vm unsafe.Pointer) {
f := cMap[9]
if f == nil {
panic("function 9 not registered")
}
f()
}
//export c10
func c10(vm unsafe.Pointer) {
f := cMap[10]
if f == nil {
panic("function 10 not registered")
}
f()
}
//export c11
func c11(vm unsafe.Pointer) {
f := cMap[11]
if f == nil {
panic("function 11 not registered")
}
f()
}
//export c12
func c12(vm unsafe.Pointer) {
f := cMap[12]
if f == nil {
panic("function 12 not registered")
}
f()
}
//export c13
func c13(vm unsafe.Pointer) {
f := cMap[13]
if f == nil {
panic("function 13 not registered")
}
f()
}
//export c14
func c14(vm unsafe.Pointer) {
f := cMap[14]
if f == nil {
panic("function 14 not registered")
}
f()
}
//export c15
func c15(vm unsafe.Pointer) {
f := cMap[15]
if f == nil {
panic("function 15 not registered")
}
f()
}
//export c16
func c16(vm unsafe.Pointer) {
f := cMap[16]
if f == nil {
panic("function 16 not registered")
}
f()
}
//export c17
func c17(vm unsafe.Pointer) {
f := cMap[17]
if f == nil {
panic("function 17 not registered")
}
f()
}
//export c18
func c18(vm unsafe.Pointer) {
f := cMap[18]
if f == nil {
panic("function 18 not registered")
}
f()
}
//export c19
func c19(vm unsafe.Pointer) {
f := cMap[19]
if f == nil {
panic("function 19 not registered")
}
f()
}
//export c20
func c20(vm unsafe.Pointer) {
f := cMap[20]
if f == nil {
panic("function 20 not registered")
}
f()
}
//export c21
func c21(vm unsafe.Pointer) {
f := cMap[21]
if f == nil {
panic("function 21 not registered")
}
f()
}
//export c22
func c22(vm unsafe.Pointer) {
f := cMap[22]
if f == nil {
panic("function 22 not registered")
}
f()
}
//export c23
func c23(vm unsafe.Pointer) {
f := cMap[23]
if f == nil {
panic("function 23 not registered")
}
f()
}
//export c24
func c24(vm unsafe.Pointer) {
f := cMap[24]
if f == nil {
panic("function 24 not registered")
}
f()
}
//export c25
func c25(vm unsafe.Pointer) {
f := cMap[25]
if f == nil {
panic("function 25 not registered")
}
f()
}
//export c26
func c26(vm unsafe.Pointer) {
f := cMap[26]
if f == nil {
panic("function 26 not registered")
}
f()
}
//export c27
func c27(vm unsafe.Pointer) {
f := cMap[27]
if f == nil {
panic("function 27 not registered")
}
f()
}
//export c28
func c28(vm unsafe.Pointer) {
f := cMap[28]
if f == nil {
panic("function 28 not registered")
}
f()
}
//export c29
func c29(vm unsafe.Pointer) {
f := cMap[29]
if f == nil {
panic("function 29 not registered")
}
f()
}
//export c30
func c30(vm unsafe.Pointer) {
f := cMap[30]
if f == nil {
panic("function 30 not registered")
}
f()
}
//export c31
func c31(vm unsafe.Pointer) {
f := cMap[31]
if f == nil {
panic("function 31 not registered")
}
f()
}
//export c32
func c32(vm unsafe.Pointer) {
f := cMap[32]
if f == nil {
panic("function 32 not registered")
}
f()
}
//export c33
func c33(vm unsafe.Pointer) {
f := cMap[33]
if f == nil {
panic("function 33 not registered")
}
f()
}
//export c34
func c34(vm unsafe.Pointer) {
f := cMap[34]
if f == nil {
panic("function 34 not registered")
}
f()
}
//export c35
func c35(vm unsafe.Pointer) {
f := cMap[35]
if f == nil {
panic("function 35 not registered")
}
f()
}
//export c36
func c36(vm unsafe.Pointer) {
f := cMap[36]
if f == nil {
panic("function 36 not registered")
}
f()
}
//export c37
func c37(vm unsafe.Pointer) {
f := cMap[37]
if f == nil {
panic("function 37 not registered")
}
f()
}
//export c38
func c38(vm unsafe.Pointer) {
f := cMap[38]
if f == nil {
panic("function 38 not registered")
}
f()
}
//export c39
func c39(vm unsafe.Pointer) {
f := cMap[39]
if f == nil {
panic("function 39 not registered")
}
f()
}
//export c40
func c40(vm unsafe.Pointer) {
f := cMap[40]
if f == nil {
panic("function 40 not registered")
}
f()
}
//export c41
func c41(vm unsafe.Pointer) {
f := cMap[41]
if f == nil {
panic("function 41 not registered")
}
f()
}
//export c42
func c42(vm unsafe.Pointer) {
f := cMap[42]
if f == nil {
panic("function 42 not registered")
}
f()
}
//export c43
func c43(vm unsafe.Pointer) {
f := cMap[43]
if f == nil {
panic("function 43 not registered")
}
f()
}
//export c44
func c44(vm unsafe.Pointer) {
f := cMap[44]
if f == nil {
panic("function 44 not registered")
}
f()
}
//export c45
func c45(vm unsafe.Pointer) {
f := cMap[45]
if f == nil {
panic("function 45 not registered")
}
f()
}
//export c46
func c46(vm unsafe.Pointer) {
f := cMap[46]
if f == nil {
panic("function 46 not registered")
}
f()
}
//export c47
func c47(vm unsafe.Pointer) {
f := cMap[47]
if f == nil {
panic("function 47 not registered")
}
f()
}
//export c48
func c48(vm unsafe.Pointer) {
f := cMap[48]
if f == nil {
panic("function 48 not registered")
}
f()
}
//export c49
func c49(vm unsafe.Pointer) {
f := cMap[49]
if f == nil {
panic("function 49 not registered")
}
f()
}
//export c50
func c50(vm unsafe.Pointer) {
f := cMap[50]
if f == nil {
panic("function 50 not registered")
}
f()
}
//export c51
func c51(vm unsafe.Pointer) {