quickjs-jit-sys 0.12.6

QuickJS native bindings with the versioned JIT ABI
Documentation
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
/* automatically generated by rust-bindgen 0.72.1 */

pub const JS_NAN_BOXING: u32 = 1;
pub const JS_PROP_CONFIGURABLE: u32 = 1;
pub const JS_PROP_WRITABLE: u32 = 2;
pub const JS_PROP_ENUMERABLE: u32 = 4;
pub const JS_PROP_C_W_E: u32 = 7;
pub const JS_PROP_LENGTH: u32 = 8;
pub const JS_PROP_TMASK: u32 = 48;
pub const JS_PROP_NORMAL: u32 = 0;
pub const JS_PROP_GETSET: u32 = 16;
pub const JS_PROP_VARREF: u32 = 32;
pub const JS_PROP_AUTOINIT: u32 = 48;
pub const JS_PROP_HAS_SHIFT: u32 = 8;
pub const JS_PROP_HAS_CONFIGURABLE: u32 = 256;
pub const JS_PROP_HAS_WRITABLE: u32 = 512;
pub const JS_PROP_HAS_ENUMERABLE: u32 = 1024;
pub const JS_PROP_HAS_GET: u32 = 2048;
pub const JS_PROP_HAS_SET: u32 = 4096;
pub const JS_PROP_HAS_VALUE: u32 = 8192;
pub const JS_PROP_THROW: u32 = 16384;
pub const JS_PROP_THROW_STRICT: u32 = 32768;
pub const JS_PROP_NO_ADD: u32 = 65536;
pub const JS_PROP_NO_EXOTIC: u32 = 131072;
pub const JS_PROP_DEFINE_PROPERTY: u32 = 262144;
pub const JS_PROP_REFLECT_DEFINE_PROPERTY: u32 = 524288;
pub const JS_DEFAULT_STACK_SIZE: u32 = 1048576;
pub const JS_EVAL_TYPE_GLOBAL: u32 = 0;
pub const JS_EVAL_TYPE_MODULE: u32 = 1;
pub const JS_EVAL_TYPE_DIRECT: u32 = 2;
pub const JS_EVAL_TYPE_INDIRECT: u32 = 3;
pub const JS_EVAL_TYPE_MASK: u32 = 3;
pub const JS_EVAL_FLAG_STRICT: u32 = 8;
pub const JS_EVAL_FLAG_UNUSED: u32 = 16;
pub const JS_EVAL_FLAG_COMPILE_ONLY: u32 = 32;
pub const JS_EVAL_FLAG_BACKTRACE_BARRIER: u32 = 64;
pub const JS_EVAL_FLAG_ASYNC: u32 = 128;
pub const JS_DUMP_BYTECODE_FINAL: u32 = 1;
pub const JS_DUMP_BYTECODE_PASS2: u32 = 2;
pub const JS_DUMP_BYTECODE_PASS1: u32 = 4;
pub const JS_DUMP_BYTECODE_HEX: u32 = 16;
pub const JS_DUMP_BYTECODE_PC2LINE: u32 = 32;
pub const JS_DUMP_BYTECODE_STACK: u32 = 64;
pub const JS_DUMP_BYTECODE_STEP: u32 = 128;
pub const JS_DUMP_READ_OBJECT: u32 = 256;
pub const JS_DUMP_FREE: u32 = 512;
pub const JS_DUMP_GC: u32 = 1024;
pub const JS_DUMP_GC_FREE: u32 = 2048;
pub const JS_DUMP_MODULE_RESOLVE: u32 = 4096;
pub const JS_DUMP_PROMISE: u32 = 8192;
pub const JS_DUMP_LEAKS: u32 = 16384;
pub const JS_DUMP_ATOM_LEAKS: u32 = 32768;
pub const JS_DUMP_MEM: u32 = 65536;
pub const JS_DUMP_OBJECTS: u32 = 131072;
pub const JS_DUMP_ATOMS: u32 = 262144;
pub const JS_DUMP_SHAPES: u32 = 524288;
pub const JS_ABORT_ON_LEAKS: u32 = 1097728;
pub const JS_ATOM_NULL: u32 = 0;
pub const JS_CALL_FLAG_CONSTRUCTOR: u32 = 1;
pub const JS_EVAL_OPTIONS_VERSION: u32 = 1;
pub const JS_INVALID_CLASS_ID: u32 = 0;
pub const JS_GPN_STRING_MASK: u32 = 1;
pub const JS_GPN_SYMBOL_MASK: u32 = 2;
pub const JS_GPN_PRIVATE_MASK: u32 = 4;
pub const JS_GPN_ENUM_ONLY: u32 = 16;
pub const JS_GPN_SET_ENUM: u32 = 32;
pub const JS_WRITE_OBJ_BYTECODE: u32 = 1;
pub const JS_WRITE_OBJ_BSWAP: u32 = 0;
pub const JS_WRITE_OBJ_SAB: u32 = 4;
pub const JS_WRITE_OBJ_REFERENCE: u32 = 8;
pub const JS_WRITE_OBJ_STRIP_SOURCE: u32 = 16;
pub const JS_WRITE_OBJ_STRIP_DEBUG: u32 = 32;
pub const JS_READ_OBJ_BYTECODE: u32 = 1;
pub const JS_READ_OBJ_ROM_DATA: u32 = 0;
pub const JS_READ_OBJ_SAB: u32 = 4;
pub const JS_READ_OBJ_REFERENCE: u32 = 8;
pub const JS_DEF_CFUNC: u32 = 0;
pub const JS_DEF_CGETSET: u32 = 1;
pub const JS_DEF_CGETSET_MAGIC: u32 = 2;
pub const JS_DEF_PROP_STRING: u32 = 3;
pub const JS_DEF_PROP_INT32: u32 = 4;
pub const JS_DEF_PROP_INT64: u32 = 5;
pub const JS_DEF_PROP_DOUBLE: u32 = 6;
pub const JS_DEF_PROP_UNDEFINED: u32 = 7;
pub const JS_DEF_OBJECT: u32 = 8;
pub const JS_DEF_ALIAS: u32 = 9;
pub const JS_DEF_PROP_SYMBOL: u32 = 10;
pub const JS_DEF_PROP_BOOL: u32 = 11;
pub const QJSJIT_ABI_MAJOR: u32 = 1;
pub const QJSJIT_ABI_MINOR: u32 = 19;
pub const JS_JIT_FUNCTION_STRICT: u32 = 1;
pub const JS_JIT_FRAME_STRESS_GC: u32 = 2;
pub const JS_JIT_FRAME_SIDE_PATH_HIT: u32 = 4;
pub const JS_JIT_SLOT_NONE: u32 = 4294967295;
pub const JS_JIT_HELPER_SCRATCH_SLOTS: u32 = 2;
pub const JS_JIT_FEEDBACK_OVERFLOW: u32 = 1;
pub const JS_JIT_FEEDBACK_NEGATIVE_ZERO: u32 = 2;
pub const JS_JIT_FEEDBACK_NAN: u32 = 4;
pub const JS_JIT_FEEDBACK_BRANCH_TAKEN: u32 = 8;
pub const JS_JIT_FEEDBACK_CALL_SITE: u32 = 16;
pub const JS_JIT_FEEDBACK_PROPERTY_STORE: u32 = 32;
pub const QJSJIT_HELPER_ABI_VERSION: u32 = 1;
pub const QJSJIT_HELPER_MAX_ABI_TYPES: u32 = 8;
pub const QJSJIT_HELPER_MAX_VALUES: u32 = 4;
pub const QJSJIT_RUNTIME_API_MAJOR: u32 = 1;
pub const QJSJIT_RUNTIME_API_MINOR: u32 = 9;
pub type size_t = ::core::ffi::c_ulong;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSRuntime {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSContext {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSObject {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSClass {
    _unused: [u8; 0],
}
pub type JSClassID = u32;
pub type JSAtom = u32;
pub const JS_TAG_FIRST: _bindgen_ty_1 = -9;
pub const JS_TAG_BIG_INT: _bindgen_ty_1 = -9;
pub const JS_TAG_SYMBOL: _bindgen_ty_1 = -8;
pub const JS_TAG_STRING: _bindgen_ty_1 = -7;
pub const JS_TAG_STRING_ROPE: _bindgen_ty_1 = -6;
pub const JS_TAG_MODULE: _bindgen_ty_1 = -3;
pub const JS_TAG_FUNCTION_BYTECODE: _bindgen_ty_1 = -2;
pub const JS_TAG_OBJECT: _bindgen_ty_1 = -1;
pub const JS_TAG_INT: _bindgen_ty_1 = 0;
pub const JS_TAG_BOOL: _bindgen_ty_1 = 1;
pub const JS_TAG_NULL: _bindgen_ty_1 = 2;
pub const JS_TAG_UNDEFINED: _bindgen_ty_1 = 3;
pub const JS_TAG_UNINITIALIZED: _bindgen_ty_1 = 4;
pub const JS_TAG_CATCH_OFFSET: _bindgen_ty_1 = 5;
pub const JS_TAG_EXCEPTION: _bindgen_ty_1 = 6;
pub const JS_TAG_SHORT_BIG_INT: _bindgen_ty_1 = 7;
pub const JS_TAG_FLOAT64: _bindgen_ty_1 = 8;
pub type _bindgen_ty_1 = ::core::ffi::c_int;
pub type JSValue = u64;
pub type JSCFunction = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        this_val: JSValue,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
    ) -> JSValue,
>;
pub type JSCFunctionMagic = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        this_val: JSValue,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
        magic: ::core::ffi::c_int,
    ) -> JSValue,
>;
pub type JSCFunctionData = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        this_val: JSValue,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
        magic: ::core::ffi::c_int,
        func_data: *mut JSValue,
    ) -> JSValue,
>;
pub type JSCClosure = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        this_val: JSValue,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
        magic: ::core::ffi::c_int,
        opaque: *mut ::core::ffi::c_void,
    ) -> JSValue,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSMallocFunctions {
    pub js_calloc: ::core::option::Option<
        unsafe extern "C" fn(
            opaque: *mut ::core::ffi::c_void,
            count: size_t,
            size: size_t,
        ) -> *mut ::core::ffi::c_void,
    >,
    pub js_malloc: ::core::option::Option<
        unsafe extern "C" fn(
            opaque: *mut ::core::ffi::c_void,
            size: size_t,
        ) -> *mut ::core::ffi::c_void,
    >,
    pub js_free: ::core::option::Option<
        unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void, ptr: *mut ::core::ffi::c_void),
    >,
    pub js_realloc: ::core::option::Option<
        unsafe extern "C" fn(
            opaque: *mut ::core::ffi::c_void,
            ptr: *mut ::core::ffi::c_void,
            size: size_t,
        ) -> *mut ::core::ffi::c_void,
    >,
    pub js_malloc_usable_size:
        ::core::option::Option<unsafe extern "C" fn(ptr: *const ::core::ffi::c_void) -> size_t>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSMallocFunctions"][::core::mem::size_of::<JSMallocFunctions>() - 20usize];
    ["Alignment of JSMallocFunctions"][::core::mem::align_of::<JSMallocFunctions>() - 4usize];
    ["Offset of field: JSMallocFunctions::js_calloc"]
        [::core::mem::offset_of!(JSMallocFunctions, js_calloc) - 0usize];
    ["Offset of field: JSMallocFunctions::js_malloc"]
        [::core::mem::offset_of!(JSMallocFunctions, js_malloc) - 4usize];
    ["Offset of field: JSMallocFunctions::js_free"]
        [::core::mem::offset_of!(JSMallocFunctions, js_free) - 8usize];
    ["Offset of field: JSMallocFunctions::js_realloc"]
        [::core::mem::offset_of!(JSMallocFunctions, js_realloc) - 12usize];
    ["Offset of field: JSMallocFunctions::js_malloc_usable_size"]
        [::core::mem::offset_of!(JSMallocFunctions, js_malloc_usable_size) - 16usize];
};
pub type JSRuntimeFinalizer =
    ::core::option::Option<unsafe extern "C" fn(rt: *mut JSRuntime, arg: *mut ::core::ffi::c_void)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSGCObjectHeader {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn JS_NewRuntime() -> *mut JSRuntime;
}
unsafe extern "C" {
    pub fn JS_SetRuntimeInfo(rt: *mut JSRuntime, info: *const ::core::ffi::c_char);
}
unsafe extern "C" {
    pub fn JS_SetMemoryLimit(rt: *mut JSRuntime, limit: size_t);
}
unsafe extern "C" {
    pub fn JS_SetDumpFlags(rt: *mut JSRuntime, flags: u64);
}
unsafe extern "C" {
    pub fn JS_GetDumpFlags(rt: *mut JSRuntime) -> u64;
}
unsafe extern "C" {
    pub fn JS_GetGCThreshold(rt: *mut JSRuntime) -> size_t;
}
unsafe extern "C" {
    pub fn JS_SetGCThreshold(rt: *mut JSRuntime, gc_threshold: size_t);
}
unsafe extern "C" {
    pub fn JS_SetMaxStackSize(rt: *mut JSRuntime, stack_size: size_t);
}
unsafe extern "C" {
    pub fn JS_UpdateStackTop(rt: *mut JSRuntime);
}
unsafe extern "C" {
    pub fn JS_NewRuntime2(
        mf: *const JSMallocFunctions,
        opaque: *mut ::core::ffi::c_void,
    ) -> *mut JSRuntime;
}
unsafe extern "C" {
    pub fn JS_FreeRuntime(rt: *mut JSRuntime);
}
unsafe extern "C" {
    pub fn JS_GetRuntimeOpaque(rt: *mut JSRuntime) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn JS_SetRuntimeOpaque(rt: *mut JSRuntime, opaque: *mut ::core::ffi::c_void);
}
unsafe extern "C" {
    pub fn JS_AddRuntimeFinalizer(
        rt: *mut JSRuntime,
        finalizer: JSRuntimeFinalizer,
        arg: *mut ::core::ffi::c_void,
    ) -> ::core::ffi::c_int;
}
pub type JS_MarkFunc =
    ::core::option::Option<unsafe extern "C" fn(rt: *mut JSRuntime, gp: *mut JSGCObjectHeader)>;
unsafe extern "C" {
    pub fn JS_MarkValue(rt: *mut JSRuntime, val: JSValue, mark_func: JS_MarkFunc);
}
unsafe extern "C" {
    pub fn JS_RunGC(rt: *mut JSRuntime);
}
unsafe extern "C" {
    pub fn JS_IsLiveObject(rt: *mut JSRuntime, obj: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_NewContext(rt: *mut JSRuntime) -> *mut JSContext;
}
unsafe extern "C" {
    pub fn JS_FreeContext(s: *mut JSContext);
}
unsafe extern "C" {
    pub fn JS_DupContext(ctx: *mut JSContext) -> *mut JSContext;
}
unsafe extern "C" {
    pub fn JS_GetContextOpaque(ctx: *mut JSContext) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn JS_SetContextOpaque(ctx: *mut JSContext, opaque: *mut ::core::ffi::c_void);
}
unsafe extern "C" {
    pub fn JS_GetRuntime(ctx: *mut JSContext) -> *mut JSRuntime;
}
unsafe extern "C" {
    pub fn JS_SetClassProto(ctx: *mut JSContext, class_id: JSClassID, obj: JSValue);
}
unsafe extern "C" {
    pub fn JS_GetClassProto(ctx: *mut JSContext, class_id: JSClassID) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetFunctionProto(ctx: *mut JSContext) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewContextRaw(rt: *mut JSRuntime) -> *mut JSContext;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicBaseObjects(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicDate(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicEval(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicRegExpCompiler(ctx: *mut JSContext);
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicRegExp(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicJSON(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicProxy(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicMapSet(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicTypedArrays(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicPromise(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicBigInt(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicWeakRef(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddPerformance(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicDOMException(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddIntrinsicAToB(ctx: *mut JSContext) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_IsEqual(ctx: *mut JSContext, op1: JSValue, op2: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_IsStrictEqual(ctx: *mut JSContext, op1: JSValue, op2: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsSameValue(ctx: *mut JSContext, op1: JSValue, op2: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsSameValueZero(ctx: *mut JSContext, op1: JSValue, op2: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn js_string_codePointRange(
        ctx: *mut JSContext,
        this_val: JSValue,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn js_calloc_rt(
        rt: *mut JSRuntime,
        count: size_t,
        size: size_t,
    ) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn js_malloc_rt(rt: *mut JSRuntime, size: size_t) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn js_free_rt(rt: *mut JSRuntime, ptr: *mut ::core::ffi::c_void);
}
unsafe extern "C" {
    pub fn js_realloc_rt(
        rt: *mut JSRuntime,
        ptr: *mut ::core::ffi::c_void,
        size: size_t,
    ) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn js_malloc_usable_size_rt(rt: *mut JSRuntime, ptr: *const ::core::ffi::c_void) -> size_t;
}
unsafe extern "C" {
    pub fn js_mallocz_rt(rt: *mut JSRuntime, size: size_t) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn js_calloc(ctx: *mut JSContext, count: size_t, size: size_t) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn js_malloc(ctx: *mut JSContext, size: size_t) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn js_free(ctx: *mut JSContext, ptr: *mut ::core::ffi::c_void);
}
unsafe extern "C" {
    pub fn js_realloc(
        ctx: *mut JSContext,
        ptr: *mut ::core::ffi::c_void,
        size: size_t,
    ) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn js_malloc_usable_size(ctx: *mut JSContext, ptr: *const ::core::ffi::c_void) -> size_t;
}
unsafe extern "C" {
    pub fn js_realloc2(
        ctx: *mut JSContext,
        ptr: *mut ::core::ffi::c_void,
        size: size_t,
        pslack: *mut size_t,
    ) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn js_mallocz(ctx: *mut JSContext, size: size_t) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn js_strdup(
        ctx: *mut JSContext,
        str_: *const ::core::ffi::c_char,
    ) -> *mut ::core::ffi::c_char;
}
unsafe extern "C" {
    pub fn js_strndup(
        ctx: *mut JSContext,
        s: *const ::core::ffi::c_char,
        n: size_t,
    ) -> *mut ::core::ffi::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSMemoryUsage {
    pub malloc_size: i64,
    pub malloc_limit: i64,
    pub memory_used_size: i64,
    pub malloc_count: i64,
    pub memory_used_count: i64,
    pub atom_count: i64,
    pub atom_size: i64,
    pub str_count: i64,
    pub str_size: i64,
    pub obj_count: i64,
    pub obj_size: i64,
    pub prop_count: i64,
    pub prop_size: i64,
    pub shape_count: i64,
    pub shape_size: i64,
    pub js_func_count: i64,
    pub js_func_size: i64,
    pub js_func_code_size: i64,
    pub js_func_pc2line_count: i64,
    pub js_func_pc2line_size: i64,
    pub c_func_count: i64,
    pub array_count: i64,
    pub fast_array_count: i64,
    pub fast_array_elements: i64,
    pub binary_object_count: i64,
    pub binary_object_size: i64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSMemoryUsage"][::core::mem::size_of::<JSMemoryUsage>() - 208usize];
    ["Alignment of JSMemoryUsage"][::core::mem::align_of::<JSMemoryUsage>() - 8usize];
    ["Offset of field: JSMemoryUsage::malloc_size"]
        [::core::mem::offset_of!(JSMemoryUsage, malloc_size) - 0usize];
    ["Offset of field: JSMemoryUsage::malloc_limit"]
        [::core::mem::offset_of!(JSMemoryUsage, malloc_limit) - 8usize];
    ["Offset of field: JSMemoryUsage::memory_used_size"]
        [::core::mem::offset_of!(JSMemoryUsage, memory_used_size) - 16usize];
    ["Offset of field: JSMemoryUsage::malloc_count"]
        [::core::mem::offset_of!(JSMemoryUsage, malloc_count) - 24usize];
    ["Offset of field: JSMemoryUsage::memory_used_count"]
        [::core::mem::offset_of!(JSMemoryUsage, memory_used_count) - 32usize];
    ["Offset of field: JSMemoryUsage::atom_count"]
        [::core::mem::offset_of!(JSMemoryUsage, atom_count) - 40usize];
    ["Offset of field: JSMemoryUsage::atom_size"]
        [::core::mem::offset_of!(JSMemoryUsage, atom_size) - 48usize];
    ["Offset of field: JSMemoryUsage::str_count"]
        [::core::mem::offset_of!(JSMemoryUsage, str_count) - 56usize];
    ["Offset of field: JSMemoryUsage::str_size"]
        [::core::mem::offset_of!(JSMemoryUsage, str_size) - 64usize];
    ["Offset of field: JSMemoryUsage::obj_count"]
        [::core::mem::offset_of!(JSMemoryUsage, obj_count) - 72usize];
    ["Offset of field: JSMemoryUsage::obj_size"]
        [::core::mem::offset_of!(JSMemoryUsage, obj_size) - 80usize];
    ["Offset of field: JSMemoryUsage::prop_count"]
        [::core::mem::offset_of!(JSMemoryUsage, prop_count) - 88usize];
    ["Offset of field: JSMemoryUsage::prop_size"]
        [::core::mem::offset_of!(JSMemoryUsage, prop_size) - 96usize];
    ["Offset of field: JSMemoryUsage::shape_count"]
        [::core::mem::offset_of!(JSMemoryUsage, shape_count) - 104usize];
    ["Offset of field: JSMemoryUsage::shape_size"]
        [::core::mem::offset_of!(JSMemoryUsage, shape_size) - 112usize];
    ["Offset of field: JSMemoryUsage::js_func_count"]
        [::core::mem::offset_of!(JSMemoryUsage, js_func_count) - 120usize];
    ["Offset of field: JSMemoryUsage::js_func_size"]
        [::core::mem::offset_of!(JSMemoryUsage, js_func_size) - 128usize];
    ["Offset of field: JSMemoryUsage::js_func_code_size"]
        [::core::mem::offset_of!(JSMemoryUsage, js_func_code_size) - 136usize];
    ["Offset of field: JSMemoryUsage::js_func_pc2line_count"]
        [::core::mem::offset_of!(JSMemoryUsage, js_func_pc2line_count) - 144usize];
    ["Offset of field: JSMemoryUsage::js_func_pc2line_size"]
        [::core::mem::offset_of!(JSMemoryUsage, js_func_pc2line_size) - 152usize];
    ["Offset of field: JSMemoryUsage::c_func_count"]
        [::core::mem::offset_of!(JSMemoryUsage, c_func_count) - 160usize];
    ["Offset of field: JSMemoryUsage::array_count"]
        [::core::mem::offset_of!(JSMemoryUsage, array_count) - 168usize];
    ["Offset of field: JSMemoryUsage::fast_array_count"]
        [::core::mem::offset_of!(JSMemoryUsage, fast_array_count) - 176usize];
    ["Offset of field: JSMemoryUsage::fast_array_elements"]
        [::core::mem::offset_of!(JSMemoryUsage, fast_array_elements) - 184usize];
    ["Offset of field: JSMemoryUsage::binary_object_count"]
        [::core::mem::offset_of!(JSMemoryUsage, binary_object_count) - 192usize];
    ["Offset of field: JSMemoryUsage::binary_object_size"]
        [::core::mem::offset_of!(JSMemoryUsage, binary_object_size) - 200usize];
};
unsafe extern "C" {
    pub fn JS_ComputeMemoryUsage(rt: *mut JSRuntime, s: *mut JSMemoryUsage);
}
unsafe extern "C" {
    pub fn JS_NewAtomLen(
        ctx: *mut JSContext,
        str_: *const ::core::ffi::c_char,
        len: size_t,
    ) -> JSAtom;
}
unsafe extern "C" {
    pub fn JS_NewAtom(ctx: *mut JSContext, str_: *const ::core::ffi::c_char) -> JSAtom;
}
unsafe extern "C" {
    pub fn JS_NewAtomUInt32(ctx: *mut JSContext, n: u32) -> JSAtom;
}
unsafe extern "C" {
    pub fn JS_DupAtom(ctx: *mut JSContext, v: JSAtom) -> JSAtom;
}
unsafe extern "C" {
    pub fn JS_DupAtomRT(rt: *mut JSRuntime, v: JSAtom) -> JSAtom;
}
unsafe extern "C" {
    pub fn JS_FreeAtom(ctx: *mut JSContext, v: JSAtom);
}
unsafe extern "C" {
    pub fn JS_FreeAtomRT(rt: *mut JSRuntime, v: JSAtom);
}
unsafe extern "C" {
    pub fn JS_AtomToValue(ctx: *mut JSContext, atom: JSAtom) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_AtomToString(ctx: *mut JSContext, atom: JSAtom) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_AtomToCStringLen(
        ctx: *mut JSContext,
        plen: *mut size_t,
        atom: JSAtom,
    ) -> *const ::core::ffi::c_char;
}
unsafe extern "C" {
    pub fn JS_ValueToAtom(ctx: *mut JSContext, val: JSValue) -> JSAtom;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSPropertyEnum {
    pub is_enumerable: bool,
    pub atom: JSAtom,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSPropertyEnum"][::core::mem::size_of::<JSPropertyEnum>() - 8usize];
    ["Alignment of JSPropertyEnum"][::core::mem::align_of::<JSPropertyEnum>() - 4usize];
    ["Offset of field: JSPropertyEnum::is_enumerable"]
        [::core::mem::offset_of!(JSPropertyEnum, is_enumerable) - 0usize];
    ["Offset of field: JSPropertyEnum::atom"]
        [::core::mem::offset_of!(JSPropertyEnum, atom) - 4usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSPropertyDescriptor {
    pub flags: ::core::ffi::c_int,
    pub value: JSValue,
    pub getter: JSValue,
    pub setter: JSValue,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSPropertyDescriptor"][::core::mem::size_of::<JSPropertyDescriptor>() - 32usize];
    ["Alignment of JSPropertyDescriptor"][::core::mem::align_of::<JSPropertyDescriptor>() - 8usize];
    ["Offset of field: JSPropertyDescriptor::flags"]
        [::core::mem::offset_of!(JSPropertyDescriptor, flags) - 0usize];
    ["Offset of field: JSPropertyDescriptor::value"]
        [::core::mem::offset_of!(JSPropertyDescriptor, value) - 8usize];
    ["Offset of field: JSPropertyDescriptor::getter"]
        [::core::mem::offset_of!(JSPropertyDescriptor, getter) - 16usize];
    ["Offset of field: JSPropertyDescriptor::setter"]
        [::core::mem::offset_of!(JSPropertyDescriptor, setter) - 24usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSClassExoticMethods {
    pub get_own_property: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            desc: *mut JSPropertyDescriptor,
            obj: JSValue,
            prop: JSAtom,
        ) -> ::core::ffi::c_int,
    >,
    pub get_own_property_names: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            ptab: *mut *mut JSPropertyEnum,
            plen: *mut u32,
            obj: JSValue,
        ) -> ::core::ffi::c_int,
    >,
    pub delete_property: ::core::option::Option<
        unsafe extern "C" fn(ctx: *mut JSContext, obj: JSValue, prop: JSAtom) -> ::core::ffi::c_int,
    >,
    pub define_own_property: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            this_obj: JSValue,
            prop: JSAtom,
            val: JSValue,
            getter: JSValue,
            setter: JSValue,
            flags: ::core::ffi::c_int,
        ) -> ::core::ffi::c_int,
    >,
    pub has_property: ::core::option::Option<
        unsafe extern "C" fn(ctx: *mut JSContext, obj: JSValue, atom: JSAtom) -> ::core::ffi::c_int,
    >,
    pub get_property: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            obj: JSValue,
            atom: JSAtom,
            receiver: JSValue,
        ) -> JSValue,
    >,
    pub set_property: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            obj: JSValue,
            atom: JSAtom,
            value: JSValue,
            receiver: JSValue,
            flags: ::core::ffi::c_int,
        ) -> ::core::ffi::c_int,
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSClassExoticMethods"][::core::mem::size_of::<JSClassExoticMethods>() - 28usize];
    ["Alignment of JSClassExoticMethods"][::core::mem::align_of::<JSClassExoticMethods>() - 4usize];
    ["Offset of field: JSClassExoticMethods::get_own_property"]
        [::core::mem::offset_of!(JSClassExoticMethods, get_own_property) - 0usize];
    ["Offset of field: JSClassExoticMethods::get_own_property_names"]
        [::core::mem::offset_of!(JSClassExoticMethods, get_own_property_names) - 4usize];
    ["Offset of field: JSClassExoticMethods::delete_property"]
        [::core::mem::offset_of!(JSClassExoticMethods, delete_property) - 8usize];
    ["Offset of field: JSClassExoticMethods::define_own_property"]
        [::core::mem::offset_of!(JSClassExoticMethods, define_own_property) - 12usize];
    ["Offset of field: JSClassExoticMethods::has_property"]
        [::core::mem::offset_of!(JSClassExoticMethods, has_property) - 16usize];
    ["Offset of field: JSClassExoticMethods::get_property"]
        [::core::mem::offset_of!(JSClassExoticMethods, get_property) - 20usize];
    ["Offset of field: JSClassExoticMethods::set_property"]
        [::core::mem::offset_of!(JSClassExoticMethods, set_property) - 24usize];
};
pub type JSClassFinalizer =
    ::core::option::Option<unsafe extern "C" fn(rt: *mut JSRuntime, val: JSValue)>;
pub type JSClassGCMark = ::core::option::Option<
    unsafe extern "C" fn(rt: *mut JSRuntime, val: JSValue, mark_func: JS_MarkFunc),
>;
pub type JSClassCall = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        func_obj: JSValue,
        this_val: JSValue,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
        flags: ::core::ffi::c_int,
    ) -> JSValue,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSClassDef {
    pub class_name: *const ::core::ffi::c_char,
    pub finalizer: JSClassFinalizer,
    pub gc_mark: JSClassGCMark,
    pub call: JSClassCall,
    pub exotic: *mut JSClassExoticMethods,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSClassDef"][::core::mem::size_of::<JSClassDef>() - 20usize];
    ["Alignment of JSClassDef"][::core::mem::align_of::<JSClassDef>() - 4usize];
    ["Offset of field: JSClassDef::class_name"]
        [::core::mem::offset_of!(JSClassDef, class_name) - 0usize];
    ["Offset of field: JSClassDef::finalizer"]
        [::core::mem::offset_of!(JSClassDef, finalizer) - 4usize];
    ["Offset of field: JSClassDef::gc_mark"][::core::mem::offset_of!(JSClassDef, gc_mark) - 8usize];
    ["Offset of field: JSClassDef::call"][::core::mem::offset_of!(JSClassDef, call) - 12usize];
    ["Offset of field: JSClassDef::exotic"][::core::mem::offset_of!(JSClassDef, exotic) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSEvalOptions {
    pub version: ::core::ffi::c_int,
    pub eval_flags: ::core::ffi::c_int,
    pub filename: *const ::core::ffi::c_char,
    pub line_num: ::core::ffi::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSEvalOptions"][::core::mem::size_of::<JSEvalOptions>() - 16usize];
    ["Alignment of JSEvalOptions"][::core::mem::align_of::<JSEvalOptions>() - 4usize];
    ["Offset of field: JSEvalOptions::version"]
        [::core::mem::offset_of!(JSEvalOptions, version) - 0usize];
    ["Offset of field: JSEvalOptions::eval_flags"]
        [::core::mem::offset_of!(JSEvalOptions, eval_flags) - 4usize];
    ["Offset of field: JSEvalOptions::filename"]
        [::core::mem::offset_of!(JSEvalOptions, filename) - 8usize];
    ["Offset of field: JSEvalOptions::line_num"]
        [::core::mem::offset_of!(JSEvalOptions, line_num) - 12usize];
};
unsafe extern "C" {
    pub fn JS_NewClassID(rt: *mut JSRuntime, pclass_id: *mut JSClassID) -> JSClassID;
}
unsafe extern "C" {
    pub fn JS_GetClassID(v: JSValue) -> JSClassID;
}
unsafe extern "C" {
    pub fn JS_NewClass(
        rt: *mut JSRuntime,
        class_id: JSClassID,
        class_def: *const JSClassDef,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_IsRegisteredClass(rt: *mut JSRuntime, class_id: JSClassID) -> bool;
}
unsafe extern "C" {
    pub fn JS_GetClassName(rt: *mut JSRuntime, class_id: JSClassID) -> JSAtom;
}
unsafe extern "C" {
    pub fn JS_NewNumber(ctx: *mut JSContext, d: f64) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewBigInt64(ctx: *mut JSContext, v: i64) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewBigUint64(ctx: *mut JSContext, v: u64) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_Throw(ctx: *mut JSContext, obj: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetException(ctx: *mut JSContext) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_HasException(ctx: *mut JSContext) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsError(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsUncatchableError(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_SetUncatchableError(ctx: *mut JSContext, val: JSValue);
}
unsafe extern "C" {
    pub fn JS_ClearUncatchableError(ctx: *mut JSContext, val: JSValue);
}
unsafe extern "C" {
    pub fn JS_ResetUncatchableError(ctx: *mut JSContext);
}
unsafe extern "C" {
    pub fn JS_NewError(ctx: *mut JSContext) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewInternalError(
        ctx: *mut JSContext,
        fmt: *const ::core::ffi::c_char,
        ...
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewPlainError(ctx: *mut JSContext, fmt: *const ::core::ffi::c_char, ...) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewRangeError(ctx: *mut JSContext, fmt: *const ::core::ffi::c_char, ...) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewReferenceError(
        ctx: *mut JSContext,
        fmt: *const ::core::ffi::c_char,
        ...
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewSyntaxError(ctx: *mut JSContext, fmt: *const ::core::ffi::c_char, ...) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewTypeError(ctx: *mut JSContext, fmt: *const ::core::ffi::c_char, ...) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ThrowInternalError(
        ctx: *mut JSContext,
        fmt: *const ::core::ffi::c_char,
        ...
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ThrowPlainError(ctx: *mut JSContext, fmt: *const ::core::ffi::c_char, ...)
    -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ThrowRangeError(ctx: *mut JSContext, fmt: *const ::core::ffi::c_char, ...)
    -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ThrowReferenceError(
        ctx: *mut JSContext,
        fmt: *const ::core::ffi::c_char,
        ...
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ThrowSyntaxError(
        ctx: *mut JSContext,
        fmt: *const ::core::ffi::c_char,
        ...
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ThrowTypeError(ctx: *mut JSContext, fmt: *const ::core::ffi::c_char, ...) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ThrowDOMException(
        ctx: *mut JSContext,
        name: *const ::core::ffi::c_char,
        fmt: *const ::core::ffi::c_char,
        ...
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ThrowOutOfMemory(ctx: *mut JSContext) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_FreeValue(ctx: *mut JSContext, v: JSValue);
}
unsafe extern "C" {
    pub fn JS_FreeValueRT(rt: *mut JSRuntime, v: JSValue);
}
unsafe extern "C" {
    pub fn JS_DupValue(ctx: *mut JSContext, v: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_DupValueRT(rt: *mut JSRuntime, v: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ToBool(ctx: *mut JSContext, val: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_ToNumber(ctx: *mut JSContext, val: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ToInt32(ctx: *mut JSContext, pres: *mut i32, val: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_ToInt64(ctx: *mut JSContext, pres: *mut i64, val: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_ToIndex(ctx: *mut JSContext, plen: *mut u64, val: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_ToFloat64(ctx: *mut JSContext, pres: *mut f64, val: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_ToBigInt64(ctx: *mut JSContext, pres: *mut i64, val: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_ToBigUint64(ctx: *mut JSContext, pres: *mut u64, val: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_ToInt64Ext(ctx: *mut JSContext, pres: *mut i64, val: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_NewStringLen(
        ctx: *mut JSContext,
        str1: *const ::core::ffi::c_char,
        len1: size_t,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewStringUTF16(ctx: *mut JSContext, buf: *const u16, len: size_t) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewAtomString(ctx: *mut JSContext, str_: *const ::core::ffi::c_char) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ToString(ctx: *mut JSContext, val: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ToPropertyKey(ctx: *mut JSContext, val: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ToCStringLen2(
        ctx: *mut JSContext,
        plen: *mut size_t,
        val1: JSValue,
        cesu8: bool,
    ) -> *const ::core::ffi::c_char;
}
unsafe extern "C" {
    pub fn JS_ToCStringLenUTF16(
        ctx: *mut JSContext,
        plen: *mut size_t,
        val1: JSValue,
    ) -> *const u16;
}
unsafe extern "C" {
    pub fn JS_FreeCString(ctx: *mut JSContext, ptr: *const ::core::ffi::c_char);
}
unsafe extern "C" {
    pub fn JS_FreeCStringRT(rt: *mut JSRuntime, ptr: *const ::core::ffi::c_char);
}
unsafe extern "C" {
    pub fn JS_FreeCStringUTF16(ctx: *mut JSContext, ptr: *const u16);
}
unsafe extern "C" {
    pub fn JS_FreeCStringRT_UTF16(rt: *mut JSRuntime, ptr: *const u16);
}
unsafe extern "C" {
    pub fn JS_NewObjectProtoClass(
        ctx: *mut JSContext,
        proto: JSValue,
        class_id: JSClassID,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewObjectClass(ctx: *mut JSContext, class_id: JSClassID) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewObjectProto(ctx: *mut JSContext, proto: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewObject(ctx: *mut JSContext) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewObjectFrom(
        ctx: *mut JSContext,
        count: ::core::ffi::c_int,
        props: *const JSAtom,
        values: *const JSValue,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewObjectFromStr(
        ctx: *mut JSContext,
        count: ::core::ffi::c_int,
        props: *mut *const ::core::ffi::c_char,
        values: *const JSValue,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ToObject(ctx: *mut JSContext, val: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ToObjectString(ctx: *mut JSContext, val: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_IsFunction(ctx: *mut JSContext, val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsAsyncFunction(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsConstructor(ctx: *mut JSContext, val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_SetConstructorBit(ctx: *mut JSContext, func_obj: JSValue, val: bool) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsRegExp(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsMap(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsSet(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsWeakRef(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsWeakSet(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsWeakMap(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsDataView(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_NewArray(ctx: *mut JSContext) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewArrayFrom(
        ctx: *mut JSContext,
        count: ::core::ffi::c_int,
        values: *const JSValue,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_IsArray(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsProxy(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_GetProxyTarget(ctx: *mut JSContext, proxy: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetProxyHandler(ctx: *mut JSContext, proxy: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewProxy(ctx: *mut JSContext, target: JSValue, handler: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewDate(ctx: *mut JSContext, epoch_ms: f64) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_IsDate(v: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_GetProperty(ctx: *mut JSContext, this_obj: JSValue, prop: JSAtom) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetPropertyUint32(ctx: *mut JSContext, this_obj: JSValue, idx: u32) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetPropertyInt64(ctx: *mut JSContext, this_obj: JSValue, idx: i64) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetPropertyStr(
        ctx: *mut JSContext,
        this_obj: JSValue,
        prop: *const ::core::ffi::c_char,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_SetProperty(
        ctx: *mut JSContext,
        this_obj: JSValue,
        prop: JSAtom,
        val: JSValue,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetPropertyUint32(
        ctx: *mut JSContext,
        this_obj: JSValue,
        idx: u32,
        val: JSValue,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetPropertyInt64(
        ctx: *mut JSContext,
        this_obj: JSValue,
        idx: i64,
        val: JSValue,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetPropertyStr(
        ctx: *mut JSContext,
        this_obj: JSValue,
        prop: *const ::core::ffi::c_char,
        val: JSValue,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_HasProperty(
        ctx: *mut JSContext,
        this_obj: JSValue,
        prop: JSAtom,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_IsExtensible(ctx: *mut JSContext, obj: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_PreventExtensions(ctx: *mut JSContext, obj: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_DeleteProperty(
        ctx: *mut JSContext,
        obj: JSValue,
        prop: JSAtom,
        flags: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetPrototype(
        ctx: *mut JSContext,
        obj: JSValue,
        proto_val: JSValue,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_GetPrototype(ctx: *mut JSContext, val: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetLength(ctx: *mut JSContext, obj: JSValue, pres: *mut i64) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetLength(ctx: *mut JSContext, obj: JSValue, len: i64) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SealObject(ctx: *mut JSContext, obj: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_FreezeObject(ctx: *mut JSContext, obj: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_GetOwnPropertyNames(
        ctx: *mut JSContext,
        ptab: *mut *mut JSPropertyEnum,
        plen: *mut u32,
        obj: JSValue,
        flags: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_GetOwnProperty(
        ctx: *mut JSContext,
        desc: *mut JSPropertyDescriptor,
        obj: JSValue,
        prop: JSAtom,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_FreePropertyEnum(ctx: *mut JSContext, tab: *mut JSPropertyEnum, len: u32);
}
unsafe extern "C" {
    pub fn JS_Call(
        ctx: *mut JSContext,
        func_obj: JSValue,
        this_obj: JSValue,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_Invoke(
        ctx: *mut JSContext,
        this_val: JSValue,
        atom: JSAtom,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_CallConstructor(
        ctx: *mut JSContext,
        func_obj: JSValue,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_CallConstructor2(
        ctx: *mut JSContext,
        func_obj: JSValue,
        new_target: JSValue,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_DetectModule(input: *const ::core::ffi::c_char, input_len: size_t) -> bool;
}
unsafe extern "C" {
    pub fn JS_Eval(
        ctx: *mut JSContext,
        input: *const ::core::ffi::c_char,
        input_len: size_t,
        filename: *const ::core::ffi::c_char,
        eval_flags: ::core::ffi::c_int,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_Eval2(
        ctx: *mut JSContext,
        input: *const ::core::ffi::c_char,
        input_len: size_t,
        options: *mut JSEvalOptions,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_EvalThis(
        ctx: *mut JSContext,
        this_obj: JSValue,
        input: *const ::core::ffi::c_char,
        input_len: size_t,
        filename: *const ::core::ffi::c_char,
        eval_flags: ::core::ffi::c_int,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_EvalThis2(
        ctx: *mut JSContext,
        this_obj: JSValue,
        input: *const ::core::ffi::c_char,
        input_len: size_t,
        options: *mut JSEvalOptions,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetGlobalObject(ctx: *mut JSContext) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_IsInstanceOf(ctx: *mut JSContext, val: JSValue, obj: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_DefineProperty(
        ctx: *mut JSContext,
        this_obj: JSValue,
        prop: JSAtom,
        val: JSValue,
        getter: JSValue,
        setter: JSValue,
        flags: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_DefinePropertyValue(
        ctx: *mut JSContext,
        this_obj: JSValue,
        prop: JSAtom,
        val: JSValue,
        flags: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_DefinePropertyValueUint32(
        ctx: *mut JSContext,
        this_obj: JSValue,
        idx: u32,
        val: JSValue,
        flags: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_DefinePropertyValueStr(
        ctx: *mut JSContext,
        this_obj: JSValue,
        prop: *const ::core::ffi::c_char,
        val: JSValue,
        flags: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_DefinePropertyGetSet(
        ctx: *mut JSContext,
        this_obj: JSValue,
        prop: JSAtom,
        getter: JSValue,
        setter: JSValue,
        flags: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetOpaque(obj: JSValue, opaque: *mut ::core::ffi::c_void) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_GetOpaque(obj: JSValue, class_id: JSClassID) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn JS_GetOpaque2(
        ctx: *mut JSContext,
        obj: JSValue,
        class_id: JSClassID,
    ) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn JS_GetAnyOpaque(obj: JSValue, class_id: *mut JSClassID) -> *mut ::core::ffi::c_void;
}
unsafe extern "C" {
    pub fn JS_ParseJSON(
        ctx: *mut JSContext,
        buf: *const ::core::ffi::c_char,
        buf_len: size_t,
        filename: *const ::core::ffi::c_char,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_JSONStringify(
        ctx: *mut JSContext,
        obj: JSValue,
        replacer: JSValue,
        space0: JSValue,
    ) -> JSValue;
}
pub type JSFreeArrayBufferDataFunc = ::core::option::Option<
    unsafe extern "C" fn(
        rt: *mut JSRuntime,
        opaque: *mut ::core::ffi::c_void,
        ptr: *mut ::core::ffi::c_void,
    ),
>;
unsafe extern "C" {
    pub fn JS_NewArrayBuffer(
        ctx: *mut JSContext,
        buf: *mut u8,
        len: size_t,
        free_func: JSFreeArrayBufferDataFunc,
        opaque: *mut ::core::ffi::c_void,
        is_shared: bool,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewArrayBufferCopy(ctx: *mut JSContext, buf: *const u8, len: size_t) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_DetachArrayBuffer(ctx: *mut JSContext, obj: JSValue);
}
unsafe extern "C" {
    pub fn JS_GetArrayBuffer(ctx: *mut JSContext, psize: *mut size_t, obj: JSValue) -> *mut u8;
}
unsafe extern "C" {
    pub fn JS_IsArrayBuffer(obj: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_IsImmutableArrayBuffer(obj: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetImmutableArrayBuffer(obj: JSValue, immutable: bool) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_GetUint8Array(ctx: *mut JSContext, psize: *mut size_t, obj: JSValue) -> *mut u8;
}
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_UINT8C: JSTypedArrayEnum = 0;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_INT8: JSTypedArrayEnum = 1;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_UINT8: JSTypedArrayEnum = 2;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_INT16: JSTypedArrayEnum = 3;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_UINT16: JSTypedArrayEnum = 4;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_INT32: JSTypedArrayEnum = 5;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_UINT32: JSTypedArrayEnum = 6;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_BIG_INT64: JSTypedArrayEnum = 7;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_BIG_UINT64: JSTypedArrayEnum = 8;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_FLOAT16: JSTypedArrayEnum = 9;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_FLOAT32: JSTypedArrayEnum = 10;
pub const JSTypedArrayEnum_JS_TYPED_ARRAY_FLOAT64: JSTypedArrayEnum = 11;
pub type JSTypedArrayEnum = ::core::ffi::c_uint;
unsafe extern "C" {
    pub fn JS_NewTypedArray(
        ctx: *mut JSContext,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
        array_type: JSTypedArrayEnum,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetTypedArrayBuffer(
        ctx: *mut JSContext,
        obj: JSValue,
        pbyte_offset: *mut size_t,
        pbyte_length: *mut size_t,
        pbytes_per_element: *mut size_t,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewUint8Array(
        ctx: *mut JSContext,
        buf: *mut u8,
        len: size_t,
        free_func: JSFreeArrayBufferDataFunc,
        opaque: *mut ::core::ffi::c_void,
        is_shared: bool,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetTypedArrayType(obj: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_NewUint8ArrayCopy(ctx: *mut JSContext, buf: *const u8, len: size_t) -> JSValue;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSSharedArrayBufferFunctions {
    pub sab_alloc: ::core::option::Option<
        unsafe extern "C" fn(
            opaque: *mut ::core::ffi::c_void,
            size: size_t,
        ) -> *mut ::core::ffi::c_void,
    >,
    pub sab_free: ::core::option::Option<
        unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void, ptr: *mut ::core::ffi::c_void),
    >,
    pub sab_dup: ::core::option::Option<
        unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void, ptr: *mut ::core::ffi::c_void),
    >,
    pub sab_opaque: *mut ::core::ffi::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSSharedArrayBufferFunctions"]
        [::core::mem::size_of::<JSSharedArrayBufferFunctions>() - 16usize];
    ["Alignment of JSSharedArrayBufferFunctions"]
        [::core::mem::align_of::<JSSharedArrayBufferFunctions>() - 4usize];
    ["Offset of field: JSSharedArrayBufferFunctions::sab_alloc"]
        [::core::mem::offset_of!(JSSharedArrayBufferFunctions, sab_alloc) - 0usize];
    ["Offset of field: JSSharedArrayBufferFunctions::sab_free"]
        [::core::mem::offset_of!(JSSharedArrayBufferFunctions, sab_free) - 4usize];
    ["Offset of field: JSSharedArrayBufferFunctions::sab_dup"]
        [::core::mem::offset_of!(JSSharedArrayBufferFunctions, sab_dup) - 8usize];
    ["Offset of field: JSSharedArrayBufferFunctions::sab_opaque"]
        [::core::mem::offset_of!(JSSharedArrayBufferFunctions, sab_opaque) - 12usize];
};
unsafe extern "C" {
    pub fn JS_SetSharedArrayBufferFunctions(
        rt: *mut JSRuntime,
        sf: *const JSSharedArrayBufferFunctions,
    );
}
pub const JSPromiseStateEnum_JS_PROMISE_NOT_A_PROMISE: JSPromiseStateEnum = -1;
pub const JSPromiseStateEnum_JS_PROMISE_PENDING: JSPromiseStateEnum = 0;
pub const JSPromiseStateEnum_JS_PROMISE_FULFILLED: JSPromiseStateEnum = 1;
pub const JSPromiseStateEnum_JS_PROMISE_REJECTED: JSPromiseStateEnum = 2;
pub type JSPromiseStateEnum = ::core::ffi::c_int;
unsafe extern "C" {
    pub fn JS_NewPromiseCapability(ctx: *mut JSContext, resolving_funcs: *mut JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_PromiseState(ctx: *mut JSContext, promise: JSValue) -> JSPromiseStateEnum;
}
unsafe extern "C" {
    pub fn JS_PromiseResult(ctx: *mut JSContext, promise: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_IsPromise(val: JSValue) -> bool;
}
unsafe extern "C" {
    pub fn JS_NewSettledPromise(ctx: *mut JSContext, is_reject: bool, value: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewSymbol(
        ctx: *mut JSContext,
        description: *const ::core::ffi::c_char,
        is_global: bool,
    ) -> JSValue;
}
pub const JSPromiseHookType_JS_PROMISE_HOOK_INIT: JSPromiseHookType = 0;
pub const JSPromiseHookType_JS_PROMISE_HOOK_BEFORE: JSPromiseHookType = 1;
pub const JSPromiseHookType_JS_PROMISE_HOOK_AFTER: JSPromiseHookType = 2;
pub const JSPromiseHookType_JS_PROMISE_HOOK_RESOLVE: JSPromiseHookType = 3;
pub type JSPromiseHookType = ::core::ffi::c_uint;
pub type JSPromiseHook = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        type_: JSPromiseHookType,
        promise: JSValue,
        parent_promise: JSValue,
        opaque: *mut ::core::ffi::c_void,
    ),
>;
unsafe extern "C" {
    pub fn JS_SetPromiseHook(
        rt: *mut JSRuntime,
        promise_hook: JSPromiseHook,
        opaque: *mut ::core::ffi::c_void,
    );
}
pub type JSHostPromiseRejectionTracker = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        promise: JSValue,
        reason: JSValue,
        is_handled: bool,
        opaque: *mut ::core::ffi::c_void,
    ),
>;
unsafe extern "C" {
    pub fn JS_SetHostPromiseRejectionTracker(
        rt: *mut JSRuntime,
        cb: JSHostPromiseRejectionTracker,
        opaque: *mut ::core::ffi::c_void,
    );
}
pub type JSInterruptHandler = ::core::option::Option<
    unsafe extern "C" fn(
        rt: *mut JSRuntime,
        opaque: *mut ::core::ffi::c_void,
    ) -> ::core::ffi::c_int,
>;
unsafe extern "C" {
    pub fn JS_SetInterruptHandler(
        rt: *mut JSRuntime,
        cb: JSInterruptHandler,
        opaque: *mut ::core::ffi::c_void,
    );
}
unsafe extern "C" {
    pub fn JS_SetCanBlock(rt: *mut JSRuntime, can_block: bool);
}
unsafe extern "C" {
    pub fn JS_SetIsHTMLDDA(ctx: *mut JSContext, obj: JSValue);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSModuleDef {
    _unused: [u8; 0],
}
pub type JSModuleNormalizeFunc = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        module_base_name: *const ::core::ffi::c_char,
        module_name: *const ::core::ffi::c_char,
        opaque: *mut ::core::ffi::c_void,
    ) -> *mut ::core::ffi::c_char,
>;
pub type JSModuleNormalizeFunc2 = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        module_base_name: *const ::core::ffi::c_char,
        module_name: *const ::core::ffi::c_char,
        attributes: JSValue,
        opaque: *mut ::core::ffi::c_void,
    ) -> *mut ::core::ffi::c_char,
>;
pub type JSModuleLoaderFunc = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        module_name: *const ::core::ffi::c_char,
        opaque: *mut ::core::ffi::c_void,
    ) -> *mut JSModuleDef,
>;
pub type JSModuleLoaderFunc2 = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        module_name: *const ::core::ffi::c_char,
        opaque: *mut ::core::ffi::c_void,
        attributes: JSValue,
    ) -> *mut JSModuleDef,
>;
pub type JSModuleCheckSupportedImportAttributes = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        opaque: *mut ::core::ffi::c_void,
        attributes: JSValue,
    ) -> ::core::ffi::c_int,
>;
unsafe extern "C" {
    pub fn JS_SetModuleLoaderFunc(
        rt: *mut JSRuntime,
        module_normalize: JSModuleNormalizeFunc,
        module_loader: JSModuleLoaderFunc,
        opaque: *mut ::core::ffi::c_void,
    );
}
unsafe extern "C" {
    pub fn JS_SetModuleLoaderFunc2(
        rt: *mut JSRuntime,
        module_normalize: JSModuleNormalizeFunc,
        module_loader: JSModuleLoaderFunc2,
        module_check_attrs: JSModuleCheckSupportedImportAttributes,
        opaque: *mut ::core::ffi::c_void,
    );
}
unsafe extern "C" {
    pub fn JS_SetModuleNormalizeFunc2(rt: *mut JSRuntime, module_normalize: JSModuleNormalizeFunc2);
}
unsafe extern "C" {
    pub fn JS_GetImportMeta(ctx: *mut JSContext, m: *mut JSModuleDef) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_GetModuleName(ctx: *mut JSContext, m: *mut JSModuleDef) -> JSAtom;
}
unsafe extern "C" {
    pub fn JS_GetModuleNamespace(ctx: *mut JSContext, m: *mut JSModuleDef) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_SetModulePrivateValue(
        ctx: *mut JSContext,
        m: *mut JSModuleDef,
        val: JSValue,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_GetModulePrivateValue(ctx: *mut JSContext, m: *mut JSModuleDef) -> JSValue;
}
pub type JSJobFunc = ::core::option::Option<
    unsafe extern "C" fn(
        ctx: *mut JSContext,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
    ) -> JSValue,
>;
unsafe extern "C" {
    pub fn JS_EnqueueJob(
        ctx: *mut JSContext,
        job_func: JSJobFunc,
        argc: ::core::ffi::c_int,
        argv: *mut JSValue,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_IsJobPending(rt: *mut JSRuntime) -> bool;
}
unsafe extern "C" {
    pub fn JS_GetPendingJobContext(rt: *mut JSRuntime) -> *mut JSContext;
}
unsafe extern "C" {
    pub fn JS_ExecutePendingJob(
        rt: *mut JSRuntime,
        pctx: *mut *mut JSContext,
    ) -> ::core::ffi::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSSABTab {
    pub tab: *mut *mut u8,
    pub len: size_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSSABTab"][::core::mem::size_of::<JSSABTab>() - 8usize];
    ["Alignment of JSSABTab"][::core::mem::align_of::<JSSABTab>() - 4usize];
    ["Offset of field: JSSABTab::tab"][::core::mem::offset_of!(JSSABTab, tab) - 0usize];
    ["Offset of field: JSSABTab::len"][::core::mem::offset_of!(JSSABTab, len) - 4usize];
};
unsafe extern "C" {
    pub fn JS_WriteObject(
        ctx: *mut JSContext,
        psize: *mut size_t,
        obj: JSValue,
        flags: ::core::ffi::c_int,
    ) -> *mut u8;
}
unsafe extern "C" {
    pub fn JS_WriteObject2(
        ctx: *mut JSContext,
        psize: *mut size_t,
        obj: JSValue,
        flags: ::core::ffi::c_int,
        psab_tab: *mut JSSABTab,
    ) -> *mut u8;
}
unsafe extern "C" {
    pub fn JS_ReadObject(
        ctx: *mut JSContext,
        buf: *const u8,
        buf_len: size_t,
        flags: ::core::ffi::c_int,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ReadObject2(
        ctx: *mut JSContext,
        buf: *const u8,
        buf_len: size_t,
        flags: ::core::ffi::c_int,
        psab_tab: *mut JSSABTab,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_EvalFunction(ctx: *mut JSContext, fun_obj: JSValue) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_ResolveModule(ctx: *mut JSContext, obj: JSValue) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_GetScriptOrModuleName(
        ctx: *mut JSContext,
        n_stack_levels: ::core::ffi::c_int,
    ) -> JSAtom;
}
unsafe extern "C" {
    pub fn JS_LoadModule(
        ctx: *mut JSContext,
        basename: *const ::core::ffi::c_char,
        filename: *const ::core::ffi::c_char,
    ) -> JSValue;
}
pub const JSCFunctionEnum_JS_CFUNC_generic: JSCFunctionEnum = 0;
pub const JSCFunctionEnum_JS_CFUNC_generic_magic: JSCFunctionEnum = 1;
pub const JSCFunctionEnum_JS_CFUNC_constructor: JSCFunctionEnum = 2;
pub const JSCFunctionEnum_JS_CFUNC_constructor_magic: JSCFunctionEnum = 3;
pub const JSCFunctionEnum_JS_CFUNC_constructor_or_func: JSCFunctionEnum = 4;
pub const JSCFunctionEnum_JS_CFUNC_constructor_or_func_magic: JSCFunctionEnum = 5;
pub const JSCFunctionEnum_JS_CFUNC_f_f: JSCFunctionEnum = 6;
pub const JSCFunctionEnum_JS_CFUNC_f_f_f: JSCFunctionEnum = 7;
pub const JSCFunctionEnum_JS_CFUNC_getter: JSCFunctionEnum = 8;
pub const JSCFunctionEnum_JS_CFUNC_setter: JSCFunctionEnum = 9;
pub const JSCFunctionEnum_JS_CFUNC_getter_magic: JSCFunctionEnum = 10;
pub const JSCFunctionEnum_JS_CFUNC_setter_magic: JSCFunctionEnum = 11;
pub const JSCFunctionEnum_JS_CFUNC_iterator_next: JSCFunctionEnum = 12;
pub type JSCFunctionEnum = ::core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub union JSCFunctionType {
    pub generic: JSCFunction,
    pub generic_magic: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            this_val: JSValue,
            argc: ::core::ffi::c_int,
            argv: *mut JSValue,
            magic: ::core::ffi::c_int,
        ) -> JSValue,
    >,
    pub constructor: JSCFunction,
    pub constructor_magic: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            new_target: JSValue,
            argc: ::core::ffi::c_int,
            argv: *mut JSValue,
            magic: ::core::ffi::c_int,
        ) -> JSValue,
    >,
    pub constructor_or_func: JSCFunction,
    pub f_f: ::core::option::Option<unsafe extern "C" fn(arg1: f64) -> f64>,
    pub f_f_f: ::core::option::Option<unsafe extern "C" fn(arg1: f64, arg2: f64) -> f64>,
    pub getter: ::core::option::Option<
        unsafe extern "C" fn(ctx: *mut JSContext, this_val: JSValue) -> JSValue,
    >,
    pub setter: ::core::option::Option<
        unsafe extern "C" fn(ctx: *mut JSContext, this_val: JSValue, val: JSValue) -> JSValue,
    >,
    pub getter_magic: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            this_val: JSValue,
            magic: ::core::ffi::c_int,
        ) -> JSValue,
    >,
    pub setter_magic: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            this_val: JSValue,
            val: JSValue,
            magic: ::core::ffi::c_int,
        ) -> JSValue,
    >,
    pub iterator_next: ::core::option::Option<
        unsafe extern "C" fn(
            ctx: *mut JSContext,
            this_val: JSValue,
            argc: ::core::ffi::c_int,
            argv: *mut JSValue,
            pdone: *mut ::core::ffi::c_int,
            magic: ::core::ffi::c_int,
        ) -> JSValue,
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSCFunctionType"][::core::mem::size_of::<JSCFunctionType>() - 4usize];
    ["Alignment of JSCFunctionType"][::core::mem::align_of::<JSCFunctionType>() - 4usize];
    ["Offset of field: JSCFunctionType::generic"]
        [::core::mem::offset_of!(JSCFunctionType, generic) - 0usize];
    ["Offset of field: JSCFunctionType::generic_magic"]
        [::core::mem::offset_of!(JSCFunctionType, generic_magic) - 0usize];
    ["Offset of field: JSCFunctionType::constructor"]
        [::core::mem::offset_of!(JSCFunctionType, constructor) - 0usize];
    ["Offset of field: JSCFunctionType::constructor_magic"]
        [::core::mem::offset_of!(JSCFunctionType, constructor_magic) - 0usize];
    ["Offset of field: JSCFunctionType::constructor_or_func"]
        [::core::mem::offset_of!(JSCFunctionType, constructor_or_func) - 0usize];
    ["Offset of field: JSCFunctionType::f_f"]
        [::core::mem::offset_of!(JSCFunctionType, f_f) - 0usize];
    ["Offset of field: JSCFunctionType::f_f_f"]
        [::core::mem::offset_of!(JSCFunctionType, f_f_f) - 0usize];
    ["Offset of field: JSCFunctionType::getter"]
        [::core::mem::offset_of!(JSCFunctionType, getter) - 0usize];
    ["Offset of field: JSCFunctionType::setter"]
        [::core::mem::offset_of!(JSCFunctionType, setter) - 0usize];
    ["Offset of field: JSCFunctionType::getter_magic"]
        [::core::mem::offset_of!(JSCFunctionType, getter_magic) - 0usize];
    ["Offset of field: JSCFunctionType::setter_magic"]
        [::core::mem::offset_of!(JSCFunctionType, setter_magic) - 0usize];
    ["Offset of field: JSCFunctionType::iterator_next"]
        [::core::mem::offset_of!(JSCFunctionType, iterator_next) - 0usize];
};
unsafe extern "C" {
    pub fn JS_NewCFunction2(
        ctx: *mut JSContext,
        func: JSCFunction,
        name: *const ::core::ffi::c_char,
        length: ::core::ffi::c_int,
        cproto: JSCFunctionEnum,
        magic: ::core::ffi::c_int,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewCFunction3(
        ctx: *mut JSContext,
        func: JSCFunction,
        name: *const ::core::ffi::c_char,
        length: ::core::ffi::c_int,
        cproto: JSCFunctionEnum,
        magic: ::core::ffi::c_int,
        proto_val: JSValue,
        n_fields: ::core::ffi::c_int,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewCFunctionData(
        ctx: *mut JSContext,
        func: JSCFunctionData,
        length: ::core::ffi::c_int,
        magic: ::core::ffi::c_int,
        data_len: ::core::ffi::c_int,
        data: *mut JSValue,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_NewCFunctionData2(
        ctx: *mut JSContext,
        func: JSCFunctionData,
        name: *const ::core::ffi::c_char,
        length: ::core::ffi::c_int,
        magic: ::core::ffi::c_int,
        data_len: ::core::ffi::c_int,
        data: *mut JSValue,
    ) -> JSValue;
}
pub type JSCClosureFinalizerFunc =
    ::core::option::Option<unsafe extern "C" fn(arg1: *mut ::core::ffi::c_void)>;
unsafe extern "C" {
    pub fn JS_NewCClosure(
        ctx: *mut JSContext,
        func: JSCClosure,
        name: *const ::core::ffi::c_char,
        opaque_finalize: JSCClosureFinalizerFunc,
        length: ::core::ffi::c_int,
        magic: ::core::ffi::c_int,
        opaque: *mut ::core::ffi::c_void,
    ) -> JSValue;
}
unsafe extern "C" {
    pub fn JS_SetConstructor(
        ctx: *mut JSContext,
        func_obj: JSValue,
        proto: JSValue,
    ) -> ::core::ffi::c_int;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct JSCFunctionListEntry {
    pub name: *const ::core::ffi::c_char,
    pub prop_flags: u8,
    pub def_type: u8,
    pub magic: i16,
    pub u: JSCFunctionListEntry__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union JSCFunctionListEntry__bindgen_ty_1 {
    pub func: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1,
    pub getset: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2,
    pub alias: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3,
    pub prop_list: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4,
    pub str_: *const ::core::ffi::c_char,
    pub i32_: i32,
    pub i64_: i64,
    pub u64_: u64,
    pub f64_: f64,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1 {
    pub length: u8,
    pub cproto: u8,
    pub cfunc: JSCFunctionType,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1"]
        [::core::mem::size_of::<JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1>() - 8usize];
    ["Alignment of JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1"]
        [::core::mem::align_of::<JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1>() - 4usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1::length"][::core::mem::offset_of!(
        JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1,
        length
    ) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1::cproto"][::core::mem::offset_of!(
        JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1,
        cproto
    ) - 1usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1::cfunc"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_1, cfunc) - 4usize];
};
#[repr(C)]
#[derive(Copy, Clone)]
pub struct JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2 {
    pub get: JSCFunctionType,
    pub set: JSCFunctionType,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2"]
        [::core::mem::size_of::<JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2>() - 8usize];
    ["Alignment of JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2"]
        [::core::mem::align_of::<JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2>() - 4usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2::get"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2, get) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2::set"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_2, set) - 4usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3 {
    pub name: *const ::core::ffi::c_char,
    pub base: ::core::ffi::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3"]
        [::core::mem::size_of::<JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3>() - 8usize];
    ["Alignment of JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3"]
        [::core::mem::align_of::<JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3>() - 4usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3::name"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3, name) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3::base"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_3, base) - 4usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4 {
    pub tab: *const JSCFunctionListEntry,
    pub len: ::core::ffi::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4"]
        [::core::mem::size_of::<JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4>() - 8usize];
    ["Alignment of JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4"]
        [::core::mem::align_of::<JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4>() - 4usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4::tab"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4, tab) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4::len"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1__bindgen_ty_4, len) - 4usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSCFunctionListEntry__bindgen_ty_1"]
        [::core::mem::size_of::<JSCFunctionListEntry__bindgen_ty_1>() - 8usize];
    ["Alignment of JSCFunctionListEntry__bindgen_ty_1"]
        [::core::mem::align_of::<JSCFunctionListEntry__bindgen_ty_1>() - 8usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1::func"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1, func) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1::getset"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1, getset) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1::alias"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1, alias) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1::prop_list"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1, prop_list) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1::str_"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1, str_) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1::i32_"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1, i32_) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1::i64_"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1, i64_) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1::u64_"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1, u64_) - 0usize];
    ["Offset of field: JSCFunctionListEntry__bindgen_ty_1::f64_"]
        [::core::mem::offset_of!(JSCFunctionListEntry__bindgen_ty_1, f64_) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSCFunctionListEntry"][::core::mem::size_of::<JSCFunctionListEntry>() - 16usize];
    ["Alignment of JSCFunctionListEntry"][::core::mem::align_of::<JSCFunctionListEntry>() - 8usize];
    ["Offset of field: JSCFunctionListEntry::name"]
        [::core::mem::offset_of!(JSCFunctionListEntry, name) - 0usize];
    ["Offset of field: JSCFunctionListEntry::prop_flags"]
        [::core::mem::offset_of!(JSCFunctionListEntry, prop_flags) - 4usize];
    ["Offset of field: JSCFunctionListEntry::def_type"]
        [::core::mem::offset_of!(JSCFunctionListEntry, def_type) - 5usize];
    ["Offset of field: JSCFunctionListEntry::magic"]
        [::core::mem::offset_of!(JSCFunctionListEntry, magic) - 6usize];
    ["Offset of field: JSCFunctionListEntry::u"]
        [::core::mem::offset_of!(JSCFunctionListEntry, u) - 8usize];
};
unsafe extern "C" {
    pub fn JS_SetPropertyFunctionList(
        ctx: *mut JSContext,
        obj: JSValue,
        tab: *const JSCFunctionListEntry,
        len: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
pub type JSModuleInitFunc = ::core::option::Option<
    unsafe extern "C" fn(ctx: *mut JSContext, m: *mut JSModuleDef) -> ::core::ffi::c_int,
>;
unsafe extern "C" {
    pub fn JS_NewCModule(
        ctx: *mut JSContext,
        name_str: *const ::core::ffi::c_char,
        func: JSModuleInitFunc,
    ) -> *mut JSModuleDef;
}
unsafe extern "C" {
    pub fn JS_AddModuleExport(
        ctx: *mut JSContext,
        m: *mut JSModuleDef,
        name_str: *const ::core::ffi::c_char,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_AddModuleExportList(
        ctx: *mut JSContext,
        m: *mut JSModuleDef,
        tab: *const JSCFunctionListEntry,
        len: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetModuleExport(
        ctx: *mut JSContext,
        m: *mut JSModuleDef,
        export_name: *const ::core::ffi::c_char,
        val: JSValue,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetModuleExportList(
        ctx: *mut JSContext,
        m: *mut JSModuleDef,
        tab: *const JSCFunctionListEntry,
        len: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_GetVersion() -> *const ::core::ffi::c_char;
}
unsafe extern "C" {
    pub fn js_std_cmd(cmd: ::core::ffi::c_int, ...) -> usize;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitFunctionId {
    pub struct_size: u32,
    pub reserved: u32,
    pub id: u64,
    pub generation: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitFunctionId"][::core::mem::size_of::<JSJitFunctionId>() - 24usize];
    ["Alignment of JSJitFunctionId"][::core::mem::align_of::<JSJitFunctionId>() - 8usize];
    ["Offset of field: JSJitFunctionId::struct_size"]
        [::core::mem::offset_of!(JSJitFunctionId, struct_size) - 0usize];
    ["Offset of field: JSJitFunctionId::reserved"]
        [::core::mem::offset_of!(JSJitFunctionId, reserved) - 4usize];
    ["Offset of field: JSJitFunctionId::id"][::core::mem::offset_of!(JSJitFunctionId, id) - 8usize];
    ["Offset of field: JSJitFunctionId::generation"]
        [::core::mem::offset_of!(JSJitFunctionId, generation) - 16usize];
};
pub const JSJitHotKind_JS_JIT_HOT_CALL: JSJitHotKind = 0;
pub const JSJitHotKind_JS_JIT_HOT_LOOP: JSJitHotKind = 1;
pub type JSJitHotKind = ::core::ffi::c_uint;
pub const JSJitFeedbackType_JS_JIT_FEEDBACK_NONE: JSJitFeedbackType = 0;
pub const JSJitFeedbackType_JS_JIT_FEEDBACK_INT32: JSJitFeedbackType = 1;
pub const JSJitFeedbackType_JS_JIT_FEEDBACK_FLOAT64: JSJitFeedbackType = 2;
pub const JSJitFeedbackType_JS_JIT_FEEDBACK_BOOL: JSJitFeedbackType = 3;
pub const JSJitFeedbackType_JS_JIT_FEEDBACK_NULL: JSJitFeedbackType = 4;
pub const JSJitFeedbackType_JS_JIT_FEEDBACK_UNDEFINED: JSJitFeedbackType = 5;
pub const JSJitFeedbackType_JS_JIT_FEEDBACK_STRING: JSJitFeedbackType = 6;
pub const JSJitFeedbackType_JS_JIT_FEEDBACK_OBJECT: JSJitFeedbackType = 7;
pub type JSJitFeedbackType = ::core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitHotEvent {
    pub struct_size: u32,
    pub kind: u32,
    pub function: JSJitFunctionId,
    pub pc: u32,
    pub count: u32,
    pub feedback_type: u32,
    pub feedback_slot: u32,
    pub callee: JSJitFunctionId,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitHotEvent"][::core::mem::size_of::<JSJitHotEvent>() - 72usize];
    ["Alignment of JSJitHotEvent"][::core::mem::align_of::<JSJitHotEvent>() - 8usize];
    ["Offset of field: JSJitHotEvent::struct_size"]
        [::core::mem::offset_of!(JSJitHotEvent, struct_size) - 0usize];
    ["Offset of field: JSJitHotEvent::kind"][::core::mem::offset_of!(JSJitHotEvent, kind) - 4usize];
    ["Offset of field: JSJitHotEvent::function"]
        [::core::mem::offset_of!(JSJitHotEvent, function) - 8usize];
    ["Offset of field: JSJitHotEvent::pc"][::core::mem::offset_of!(JSJitHotEvent, pc) - 32usize];
    ["Offset of field: JSJitHotEvent::count"]
        [::core::mem::offset_of!(JSJitHotEvent, count) - 36usize];
    ["Offset of field: JSJitHotEvent::feedback_type"]
        [::core::mem::offset_of!(JSJitHotEvent, feedback_type) - 40usize];
    ["Offset of field: JSJitHotEvent::feedback_slot"]
        [::core::mem::offset_of!(JSJitHotEvent, feedback_slot) - 44usize];
    ["Offset of field: JSJitHotEvent::callee"]
        [::core::mem::offset_of!(JSJitHotEvent, callee) - 48usize];
};
pub const JSJitValueType_JS_JIT_VALUE_NONE: JSJitValueType = 0;
pub const JSJitValueType_JS_JIT_VALUE_INT32: JSJitValueType = 1;
pub const JSJitValueType_JS_JIT_VALUE_FLOAT64: JSJitValueType = 2;
pub const JSJitValueType_JS_JIT_VALUE_BOOL: JSJitValueType = 3;
pub const JSJitValueType_JS_JIT_VALUE_NULL: JSJitValueType = 4;
pub const JSJitValueType_JS_JIT_VALUE_UNDEFINED: JSJitValueType = 5;
pub const JSJitValueType_JS_JIT_VALUE_STRING: JSJitValueType = 6;
pub const JSJitValueType_JS_JIT_VALUE_OBJECT: JSJitValueType = 7;
pub const JSJitValueType_JS_JIT_VALUE_BIGINT: JSJitValueType = 8;
pub const JSJitValueType_JS_JIT_VALUE_SYMBOL: JSJitValueType = 9;
pub type JSJitValueType = ::core::ffi::c_uint;
pub const JSJitFeedbackKind_JS_JIT_FEEDBACK_CALL: JSJitFeedbackKind = 0;
pub const JSJitFeedbackKind_JS_JIT_FEEDBACK_RETURN: JSJitFeedbackKind = 1;
pub const JSJitFeedbackKind_JS_JIT_FEEDBACK_BINARY: JSJitFeedbackKind = 2;
pub const JSJitFeedbackKind_JS_JIT_FEEDBACK_CONVERSION: JSJitFeedbackKind = 3;
pub const JSJitFeedbackKind_JS_JIT_FEEDBACK_BRANCH: JSJitFeedbackKind = 4;
pub const JSJitFeedbackKind_JS_JIT_FEEDBACK_PROPERTY: JSJitFeedbackKind = 5;
pub type JSJitFeedbackKind = ::core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitFeedbackEvent {
    pub struct_size: u32,
    pub kind: u32,
    pub function: JSJitFunctionId,
    pub callee: JSJitFunctionId,
    pub pc: u32,
    pub slot: u32,
    pub type_count: u32,
    pub flags: u32,
    pub types: *const u32,
    pub shape_identity: u64,
    pub shape_generation: u64,
    pub prototype_identity: u64,
    pub prototype_generation: u64,
    pub property_offset: u32,
    pub property_attributes: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitFeedbackEvent"][::core::mem::size_of::<JSJitFeedbackEvent>() - 120usize];
    ["Alignment of JSJitFeedbackEvent"][::core::mem::align_of::<JSJitFeedbackEvent>() - 8usize];
    ["Offset of field: JSJitFeedbackEvent::struct_size"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, struct_size) - 0usize];
    ["Offset of field: JSJitFeedbackEvent::kind"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, kind) - 4usize];
    ["Offset of field: JSJitFeedbackEvent::function"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, function) - 8usize];
    ["Offset of field: JSJitFeedbackEvent::callee"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, callee) - 32usize];
    ["Offset of field: JSJitFeedbackEvent::pc"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, pc) - 56usize];
    ["Offset of field: JSJitFeedbackEvent::slot"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, slot) - 60usize];
    ["Offset of field: JSJitFeedbackEvent::type_count"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, type_count) - 64usize];
    ["Offset of field: JSJitFeedbackEvent::flags"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, flags) - 68usize];
    ["Offset of field: JSJitFeedbackEvent::types"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, types) - 72usize];
    ["Offset of field: JSJitFeedbackEvent::shape_identity"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, shape_identity) - 80usize];
    ["Offset of field: JSJitFeedbackEvent::shape_generation"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, shape_generation) - 88usize];
    ["Offset of field: JSJitFeedbackEvent::prototype_identity"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, prototype_identity) - 96usize];
    ["Offset of field: JSJitFeedbackEvent::prototype_generation"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, prototype_generation) - 104usize];
    ["Offset of field: JSJitFeedbackEvent::property_offset"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, property_offset) - 112usize];
    ["Offset of field: JSJitFeedbackEvent::property_attributes"]
        [::core::mem::offset_of!(JSJitFeedbackEvent, property_attributes) - 116usize];
};
pub const JSJitOperandFormat_JS_JIT_FMT_none: JSJitOperandFormat = 0;
pub const JSJitOperandFormat_JS_JIT_FMT_none_int: JSJitOperandFormat = 1;
pub const JSJitOperandFormat_JS_JIT_FMT_none_loc: JSJitOperandFormat = 2;
pub const JSJitOperandFormat_JS_JIT_FMT_none_arg: JSJitOperandFormat = 3;
pub const JSJitOperandFormat_JS_JIT_FMT_none_var_ref: JSJitOperandFormat = 4;
pub const JSJitOperandFormat_JS_JIT_FMT_u8: JSJitOperandFormat = 5;
pub const JSJitOperandFormat_JS_JIT_FMT_i8: JSJitOperandFormat = 6;
pub const JSJitOperandFormat_JS_JIT_FMT_loc8: JSJitOperandFormat = 7;
pub const JSJitOperandFormat_JS_JIT_FMT_const8: JSJitOperandFormat = 8;
pub const JSJitOperandFormat_JS_JIT_FMT_label8: JSJitOperandFormat = 9;
pub const JSJitOperandFormat_JS_JIT_FMT_u16: JSJitOperandFormat = 10;
pub const JSJitOperandFormat_JS_JIT_FMT_i16: JSJitOperandFormat = 11;
pub const JSJitOperandFormat_JS_JIT_FMT_label16: JSJitOperandFormat = 12;
pub const JSJitOperandFormat_JS_JIT_FMT_npop: JSJitOperandFormat = 13;
pub const JSJitOperandFormat_JS_JIT_FMT_npopx: JSJitOperandFormat = 14;
pub const JSJitOperandFormat_JS_JIT_FMT_npop_u16: JSJitOperandFormat = 15;
pub const JSJitOperandFormat_JS_JIT_FMT_loc: JSJitOperandFormat = 16;
pub const JSJitOperandFormat_JS_JIT_FMT_arg: JSJitOperandFormat = 17;
pub const JSJitOperandFormat_JS_JIT_FMT_var_ref: JSJitOperandFormat = 18;
pub const JSJitOperandFormat_JS_JIT_FMT_u32: JSJitOperandFormat = 19;
pub const JSJitOperandFormat_JS_JIT_FMT_u32x2: JSJitOperandFormat = 20;
pub const JSJitOperandFormat_JS_JIT_FMT_i32: JSJitOperandFormat = 21;
pub const JSJitOperandFormat_JS_JIT_FMT_const: JSJitOperandFormat = 22;
pub const JSJitOperandFormat_JS_JIT_FMT_label: JSJitOperandFormat = 23;
pub const JSJitOperandFormat_JS_JIT_FMT_atom: JSJitOperandFormat = 24;
pub const JSJitOperandFormat_JS_JIT_FMT_atom_u8: JSJitOperandFormat = 25;
pub const JSJitOperandFormat_JS_JIT_FMT_atom_u16: JSJitOperandFormat = 26;
pub const JSJitOperandFormat_JS_JIT_FMT_atom_label_u8: JSJitOperandFormat = 27;
pub const JSJitOperandFormat_JS_JIT_FMT_atom_label_u16: JSJitOperandFormat = 28;
pub const JSJitOperandFormat_JS_JIT_FMT_label_u16: JSJitOperandFormat = 29;
pub const JSJitOperandFormat_JS_JIT_FMT_COUNT: JSJitOperandFormat = 30;
pub type JSJitOperandFormat = ::core::ffi::c_uint;
pub const JSJitOpcode_JS_JIT_OP_invalid: JSJitOpcode = 0;
pub const JSJitOpcode_JS_JIT_OP_push_i32: JSJitOpcode = 1;
pub const JSJitOpcode_JS_JIT_OP_push_const: JSJitOpcode = 2;
pub const JSJitOpcode_JS_JIT_OP_fclosure: JSJitOpcode = 3;
pub const JSJitOpcode_JS_JIT_OP_push_atom_value: JSJitOpcode = 4;
pub const JSJitOpcode_JS_JIT_OP_private_symbol: JSJitOpcode = 5;
pub const JSJitOpcode_JS_JIT_OP_undefined: JSJitOpcode = 6;
pub const JSJitOpcode_JS_JIT_OP_null: JSJitOpcode = 7;
pub const JSJitOpcode_JS_JIT_OP_push_this: JSJitOpcode = 8;
pub const JSJitOpcode_JS_JIT_OP_push_false: JSJitOpcode = 9;
pub const JSJitOpcode_JS_JIT_OP_push_true: JSJitOpcode = 10;
pub const JSJitOpcode_JS_JIT_OP_object: JSJitOpcode = 11;
pub const JSJitOpcode_JS_JIT_OP_special_object: JSJitOpcode = 12;
pub const JSJitOpcode_JS_JIT_OP_rest: JSJitOpcode = 13;
pub const JSJitOpcode_JS_JIT_OP_drop: JSJitOpcode = 14;
pub const JSJitOpcode_JS_JIT_OP_nip: JSJitOpcode = 15;
pub const JSJitOpcode_JS_JIT_OP_nip1: JSJitOpcode = 16;
pub const JSJitOpcode_JS_JIT_OP_dup: JSJitOpcode = 17;
pub const JSJitOpcode_JS_JIT_OP_dup1: JSJitOpcode = 18;
pub const JSJitOpcode_JS_JIT_OP_dup2: JSJitOpcode = 19;
pub const JSJitOpcode_JS_JIT_OP_dup3: JSJitOpcode = 20;
pub const JSJitOpcode_JS_JIT_OP_insert2: JSJitOpcode = 21;
pub const JSJitOpcode_JS_JIT_OP_insert3: JSJitOpcode = 22;
pub const JSJitOpcode_JS_JIT_OP_insert4: JSJitOpcode = 23;
pub const JSJitOpcode_JS_JIT_OP_perm3: JSJitOpcode = 24;
pub const JSJitOpcode_JS_JIT_OP_perm4: JSJitOpcode = 25;
pub const JSJitOpcode_JS_JIT_OP_perm5: JSJitOpcode = 26;
pub const JSJitOpcode_JS_JIT_OP_swap: JSJitOpcode = 27;
pub const JSJitOpcode_JS_JIT_OP_swap2: JSJitOpcode = 28;
pub const JSJitOpcode_JS_JIT_OP_rot3l: JSJitOpcode = 29;
pub const JSJitOpcode_JS_JIT_OP_rot3r: JSJitOpcode = 30;
pub const JSJitOpcode_JS_JIT_OP_rot4l: JSJitOpcode = 31;
pub const JSJitOpcode_JS_JIT_OP_rot5l: JSJitOpcode = 32;
pub const JSJitOpcode_JS_JIT_OP_call_constructor: JSJitOpcode = 33;
pub const JSJitOpcode_JS_JIT_OP_call: JSJitOpcode = 34;
pub const JSJitOpcode_JS_JIT_OP_tail_call: JSJitOpcode = 35;
pub const JSJitOpcode_JS_JIT_OP_call_method: JSJitOpcode = 36;
pub const JSJitOpcode_JS_JIT_OP_tail_call_method: JSJitOpcode = 37;
pub const JSJitOpcode_JS_JIT_OP_array_from: JSJitOpcode = 38;
pub const JSJitOpcode_JS_JIT_OP_apply: JSJitOpcode = 39;
pub const JSJitOpcode_JS_JIT_OP_return: JSJitOpcode = 40;
pub const JSJitOpcode_JS_JIT_OP_return_undef: JSJitOpcode = 41;
pub const JSJitOpcode_JS_JIT_OP_check_ctor_return: JSJitOpcode = 42;
pub const JSJitOpcode_JS_JIT_OP_check_ctor: JSJitOpcode = 43;
pub const JSJitOpcode_JS_JIT_OP_init_ctor: JSJitOpcode = 44;
pub const JSJitOpcode_JS_JIT_OP_check_brand: JSJitOpcode = 45;
pub const JSJitOpcode_JS_JIT_OP_add_brand: JSJitOpcode = 46;
pub const JSJitOpcode_JS_JIT_OP_return_async: JSJitOpcode = 47;
pub const JSJitOpcode_JS_JIT_OP_throw: JSJitOpcode = 48;
pub const JSJitOpcode_JS_JIT_OP_throw_error: JSJitOpcode = 49;
pub const JSJitOpcode_JS_JIT_OP_eval: JSJitOpcode = 50;
pub const JSJitOpcode_JS_JIT_OP_apply_eval: JSJitOpcode = 51;
pub const JSJitOpcode_JS_JIT_OP_regexp: JSJitOpcode = 52;
pub const JSJitOpcode_JS_JIT_OP_get_super: JSJitOpcode = 53;
pub const JSJitOpcode_JS_JIT_OP_import: JSJitOpcode = 54;
pub const JSJitOpcode_JS_JIT_OP_get_var_undef: JSJitOpcode = 55;
pub const JSJitOpcode_JS_JIT_OP_get_var: JSJitOpcode = 56;
pub const JSJitOpcode_JS_JIT_OP_put_var: JSJitOpcode = 57;
pub const JSJitOpcode_JS_JIT_OP_put_var_init: JSJitOpcode = 58;
pub const JSJitOpcode_JS_JIT_OP_get_ref_value: JSJitOpcode = 59;
pub const JSJitOpcode_JS_JIT_OP_put_ref_value: JSJitOpcode = 60;
pub const JSJitOpcode_JS_JIT_OP_define_var: JSJitOpcode = 61;
pub const JSJitOpcode_JS_JIT_OP_check_define_var: JSJitOpcode = 62;
pub const JSJitOpcode_JS_JIT_OP_define_func: JSJitOpcode = 63;
pub const JSJitOpcode_JS_JIT_OP_get_field: JSJitOpcode = 64;
pub const JSJitOpcode_JS_JIT_OP_get_field2: JSJitOpcode = 65;
pub const JSJitOpcode_JS_JIT_OP_put_field: JSJitOpcode = 66;
pub const JSJitOpcode_JS_JIT_OP_get_private_field: JSJitOpcode = 67;
pub const JSJitOpcode_JS_JIT_OP_put_private_field: JSJitOpcode = 68;
pub const JSJitOpcode_JS_JIT_OP_define_private_field: JSJitOpcode = 69;
pub const JSJitOpcode_JS_JIT_OP_get_array_el: JSJitOpcode = 70;
pub const JSJitOpcode_JS_JIT_OP_get_array_el2: JSJitOpcode = 71;
pub const JSJitOpcode_JS_JIT_OP_put_array_el: JSJitOpcode = 72;
pub const JSJitOpcode_JS_JIT_OP_get_super_value: JSJitOpcode = 73;
pub const JSJitOpcode_JS_JIT_OP_put_super_value: JSJitOpcode = 74;
pub const JSJitOpcode_JS_JIT_OP_define_field: JSJitOpcode = 75;
pub const JSJitOpcode_JS_JIT_OP_set_name: JSJitOpcode = 76;
pub const JSJitOpcode_JS_JIT_OP_set_name_computed: JSJitOpcode = 77;
pub const JSJitOpcode_JS_JIT_OP_set_proto: JSJitOpcode = 78;
pub const JSJitOpcode_JS_JIT_OP_set_home_object: JSJitOpcode = 79;
pub const JSJitOpcode_JS_JIT_OP_define_array_el: JSJitOpcode = 80;
pub const JSJitOpcode_JS_JIT_OP_append: JSJitOpcode = 81;
pub const JSJitOpcode_JS_JIT_OP_copy_data_properties: JSJitOpcode = 82;
pub const JSJitOpcode_JS_JIT_OP_define_method: JSJitOpcode = 83;
pub const JSJitOpcode_JS_JIT_OP_define_method_computed: JSJitOpcode = 84;
pub const JSJitOpcode_JS_JIT_OP_define_class: JSJitOpcode = 85;
pub const JSJitOpcode_JS_JIT_OP_define_class_computed: JSJitOpcode = 86;
pub const JSJitOpcode_JS_JIT_OP_get_loc: JSJitOpcode = 87;
pub const JSJitOpcode_JS_JIT_OP_put_loc: JSJitOpcode = 88;
pub const JSJitOpcode_JS_JIT_OP_set_loc: JSJitOpcode = 89;
pub const JSJitOpcode_JS_JIT_OP_get_arg: JSJitOpcode = 90;
pub const JSJitOpcode_JS_JIT_OP_put_arg: JSJitOpcode = 91;
pub const JSJitOpcode_JS_JIT_OP_set_arg: JSJitOpcode = 92;
pub const JSJitOpcode_JS_JIT_OP_get_var_ref: JSJitOpcode = 93;
pub const JSJitOpcode_JS_JIT_OP_put_var_ref: JSJitOpcode = 94;
pub const JSJitOpcode_JS_JIT_OP_set_var_ref: JSJitOpcode = 95;
pub const JSJitOpcode_JS_JIT_OP_set_loc_uninitialized: JSJitOpcode = 96;
pub const JSJitOpcode_JS_JIT_OP_get_loc_check: JSJitOpcode = 97;
pub const JSJitOpcode_JS_JIT_OP_put_loc_check: JSJitOpcode = 98;
pub const JSJitOpcode_JS_JIT_OP_put_loc_check_init: JSJitOpcode = 99;
pub const JSJitOpcode_JS_JIT_OP_get_var_ref_check: JSJitOpcode = 100;
pub const JSJitOpcode_JS_JIT_OP_put_var_ref_check: JSJitOpcode = 101;
pub const JSJitOpcode_JS_JIT_OP_put_var_ref_check_init: JSJitOpcode = 102;
pub const JSJitOpcode_JS_JIT_OP_close_loc: JSJitOpcode = 103;
pub const JSJitOpcode_JS_JIT_OP_if_false: JSJitOpcode = 104;
pub const JSJitOpcode_JS_JIT_OP_if_true: JSJitOpcode = 105;
pub const JSJitOpcode_JS_JIT_OP_goto: JSJitOpcode = 106;
pub const JSJitOpcode_JS_JIT_OP_catch: JSJitOpcode = 107;
pub const JSJitOpcode_JS_JIT_OP_gosub: JSJitOpcode = 108;
pub const JSJitOpcode_JS_JIT_OP_ret: JSJitOpcode = 109;
pub const JSJitOpcode_JS_JIT_OP_nip_catch: JSJitOpcode = 110;
pub const JSJitOpcode_JS_JIT_OP_check_object: JSJitOpcode = 111;
pub const JSJitOpcode_JS_JIT_OP_to_object: JSJitOpcode = 112;
pub const JSJitOpcode_JS_JIT_OP_to_propkey: JSJitOpcode = 113;
pub const JSJitOpcode_JS_JIT_OP_to_propkey2: JSJitOpcode = 114;
pub const JSJitOpcode_JS_JIT_OP_with_get_var: JSJitOpcode = 115;
pub const JSJitOpcode_JS_JIT_OP_with_put_var: JSJitOpcode = 116;
pub const JSJitOpcode_JS_JIT_OP_with_delete_var: JSJitOpcode = 117;
pub const JSJitOpcode_JS_JIT_OP_with_make_ref: JSJitOpcode = 118;
pub const JSJitOpcode_JS_JIT_OP_with_get_ref: JSJitOpcode = 119;
pub const JSJitOpcode_JS_JIT_OP_with_get_ref_undef: JSJitOpcode = 120;
pub const JSJitOpcode_JS_JIT_OP_make_loc_ref: JSJitOpcode = 121;
pub const JSJitOpcode_JS_JIT_OP_make_arg_ref: JSJitOpcode = 122;
pub const JSJitOpcode_JS_JIT_OP_make_var_ref_ref: JSJitOpcode = 123;
pub const JSJitOpcode_JS_JIT_OP_make_var_ref: JSJitOpcode = 124;
pub const JSJitOpcode_JS_JIT_OP_for_in_start: JSJitOpcode = 125;
pub const JSJitOpcode_JS_JIT_OP_for_of_start: JSJitOpcode = 126;
pub const JSJitOpcode_JS_JIT_OP_for_await_of_start: JSJitOpcode = 127;
pub const JSJitOpcode_JS_JIT_OP_for_in_next: JSJitOpcode = 128;
pub const JSJitOpcode_JS_JIT_OP_for_of_next: JSJitOpcode = 129;
pub const JSJitOpcode_JS_JIT_OP_iterator_get_value_done: JSJitOpcode = 130;
pub const JSJitOpcode_JS_JIT_OP_iterator_close: JSJitOpcode = 131;
pub const JSJitOpcode_JS_JIT_OP_iterator_next: JSJitOpcode = 132;
pub const JSJitOpcode_JS_JIT_OP_iterator_call: JSJitOpcode = 133;
pub const JSJitOpcode_JS_JIT_OP_initial_yield: JSJitOpcode = 134;
pub const JSJitOpcode_JS_JIT_OP_yield: JSJitOpcode = 135;
pub const JSJitOpcode_JS_JIT_OP_yield_star: JSJitOpcode = 136;
pub const JSJitOpcode_JS_JIT_OP_async_yield_star: JSJitOpcode = 137;
pub const JSJitOpcode_JS_JIT_OP_await: JSJitOpcode = 138;
pub const JSJitOpcode_JS_JIT_OP_neg: JSJitOpcode = 139;
pub const JSJitOpcode_JS_JIT_OP_plus: JSJitOpcode = 140;
pub const JSJitOpcode_JS_JIT_OP_dec: JSJitOpcode = 141;
pub const JSJitOpcode_JS_JIT_OP_inc: JSJitOpcode = 142;
pub const JSJitOpcode_JS_JIT_OP_post_dec: JSJitOpcode = 143;
pub const JSJitOpcode_JS_JIT_OP_post_inc: JSJitOpcode = 144;
pub const JSJitOpcode_JS_JIT_OP_dec_loc: JSJitOpcode = 145;
pub const JSJitOpcode_JS_JIT_OP_inc_loc: JSJitOpcode = 146;
pub const JSJitOpcode_JS_JIT_OP_add_loc: JSJitOpcode = 147;
pub const JSJitOpcode_JS_JIT_OP_not: JSJitOpcode = 148;
pub const JSJitOpcode_JS_JIT_OP_lnot: JSJitOpcode = 149;
pub const JSJitOpcode_JS_JIT_OP_typeof: JSJitOpcode = 150;
pub const JSJitOpcode_JS_JIT_OP_delete: JSJitOpcode = 151;
pub const JSJitOpcode_JS_JIT_OP_delete_var: JSJitOpcode = 152;
pub const JSJitOpcode_JS_JIT_OP_mul: JSJitOpcode = 153;
pub const JSJitOpcode_JS_JIT_OP_div: JSJitOpcode = 154;
pub const JSJitOpcode_JS_JIT_OP_mod: JSJitOpcode = 155;
pub const JSJitOpcode_JS_JIT_OP_add: JSJitOpcode = 156;
pub const JSJitOpcode_JS_JIT_OP_sub: JSJitOpcode = 157;
pub const JSJitOpcode_JS_JIT_OP_shl: JSJitOpcode = 158;
pub const JSJitOpcode_JS_JIT_OP_sar: JSJitOpcode = 159;
pub const JSJitOpcode_JS_JIT_OP_shr: JSJitOpcode = 160;
pub const JSJitOpcode_JS_JIT_OP_and: JSJitOpcode = 161;
pub const JSJitOpcode_JS_JIT_OP_xor: JSJitOpcode = 162;
pub const JSJitOpcode_JS_JIT_OP_or: JSJitOpcode = 163;
pub const JSJitOpcode_JS_JIT_OP_pow: JSJitOpcode = 164;
pub const JSJitOpcode_JS_JIT_OP_lt: JSJitOpcode = 165;
pub const JSJitOpcode_JS_JIT_OP_lte: JSJitOpcode = 166;
pub const JSJitOpcode_JS_JIT_OP_gt: JSJitOpcode = 167;
pub const JSJitOpcode_JS_JIT_OP_gte: JSJitOpcode = 168;
pub const JSJitOpcode_JS_JIT_OP_instanceof: JSJitOpcode = 169;
pub const JSJitOpcode_JS_JIT_OP_in: JSJitOpcode = 170;
pub const JSJitOpcode_JS_JIT_OP_eq: JSJitOpcode = 171;
pub const JSJitOpcode_JS_JIT_OP_neq: JSJitOpcode = 172;
pub const JSJitOpcode_JS_JIT_OP_strict_eq: JSJitOpcode = 173;
pub const JSJitOpcode_JS_JIT_OP_strict_neq: JSJitOpcode = 174;
pub const JSJitOpcode_JS_JIT_OP_is_undefined_or_null: JSJitOpcode = 175;
pub const JSJitOpcode_JS_JIT_OP_private_in: JSJitOpcode = 176;
pub const JSJitOpcode_JS_JIT_OP_push_bigint_i32: JSJitOpcode = 177;
pub const JSJitOpcode_JS_JIT_OP_using_dispose_init: JSJitOpcode = 178;
pub const JSJitOpcode_JS_JIT_OP_using_dispose: JSJitOpcode = 179;
pub const JSJitOpcode_JS_JIT_OP_using_dispose_async: JSJitOpcode = 180;
pub const JSJitOpcode_JS_JIT_OP_using_dispose_merge: JSJitOpcode = 181;
pub const JSJitOpcode_JS_JIT_OP_using_dispose_end: JSJitOpcode = 182;
pub const JSJitOpcode_JS_JIT_OP_using_check: JSJitOpcode = 183;
pub const JSJitOpcode_JS_JIT_OP_nop: JSJitOpcode = 184;
pub const JSJitOpcode_JS_JIT_OP_push_minus1: JSJitOpcode = 185;
pub const JSJitOpcode_JS_JIT_OP_push_0: JSJitOpcode = 186;
pub const JSJitOpcode_JS_JIT_OP_push_1: JSJitOpcode = 187;
pub const JSJitOpcode_JS_JIT_OP_push_2: JSJitOpcode = 188;
pub const JSJitOpcode_JS_JIT_OP_push_3: JSJitOpcode = 189;
pub const JSJitOpcode_JS_JIT_OP_push_4: JSJitOpcode = 190;
pub const JSJitOpcode_JS_JIT_OP_push_5: JSJitOpcode = 191;
pub const JSJitOpcode_JS_JIT_OP_push_6: JSJitOpcode = 192;
pub const JSJitOpcode_JS_JIT_OP_push_7: JSJitOpcode = 193;
pub const JSJitOpcode_JS_JIT_OP_push_i8: JSJitOpcode = 194;
pub const JSJitOpcode_JS_JIT_OP_push_i16: JSJitOpcode = 195;
pub const JSJitOpcode_JS_JIT_OP_push_const8: JSJitOpcode = 196;
pub const JSJitOpcode_JS_JIT_OP_fclosure8: JSJitOpcode = 197;
pub const JSJitOpcode_JS_JIT_OP_push_empty_string: JSJitOpcode = 198;
pub const JSJitOpcode_JS_JIT_OP_get_loc8: JSJitOpcode = 199;
pub const JSJitOpcode_JS_JIT_OP_put_loc8: JSJitOpcode = 200;
pub const JSJitOpcode_JS_JIT_OP_set_loc8: JSJitOpcode = 201;
pub const JSJitOpcode_JS_JIT_OP_get_loc0_loc1: JSJitOpcode = 202;
pub const JSJitOpcode_JS_JIT_OP_get_loc0: JSJitOpcode = 203;
pub const JSJitOpcode_JS_JIT_OP_get_loc1: JSJitOpcode = 204;
pub const JSJitOpcode_JS_JIT_OP_get_loc2: JSJitOpcode = 205;
pub const JSJitOpcode_JS_JIT_OP_get_loc3: JSJitOpcode = 206;
pub const JSJitOpcode_JS_JIT_OP_put_loc0: JSJitOpcode = 207;
pub const JSJitOpcode_JS_JIT_OP_put_loc1: JSJitOpcode = 208;
pub const JSJitOpcode_JS_JIT_OP_put_loc2: JSJitOpcode = 209;
pub const JSJitOpcode_JS_JIT_OP_put_loc3: JSJitOpcode = 210;
pub const JSJitOpcode_JS_JIT_OP_set_loc0: JSJitOpcode = 211;
pub const JSJitOpcode_JS_JIT_OP_set_loc1: JSJitOpcode = 212;
pub const JSJitOpcode_JS_JIT_OP_set_loc2: JSJitOpcode = 213;
pub const JSJitOpcode_JS_JIT_OP_set_loc3: JSJitOpcode = 214;
pub const JSJitOpcode_JS_JIT_OP_get_arg0: JSJitOpcode = 215;
pub const JSJitOpcode_JS_JIT_OP_get_arg1: JSJitOpcode = 216;
pub const JSJitOpcode_JS_JIT_OP_get_arg2: JSJitOpcode = 217;
pub const JSJitOpcode_JS_JIT_OP_get_arg3: JSJitOpcode = 218;
pub const JSJitOpcode_JS_JIT_OP_put_arg0: JSJitOpcode = 219;
pub const JSJitOpcode_JS_JIT_OP_put_arg1: JSJitOpcode = 220;
pub const JSJitOpcode_JS_JIT_OP_put_arg2: JSJitOpcode = 221;
pub const JSJitOpcode_JS_JIT_OP_put_arg3: JSJitOpcode = 222;
pub const JSJitOpcode_JS_JIT_OP_set_arg0: JSJitOpcode = 223;
pub const JSJitOpcode_JS_JIT_OP_set_arg1: JSJitOpcode = 224;
pub const JSJitOpcode_JS_JIT_OP_set_arg2: JSJitOpcode = 225;
pub const JSJitOpcode_JS_JIT_OP_set_arg3: JSJitOpcode = 226;
pub const JSJitOpcode_JS_JIT_OP_get_var_ref0: JSJitOpcode = 227;
pub const JSJitOpcode_JS_JIT_OP_get_var_ref1: JSJitOpcode = 228;
pub const JSJitOpcode_JS_JIT_OP_get_var_ref2: JSJitOpcode = 229;
pub const JSJitOpcode_JS_JIT_OP_get_var_ref3: JSJitOpcode = 230;
pub const JSJitOpcode_JS_JIT_OP_put_var_ref0: JSJitOpcode = 231;
pub const JSJitOpcode_JS_JIT_OP_put_var_ref1: JSJitOpcode = 232;
pub const JSJitOpcode_JS_JIT_OP_put_var_ref2: JSJitOpcode = 233;
pub const JSJitOpcode_JS_JIT_OP_put_var_ref3: JSJitOpcode = 234;
pub const JSJitOpcode_JS_JIT_OP_set_var_ref0: JSJitOpcode = 235;
pub const JSJitOpcode_JS_JIT_OP_set_var_ref1: JSJitOpcode = 236;
pub const JSJitOpcode_JS_JIT_OP_set_var_ref2: JSJitOpcode = 237;
pub const JSJitOpcode_JS_JIT_OP_set_var_ref3: JSJitOpcode = 238;
pub const JSJitOpcode_JS_JIT_OP_get_length: JSJitOpcode = 239;
pub const JSJitOpcode_JS_JIT_OP_if_false8: JSJitOpcode = 240;
pub const JSJitOpcode_JS_JIT_OP_if_true8: JSJitOpcode = 241;
pub const JSJitOpcode_JS_JIT_OP_goto8: JSJitOpcode = 242;
pub const JSJitOpcode_JS_JIT_OP_goto16: JSJitOpcode = 243;
pub const JSJitOpcode_JS_JIT_OP_call0: JSJitOpcode = 244;
pub const JSJitOpcode_JS_JIT_OP_call1: JSJitOpcode = 245;
pub const JSJitOpcode_JS_JIT_OP_call2: JSJitOpcode = 246;
pub const JSJitOpcode_JS_JIT_OP_call3: JSJitOpcode = 247;
pub const JSJitOpcode_JS_JIT_OP_is_undefined: JSJitOpcode = 248;
pub const JSJitOpcode_JS_JIT_OP_is_null: JSJitOpcode = 249;
pub const JSJitOpcode_JS_JIT_OP_typeof_is_undefined: JSJitOpcode = 250;
pub const JSJitOpcode_JS_JIT_OP_typeof_is_function: JSJitOpcode = 251;
pub const JSJitOpcode_JS_JIT_OPCODE_COUNT: JSJitOpcode = 252;
pub type JSJitOpcode = ::core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitOpcodeInfo {
    pub opcode: u8,
    pub size: u8,
    pub n_pop: u8,
    pub n_push: u8,
    pub format: u8,
    pub reserved: [u8; 3usize],
    pub name: *const ::core::ffi::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitOpcodeInfo"][::core::mem::size_of::<JSJitOpcodeInfo>() - 12usize];
    ["Alignment of JSJitOpcodeInfo"][::core::mem::align_of::<JSJitOpcodeInfo>() - 4usize];
    ["Offset of field: JSJitOpcodeInfo::opcode"]
        [::core::mem::offset_of!(JSJitOpcodeInfo, opcode) - 0usize];
    ["Offset of field: JSJitOpcodeInfo::size"]
        [::core::mem::offset_of!(JSJitOpcodeInfo, size) - 1usize];
    ["Offset of field: JSJitOpcodeInfo::n_pop"]
        [::core::mem::offset_of!(JSJitOpcodeInfo, n_pop) - 2usize];
    ["Offset of field: JSJitOpcodeInfo::n_push"]
        [::core::mem::offset_of!(JSJitOpcodeInfo, n_push) - 3usize];
    ["Offset of field: JSJitOpcodeInfo::format"]
        [::core::mem::offset_of!(JSJitOpcodeInfo, format) - 4usize];
    ["Offset of field: JSJitOpcodeInfo::reserved"]
        [::core::mem::offset_of!(JSJitOpcodeInfo, reserved) - 5usize];
    ["Offset of field: JSJitOpcodeInfo::name"]
        [::core::mem::offset_of!(JSJitOpcodeInfo, name) - 8usize];
};
pub const JSJitConstantKind_JS_JIT_CONSTANT_IMMEDIATE: JSJitConstantKind = 0;
pub const JSJitConstantKind_JS_JIT_CONSTANT_STRING: JSJitConstantKind = 1;
pub const JSJitConstantKind_JS_JIT_CONSTANT_BIG_INT: JSJitConstantKind = 2;
pub const JSJitConstantKind_JS_JIT_CONSTANT_FUNCTION: JSJitConstantKind = 3;
pub const JSJitConstantKind_JS_JIT_CONSTANT_OBJECT: JSJitConstantKind = 4;
pub type JSJitConstantKind = ::core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitConstantDescriptor {
    pub index: u32,
    pub tag: i32,
    pub kind: u32,
    pub reserved: u32,
    pub payload: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitConstantDescriptor"]
        [::core::mem::size_of::<JSJitConstantDescriptor>() - 24usize];
    ["Alignment of JSJitConstantDescriptor"]
        [::core::mem::align_of::<JSJitConstantDescriptor>() - 8usize];
    ["Offset of field: JSJitConstantDescriptor::index"]
        [::core::mem::offset_of!(JSJitConstantDescriptor, index) - 0usize];
    ["Offset of field: JSJitConstantDescriptor::tag"]
        [::core::mem::offset_of!(JSJitConstantDescriptor, tag) - 4usize];
    ["Offset of field: JSJitConstantDescriptor::kind"]
        [::core::mem::offset_of!(JSJitConstantDescriptor, kind) - 8usize];
    ["Offset of field: JSJitConstantDescriptor::reserved"]
        [::core::mem::offset_of!(JSJitConstantDescriptor, reserved) - 12usize];
    ["Offset of field: JSJitConstantDescriptor::payload"]
        [::core::mem::offset_of!(JSJitConstantDescriptor, payload) - 16usize];
};
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_OK: JSJitSnapshotStatus = 0;
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_INVALID_ARGUMENT: JSJitSnapshotStatus = -1;
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_NOT_BYTECODE: JSJitSnapshotStatus = -2;
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_GENERATOR: JSJitSnapshotStatus = -3;
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_ASYNC: JSJitSnapshotStatus = -4;
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_EVAL: JSJitSnapshotStatus = -5;
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_WITH: JSJitSnapshotStatus = -6;
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_OUT_OF_MEMORY: JSJitSnapshotStatus = -7;
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_TOO_LARGE: JSJitSnapshotStatus = -8;
pub const JSJitSnapshotStatus_JS_JIT_SNAPSHOT_INVALID_BYTECODE: JSJitSnapshotStatus = -9;
pub type JSJitSnapshotStatus = ::core::ffi::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitFunctionSnapshot {
    pub struct_size: u32,
    pub flags: u32,
    pub function: JSJitFunctionId,
    pub opaque: *mut ::core::ffi::c_void,
    pub source_revision: u64,
    pub opcode_fingerprint: u64,
    pub bytecode: *const u8,
    pub bytecode_len: u32,
    pub arg_count: u16,
    pub local_count: u16,
    pub closure_count: u16,
    pub stack_size: u16,
    pub constants: *const JSJitConstantDescriptor,
    pub constant_count: u32,
    pub exception_map: *const u8,
    pub exception_map_len: u32,
    pub source_map: *const u8,
    pub source_map_len: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitFunctionSnapshot"][::core::mem::size_of::<JSJitFunctionSnapshot>() - 96usize];
    ["Alignment of JSJitFunctionSnapshot"]
        [::core::mem::align_of::<JSJitFunctionSnapshot>() - 8usize];
    ["Offset of field: JSJitFunctionSnapshot::struct_size"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, struct_size) - 0usize];
    ["Offset of field: JSJitFunctionSnapshot::flags"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, flags) - 4usize];
    ["Offset of field: JSJitFunctionSnapshot::function"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, function) - 8usize];
    ["Offset of field: JSJitFunctionSnapshot::opaque"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, opaque) - 32usize];
    ["Offset of field: JSJitFunctionSnapshot::source_revision"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, source_revision) - 40usize];
    ["Offset of field: JSJitFunctionSnapshot::opcode_fingerprint"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, opcode_fingerprint) - 48usize];
    ["Offset of field: JSJitFunctionSnapshot::bytecode"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, bytecode) - 56usize];
    ["Offset of field: JSJitFunctionSnapshot::bytecode_len"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, bytecode_len) - 60usize];
    ["Offset of field: JSJitFunctionSnapshot::arg_count"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, arg_count) - 64usize];
    ["Offset of field: JSJitFunctionSnapshot::local_count"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, local_count) - 66usize];
    ["Offset of field: JSJitFunctionSnapshot::closure_count"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, closure_count) - 68usize];
    ["Offset of field: JSJitFunctionSnapshot::stack_size"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, stack_size) - 70usize];
    ["Offset of field: JSJitFunctionSnapshot::constants"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, constants) - 72usize];
    ["Offset of field: JSJitFunctionSnapshot::constant_count"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, constant_count) - 76usize];
    ["Offset of field: JSJitFunctionSnapshot::exception_map"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, exception_map) - 80usize];
    ["Offset of field: JSJitFunctionSnapshot::exception_map_len"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, exception_map_len) - 84usize];
    ["Offset of field: JSJitFunctionSnapshot::source_map"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, source_map) - 88usize];
    ["Offset of field: JSJitFunctionSnapshot::source_map_len"]
        [::core::mem::offset_of!(JSJitFunctionSnapshot, source_map_len) - 92usize];
};
pub const JSJitExitKind_JS_JIT_EXIT_DONE: JSJitExitKind = 0;
pub const JSJitExitKind_JS_JIT_EXIT_EXCEPTION: JSJitExitKind = 1;
pub const JSJitExitKind_JS_JIT_EXIT_INTERRUPT: JSJitExitKind = 2;
pub const JSJitExitKind_JS_JIT_EXIT_DEOPT: JSJitExitKind = 3;
pub const JSJitExitKind_JS_JIT_EXIT_RETRY_INTERPRETER: JSJitExitKind = 4;
pub type JSJitExitKind = ::core::ffi::c_uint;
pub type JSJitHelperStatus = i32;
pub const JS_JIT_HELPER_OK: _bindgen_ty_2 = 0;
pub const JS_JIT_HELPER_GUARD_MISS: _bindgen_ty_2 = 1;
pub const JS_JIT_HELPER_MATERIALIZED: _bindgen_ty_2 = 2;
pub const JS_JIT_HELPER_EXCEPTION: _bindgen_ty_2 = -1;
pub type _bindgen_ty_2 = ::core::ffi::c_int;
pub const JSJitOwnerSourceKind_JS_JIT_OWNER_SOURCE_ARGUMENT: JSJitOwnerSourceKind = 0;
pub const JSJitOwnerSourceKind_JS_JIT_OWNER_SOURCE_LOCAL: JSJitOwnerSourceKind = 1;
pub const JSJitOwnerSourceKind_JS_JIT_OWNER_SOURCE_OWNED_STACK: JSJitOwnerSourceKind = 2;
pub type JSJitOwnerSourceKind = ::core::ffi::c_uint;
pub const JSJitHelperABIType_JS_JIT_HELPER_ABI_NONE: JSJitHelperABIType = 0;
pub const JSJitHelperABIType_JS_JIT_HELPER_ABI_STATUS: JSJitHelperABIType = 1;
pub const JSJitHelperABIType_JS_JIT_HELPER_ABI_FRAME: JSJitHelperABIType = 2;
pub const JSJitHelperABIType_JS_JIT_HELPER_ABI_U32: JSJitHelperABIType = 3;
pub type JSJitHelperABIType = ::core::ffi::c_uint;
pub const JSJitHelperOwnership_JS_JIT_HELPER_NONE: JSJitHelperOwnership = 0;
pub const JSJitHelperOwnership_JS_JIT_HELPER_BORROWED: JSJitHelperOwnership = 1;
pub const JSJitHelperOwnership_JS_JIT_HELPER_CONSUMED: JSJitHelperOwnership = 2;
pub const JSJitHelperOwnership_JS_JIT_HELPER_OWNED: JSJitHelperOwnership = 3;
pub type JSJitHelperOwnership = ::core::ffi::c_uint;
pub const JS_JIT_HELPER_THROWING: _bindgen_ty_3 = 1;
pub const JS_JIT_HELPER_ALLOCATING: _bindgen_ty_3 = 2;
pub const JS_JIT_HELPER_REENTRANT: _bindgen_ty_3 = 4;
pub const JS_JIT_HELPER_FINALIZING: _bindgen_ty_3 = 8;
pub type _bindgen_ty_3 = ::core::ffi::c_uint;
pub const JSJitCompareOp_JS_JIT_COMPARE_LT: JSJitCompareOp = 0;
pub const JSJitCompareOp_JS_JIT_COMPARE_LTE: JSJitCompareOp = 1;
pub const JSJitCompareOp_JS_JIT_COMPARE_GT: JSJitCompareOp = 2;
pub const JSJitCompareOp_JS_JIT_COMPARE_GTE: JSJitCompareOp = 3;
pub const JSJitCompareOp_JS_JIT_COMPARE_EQ: JSJitCompareOp = 4;
pub const JSJitCompareOp_JS_JIT_COMPARE_NEQ: JSJitCompareOp = 5;
pub const JSJitCompareOp_JS_JIT_COMPARE_STRICT_EQ: JSJitCompareOp = 6;
pub const JSJitCompareOp_JS_JIT_COMPARE_STRICT_NEQ: JSJitCompareOp = 7;
pub type JSJitCompareOp = ::core::ffi::c_uint;
pub const JSJitHelperId_JS_JIT_HELPER_POLL: JSJitHelperId = 0;
pub const JSJitHelperId_JS_JIT_HELPER_DUP: JSJitHelperId = 1;
pub const JSJitHelperId_JS_JIT_HELPER_FREE: JSJitHelperId = 2;
pub const JSJitHelperId_JS_JIT_HELPER_RESOLVE_CONST: JSJitHelperId = 3;
pub const JSJitHelperId_JS_JIT_HELPER_TO_NUMERIC: JSJitHelperId = 4;
pub const JSJitHelperId_JS_JIT_HELPER_TO_BOOL: JSJitHelperId = 5;
pub const JSJitHelperId_JS_JIT_HELPER_ADD_SLOW: JSJitHelperId = 6;
pub const JSJitHelperId_JS_JIT_HELPER_COMPARE_SLOW: JSJitHelperId = 7;
pub const JSJitHelperId_JS_JIT_HELPER_GET_PROPERTY: JSJitHelperId = 8;
pub const JSJitHelperId_JS_JIT_HELPER_SET_PROPERTY: JSJitHelperId = 9;
pub const JSJitHelperId_JS_JIT_HELPER_CALL: JSJitHelperId = 10;
pub const JSJitHelperId_JS_JIT_HELPER_NEW_ARRAY: JSJitHelperId = 11;
pub const JSJitHelperId_JS_JIT_HELPER_NEW_OBJECT: JSJitHelperId = 12;
pub const JSJitHelperId_JS_JIT_HELPER_SHAPE_GUARD: JSJitHelperId = 13;
pub const JSJitHelperId_JS_JIT_HELPER_MATERIALIZE_OWNER: JSJitHelperId = 14;
pub const JSJitHelperId_JS_JIT_HELPER_GET_ELEMENT: JSJitHelperId = 15;
pub const JSJitHelperId_JS_JIT_HELPER_SET_ELEMENT: JSJitHelperId = 16;
pub const JSJitHelperId_JS_JIT_HELPER_TO_PROPKEY: JSJitHelperId = 17;
pub const JSJitHelperId_JS_JIT_HELPER_GET_GLOBAL: JSJitHelperId = 18;
pub const JSJitHelperId_JS_JIT_HELPER_CALL_CONSTRUCTOR: JSJitHelperId = 19;
pub const JSJitHelperId_JS_JIT_HELPER_REGEXP: JSJitHelperId = 20;
pub const JSJitHelperId_JS_JIT_HELPER_ATOM_VALUE: JSJitHelperId = 21;
pub const JSJitHelperId_JS_JIT_HELPER_BINARY_ARITH_SLOW: JSJitHelperId = 22;
pub const JSJitHelperId_JS_JIT_HELPER_UNARY_ARITH_SLOW: JSJitHelperId = 23;
pub const JSJitHelperId_JS_JIT_HELPER_COUNT: JSJitHelperId = 24;
pub type JSJitHelperId = ::core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitHelperInfo {
    pub id: u16,
    pub abi_type_count: u8,
    pub value_arity: u8,
    pub abi_types: [u8; 8usize],
    pub value_ownership: [u8; 4usize],
    pub output_ownership: u8,
    pub reserved: [u8; 3usize],
    pub flags: u32,
    pub name: *const ::core::ffi::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitHelperInfo"][::core::mem::size_of::<JSJitHelperInfo>() - 28usize];
    ["Alignment of JSJitHelperInfo"][::core::mem::align_of::<JSJitHelperInfo>() - 4usize];
    ["Offset of field: JSJitHelperInfo::id"][::core::mem::offset_of!(JSJitHelperInfo, id) - 0usize];
    ["Offset of field: JSJitHelperInfo::abi_type_count"]
        [::core::mem::offset_of!(JSJitHelperInfo, abi_type_count) - 2usize];
    ["Offset of field: JSJitHelperInfo::value_arity"]
        [::core::mem::offset_of!(JSJitHelperInfo, value_arity) - 3usize];
    ["Offset of field: JSJitHelperInfo::abi_types"]
        [::core::mem::offset_of!(JSJitHelperInfo, abi_types) - 4usize];
    ["Offset of field: JSJitHelperInfo::value_ownership"]
        [::core::mem::offset_of!(JSJitHelperInfo, value_ownership) - 12usize];
    ["Offset of field: JSJitHelperInfo::output_ownership"]
        [::core::mem::offset_of!(JSJitHelperInfo, output_ownership) - 16usize];
    ["Offset of field: JSJitHelperInfo::reserved"]
        [::core::mem::offset_of!(JSJitHelperInfo, reserved) - 17usize];
    ["Offset of field: JSJitHelperInfo::flags"]
        [::core::mem::offset_of!(JSJitHelperInfo, flags) - 20usize];
    ["Offset of field: JSJitHelperInfo::name"]
        [::core::mem::offset_of!(JSJitHelperInfo, name) - 24usize];
};
unsafe extern "C" {
    pub fn JS_JitHelperPoll(frame: *mut JSJitExecFrame) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperDup(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        input: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperFree(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        input: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperResolveConst(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        input: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperToNumeric(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        input: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperToBool(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        input: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperAddSlow(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        left: u32,
        right: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperCompareSlow(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        left: u32,
        right: u32,
        operation: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperGetProperty(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        object: u32,
        atom: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperSetProperty(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        object: u32,
        atom: u32,
        value: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperCall(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        function: u32,
        this_value: u32,
        argv: u32,
        argc: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperNewArray(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperNewObject(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperShapeGuard(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        object: u32,
        identity_lo: u32,
        identity_hi: u32,
        generation_lo: u32,
        generation_hi: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperMaterializeOwner(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output_stack_index: u32,
        source_kind: u32,
        source_index: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperGetElement(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        left: u32,
        right: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperSetElement(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        left: u32,
        right: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperToPropKey(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        input: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperGetGlobal(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        input: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperCallConstructor(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        function: u32,
        this_value: u32,
        argv: u32,
        argc: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperRegexp(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        left: u32,
        right: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperAtomValue(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        input: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperBinaryArithSlow(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        left: u32,
        right: u32,
        operation: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitHelperUnaryArithSlow(
        frame: *mut JSJitExecFrame,
        stack_map_id: u32,
        output: u32,
        input: u32,
        opcode: u32,
    ) -> JSJitHelperStatus;
}
unsafe extern "C" {
    pub fn JS_JitGetHelperTable(count: *mut u32, fingerprint: *mut u64) -> *const JSJitHelperInfo;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitRuntimeAPI {
    pub struct_size: u32,
    pub major: u16,
    pub minor: u16,
    pub interrupt_poll: ::core::option::Option<
        unsafe extern "C" fn(frame: *mut JSJitExecFrame) -> JSJitHelperStatus,
    >,
    pub dup: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            input: u32,
        ) -> JSJitHelperStatus,
    >,
    pub free: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            input: u32,
        ) -> JSJitHelperStatus,
    >,
    pub resolve_const: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            input: u32,
        ) -> JSJitHelperStatus,
    >,
    pub to_numeric: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            input: u32,
        ) -> JSJitHelperStatus,
    >,
    pub to_bool: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            input: u32,
        ) -> JSJitHelperStatus,
    >,
    pub add_slow: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            left: u32,
            right: u32,
        ) -> JSJitHelperStatus,
    >,
    pub compare_slow: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            left: u32,
            right: u32,
            operation: u32,
        ) -> JSJitHelperStatus,
    >,
    pub get_property: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            object: u32,
            atom: u32,
        ) -> JSJitHelperStatus,
    >,
    pub set_property: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            object: u32,
            atom: u32,
            value: u32,
        ) -> JSJitHelperStatus,
    >,
    pub call: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            function: u32,
            this_value: u32,
            argv: u32,
            argc: u32,
        ) -> JSJitHelperStatus,
    >,
    pub new_array: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
        ) -> JSJitHelperStatus,
    >,
    pub new_object: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
        ) -> JSJitHelperStatus,
    >,
    pub shape_guard: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            object: u32,
            identity_lo: u32,
            identity_hi: u32,
            generation_lo: u32,
            generation_hi: u32,
        ) -> JSJitHelperStatus,
    >,
    pub materialize_owner: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output_stack_index: u32,
            source_kind: u32,
            source_index: u32,
        ) -> JSJitHelperStatus,
    >,
    pub get_element: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            left: u32,
            right: u32,
        ) -> JSJitHelperStatus,
    >,
    pub set_element: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            left: u32,
            right: u32,
        ) -> JSJitHelperStatus,
    >,
    pub to_propkey: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            input: u32,
        ) -> JSJitHelperStatus,
    >,
    pub get_global: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            input: u32,
        ) -> JSJitHelperStatus,
    >,
    pub call_constructor: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            function: u32,
            this_value: u32,
            argv: u32,
            argc: u32,
        ) -> JSJitHelperStatus,
    >,
    pub regexp: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            left: u32,
            right: u32,
        ) -> JSJitHelperStatus,
    >,
    pub atom_value: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            input: u32,
        ) -> JSJitHelperStatus,
    >,
    pub binary_arith_slow: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            left: u32,
            right: u32,
            operation: u32,
        ) -> JSJitHelperStatus,
    >,
    pub unary_arith_slow: ::core::option::Option<
        unsafe extern "C" fn(
            frame: *mut JSJitExecFrame,
            stack_map_id: u32,
            output: u32,
            input: u32,
            opcode: u32,
        ) -> JSJitHelperStatus,
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitRuntimeAPI"][::core::mem::size_of::<JSJitRuntimeAPI>() - 104usize];
    ["Alignment of JSJitRuntimeAPI"][::core::mem::align_of::<JSJitRuntimeAPI>() - 4usize];
    ["Offset of field: JSJitRuntimeAPI::struct_size"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, struct_size) - 0usize];
    ["Offset of field: JSJitRuntimeAPI::major"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, major) - 4usize];
    ["Offset of field: JSJitRuntimeAPI::minor"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, minor) - 6usize];
    ["Offset of field: JSJitRuntimeAPI::interrupt_poll"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, interrupt_poll) - 8usize];
    ["Offset of field: JSJitRuntimeAPI::dup"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, dup) - 12usize];
    ["Offset of field: JSJitRuntimeAPI::free"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, free) - 16usize];
    ["Offset of field: JSJitRuntimeAPI::resolve_const"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, resolve_const) - 20usize];
    ["Offset of field: JSJitRuntimeAPI::to_numeric"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, to_numeric) - 24usize];
    ["Offset of field: JSJitRuntimeAPI::to_bool"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, to_bool) - 28usize];
    ["Offset of field: JSJitRuntimeAPI::add_slow"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, add_slow) - 32usize];
    ["Offset of field: JSJitRuntimeAPI::compare_slow"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, compare_slow) - 36usize];
    ["Offset of field: JSJitRuntimeAPI::get_property"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, get_property) - 40usize];
    ["Offset of field: JSJitRuntimeAPI::set_property"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, set_property) - 44usize];
    ["Offset of field: JSJitRuntimeAPI::call"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, call) - 48usize];
    ["Offset of field: JSJitRuntimeAPI::new_array"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, new_array) - 52usize];
    ["Offset of field: JSJitRuntimeAPI::new_object"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, new_object) - 56usize];
    ["Offset of field: JSJitRuntimeAPI::shape_guard"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, shape_guard) - 60usize];
    ["Offset of field: JSJitRuntimeAPI::materialize_owner"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, materialize_owner) - 64usize];
    ["Offset of field: JSJitRuntimeAPI::get_element"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, get_element) - 68usize];
    ["Offset of field: JSJitRuntimeAPI::set_element"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, set_element) - 72usize];
    ["Offset of field: JSJitRuntimeAPI::to_propkey"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, to_propkey) - 76usize];
    ["Offset of field: JSJitRuntimeAPI::get_global"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, get_global) - 80usize];
    ["Offset of field: JSJitRuntimeAPI::call_constructor"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, call_constructor) - 84usize];
    ["Offset of field: JSJitRuntimeAPI::regexp"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, regexp) - 88usize];
    ["Offset of field: JSJitRuntimeAPI::atom_value"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, atom_value) - 92usize];
    ["Offset of field: JSJitRuntimeAPI::binary_arith_slow"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, binary_arith_slow) - 96usize];
    ["Offset of field: JSJitRuntimeAPI::unary_arith_slow"]
        [::core::mem::offset_of!(JSJitRuntimeAPI, unary_arith_slow) - 100usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitExit {
    pub kind: u32,
    pub reserved: u32,
    pub resume_pc: *const u8,
    pub resume_stack_top: *mut JSValue,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitExit"][::core::mem::size_of::<JSJitExit>() - 16usize];
    ["Alignment of JSJitExit"][::core::mem::align_of::<JSJitExit>() - 4usize];
    ["Offset of field: JSJitExit::kind"][::core::mem::offset_of!(JSJitExit, kind) - 0usize];
    ["Offset of field: JSJitExit::reserved"][::core::mem::offset_of!(JSJitExit, reserved) - 4usize];
    ["Offset of field: JSJitExit::resume_pc"]
        [::core::mem::offset_of!(JSJitExit, resume_pc) - 8usize];
    ["Offset of field: JSJitExit::resume_stack_top"]
        [::core::mem::offset_of!(JSJitExit, resume_stack_top) - 12usize];
};
pub type JSJitEntryFn =
    ::core::option::Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame) -> JSJitExit>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitEntryHandle {
    pub struct_size: u32,
    pub reserved: u32,
    pub entry: JSJitEntryFn,
    pub pin: *mut ::core::ffi::c_void,
    pub stack_map_count: u32,
    pub helper_abi_version: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitEntryHandle"][::core::mem::size_of::<JSJitEntryHandle>() - 24usize];
    ["Alignment of JSJitEntryHandle"][::core::mem::align_of::<JSJitEntryHandle>() - 4usize];
    ["Offset of field: JSJitEntryHandle::struct_size"]
        [::core::mem::offset_of!(JSJitEntryHandle, struct_size) - 0usize];
    ["Offset of field: JSJitEntryHandle::reserved"]
        [::core::mem::offset_of!(JSJitEntryHandle, reserved) - 4usize];
    ["Offset of field: JSJitEntryHandle::entry"]
        [::core::mem::offset_of!(JSJitEntryHandle, entry) - 8usize];
    ["Offset of field: JSJitEntryHandle::pin"]
        [::core::mem::offset_of!(JSJitEntryHandle, pin) - 12usize];
    ["Offset of field: JSJitEntryHandle::stack_map_count"]
        [::core::mem::offset_of!(JSJitEntryHandle, stack_map_count) - 16usize];
    ["Offset of field: JSJitEntryHandle::helper_abi_version"]
        [::core::mem::offset_of!(JSJitEntryHandle, helper_abi_version) - 20usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitExecFrame {
    pub struct_size: u32,
    pub flags: u32,
    pub rt: *mut JSRuntime,
    pub ctx: *mut JSContext,
    pub function_id: u64,
    pub generation: u64,
    pub arg_buf: *mut JSValue,
    pub var_buf: *mut JSValue,
    pub stack_base: *mut JSValue,
    pub stack_top: *mut JSValue,
    pub bytecode_start: *const u8,
    pub pc: *const u8,
    pub result: JSValue,
    pub entry: JSJitEntryHandle,
    pub runtime_api: *const JSJitRuntimeAPI,
    pub runtime_id: u64,
    pub frame_cookie: u64,
    pub stack_capacity: *mut JSValue,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitExecFrame"][::core::mem::size_of::<JSJitExecFrame>() - 120usize];
    ["Alignment of JSJitExecFrame"][::core::mem::align_of::<JSJitExecFrame>() - 8usize];
    ["Offset of field: JSJitExecFrame::struct_size"]
        [::core::mem::offset_of!(JSJitExecFrame, struct_size) - 0usize];
    ["Offset of field: JSJitExecFrame::flags"]
        [::core::mem::offset_of!(JSJitExecFrame, flags) - 4usize];
    ["Offset of field: JSJitExecFrame::rt"][::core::mem::offset_of!(JSJitExecFrame, rt) - 8usize];
    ["Offset of field: JSJitExecFrame::ctx"]
        [::core::mem::offset_of!(JSJitExecFrame, ctx) - 12usize];
    ["Offset of field: JSJitExecFrame::function_id"]
        [::core::mem::offset_of!(JSJitExecFrame, function_id) - 16usize];
    ["Offset of field: JSJitExecFrame::generation"]
        [::core::mem::offset_of!(JSJitExecFrame, generation) - 24usize];
    ["Offset of field: JSJitExecFrame::arg_buf"]
        [::core::mem::offset_of!(JSJitExecFrame, arg_buf) - 32usize];
    ["Offset of field: JSJitExecFrame::var_buf"]
        [::core::mem::offset_of!(JSJitExecFrame, var_buf) - 36usize];
    ["Offset of field: JSJitExecFrame::stack_base"]
        [::core::mem::offset_of!(JSJitExecFrame, stack_base) - 40usize];
    ["Offset of field: JSJitExecFrame::stack_top"]
        [::core::mem::offset_of!(JSJitExecFrame, stack_top) - 44usize];
    ["Offset of field: JSJitExecFrame::bytecode_start"]
        [::core::mem::offset_of!(JSJitExecFrame, bytecode_start) - 48usize];
    ["Offset of field: JSJitExecFrame::pc"][::core::mem::offset_of!(JSJitExecFrame, pc) - 52usize];
    ["Offset of field: JSJitExecFrame::result"]
        [::core::mem::offset_of!(JSJitExecFrame, result) - 56usize];
    ["Offset of field: JSJitExecFrame::entry"]
        [::core::mem::offset_of!(JSJitExecFrame, entry) - 64usize];
    ["Offset of field: JSJitExecFrame::runtime_api"]
        [::core::mem::offset_of!(JSJitExecFrame, runtime_api) - 88usize];
    ["Offset of field: JSJitExecFrame::runtime_id"]
        [::core::mem::offset_of!(JSJitExecFrame, runtime_id) - 96usize];
    ["Offset of field: JSJitExecFrame::frame_cookie"]
        [::core::mem::offset_of!(JSJitExecFrame, frame_cookie) - 104usize];
    ["Offset of field: JSJitExecFrame::stack_capacity"]
        [::core::mem::offset_of!(JSJitExecFrame, stack_capacity) - 112usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitElementLayout {
    pub struct_size: u32,
    pub object_class_id_offset: u32,
    pub object_flags_offset: u32,
    pub object_fast_array_mask: u32,
    pub object_exotic_mask: u32,
    pub object_union_offset: u32,
    pub array_size_offset: u32,
    pub array_count_offset: u32,
    pub array_data_offset: u32,
    pub typed_array_ptr_offset: u32,
    pub typed_array_buffer_offset: u32,
    pub typed_array_byte_offset_offset: u32,
    pub typed_array_byte_length_offset: u32,
    pub typed_array_track_rab_offset: u32,
    pub array_buffer_data_offset: u32,
    pub array_buffer_byte_length_offset: u32,
    pub array_buffer_max_byte_length_offset: u32,
    pub array_buffer_detached_offset: u32,
    pub array_buffer_immutable_offset: u32,
    pub array_class_id: u32,
    pub int32_array_class_id: u32,
    pub float64_array_class_id: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitElementLayout"][::core::mem::size_of::<JSJitElementLayout>() - 88usize];
    ["Alignment of JSJitElementLayout"][::core::mem::align_of::<JSJitElementLayout>() - 4usize];
    ["Offset of field: JSJitElementLayout::struct_size"]
        [::core::mem::offset_of!(JSJitElementLayout, struct_size) - 0usize];
    ["Offset of field: JSJitElementLayout::object_class_id_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, object_class_id_offset) - 4usize];
    ["Offset of field: JSJitElementLayout::object_flags_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, object_flags_offset) - 8usize];
    ["Offset of field: JSJitElementLayout::object_fast_array_mask"]
        [::core::mem::offset_of!(JSJitElementLayout, object_fast_array_mask) - 12usize];
    ["Offset of field: JSJitElementLayout::object_exotic_mask"]
        [::core::mem::offset_of!(JSJitElementLayout, object_exotic_mask) - 16usize];
    ["Offset of field: JSJitElementLayout::object_union_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, object_union_offset) - 20usize];
    ["Offset of field: JSJitElementLayout::array_size_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, array_size_offset) - 24usize];
    ["Offset of field: JSJitElementLayout::array_count_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, array_count_offset) - 28usize];
    ["Offset of field: JSJitElementLayout::array_data_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, array_data_offset) - 32usize];
    ["Offset of field: JSJitElementLayout::typed_array_ptr_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, typed_array_ptr_offset) - 36usize];
    ["Offset of field: JSJitElementLayout::typed_array_buffer_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, typed_array_buffer_offset) - 40usize];
    ["Offset of field: JSJitElementLayout::typed_array_byte_offset_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, typed_array_byte_offset_offset) - 44usize];
    ["Offset of field: JSJitElementLayout::typed_array_byte_length_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, typed_array_byte_length_offset) - 48usize];
    ["Offset of field: JSJitElementLayout::typed_array_track_rab_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, typed_array_track_rab_offset) - 52usize];
    ["Offset of field: JSJitElementLayout::array_buffer_data_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, array_buffer_data_offset) - 56usize];
    ["Offset of field: JSJitElementLayout::array_buffer_byte_length_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, array_buffer_byte_length_offset) - 60usize];
    ["Offset of field: JSJitElementLayout::array_buffer_max_byte_length_offset"][::core::mem::offset_of!(
        JSJitElementLayout,
        array_buffer_max_byte_length_offset
    ) - 64usize];
    ["Offset of field: JSJitElementLayout::array_buffer_detached_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, array_buffer_detached_offset) - 68usize];
    ["Offset of field: JSJitElementLayout::array_buffer_immutable_offset"]
        [::core::mem::offset_of!(JSJitElementLayout, array_buffer_immutable_offset) - 72usize];
    ["Offset of field: JSJitElementLayout::array_class_id"]
        [::core::mem::offset_of!(JSJitElementLayout, array_class_id) - 76usize];
    ["Offset of field: JSJitElementLayout::int32_array_class_id"]
        [::core::mem::offset_of!(JSJitElementLayout, int32_array_class_id) - 80usize];
    ["Offset of field: JSJitElementLayout::float64_array_class_id"]
        [::core::mem::offset_of!(JSJitElementLayout, float64_array_class_id) - 84usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitABIInfo {
    pub struct_size: u32,
    pub major: u16,
    pub minor: u16,
    pub pointer_width: u8,
    pub little_endian: u8,
    pub value_size: u16,
    pub source_revision: u64,
    pub opcode_fingerprint: u64,
    pub value_layout_fingerprint: u64,
    pub build_feature_flags: u64,
    pub build_fingerprint: u64,
    pub abi_info_layout_fingerprint: u64,
    pub function_id_layout_fingerprint: u64,
    pub hot_event_layout_fingerprint: u64,
    pub function_snapshot_layout_fingerprint: u64,
    pub entry_handle_layout_fingerprint: u64,
    pub backend_vtable_layout_fingerprint: u64,
    pub exec_frame_layout_fingerprint: u64,
    pub exit_layout_fingerprint: u64,
    pub runtime_api_layout_fingerprint: u64,
    pub helper_table_fingerprint: u64,
    pub element_layout_fingerprint: u64,
    pub element_layout: JSJitElementLayout,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitABIInfo"][::core::mem::size_of::<JSJitABIInfo>() - 232usize];
    ["Alignment of JSJitABIInfo"][::core::mem::align_of::<JSJitABIInfo>() - 8usize];
    ["Offset of field: JSJitABIInfo::struct_size"]
        [::core::mem::offset_of!(JSJitABIInfo, struct_size) - 0usize];
    ["Offset of field: JSJitABIInfo::major"][::core::mem::offset_of!(JSJitABIInfo, major) - 4usize];
    ["Offset of field: JSJitABIInfo::minor"][::core::mem::offset_of!(JSJitABIInfo, minor) - 6usize];
    ["Offset of field: JSJitABIInfo::pointer_width"]
        [::core::mem::offset_of!(JSJitABIInfo, pointer_width) - 8usize];
    ["Offset of field: JSJitABIInfo::little_endian"]
        [::core::mem::offset_of!(JSJitABIInfo, little_endian) - 9usize];
    ["Offset of field: JSJitABIInfo::value_size"]
        [::core::mem::offset_of!(JSJitABIInfo, value_size) - 10usize];
    ["Offset of field: JSJitABIInfo::source_revision"]
        [::core::mem::offset_of!(JSJitABIInfo, source_revision) - 16usize];
    ["Offset of field: JSJitABIInfo::opcode_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, opcode_fingerprint) - 24usize];
    ["Offset of field: JSJitABIInfo::value_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, value_layout_fingerprint) - 32usize];
    ["Offset of field: JSJitABIInfo::build_feature_flags"]
        [::core::mem::offset_of!(JSJitABIInfo, build_feature_flags) - 40usize];
    ["Offset of field: JSJitABIInfo::build_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, build_fingerprint) - 48usize];
    ["Offset of field: JSJitABIInfo::abi_info_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, abi_info_layout_fingerprint) - 56usize];
    ["Offset of field: JSJitABIInfo::function_id_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, function_id_layout_fingerprint) - 64usize];
    ["Offset of field: JSJitABIInfo::hot_event_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, hot_event_layout_fingerprint) - 72usize];
    ["Offset of field: JSJitABIInfo::function_snapshot_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, function_snapshot_layout_fingerprint) - 80usize];
    ["Offset of field: JSJitABIInfo::entry_handle_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, entry_handle_layout_fingerprint) - 88usize];
    ["Offset of field: JSJitABIInfo::backend_vtable_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, backend_vtable_layout_fingerprint) - 96usize];
    ["Offset of field: JSJitABIInfo::exec_frame_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, exec_frame_layout_fingerprint) - 104usize];
    ["Offset of field: JSJitABIInfo::exit_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, exit_layout_fingerprint) - 112usize];
    ["Offset of field: JSJitABIInfo::runtime_api_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, runtime_api_layout_fingerprint) - 120usize];
    ["Offset of field: JSJitABIInfo::helper_table_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, helper_table_fingerprint) - 128usize];
    ["Offset of field: JSJitABIInfo::element_layout_fingerprint"]
        [::core::mem::offset_of!(JSJitABIInfo, element_layout_fingerprint) - 136usize];
    ["Offset of field: JSJitABIInfo::element_layout"]
        [::core::mem::offset_of!(JSJitABIInfo, element_layout) - 144usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitHelperCounters {
    pub struct_size: u32,
    pub reserved: u32,
    pub dup_count: u64,
    pub free_count: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitHelperCounters"][::core::mem::size_of::<JSJitHelperCounters>() - 24usize];
    ["Alignment of JSJitHelperCounters"][::core::mem::align_of::<JSJitHelperCounters>() - 8usize];
    ["Offset of field: JSJitHelperCounters::struct_size"]
        [::core::mem::offset_of!(JSJitHelperCounters, struct_size) - 0usize];
    ["Offset of field: JSJitHelperCounters::reserved"]
        [::core::mem::offset_of!(JSJitHelperCounters, reserved) - 4usize];
    ["Offset of field: JSJitHelperCounters::dup_count"]
        [::core::mem::offset_of!(JSJitHelperCounters, dup_count) - 8usize];
    ["Offset of field: JSJitHelperCounters::free_count"]
        [::core::mem::offset_of!(JSJitHelperCounters, free_count) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitBackendVTable {
    pub struct_size: u32,
    pub record_hot: ::core::option::Option<
        unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void, event: *const JSJitHotEvent) -> u32,
    >,
    pub submit_snapshot: ::core::option::Option<
        unsafe extern "C" fn(
            opaque: *mut ::core::ffi::c_void,
            snapshot: *mut JSJitFunctionSnapshot,
        ),
    >,
    pub acquire_entry: ::core::option::Option<
        unsafe extern "C" fn(
            opaque: *mut ::core::ffi::c_void,
            id: u64,
            generation: u64,
            pc: u32,
        ) -> JSJitEntryHandle,
    >,
    pub release_entry: ::core::option::Option<
        unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void, entry: JSJitEntryHandle),
    >,
    pub runtime_detach: ::core::option::Option<
        unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void, rt: *mut JSRuntime),
    >,
    pub function_retire: ::core::option::Option<
        unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void, id: u64, generation: u64),
    >,
    pub memory_used:
        ::core::option::Option<unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void) -> size_t>,
    pub native_enter: ::core::option::Option<
        unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void, id: u64, generation: u64, pc: u32),
    >,
    pub native_exit: ::core::option::Option<
        unsafe extern "C" fn(
            opaque: *mut ::core::ffi::c_void,
            id: u64,
            generation: u64,
            pc: u32,
            exit_kind: u32,
        ),
    >,
    pub record_feedback: ::core::option::Option<
        unsafe extern "C" fn(opaque: *mut ::core::ffi::c_void, event: *const JSJitFeedbackEvent),
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitBackendVTable"][::core::mem::size_of::<JSJitBackendVTable>() - 44usize];
    ["Alignment of JSJitBackendVTable"][::core::mem::align_of::<JSJitBackendVTable>() - 4usize];
    ["Offset of field: JSJitBackendVTable::struct_size"]
        [::core::mem::offset_of!(JSJitBackendVTable, struct_size) - 0usize];
    ["Offset of field: JSJitBackendVTable::record_hot"]
        [::core::mem::offset_of!(JSJitBackendVTable, record_hot) - 4usize];
    ["Offset of field: JSJitBackendVTable::submit_snapshot"]
        [::core::mem::offset_of!(JSJitBackendVTable, submit_snapshot) - 8usize];
    ["Offset of field: JSJitBackendVTable::acquire_entry"]
        [::core::mem::offset_of!(JSJitBackendVTable, acquire_entry) - 12usize];
    ["Offset of field: JSJitBackendVTable::release_entry"]
        [::core::mem::offset_of!(JSJitBackendVTable, release_entry) - 16usize];
    ["Offset of field: JSJitBackendVTable::runtime_detach"]
        [::core::mem::offset_of!(JSJitBackendVTable, runtime_detach) - 20usize];
    ["Offset of field: JSJitBackendVTable::function_retire"]
        [::core::mem::offset_of!(JSJitBackendVTable, function_retire) - 24usize];
    ["Offset of field: JSJitBackendVTable::memory_used"]
        [::core::mem::offset_of!(JSJitBackendVTable, memory_used) - 28usize];
    ["Offset of field: JSJitBackendVTable::native_enter"]
        [::core::mem::offset_of!(JSJitBackendVTable, native_enter) - 32usize];
    ["Offset of field: JSJitBackendVTable::native_exit"]
        [::core::mem::offset_of!(JSJitBackendVTable, native_exit) - 36usize];
    ["Offset of field: JSJitBackendVTable::record_feedback"]
        [::core::mem::offset_of!(JSJitBackendVTable, record_feedback) - 40usize];
};
pub const JS_JIT_BACKEND_OK: _bindgen_ty_4 = 0;
pub const JS_JIT_BACKEND_INVALID_ARGUMENT: _bindgen_ty_4 = -1;
pub const JS_JIT_BACKEND_ALREADY_ATTACHED: _bindgen_ty_4 = -2;
pub const JS_JIT_BACKEND_INVALID_VTABLE: _bindgen_ty_4 = -3;
pub const JS_JIT_BACKEND_BUSY: _bindgen_ty_4 = -4;
pub type _bindgen_ty_4 = ::core::ffi::c_int;
unsafe extern "C" {
    pub fn JS_GetJitABIInfo(out: *mut JSJitABIInfo) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_GetJitRuntimeId(rt: *mut JSRuntime) -> u64;
}
unsafe extern "C" {
    pub fn JS_JitGetHelperCounters(
        rt: *mut JSRuntime,
        counters: *mut JSJitHelperCounters,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_JitResetHelperCounters(rt: *mut JSRuntime) -> ::core::ffi::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSJitTraceEvent {
    pub pc: u32,
    pub opcode: u8,
    pub kind: u8,
    pub helper_id: u8,
    pub reserved: u8,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of JSJitTraceEvent"][::core::mem::size_of::<JSJitTraceEvent>() - 8usize];
    ["Alignment of JSJitTraceEvent"][::core::mem::align_of::<JSJitTraceEvent>() - 4usize];
    ["Offset of field: JSJitTraceEvent::pc"][::core::mem::offset_of!(JSJitTraceEvent, pc) - 0usize];
    ["Offset of field: JSJitTraceEvent::opcode"]
        [::core::mem::offset_of!(JSJitTraceEvent, opcode) - 4usize];
    ["Offset of field: JSJitTraceEvent::kind"]
        [::core::mem::offset_of!(JSJitTraceEvent, kind) - 5usize];
    ["Offset of field: JSJitTraceEvent::helper_id"]
        [::core::mem::offset_of!(JSJitTraceEvent, helper_id) - 6usize];
    ["Offset of field: JSJitTraceEvent::reserved"]
        [::core::mem::offset_of!(JSJitTraceEvent, reserved) - 7usize];
};
unsafe extern "C" {
    pub fn JS_JitGetHelperCount(
        rt: *mut JSRuntime,
        helper_id: u32,
        count: *mut u64,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_JitSetExecutionTrace(
        rt: *mut JSRuntime,
        events: *mut JSJitTraceEvent,
        capacity: u32,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_JitGetExecutionTraceLength(
        rt: *mut JSRuntime,
        length: *mut u32,
        overflowed: *mut u32,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetJitBackend(
        rt: *mut JSRuntime,
        vtable: *const JSJitBackendVTable,
        opaque: *mut ::core::ffi::c_void,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_SetJitSuspended(
        rt: *mut JSRuntime,
        suspended: ::core::ffi::c_int,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_IsJitSuspended(rt: *mut JSRuntime) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_JitGetOpcodeTable(count: *mut u32, fingerprint: *mut u64) -> *const JSJitOpcodeInfo;
}
unsafe extern "C" {
    pub fn JS_JitSnapshotFunction(
        ctx: *mut JSContext,
        function: JSValue,
        out: *mut *mut JSJitFunctionSnapshot,
    ) -> ::core::ffi::c_int;
}
unsafe extern "C" {
    pub fn JS_JitFreeSnapshot(snapshot: *mut JSJitFunctionSnapshot);
}
unsafe extern "C" {
    pub fn JS_JitInvalidateFunction(ctx: *mut JSContext, function: JSValue) -> ::core::ffi::c_int;
}
pub const __JS_ATOM_NULL: _bindgen_ty_5 = 0;
pub const JS_ATOM_null: _bindgen_ty_5 = 1;
pub const JS_ATOM_false: _bindgen_ty_5 = 2;
pub const JS_ATOM_true: _bindgen_ty_5 = 3;
pub const JS_ATOM_if: _bindgen_ty_5 = 4;
pub const JS_ATOM_else: _bindgen_ty_5 = 5;
pub const JS_ATOM_return: _bindgen_ty_5 = 6;
pub const JS_ATOM_var: _bindgen_ty_5 = 7;
pub const JS_ATOM_this: _bindgen_ty_5 = 8;
pub const JS_ATOM_delete: _bindgen_ty_5 = 9;
pub const JS_ATOM_void: _bindgen_ty_5 = 10;
pub const JS_ATOM_typeof: _bindgen_ty_5 = 11;
pub const JS_ATOM_new: _bindgen_ty_5 = 12;
pub const JS_ATOM_in: _bindgen_ty_5 = 13;
pub const JS_ATOM_instanceof: _bindgen_ty_5 = 14;
pub const JS_ATOM_do: _bindgen_ty_5 = 15;
pub const JS_ATOM_while: _bindgen_ty_5 = 16;
pub const JS_ATOM_for: _bindgen_ty_5 = 17;
pub const JS_ATOM_break: _bindgen_ty_5 = 18;
pub const JS_ATOM_continue: _bindgen_ty_5 = 19;
pub const JS_ATOM_switch: _bindgen_ty_5 = 20;
pub const JS_ATOM_case: _bindgen_ty_5 = 21;
pub const JS_ATOM_default: _bindgen_ty_5 = 22;
pub const JS_ATOM_throw: _bindgen_ty_5 = 23;
pub const JS_ATOM_try: _bindgen_ty_5 = 24;
pub const JS_ATOM_catch: _bindgen_ty_5 = 25;
pub const JS_ATOM_finally: _bindgen_ty_5 = 26;
pub const JS_ATOM_function: _bindgen_ty_5 = 27;
pub const JS_ATOM_debugger: _bindgen_ty_5 = 28;
pub const JS_ATOM_with: _bindgen_ty_5 = 29;
pub const JS_ATOM_class: _bindgen_ty_5 = 30;
pub const JS_ATOM_const: _bindgen_ty_5 = 31;
pub const JS_ATOM_enum: _bindgen_ty_5 = 32;
pub const JS_ATOM_export: _bindgen_ty_5 = 33;
pub const JS_ATOM_extends: _bindgen_ty_5 = 34;
pub const JS_ATOM_import: _bindgen_ty_5 = 35;
pub const JS_ATOM_super: _bindgen_ty_5 = 36;
pub const JS_ATOM_using: _bindgen_ty_5 = 37;
pub const JS_ATOM_implements: _bindgen_ty_5 = 38;
pub const JS_ATOM_interface: _bindgen_ty_5 = 39;
pub const JS_ATOM_let: _bindgen_ty_5 = 40;
pub const JS_ATOM_package: _bindgen_ty_5 = 41;
pub const JS_ATOM_private: _bindgen_ty_5 = 42;
pub const JS_ATOM_protected: _bindgen_ty_5 = 43;
pub const JS_ATOM_public: _bindgen_ty_5 = 44;
pub const JS_ATOM_static: _bindgen_ty_5 = 45;
pub const JS_ATOM_yield: _bindgen_ty_5 = 46;
pub const JS_ATOM_await: _bindgen_ty_5 = 47;
pub const JS_ATOM_empty_string: _bindgen_ty_5 = 48;
pub const JS_ATOM_keys: _bindgen_ty_5 = 49;
pub const JS_ATOM_size: _bindgen_ty_5 = 50;
pub const JS_ATOM_length: _bindgen_ty_5 = 51;
pub const JS_ATOM_message: _bindgen_ty_5 = 52;
pub const JS_ATOM_cause: _bindgen_ty_5 = 53;
pub const JS_ATOM_errors: _bindgen_ty_5 = 54;
pub const JS_ATOM_error: _bindgen_ty_5 = 55;
pub const JS_ATOM_suppressed: _bindgen_ty_5 = 56;
pub const JS_ATOM_stack: _bindgen_ty_5 = 57;
pub const JS_ATOM_name: _bindgen_ty_5 = 58;
pub const JS_ATOM_toString: _bindgen_ty_5 = 59;
pub const JS_ATOM_toLocaleString: _bindgen_ty_5 = 60;
pub const JS_ATOM_valueOf: _bindgen_ty_5 = 61;
pub const JS_ATOM_eval: _bindgen_ty_5 = 62;
pub const JS_ATOM_prototype: _bindgen_ty_5 = 63;
pub const JS_ATOM_constructor: _bindgen_ty_5 = 64;
pub const JS_ATOM_configurable: _bindgen_ty_5 = 65;
pub const JS_ATOM_writable: _bindgen_ty_5 = 66;
pub const JS_ATOM_enumerable: _bindgen_ty_5 = 67;
pub const JS_ATOM_value: _bindgen_ty_5 = 68;
pub const JS_ATOM_get: _bindgen_ty_5 = 69;
pub const JS_ATOM_set: _bindgen_ty_5 = 70;
pub const JS_ATOM_of: _bindgen_ty_5 = 71;
pub const JS_ATOM___proto__: _bindgen_ty_5 = 72;
pub const JS_ATOM_undefined: _bindgen_ty_5 = 73;
pub const JS_ATOM_number: _bindgen_ty_5 = 74;
pub const JS_ATOM_boolean: _bindgen_ty_5 = 75;
pub const JS_ATOM_string: _bindgen_ty_5 = 76;
pub const JS_ATOM_object: _bindgen_ty_5 = 77;
pub const JS_ATOM_symbol: _bindgen_ty_5 = 78;
pub const JS_ATOM_integer: _bindgen_ty_5 = 79;
pub const JS_ATOM_unknown: _bindgen_ty_5 = 80;
pub const JS_ATOM_arguments: _bindgen_ty_5 = 81;
pub const JS_ATOM_callee: _bindgen_ty_5 = 82;
pub const JS_ATOM_caller: _bindgen_ty_5 = 83;
pub const JS_ATOM__eval_: _bindgen_ty_5 = 84;
pub const JS_ATOM__ret_: _bindgen_ty_5 = 85;
pub const JS_ATOM__var_: _bindgen_ty_5 = 86;
pub const JS_ATOM__arg_var_: _bindgen_ty_5 = 87;
pub const JS_ATOM__with_: _bindgen_ty_5 = 88;
pub const JS_ATOM__using_dispose_: _bindgen_ty_5 = 89;
pub const JS_ATOM_use: _bindgen_ty_5 = 90;
pub const JS_ATOM_dispose: _bindgen_ty_5 = 91;
pub const JS_ATOM_disposeAsync: _bindgen_ty_5 = 92;
pub const JS_ATOM_lastIndex: _bindgen_ty_5 = 93;
pub const JS_ATOM_target: _bindgen_ty_5 = 94;
pub const JS_ATOM_index: _bindgen_ty_5 = 95;
pub const JS_ATOM_input: _bindgen_ty_5 = 96;
pub const JS_ATOM_defineProperties: _bindgen_ty_5 = 97;
pub const JS_ATOM_apply: _bindgen_ty_5 = 98;
pub const JS_ATOM_join: _bindgen_ty_5 = 99;
pub const JS_ATOM_concat: _bindgen_ty_5 = 100;
pub const JS_ATOM_split: _bindgen_ty_5 = 101;
pub const JS_ATOM_construct: _bindgen_ty_5 = 102;
pub const JS_ATOM_getPrototypeOf: _bindgen_ty_5 = 103;
pub const JS_ATOM_setPrototypeOf: _bindgen_ty_5 = 104;
pub const JS_ATOM_isExtensible: _bindgen_ty_5 = 105;
pub const JS_ATOM_preventExtensions: _bindgen_ty_5 = 106;
pub const JS_ATOM_has: _bindgen_ty_5 = 107;
pub const JS_ATOM_deleteProperty: _bindgen_ty_5 = 108;
pub const JS_ATOM_defineProperty: _bindgen_ty_5 = 109;
pub const JS_ATOM_getOwnPropertyDescriptor: _bindgen_ty_5 = 110;
pub const JS_ATOM_ownKeys: _bindgen_ty_5 = 111;
pub const JS_ATOM_add: _bindgen_ty_5 = 112;
pub const JS_ATOM_done: _bindgen_ty_5 = 113;
pub const JS_ATOM_next: _bindgen_ty_5 = 114;
pub const JS_ATOM_values: _bindgen_ty_5 = 115;
pub const JS_ATOM_source: _bindgen_ty_5 = 116;
pub const JS_ATOM_flags: _bindgen_ty_5 = 117;
pub const JS_ATOM_global: _bindgen_ty_5 = 118;
pub const JS_ATOM_unicode: _bindgen_ty_5 = 119;
pub const JS_ATOM_raw: _bindgen_ty_5 = 120;
pub const JS_ATOM_rawJSON: _bindgen_ty_5 = 121;
pub const JS_ATOM_new_target: _bindgen_ty_5 = 122;
pub const JS_ATOM_this_active_func: _bindgen_ty_5 = 123;
pub const JS_ATOM_home_object: _bindgen_ty_5 = 124;
pub const JS_ATOM_computed_field: _bindgen_ty_5 = 125;
pub const JS_ATOM_static_computed_field: _bindgen_ty_5 = 126;
pub const JS_ATOM_class_fields_init: _bindgen_ty_5 = 127;
pub const JS_ATOM_brand: _bindgen_ty_5 = 128;
pub const JS_ATOM_hash_constructor: _bindgen_ty_5 = 129;
pub const JS_ATOM_as: _bindgen_ty_5 = 130;
pub const JS_ATOM_from: _bindgen_ty_5 = 131;
pub const JS_ATOM_fromAsync: _bindgen_ty_5 = 132;
pub const JS_ATOM_meta: _bindgen_ty_5 = 133;
pub const JS_ATOM__default_: _bindgen_ty_5 = 134;
pub const JS_ATOM__star_: _bindgen_ty_5 = 135;
pub const JS_ATOM_Module: _bindgen_ty_5 = 136;
pub const JS_ATOM_then: _bindgen_ty_5 = 137;
pub const JS_ATOM_resolve: _bindgen_ty_5 = 138;
pub const JS_ATOM_reject: _bindgen_ty_5 = 139;
pub const JS_ATOM_promise: _bindgen_ty_5 = 140;
pub const JS_ATOM_proxy: _bindgen_ty_5 = 141;
pub const JS_ATOM_revoke: _bindgen_ty_5 = 142;
pub const JS_ATOM_async: _bindgen_ty_5 = 143;
pub const JS_ATOM_exec: _bindgen_ty_5 = 144;
pub const JS_ATOM_groups: _bindgen_ty_5 = 145;
pub const JS_ATOM_indices: _bindgen_ty_5 = 146;
pub const JS_ATOM_status: _bindgen_ty_5 = 147;
pub const JS_ATOM_reason: _bindgen_ty_5 = 148;
pub const JS_ATOM_globalThis: _bindgen_ty_5 = 149;
pub const JS_ATOM_bigint: _bindgen_ty_5 = 150;
pub const JS_ATOM_not_equal: _bindgen_ty_5 = 151;
pub const JS_ATOM_timed_out: _bindgen_ty_5 = 152;
pub const JS_ATOM_ok: _bindgen_ty_5 = 153;
pub const JS_ATOM_toJSON: _bindgen_ty_5 = 154;
pub const JS_ATOM_maxByteLength: _bindgen_ty_5 = 155;
pub const JS_ATOM_zip: _bindgen_ty_5 = 156;
pub const JS_ATOM_zipKeyed: _bindgen_ty_5 = 157;
pub const JS_ATOM_Object: _bindgen_ty_5 = 158;
pub const JS_ATOM_Array: _bindgen_ty_5 = 159;
pub const JS_ATOM_Error: _bindgen_ty_5 = 160;
pub const JS_ATOM_Number: _bindgen_ty_5 = 161;
pub const JS_ATOM_String: _bindgen_ty_5 = 162;
pub const JS_ATOM_Boolean: _bindgen_ty_5 = 163;
pub const JS_ATOM_Symbol: _bindgen_ty_5 = 164;
pub const JS_ATOM_Arguments: _bindgen_ty_5 = 165;
pub const JS_ATOM_Math: _bindgen_ty_5 = 166;
pub const JS_ATOM_JSON: _bindgen_ty_5 = 167;
pub const JS_ATOM_Date: _bindgen_ty_5 = 168;
pub const JS_ATOM_Function: _bindgen_ty_5 = 169;
pub const JS_ATOM_GeneratorFunction: _bindgen_ty_5 = 170;
pub const JS_ATOM_ForInIterator: _bindgen_ty_5 = 171;
pub const JS_ATOM_RegExp: _bindgen_ty_5 = 172;
pub const JS_ATOM_ArrayBuffer: _bindgen_ty_5 = 173;
pub const JS_ATOM_SharedArrayBuffer: _bindgen_ty_5 = 174;
pub const JS_ATOM_Uint8ClampedArray: _bindgen_ty_5 = 175;
pub const JS_ATOM_Int8Array: _bindgen_ty_5 = 176;
pub const JS_ATOM_Uint8Array: _bindgen_ty_5 = 177;
pub const JS_ATOM_Int16Array: _bindgen_ty_5 = 178;
pub const JS_ATOM_Uint16Array: _bindgen_ty_5 = 179;
pub const JS_ATOM_Int32Array: _bindgen_ty_5 = 180;
pub const JS_ATOM_Uint32Array: _bindgen_ty_5 = 181;
pub const JS_ATOM_BigInt64Array: _bindgen_ty_5 = 182;
pub const JS_ATOM_BigUint64Array: _bindgen_ty_5 = 183;
pub const JS_ATOM_Float16Array: _bindgen_ty_5 = 184;
pub const JS_ATOM_Float32Array: _bindgen_ty_5 = 185;
pub const JS_ATOM_Float64Array: _bindgen_ty_5 = 186;
pub const JS_ATOM_DataView: _bindgen_ty_5 = 187;
pub const JS_ATOM_BigInt: _bindgen_ty_5 = 188;
pub const JS_ATOM_WeakRef: _bindgen_ty_5 = 189;
pub const JS_ATOM_FinalizationRegistry: _bindgen_ty_5 = 190;
pub const JS_ATOM_Map: _bindgen_ty_5 = 191;
pub const JS_ATOM_Set: _bindgen_ty_5 = 192;
pub const JS_ATOM_WeakMap: _bindgen_ty_5 = 193;
pub const JS_ATOM_WeakSet: _bindgen_ty_5 = 194;
pub const JS_ATOM_Iterator: _bindgen_ty_5 = 195;
pub const JS_ATOM_IteratorConcat: _bindgen_ty_5 = 196;
pub const JS_ATOM_IteratorHelper: _bindgen_ty_5 = 197;
pub const JS_ATOM_IteratorWrap: _bindgen_ty_5 = 198;
pub const JS_ATOM_Map_Iterator: _bindgen_ty_5 = 199;
pub const JS_ATOM_Set_Iterator: _bindgen_ty_5 = 200;
pub const JS_ATOM_Array_Iterator: _bindgen_ty_5 = 201;
pub const JS_ATOM_String_Iterator: _bindgen_ty_5 = 202;
pub const JS_ATOM_RegExp_String_Iterator: _bindgen_ty_5 = 203;
pub const JS_ATOM_Generator: _bindgen_ty_5 = 204;
pub const JS_ATOM_Proxy: _bindgen_ty_5 = 205;
pub const JS_ATOM_Promise: _bindgen_ty_5 = 206;
pub const JS_ATOM_PromiseResolveFunction: _bindgen_ty_5 = 207;
pub const JS_ATOM_PromiseRejectFunction: _bindgen_ty_5 = 208;
pub const JS_ATOM_AsyncFunction: _bindgen_ty_5 = 209;
pub const JS_ATOM_AsyncFunctionResolve: _bindgen_ty_5 = 210;
pub const JS_ATOM_AsyncFunctionReject: _bindgen_ty_5 = 211;
pub const JS_ATOM_AsyncGeneratorFunction: _bindgen_ty_5 = 212;
pub const JS_ATOM_AsyncGenerator: _bindgen_ty_5 = 213;
pub const JS_ATOM_EvalError: _bindgen_ty_5 = 214;
pub const JS_ATOM_RangeError: _bindgen_ty_5 = 215;
pub const JS_ATOM_ReferenceError: _bindgen_ty_5 = 216;
pub const JS_ATOM_SyntaxError: _bindgen_ty_5 = 217;
pub const JS_ATOM_TypeError: _bindgen_ty_5 = 218;
pub const JS_ATOM_URIError: _bindgen_ty_5 = 219;
pub const JS_ATOM_InternalError: _bindgen_ty_5 = 220;
pub const JS_ATOM_DOMException: _bindgen_ty_5 = 221;
pub const JS_ATOM_CallSite: _bindgen_ty_5 = 222;
pub const JS_ATOM_DisposableStack: _bindgen_ty_5 = 223;
pub const JS_ATOM_AsyncDisposableStack: _bindgen_ty_5 = 224;
pub const JS_ATOM_SuppressedError: _bindgen_ty_5 = 225;
pub const JS_ATOM_Private_brand: _bindgen_ty_5 = 226;
pub const JS_ATOM_Symbol_toPrimitive: _bindgen_ty_5 = 227;
pub const JS_ATOM_Symbol_iterator: _bindgen_ty_5 = 228;
pub const JS_ATOM_Symbol_match: _bindgen_ty_5 = 229;
pub const JS_ATOM_Symbol_matchAll: _bindgen_ty_5 = 230;
pub const JS_ATOM_Symbol_replace: _bindgen_ty_5 = 231;
pub const JS_ATOM_Symbol_search: _bindgen_ty_5 = 232;
pub const JS_ATOM_Symbol_split: _bindgen_ty_5 = 233;
pub const JS_ATOM_Symbol_toStringTag: _bindgen_ty_5 = 234;
pub const JS_ATOM_Symbol_isConcatSpreadable: _bindgen_ty_5 = 235;
pub const JS_ATOM_Symbol_hasInstance: _bindgen_ty_5 = 236;
pub const JS_ATOM_Symbol_species: _bindgen_ty_5 = 237;
pub const JS_ATOM_Symbol_unscopables: _bindgen_ty_5 = 238;
pub const JS_ATOM_Symbol_asyncIterator: _bindgen_ty_5 = 239;
pub const JS_ATOM_Symbol_dispose: _bindgen_ty_5 = 240;
pub const JS_ATOM_Symbol_asyncDispose: _bindgen_ty_5 = 241;
pub const JS_ATOM_END: _bindgen_ty_5 = 242;
pub type _bindgen_ty_5 = ::core::ffi::c_uint;