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
pub const _STDINT_H: ::std::os::raw::c_uint = 1;
pub const _FEATURES_H: ::std::os::raw::c_uint = 1;
pub const _DEFAULT_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC11: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC99: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC95: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX_IMPLICITLY: ::std::os::raw::c_uint = 1;
pub const _POSIX_SOURCE: ::std::os::raw::c_uint = 1;
pub const _POSIX_C_SOURCE: ::std::os::raw::c_uint = 200809;
pub const __USE_POSIX: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX2: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199309: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199506: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K8: ::std::os::raw::c_uint = 1;
pub const _ATFILE_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_MISC: ::std::os::raw::c_uint = 1;
pub const __USE_ATFILE: ::std::os::raw::c_uint = 1;
pub const __USE_FORTIFY_LEVEL: ::std::os::raw::c_uint = 0;
pub const _STDC_PREDEF_H: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559__: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559_COMPLEX__: ::std::os::raw::c_uint = 1;
pub const __STDC_ISO_10646__: ::std::os::raw::c_uint = 201605;
pub const __STDC_NO_THREADS__: ::std::os::raw::c_uint = 1;
pub const __GNU_LIBRARY__: ::std::os::raw::c_uint = 6;
pub const __GLIBC__: ::std::os::raw::c_uint = 2;
pub const __GLIBC_MINOR__: ::std::os::raw::c_uint = 24;
pub const _SYS_CDEFS_H: ::std::os::raw::c_uint = 1;
pub const __WORDSIZE: ::std::os::raw::c_uint = 64;
pub const __WORDSIZE_TIME64_COMPAT32: ::std::os::raw::c_uint = 1;
pub const __SYSCALL_WORDSIZE: ::std::os::raw::c_uint = 64;
pub const _BITS_WCHAR_H: ::std::os::raw::c_uint = 1;
pub const INT8_MIN: ::std::os::raw::c_int = -128;
pub const INT16_MIN: ::std::os::raw::c_int = -32768;
pub const INT32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT8_MAX: ::std::os::raw::c_uint = 127;
pub const INT16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_LEAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_LEAST16_MIN: ::std::os::raw::c_int = -32768;
pub const INT_LEAST32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT_LEAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_LEAST16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT_LEAST32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT_LEAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_LEAST16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT_LEAST32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_FAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_FAST16_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST32_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_FAST16_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const INT_FAST32_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINT_FAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_FAST16_MAX: ::std::os::raw::c_int = -1;
pub const UINT_FAST32_MAX: ::std::os::raw::c_int = -1;
pub const INTPTR_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INTPTR_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINTPTR_MAX: ::std::os::raw::c_int = -1;
pub const PTRDIFF_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const PTRDIFF_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const SIG_ATOMIC_MIN: ::std::os::raw::c_int = -2147483648;
pub const SIG_ATOMIC_MAX: ::std::os::raw::c_uint = 2147483647;
pub const SIZE_MAX: ::std::os::raw::c_int = -1;
pub const WINT_MIN: ::std::os::raw::c_uint = 0;
pub const WINT_MAX: ::std::os::raw::c_uint = 4294967295;
pub const _STDLIB_H: ::std::os::raw::c_uint = 1;
pub const WNOHANG: ::std::os::raw::c_uint = 1;
pub const WUNTRACED: ::std::os::raw::c_uint = 2;
pub const WSTOPPED: ::std::os::raw::c_uint = 2;
pub const WEXITED: ::std::os::raw::c_uint = 4;
pub const WCONTINUED: ::std::os::raw::c_uint = 8;
pub const WNOWAIT: ::std::os::raw::c_uint = 16777216;
pub const __WNOTHREAD: ::std::os::raw::c_uint = 536870912;
pub const __WALL: ::std::os::raw::c_uint = 1073741824;
pub const __WCLONE: ::std::os::raw::c_uint = 2147483648;
pub const __ENUM_IDTYPE_T: ::std::os::raw::c_uint = 1;
pub const __W_CONTINUED: ::std::os::raw::c_uint = 65535;
pub const __WCOREFLAG: ::std::os::raw::c_uint = 128;
pub const __ldiv_t_defined: ::std::os::raw::c_uint = 1;
pub const __lldiv_t_defined: ::std::os::raw::c_uint = 1;
pub const RAND_MAX: ::std::os::raw::c_uint = 2147483647;
pub const EXIT_FAILURE: ::std::os::raw::c_uint = 1;
pub const EXIT_SUCCESS: ::std::os::raw::c_uint = 0;
pub const _SYS_TYPES_H: ::std::os::raw::c_uint = 1;
pub const _BITS_TYPES_H: ::std::os::raw::c_uint = 1;
pub const _BITS_TYPESIZES_H: ::std::os::raw::c_uint = 1;
pub const __OFF_T_MATCHES_OFF64_T: ::std::os::raw::c_uint = 1;
pub const __INO_T_MATCHES_INO64_T: ::std::os::raw::c_uint = 1;
pub const __FD_SETSIZE: ::std::os::raw::c_uint = 1024;
pub const __clock_t_defined: ::std::os::raw::c_uint = 1;
pub const __time_t_defined: ::std::os::raw::c_uint = 1;
pub const __clockid_t_defined: ::std::os::raw::c_uint = 1;
pub const __timer_t_defined: ::std::os::raw::c_uint = 1;
pub const __BIT_TYPES_DEFINED__: ::std::os::raw::c_uint = 1;
pub const _ENDIAN_H: ::std::os::raw::c_uint = 1;
pub const __LITTLE_ENDIAN: ::std::os::raw::c_uint = 1234;
pub const __BIG_ENDIAN: ::std::os::raw::c_uint = 4321;
pub const __PDP_ENDIAN: ::std::os::raw::c_uint = 3412;
pub const __BYTE_ORDER: ::std::os::raw::c_uint = 1234;
pub const __FLOAT_WORD_ORDER: ::std::os::raw::c_uint = 1234;
pub const LITTLE_ENDIAN: ::std::os::raw::c_uint = 1234;
pub const BIG_ENDIAN: ::std::os::raw::c_uint = 4321;
pub const PDP_ENDIAN: ::std::os::raw::c_uint = 3412;
pub const BYTE_ORDER: ::std::os::raw::c_uint = 1234;
pub const _BITS_BYTESWAP_H: ::std::os::raw::c_uint = 1;
pub const _SYS_SELECT_H: ::std::os::raw::c_uint = 1;
pub const __FD_ZERO_STOS: &'static [u8; 6usize] = b"stosq\x00";
pub const _SIGSET_H_types: ::std::os::raw::c_uint = 1;
pub const __timespec_defined: ::std::os::raw::c_uint = 1;
pub const _STRUCT_TIMEVAL: ::std::os::raw::c_uint = 1;
pub const FD_SETSIZE: ::std::os::raw::c_uint = 1024;
pub const _SYS_SYSMACROS_H: ::std::os::raw::c_uint = 1;
pub const _BITS_PTHREADTYPES_H: ::std::os::raw::c_uint = 1;
pub const __SIZEOF_PTHREAD_ATTR_T: ::std::os::raw::c_uint = 56;
pub const __SIZEOF_PTHREAD_MUTEX_T: ::std::os::raw::c_uint = 40;
pub const __SIZEOF_PTHREAD_MUTEXATTR_T: ::std::os::raw::c_uint = 4;
pub const __SIZEOF_PTHREAD_COND_T: ::std::os::raw::c_uint = 48;
pub const __SIZEOF_PTHREAD_CONDATTR_T: ::std::os::raw::c_uint = 4;
pub const __SIZEOF_PTHREAD_RWLOCK_T: ::std::os::raw::c_uint = 56;
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: ::std::os::raw::c_uint = 8;
pub const __SIZEOF_PTHREAD_BARRIER_T: ::std::os::raw::c_uint = 32;
pub const __SIZEOF_PTHREAD_BARRIERATTR_T: ::std::os::raw::c_uint = 4;
pub const __have_pthread_attr_t: ::std::os::raw::c_uint = 1;
pub const __PTHREAD_MUTEX_HAVE_PREV: ::std::os::raw::c_uint = 1;
pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED: ::std::os::raw::c_uint = 1;
pub const _ALLOCA_H: ::std::os::raw::c_uint = 1;
pub const BINARYEN_DEFAULT_OPTIMIZE_LEVEL: ::std::os::raw::c_uint = 2;
pub const BINARYEN_DEFAULT_SHRINK_LEVEL: ::std::os::raw::c_uint = 1;
pub const BINARYEN_DEFAULT_DEBUG_INFO: ::std::os::raw::c_uint = 0;
pub type wchar_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct max_align_t {
pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
pub __bindgen_padding_0: u64,
pub __clang_max_align_nonce2: f64,
}
impl Clone for max_align_t {
fn clone(&self) -> Self { *self }
}
pub type int_least8_t = ::std::os::raw::c_schar;
pub type int_least16_t = ::std::os::raw::c_short;
pub type int_least32_t = ::std::os::raw::c_int;
pub type int_least64_t = ::std::os::raw::c_long;
pub type uint_least8_t = ::std::os::raw::c_uchar;
pub type uint_least16_t = ::std::os::raw::c_ushort;
pub type uint_least32_t = ::std::os::raw::c_uint;
pub type uint_least64_t = ::std::os::raw::c_ulong;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_long;
pub type int_fast32_t = ::std::os::raw::c_long;
pub type int_fast64_t = ::std::os::raw::c_long;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_ulong;
pub type uint_fast32_t = ::std::os::raw::c_ulong;
pub type uint_fast64_t = ::std::os::raw::c_ulong;
pub type intmax_t = ::std::os::raw::c_long;
pub type uintmax_t = ::std::os::raw::c_ulong;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum idtype_t { P_ALL = 0, P_PID = 1, P_PGID = 2, }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct div_t {
pub quot: ::std::os::raw::c_int,
pub rem: ::std::os::raw::c_int,
}
impl Clone for div_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct ldiv_t {
pub quot: ::std::os::raw::c_long,
pub rem: ::std::os::raw::c_long,
}
impl Clone for ldiv_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct lldiv_t {
pub quot: ::std::os::raw::c_longlong,
pub rem: ::std::os::raw::c_longlong,
}
impl Clone for lldiv_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn __ctype_get_mb_cur_max() -> usize;
}
extern "C" {
pub fn atof(__nptr: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn atoi(__nptr: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn atol(__nptr: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_long;
}
extern "C" {
pub fn atoll(__nptr: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtod(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn strtof(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char) -> f32;
}
extern "C" {
pub fn strtold(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn strtol(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn strtoul(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strtoq(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int)
-> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtouq(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int)
-> ::std::os::raw::c_ulonglong;
}
extern "C" {
pub fn strtoll(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int)
-> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtoull(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int)
-> ::std::os::raw::c_ulonglong;
}
extern "C" {
pub fn l64a(__n: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn a64l(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
}
pub type __u_char = ::std::os::raw::c_uchar;
pub type __u_short = ::std::os::raw::c_ushort;
pub type __u_int = ::std::os::raw::c_uint;
pub type __u_long = ::std::os::raw::c_ulong;
pub type __int8_t = ::std::os::raw::c_schar;
pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __int16_t = ::std::os::raw::c_short;
pub type __uint16_t = ::std::os::raw::c_ushort;
pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_long;
pub type __uint64_t = ::std::os::raw::c_ulong;
pub type __quad_t = ::std::os::raw::c_long;
pub type __u_quad_t = ::std::os::raw::c_ulong;
pub type __dev_t = ::std::os::raw::c_ulong;
pub type __uid_t = ::std::os::raw::c_uint;
pub type __gid_t = ::std::os::raw::c_uint;
pub type __ino_t = ::std::os::raw::c_ulong;
pub type __ino64_t = ::std::os::raw::c_ulong;
pub type __mode_t = ::std::os::raw::c_uint;
pub type __nlink_t = ::std::os::raw::c_ulong;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = ::std::os::raw::c_long;
pub type __pid_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __fsid_t {
pub __val: [::std::os::raw::c_int; 2usize],
}
impl Clone for __fsid_t {
fn clone(&self) -> Self { *self }
}
pub type __clock_t = ::std::os::raw::c_long;
pub type __rlim_t = ::std::os::raw::c_ulong;
pub type __rlim64_t = ::std::os::raw::c_ulong;
pub type __id_t = ::std::os::raw::c_uint;
pub type __time_t = ::std::os::raw::c_long;
pub type __useconds_t = ::std::os::raw::c_uint;
pub type __suseconds_t = ::std::os::raw::c_long;
pub type __daddr_t = ::std::os::raw::c_int;
pub type __key_t = ::std::os::raw::c_int;
pub type __clockid_t = ::std::os::raw::c_int;
pub type __timer_t = *mut ::std::os::raw::c_void;
pub type __blksize_t = ::std::os::raw::c_long;
pub type __blkcnt_t = ::std::os::raw::c_long;
pub type __blkcnt64_t = ::std::os::raw::c_long;
pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
pub type __fsword_t = ::std::os::raw::c_long;
pub type __ssize_t = ::std::os::raw::c_long;
pub type __syscall_slong_t = ::std::os::raw::c_long;
pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
pub type __loff_t = __off64_t;
pub type __qaddr_t = *mut __quad_t;
pub type __caddr_t = *mut ::std::os::raw::c_char;
pub type __intptr_t = ::std::os::raw::c_long;
pub type __socklen_t = ::std::os::raw::c_uint;
pub type u_char = __u_char;
pub type u_short = __u_short;
pub type u_int = __u_int;
pub type u_long = __u_long;
pub type quad_t = __quad_t;
pub type u_quad_t = __u_quad_t;
pub type fsid_t = __fsid_t;
pub type loff_t = __loff_t;
pub type ino_t = __ino_t;
pub type dev_t = __dev_t;
pub type gid_t = __gid_t;
pub type mode_t = __mode_t;
pub type nlink_t = __nlink_t;
pub type uid_t = __uid_t;
pub type off_t = __off_t;
pub type pid_t = __pid_t;
pub type id_t = __id_t;
pub type daddr_t = __daddr_t;
pub type caddr_t = __caddr_t;
pub type key_t = __key_t;
pub type clock_t = __clock_t;
pub type time_t = __time_t;
pub type clockid_t = __clockid_t;
pub type timer_t = __timer_t;
pub type ulong = ::std::os::raw::c_ulong;
pub type ushort = ::std::os::raw::c_ushort;
pub type uint = ::std::os::raw::c_uint;
pub type u_int8_t = ::std::os::raw::c_uchar;
pub type u_int16_t = ::std::os::raw::c_ushort;
pub type u_int32_t = ::std::os::raw::c_uint;
pub type u_int64_t = ::std::os::raw::c_ulong;
pub type register_t = ::std::os::raw::c_long;
pub type __sig_atomic_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __sigset_t {
pub __val: [::std::os::raw::c_ulong; 16usize],
}
impl Clone for __sigset_t {
fn clone(&self) -> Self { *self }
}
pub type sigset_t = __sigset_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct timespec {
pub tv_sec: __time_t,
pub tv_nsec: __syscall_slong_t,
}
impl Clone for timespec {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct timeval {
pub tv_sec: __time_t,
pub tv_usec: __suseconds_t,
}
impl Clone for timeval {
fn clone(&self) -> Self { *self }
}
pub type suseconds_t = __suseconds_t;
pub type __fd_mask = ::std::os::raw::c_long;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct fd_set {
pub __fds_bits: [__fd_mask; 16usize],
}
impl Clone for fd_set {
fn clone(&self) -> Self { *self }
}
pub type fd_mask = __fd_mask;
extern "C" {
pub fn select(__nfds: ::std::os::raw::c_int, __readfds: *mut fd_set,
__writefds: *mut fd_set, __exceptfds: *mut fd_set,
__timeout: *mut timeval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pselect(__nfds: ::std::os::raw::c_int, __readfds: *mut fd_set,
__writefds: *mut fd_set, __exceptfds: *mut fd_set,
__timeout: *const timespec, __sigmask: *const __sigset_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn gnu_dev_major(__dev: ::std::os::raw::c_ulonglong)
-> ::std::os::raw::c_uint;
}
extern "C" {
pub fn gnu_dev_minor(__dev: ::std::os::raw::c_ulonglong)
-> ::std::os::raw::c_uint;
}
extern "C" {
pub fn gnu_dev_makedev(__major: ::std::os::raw::c_uint,
__minor: ::std::os::raw::c_uint)
-> ::std::os::raw::c_ulonglong;
}
pub type blksize_t = __blksize_t;
pub type blkcnt_t = __blkcnt_t;
pub type fsblkcnt_t = __fsblkcnt_t;
pub type fsfilcnt_t = __fsfilcnt_t;
pub type pthread_t = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Copy)]
pub union pthread_attr_t {
pub __size: [::std::os::raw::c_char; 56usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: [u64; 7usize],
}
impl Clone for pthread_attr_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __pthread_internal_list {
pub __prev: *mut __pthread_internal_list,
pub __next: *mut __pthread_internal_list,
}
impl Clone for __pthread_internal_list {
fn clone(&self) -> Self { *self }
}
pub type __pthread_list_t = __pthread_internal_list;
#[repr(C)]
#[derive(Copy)]
pub union pthread_mutex_t {
pub __data: pthread_mutex_t___pthread_mutex_s,
pub __size: [::std::os::raw::c_char; 40usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: [u64; 5usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_mutex_t___pthread_mutex_s {
pub __lock: ::std::os::raw::c_int,
pub __count: ::std::os::raw::c_uint,
pub __owner: ::std::os::raw::c_int,
pub __nusers: ::std::os::raw::c_uint,
pub __kind: ::std::os::raw::c_int,
pub __spins: ::std::os::raw::c_short,
pub __elision: ::std::os::raw::c_short,
pub __list: __pthread_list_t,
}
impl Clone for pthread_mutex_t___pthread_mutex_s {
fn clone(&self) -> Self { *self }
}
impl Clone for pthread_mutex_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Copy)]
pub union pthread_mutexattr_t {
pub __size: [::std::os::raw::c_char; 4usize],
pub __align: ::std::os::raw::c_int,
_bindgen_union_align: u32,
}
impl Clone for pthread_mutexattr_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Copy)]
pub union pthread_cond_t {
pub __data: pthread_cond_t__bindgen_ty_1,
pub __size: [::std::os::raw::c_char; 48usize],
pub __align: ::std::os::raw::c_longlong,
_bindgen_union_align: [u64; 6usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_cond_t__bindgen_ty_1 {
pub __lock: ::std::os::raw::c_int,
pub __futex: ::std::os::raw::c_uint,
pub __total_seq: ::std::os::raw::c_ulonglong,
pub __wakeup_seq: ::std::os::raw::c_ulonglong,
pub __woken_seq: ::std::os::raw::c_ulonglong,
pub __mutex: *mut ::std::os::raw::c_void,
pub __nwaiters: ::std::os::raw::c_uint,
pub __broadcast_seq: ::std::os::raw::c_uint,
}
impl Clone for pthread_cond_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
impl Clone for pthread_cond_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Copy)]
pub union pthread_condattr_t {
pub __size: [::std::os::raw::c_char; 4usize],
pub __align: ::std::os::raw::c_int,
_bindgen_union_align: u32,
}
impl Clone for pthread_condattr_t {
fn clone(&self) -> Self { *self }
}
pub type pthread_key_t = ::std::os::raw::c_uint;
pub type pthread_once_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Copy)]
pub union pthread_rwlock_t {
pub __data: pthread_rwlock_t__bindgen_ty_1,
pub __size: [::std::os::raw::c_char; 56usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: [u64; 7usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_rwlock_t__bindgen_ty_1 {
pub __lock: ::std::os::raw::c_int,
pub __nr_readers: ::std::os::raw::c_uint,
pub __readers_wakeup: ::std::os::raw::c_uint,
pub __writer_wakeup: ::std::os::raw::c_uint,
pub __nr_readers_queued: ::std::os::raw::c_uint,
pub __nr_writers_queued: ::std::os::raw::c_uint,
pub __writer: ::std::os::raw::c_int,
pub __shared: ::std::os::raw::c_int,
pub __rwelision: ::std::os::raw::c_schar,
pub __pad1: [::std::os::raw::c_uchar; 7usize],
pub __pad2: ::std::os::raw::c_ulong,
pub __flags: ::std::os::raw::c_uint,
}
impl Clone for pthread_rwlock_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
impl Clone for pthread_rwlock_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Copy)]
pub union pthread_rwlockattr_t {
pub __size: [::std::os::raw::c_char; 8usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: u64,
}
impl Clone for pthread_rwlockattr_t {
fn clone(&self) -> Self { *self }
}
pub type pthread_spinlock_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Copy)]
pub union pthread_barrier_t {
pub __size: [::std::os::raw::c_char; 32usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: [u64; 4usize],
}
impl Clone for pthread_barrier_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Copy)]
pub union pthread_barrierattr_t {
pub __size: [::std::os::raw::c_char; 4usize],
pub __align: ::std::os::raw::c_int,
_bindgen_union_align: u32,
}
impl Clone for pthread_barrierattr_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn random() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn srandom(__seed: ::std::os::raw::c_uint);
}
extern "C" {
pub fn initstate(__seed: ::std::os::raw::c_uint,
__statebuf: *mut ::std::os::raw::c_char,
__statelen: usize) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn setstate(__statebuf: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct random_data {
pub fptr: *mut i32,
pub rptr: *mut i32,
pub state: *mut i32,
pub rand_type: ::std::os::raw::c_int,
pub rand_deg: ::std::os::raw::c_int,
pub rand_sep: ::std::os::raw::c_int,
pub end_ptr: *mut i32,
}
impl Clone for random_data {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn random_r(__buf: *mut random_data, __result: *mut i32)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn srandom_r(__seed: ::std::os::raw::c_uint, __buf: *mut random_data)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn initstate_r(__seed: ::std::os::raw::c_uint,
__statebuf: *mut ::std::os::raw::c_char,
__statelen: usize, __buf: *mut random_data)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn setstate_r(__statebuf: *mut ::std::os::raw::c_char,
__buf: *mut random_data) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rand() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn srand(__seed: ::std::os::raw::c_uint);
}
extern "C" {
pub fn rand_r(__seed: *mut ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn drand48() -> f64;
}
extern "C" {
pub fn erand48(__xsubi: *mut ::std::os::raw::c_ushort) -> f64;
}
extern "C" {
pub fn lrand48() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn nrand48(__xsubi: *mut ::std::os::raw::c_ushort)
-> ::std::os::raw::c_long;
}
extern "C" {
pub fn mrand48() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn jrand48(__xsubi: *mut ::std::os::raw::c_ushort)
-> ::std::os::raw::c_long;
}
extern "C" {
pub fn srand48(__seedval: ::std::os::raw::c_long);
}
extern "C" {
pub fn seed48(__seed16v: *mut ::std::os::raw::c_ushort)
-> *mut ::std::os::raw::c_ushort;
}
extern "C" {
pub fn lcong48(__param: *mut ::std::os::raw::c_ushort);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drand48_data {
pub __x: [::std::os::raw::c_ushort; 3usize],
pub __old_x: [::std::os::raw::c_ushort; 3usize],
pub __c: ::std::os::raw::c_ushort,
pub __init: ::std::os::raw::c_ushort,
pub __a: ::std::os::raw::c_ulonglong,
}
impl Clone for drand48_data {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn drand48_r(__buffer: *mut drand48_data, __result: *mut f64)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn erand48_r(__xsubi: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data, __result: *mut f64)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn lrand48_r(__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn nrand48_r(__xsubi: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mrand48_r(__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jrand48_r(__xsubi: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn srand48_r(__seedval: ::std::os::raw::c_long,
__buffer: *mut drand48_data) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn seed48_r(__seed16v: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lcong48_r(__param: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn malloc(__size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn calloc(__nmemb: usize, __size: usize)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn realloc(__ptr: *mut ::std::os::raw::c_void, __size: usize)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn free(__ptr: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn cfree(__ptr: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn alloca(__size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn posix_memalign(__memptr: *mut *mut ::std::os::raw::c_void,
__alignment: usize, __size: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn aligned_alloc(__alignment: usize, __size: usize)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn abort();
}
extern "C" {
pub fn atexit(__func: ::std::option::Option<unsafe extern "C" fn()>)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn at_quick_exit(__func:
::std::option::Option<unsafe extern "C" fn()>)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn on_exit(__func:
::std::option::Option<unsafe extern "C" fn(__status:
::std::os::raw::c_int,
__arg:
*mut ::std::os::raw::c_void)>,
__arg: *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn exit(__status: ::std::os::raw::c_int);
}
extern "C" {
pub fn quick_exit(__status: ::std::os::raw::c_int);
}
extern "C" {
pub fn _Exit(__status: ::std::os::raw::c_int);
}
extern "C" {
pub fn getenv(__name: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn putenv(__string: *mut ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn setenv(__name: *const ::std::os::raw::c_char,
__value: *const ::std::os::raw::c_char,
__replace: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn unsetenv(__name: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn clearenv() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mktemp(__template: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn mkstemp(__template: *mut ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkstemps(__template: *mut ::std::os::raw::c_char,
__suffixlen: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkdtemp(__template: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn system(__command: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn realpath(__name: *const ::std::os::raw::c_char,
__resolved: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
pub type __compar_fn_t =
::std::option::Option<unsafe extern "C" fn(arg1:
*const ::std::os::raw::c_void,
arg2:
*const ::std::os::raw::c_void)
-> ::std::os::raw::c_int>;
extern "C" {
pub fn bsearch(__key: *const ::std::os::raw::c_void,
__base: *const ::std::os::raw::c_void, __nmemb: usize,
__size: usize, __compar: __compar_fn_t)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn qsort(__base: *mut ::std::os::raw::c_void, __nmemb: usize,
__size: usize, __compar: __compar_fn_t);
}
extern "C" {
pub fn abs(__x: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn labs(__x: ::std::os::raw::c_long) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llabs(__x: ::std::os::raw::c_longlong)
-> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn div(__numer: ::std::os::raw::c_int, __denom: ::std::os::raw::c_int)
-> div_t;
}
extern "C" {
pub fn ldiv(__numer: ::std::os::raw::c_long,
__denom: ::std::os::raw::c_long) -> ldiv_t;
}
extern "C" {
pub fn lldiv(__numer: ::std::os::raw::c_longlong,
__denom: ::std::os::raw::c_longlong) -> lldiv_t;
}
extern "C" {
pub fn ecvt(__value: f64, __ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn fcvt(__value: f64, __ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn gcvt(__value: f64, __ndigit: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn qecvt(__value: f64, __ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn qfcvt(__value: f64, __ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn qgcvt(__value: f64, __ndigit: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ecvt_r(__value: f64, __ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char, __len: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fcvt_r(__value: f64, __ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char, __len: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn qecvt_r(__value: f64, __ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char, __len: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn qfcvt_r(__value: f64, __ndigit: ::std::os::raw::c_int,
__decpt: *mut ::std::os::raw::c_int,
__sign: *mut ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char, __len: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mbtowc(__pwc: *mut wchar_t, __s: *const ::std::os::raw::c_char,
__n: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn wctomb(__s: *mut ::std::os::raw::c_char, __wchar: wchar_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const ::std::os::raw::c_char,
__n: usize) -> usize;
}
extern "C" {
pub fn wcstombs(__s: *mut ::std::os::raw::c_char, __pwcs: *const wchar_t,
__n: usize) -> usize;
}
extern "C" {
pub fn rpmatch(__response: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getsubopt(__optionp: *mut *mut ::std::os::raw::c_char,
__tokens: *const *const ::std::os::raw::c_char,
__valuep: *mut *mut ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getloadavg(__loadavg: *mut f64, __nelem: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
pub type BinaryenIndex = u32;
pub type BinaryenType = u32;
extern "C" {
pub fn BinaryenTypeNone() -> BinaryenType;
}
extern "C" {
pub fn BinaryenTypeInt32() -> BinaryenType;
}
extern "C" {
pub fn BinaryenTypeInt64() -> BinaryenType;
}
extern "C" {
pub fn BinaryenTypeFloat32() -> BinaryenType;
}
extern "C" {
pub fn BinaryenTypeFloat64() -> BinaryenType;
}
extern "C" {
pub fn BinaryenTypeUnreachable() -> BinaryenType;
}
extern "C" {
pub fn BinaryenTypeAuto() -> BinaryenType;
}
extern "C" {
pub fn BinaryenNone() -> BinaryenType;
}
extern "C" {
pub fn BinaryenInt32() -> BinaryenType;
}
extern "C" {
pub fn BinaryenInt64() -> BinaryenType;
}
extern "C" {
pub fn BinaryenFloat32() -> BinaryenType;
}
extern "C" {
pub fn BinaryenFloat64() -> BinaryenType;
}
extern "C" {
pub fn BinaryenUndefined() -> BinaryenType;
}
pub type BinaryenExpressionId = u32;
extern "C" {
pub fn BinaryenInvalidId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenBlockId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenIfId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenLoopId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenBreakId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenSwitchId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenCallId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenCallImportId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenCallIndirectId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenGetLocalId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenSetLocalId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenGetGlobalId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenSetGlobalId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenLoadId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenStoreId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenConstId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenUnaryId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenBinaryId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenSelectId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenDropId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenReturnId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenHostId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenNopId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenUnreachableId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenAtomicCmpxchgId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenAtomicRMWId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenAtomicWaitId() -> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenAtomicWakeId() -> BinaryenExpressionId;
}
pub type BinaryenExternalKind = u32;
extern "C" {
pub fn BinaryenExternalFunction() -> BinaryenExternalKind;
}
extern "C" {
pub fn BinaryenExternalTable() -> BinaryenExternalKind;
}
extern "C" {
pub fn BinaryenExternalMemory() -> BinaryenExternalKind;
}
extern "C" {
pub fn BinaryenExternalGlobal() -> BinaryenExternalKind;
}
pub type BinaryenModuleRef = *mut ::std::os::raw::c_void;
extern "C" {
pub fn BinaryenModuleCreate() -> BinaryenModuleRef;
}
extern "C" {
pub fn BinaryenModuleDispose(module: BinaryenModuleRef);
}
pub type BinaryenFunctionTypeRef = *mut ::std::os::raw::c_void;
extern "C" {
pub fn BinaryenAddFunctionType(module: BinaryenModuleRef,
name: *const ::std::os::raw::c_char,
result: BinaryenType,
paramTypes: *mut BinaryenType,
numParams: BinaryenIndex)
-> BinaryenFunctionTypeRef;
}
#[repr(C)]
#[derive(Copy)]
pub struct BinaryenLiteral {
pub type_: i32,
pub __bindgen_anon_1: BinaryenLiteral__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy)]
pub union BinaryenLiteral__bindgen_ty_1 {
pub i32: i32,
pub i64: i64,
pub f32: f32,
pub f64: f64,
_bindgen_union_align: u64,
}
impl Clone for BinaryenLiteral__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
impl Clone for BinaryenLiteral {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn BinaryenLiteralInt32(x: i32) -> BinaryenLiteral;
}
extern "C" {
pub fn BinaryenLiteralInt64(x: i64) -> BinaryenLiteral;
}
extern "C" {
pub fn BinaryenLiteralFloat32(x: f32) -> BinaryenLiteral;
}
extern "C" {
pub fn BinaryenLiteralFloat64(x: f64) -> BinaryenLiteral;
}
extern "C" {
pub fn BinaryenLiteralFloat32Bits(x: i32) -> BinaryenLiteral;
}
extern "C" {
pub fn BinaryenLiteralFloat64Bits(x: i64) -> BinaryenLiteral;
}
pub type BinaryenOp = i32;
extern "C" {
pub fn BinaryenClzInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenCtzInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenPopcntInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenNegFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAbsFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenCeilFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenFloorFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenNearestFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenSqrtFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenEqZInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenClzInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenCtzInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenPopcntInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenNegFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAbsFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenCeilFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenFloorFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenNearestFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenSqrtFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenEqZInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenExtendSInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenExtendUInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenWrapInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncSFloat32ToInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncSFloat32ToInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncUFloat32ToInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncUFloat32ToInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncSFloat64ToInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncSFloat64ToInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncUFloat64ToInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenTruncUFloat64ToInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenReinterpretFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenReinterpretFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenConvertSInt32ToFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenConvertSInt32ToFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenConvertUInt32ToFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenConvertUInt32ToFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenConvertSInt64ToFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenConvertSInt64ToFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenConvertUInt64ToFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenConvertUInt64ToFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenPromoteFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenDemoteFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenReinterpretInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenReinterpretInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAddInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenSubInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenMulInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenDivSInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenDivUInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenRemSInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenRemUInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAndInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenOrInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenXorInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenShlInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenShrUInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenShrSInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenRotLInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenRotRInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenEqInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenNeInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLtSInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLtUInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLeSInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLeUInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGtSInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGtUInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGeSInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGeUInt32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAddInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenSubInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenMulInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenDivSInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenDivUInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenRemSInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenRemUInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAndInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenOrInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenXorInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenShlInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenShrUInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenShrSInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenRotLInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenRotRInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenEqInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenNeInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLtSInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLtUInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLeSInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLeUInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGtSInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGtUInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGeSInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGeUInt64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAddFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenSubFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenMulFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenDivFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenCopySignFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenMinFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenMaxFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenEqFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenNeFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLtFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLeFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGtFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGeFloat32() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAddFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenSubFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenMulFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenDivFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenCopySignFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenMinFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenMaxFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenEqFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenNeFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLtFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenLeFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGtFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGeFloat64() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenPageSize() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenCurrentMemory() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenGrowMemory() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenHasFeature() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAtomicRMWAdd() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAtomicRMWSub() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAtomicRMWAnd() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAtomicRMWOr() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAtomicRMWXor() -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAtomicRMWXchg() -> BinaryenOp;
}
pub type BinaryenExpressionRef = *mut ::std::os::raw::c_void;
extern "C" {
pub fn BinaryenBlock(module: BinaryenModuleRef,
name: *const ::std::os::raw::c_char,
children: *mut BinaryenExpressionRef,
numChildren: BinaryenIndex, type_: BinaryenType)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenIf(module: BinaryenModuleRef,
condition: BinaryenExpressionRef,
ifTrue: BinaryenExpressionRef,
ifFalse: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenLoop(module: BinaryenModuleRef,
in_: *const ::std::os::raw::c_char,
body: BinaryenExpressionRef) -> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenBreak(module: BinaryenModuleRef,
name: *const ::std::os::raw::c_char,
condition: BinaryenExpressionRef,
value: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSwitch(module: BinaryenModuleRef,
names: *mut *const ::std::os::raw::c_char,
numNames: BinaryenIndex,
defaultName: *const ::std::os::raw::c_char,
condition: BinaryenExpressionRef,
value: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenCall(module: BinaryenModuleRef,
target: *const ::std::os::raw::c_char,
operands: *mut BinaryenExpressionRef,
numOperands: BinaryenIndex, returnType: BinaryenType)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenCallImport(module: BinaryenModuleRef,
target: *const ::std::os::raw::c_char,
operands: *mut BinaryenExpressionRef,
numOperands: BinaryenIndex,
returnType: BinaryenType)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenCallIndirect(module: BinaryenModuleRef,
target: BinaryenExpressionRef,
operands: *mut BinaryenExpressionRef,
numOperands: BinaryenIndex,
type_: *const ::std::os::raw::c_char)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenGetLocal(module: BinaryenModuleRef, index: BinaryenIndex,
type_: BinaryenType) -> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSetLocal(module: BinaryenModuleRef, index: BinaryenIndex,
value: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenTeeLocal(module: BinaryenModuleRef, index: BinaryenIndex,
value: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenGetGlobal(module: BinaryenModuleRef,
name: *const ::std::os::raw::c_char,
type_: BinaryenType) -> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSetGlobal(module: BinaryenModuleRef,
name: *const ::std::os::raw::c_char,
value: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenLoad(module: BinaryenModuleRef, bytes: u32, signed_: i8,
offset: u32, align: u32, type_: BinaryenType,
ptr: BinaryenExpressionRef) -> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenStore(module: BinaryenModuleRef, bytes: u32, offset: u32,
align: u32, ptr: BinaryenExpressionRef,
value: BinaryenExpressionRef, type_: BinaryenType)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenConst(module: BinaryenModuleRef, value: BinaryenLiteral)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenUnary(module: BinaryenModuleRef, op: BinaryenOp,
value: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenBinary(module: BinaryenModuleRef, op: BinaryenOp,
left: BinaryenExpressionRef,
right: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSelect(module: BinaryenModuleRef,
condition: BinaryenExpressionRef,
ifTrue: BinaryenExpressionRef,
ifFalse: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenDrop(module: BinaryenModuleRef,
value: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenReturn(module: BinaryenModuleRef,
value: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenHost(module: BinaryenModuleRef, op: BinaryenOp,
name: *const ::std::os::raw::c_char,
operands: *mut BinaryenExpressionRef,
numOperands: BinaryenIndex) -> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenNop(module: BinaryenModuleRef) -> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenUnreachable(module: BinaryenModuleRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicLoad(module: BinaryenModuleRef, bytes: u32,
offset: u32, type_: BinaryenType,
ptr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicStore(module: BinaryenModuleRef, bytes: u32,
offset: u32, ptr: BinaryenExpressionRef,
value: BinaryenExpressionRef,
type_: BinaryenType) -> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicRMW(module: BinaryenModuleRef, op: BinaryenOp,
bytes: BinaryenIndex, offset: BinaryenIndex,
ptr: BinaryenExpressionRef,
value: BinaryenExpressionRef,
type_: BinaryenType) -> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicCmpxchg(module: BinaryenModuleRef,
bytes: BinaryenIndex, offset: BinaryenIndex,
ptr: BinaryenExpressionRef,
expected: BinaryenExpressionRef,
replacement: BinaryenExpressionRef,
type_: BinaryenType)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicWait(module: BinaryenModuleRef,
ptr: BinaryenExpressionRef,
expected: BinaryenExpressionRef,
timeout: BinaryenExpressionRef,
type_: BinaryenType) -> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicWake(module: BinaryenModuleRef,
ptr: BinaryenExpressionRef,
wakeCount: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenExpressionGetId(expr: BinaryenExpressionRef)
-> BinaryenExpressionId;
}
extern "C" {
pub fn BinaryenExpressionGetType(expr: BinaryenExpressionRef)
-> BinaryenType;
}
extern "C" {
pub fn BinaryenExpressionPrint(expr: BinaryenExpressionRef);
}
extern "C" {
pub fn BinaryenBlockGetName(expr: BinaryenExpressionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenBlockGetNumChildren(expr: BinaryenExpressionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenBlockGetChild(expr: BinaryenExpressionRef,
index: BinaryenIndex)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenIfGetCondition(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenIfGetIfTrue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenIfGetIfFalse(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenLoopGetName(expr: BinaryenExpressionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenLoopGetBody(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenBreakGetName(expr: BinaryenExpressionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenBreakGetCondition(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenBreakGetValue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSwitchGetNumNames(expr: BinaryenExpressionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenSwitchGetName(expr: BinaryenExpressionRef,
index: BinaryenIndex)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenSwitchGetDefaultName(expr: BinaryenExpressionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenSwitchGetCondition(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSwitchGetValue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenCallGetTarget(expr: BinaryenExpressionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenCallGetNumOperands(expr: BinaryenExpressionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenCallGetOperand(expr: BinaryenExpressionRef,
index: BinaryenIndex)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenCallImportGetTarget(expr: BinaryenExpressionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenCallImportGetNumOperands(expr: BinaryenExpressionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenCallImportGetOperand(expr: BinaryenExpressionRef,
index: BinaryenIndex)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenCallIndirectGetTarget(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenCallIndirectGetNumOperands(expr: BinaryenExpressionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenCallIndirectGetOperand(expr: BinaryenExpressionRef,
index: BinaryenIndex)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenGetLocalGetIndex(expr: BinaryenExpressionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenSetLocalIsTee(expr: BinaryenExpressionRef)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn BinaryenSetLocalGetIndex(expr: BinaryenExpressionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenSetLocalGetValue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenGetGlobalGetName(expr: BinaryenExpressionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenSetGlobalGetName(expr: BinaryenExpressionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenSetGlobalGetValue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenHostGetOp(expr: BinaryenExpressionRef) -> BinaryenOp;
}
extern "C" {
pub fn BinaryenHostGetNameOperand(expr: BinaryenExpressionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenHostGetNumOperands(expr: BinaryenExpressionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenHostGetOperand(expr: BinaryenExpressionRef,
index: BinaryenIndex)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenLoadIsAtomic(expr: BinaryenExpressionRef)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn BinaryenLoadIsSigned(expr: BinaryenExpressionRef)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn BinaryenLoadGetOffset(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenLoadGetBytes(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenLoadGetAlign(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenLoadGetPtr(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenStoreIsAtomic(expr: BinaryenExpressionRef)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn BinaryenStoreGetBytes(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenStoreGetOffset(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenStoreGetAlign(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenStoreGetPtr(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenStoreGetValue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenConstGetValueI32(expr: BinaryenExpressionRef) -> i32;
}
extern "C" {
pub fn BinaryenConstGetValueI64(expr: BinaryenExpressionRef) -> i64;
}
extern "C" {
pub fn BinaryenConstGetValueI64Low(expr: BinaryenExpressionRef) -> i32;
}
extern "C" {
pub fn BinaryenConstGetValueI64High(expr: BinaryenExpressionRef) -> i32;
}
extern "C" {
pub fn BinaryenConstGetValueF32(expr: BinaryenExpressionRef) -> f32;
}
extern "C" {
pub fn BinaryenConstGetValueF64(expr: BinaryenExpressionRef) -> f64;
}
extern "C" {
pub fn BinaryenUnaryGetOp(expr: BinaryenExpressionRef) -> BinaryenOp;
}
extern "C" {
pub fn BinaryenUnaryGetValue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenBinaryGetOp(expr: BinaryenExpressionRef) -> BinaryenOp;
}
extern "C" {
pub fn BinaryenBinaryGetLeft(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenBinaryGetRight(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSelectGetIfTrue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSelectGetIfFalse(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSelectGetCondition(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenDropGetValue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenReturnGetValue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicRMWGetOp(expr: BinaryenExpressionRef) -> BinaryenOp;
}
extern "C" {
pub fn BinaryenAtomicRMWGetBytes(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenAtomicRMWGetOffset(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenAtomicRMWGetPtr(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicRMWGetValue(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicCmpxchgGetBytes(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenAtomicCmpxchgGetOffset(expr: BinaryenExpressionRef) -> u32;
}
extern "C" {
pub fn BinaryenAtomicCmpxchgGetPtr(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicCmpxchgGetExpected(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicCmpxchgGetReplacement(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicWaitGetPtr(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicWaitGetExpected(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicWaitGetTimeout(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicWaitGetExpectedType(expr: BinaryenExpressionRef)
-> BinaryenType;
}
extern "C" {
pub fn BinaryenAtomicWakeGetPtr(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenAtomicWakeGetWakeCount(expr: BinaryenExpressionRef)
-> BinaryenExpressionRef;
}
pub type BinaryenFunctionRef = *mut ::std::os::raw::c_void;
extern "C" {
pub fn BinaryenAddFunction(module: BinaryenModuleRef,
name: *const ::std::os::raw::c_char,
type_: BinaryenFunctionTypeRef,
varTypes: *mut BinaryenType,
numVarTypes: BinaryenIndex,
body: BinaryenExpressionRef)
-> BinaryenFunctionRef;
}
extern "C" {
pub fn BinaryenGetFunction(module: BinaryenModuleRef,
name: *const ::std::os::raw::c_char)
-> BinaryenFunctionRef;
}
extern "C" {
pub fn BinaryenRemoveFunction(module: BinaryenModuleRef,
name: *const ::std::os::raw::c_char);
}
pub type BinaryenImportRef = *mut ::std::os::raw::c_void;
extern "C" {
pub fn BinaryenAddImport(module: BinaryenModuleRef,
internalName: *const ::std::os::raw::c_char,
externalModuleName:
*const ::std::os::raw::c_char,
externalBaseName: *const ::std::os::raw::c_char,
type_: BinaryenFunctionTypeRef)
-> BinaryenImportRef;
}
extern "C" {
pub fn BinaryenAddFunctionImport(module: BinaryenModuleRef,
internalName:
*const ::std::os::raw::c_char,
externalModuleName:
*const ::std::os::raw::c_char,
externalBaseName:
*const ::std::os::raw::c_char,
functionType: BinaryenFunctionTypeRef)
-> BinaryenImportRef;
}
extern "C" {
pub fn BinaryenAddTableImport(module: BinaryenModuleRef,
internalName: *const ::std::os::raw::c_char,
externalModuleName:
*const ::std::os::raw::c_char,
externalBaseName:
*const ::std::os::raw::c_char)
-> BinaryenImportRef;
}
extern "C" {
pub fn BinaryenAddMemoryImport(module: BinaryenModuleRef,
internalName:
*const ::std::os::raw::c_char,
externalModuleName:
*const ::std::os::raw::c_char,
externalBaseName:
*const ::std::os::raw::c_char)
-> BinaryenImportRef;
}
extern "C" {
pub fn BinaryenAddGlobalImport(module: BinaryenModuleRef,
internalName:
*const ::std::os::raw::c_char,
externalModuleName:
*const ::std::os::raw::c_char,
externalBaseName:
*const ::std::os::raw::c_char,
globalType: BinaryenType)
-> BinaryenImportRef;
}
extern "C" {
pub fn BinaryenRemoveImport(module: BinaryenModuleRef,
internalName: *const ::std::os::raw::c_char);
}
pub type BinaryenExportRef = *mut ::std::os::raw::c_void;
extern "C" {
pub fn BinaryenAddExport(module: BinaryenModuleRef,
internalName: *const ::std::os::raw::c_char,
externalName: *const ::std::os::raw::c_char)
-> BinaryenExportRef;
}
extern "C" {
pub fn BinaryenAddFunctionExport(module: BinaryenModuleRef,
internalName:
*const ::std::os::raw::c_char,
externalName:
*const ::std::os::raw::c_char)
-> BinaryenExportRef;
}
extern "C" {
pub fn BinaryenAddTableExport(module: BinaryenModuleRef,
internalName: *const ::std::os::raw::c_char,
externalName: *const ::std::os::raw::c_char)
-> BinaryenExportRef;
}
extern "C" {
pub fn BinaryenAddMemoryExport(module: BinaryenModuleRef,
internalName:
*const ::std::os::raw::c_char,
externalName:
*const ::std::os::raw::c_char)
-> BinaryenExportRef;
}
extern "C" {
pub fn BinaryenAddGlobalExport(module: BinaryenModuleRef,
internalName:
*const ::std::os::raw::c_char,
externalName:
*const ::std::os::raw::c_char)
-> BinaryenExportRef;
}
extern "C" {
pub fn BinaryenRemoveExport(module: BinaryenModuleRef,
externalName: *const ::std::os::raw::c_char);
}
pub type BinaryenGlobalRef = *mut ::std::os::raw::c_void;
extern "C" {
pub fn BinaryenAddGlobal(module: BinaryenModuleRef,
name: *const ::std::os::raw::c_char,
type_: BinaryenType, mutable_: i8,
init: BinaryenExpressionRef)
-> BinaryenGlobalRef;
}
extern "C" {
pub fn BinaryenSetFunctionTable(module: BinaryenModuleRef,
funcs: *mut BinaryenFunctionRef,
numFuncs: BinaryenIndex);
}
extern "C" {
pub fn BinaryenSetMemory(module: BinaryenModuleRef,
initial: BinaryenIndex, maximum: BinaryenIndex,
exportName: *const ::std::os::raw::c_char,
segments: *mut *const ::std::os::raw::c_char,
segmentOffsets: *mut BinaryenExpressionRef,
segmentSizes: *mut BinaryenIndex,
numSegments: BinaryenIndex);
}
extern "C" {
pub fn BinaryenSetStart(module: BinaryenModuleRef,
start: BinaryenFunctionRef);
}
extern "C" {
pub fn BinaryenModuleParse(text: *const ::std::os::raw::c_char)
-> BinaryenModuleRef;
}
extern "C" {
pub fn BinaryenModulePrint(module: BinaryenModuleRef);
}
extern "C" {
pub fn BinaryenModulePrintAsmjs(module: BinaryenModuleRef);
}
extern "C" {
pub fn BinaryenModuleValidate(module: BinaryenModuleRef)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn BinaryenModuleOptimize(module: BinaryenModuleRef);
}
extern "C" {
pub fn BinaryenGetOptimizeLevel() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn BinaryenSetOptimizeLevel(level: ::std::os::raw::c_int);
}
extern "C" {
pub fn BinaryenGetShrinkLevel() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn BinaryenSetShrinkLevel(level: ::std::os::raw::c_int);
}
extern "C" {
pub fn BinaryenGetDebugInfo() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn BinaryenSetDebugInfo(on: ::std::os::raw::c_int);
}
extern "C" {
pub fn BinaryenModuleRunPasses(module: BinaryenModuleRef,
passes: *mut *const ::std::os::raw::c_char,
numPasses: BinaryenIndex);
}
extern "C" {
pub fn BinaryenModuleAutoDrop(module: BinaryenModuleRef);
}
extern "C" {
pub fn BinaryenModuleWrite(module: BinaryenModuleRef,
output: *mut ::std::os::raw::c_char,
outputSize: usize) -> usize;
}
extern "C" {
pub fn BinaryenModuleRead(input: *mut ::std::os::raw::c_char,
inputSize: usize) -> BinaryenModuleRef;
}
extern "C" {
pub fn BinaryenModuleInterpret(module: BinaryenModuleRef);
}
extern "C" {
pub fn BinaryenFunctionTypeGetName(ftype: BinaryenFunctionTypeRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenFunctionTypeGetNumParams(ftype: BinaryenFunctionTypeRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenFunctionTypeGetParam(ftype: BinaryenFunctionTypeRef,
index: BinaryenIndex) -> BinaryenType;
}
extern "C" {
pub fn BinaryenFunctionTypeGetResult(ftype: BinaryenFunctionTypeRef)
-> BinaryenType;
}
extern "C" {
pub fn BinaryenFunctionGetName(func: BinaryenFunctionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenFunctionGetType(func: BinaryenFunctionRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenFunctionGetNumParams(func: BinaryenFunctionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenFunctionGetParam(func: BinaryenFunctionRef,
index: BinaryenIndex) -> BinaryenType;
}
extern "C" {
pub fn BinaryenFunctionGetResult(func: BinaryenFunctionRef)
-> BinaryenType;
}
extern "C" {
pub fn BinaryenFunctionGetNumVars(func: BinaryenFunctionRef)
-> BinaryenIndex;
}
extern "C" {
pub fn BinaryenFunctionGetVar(func: BinaryenFunctionRef,
index: BinaryenIndex) -> BinaryenType;
}
extern "C" {
pub fn BinaryenFunctionGetBody(func: BinaryenFunctionRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenFunctionOptimize(func: BinaryenFunctionRef,
module: BinaryenModuleRef);
}
extern "C" {
pub fn BinaryenFunctionRunPasses(func: BinaryenFunctionRef,
module: BinaryenModuleRef,
passes:
*mut *const ::std::os::raw::c_char,
numPasses: BinaryenIndex);
}
extern "C" {
pub fn BinaryenImportGetKind(import: BinaryenImportRef)
-> BinaryenExternalKind;
}
extern "C" {
pub fn BinaryenImportGetModule(import: BinaryenImportRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenImportGetBase(import: BinaryenImportRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenImportGetName(import: BinaryenImportRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenImportGetGlobalType(import: BinaryenImportRef)
-> BinaryenType;
}
extern "C" {
pub fn BinaryenImportGetFunctionType(import: BinaryenImportRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenExportGetKind(export_: BinaryenExportRef)
-> BinaryenExternalKind;
}
extern "C" {
pub fn BinaryenExportGetName(export_: BinaryenExportRef)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn BinaryenExportGetValue(export_: BinaryenExportRef)
-> *const ::std::os::raw::c_char;
}
pub type RelooperRef = *mut ::std::os::raw::c_void;
pub type RelooperBlockRef = *mut ::std::os::raw::c_void;
extern "C" {
pub fn RelooperCreate() -> RelooperRef;
}
extern "C" {
pub fn RelooperAddBlock(relooper: RelooperRef,
code: BinaryenExpressionRef) -> RelooperBlockRef;
}
extern "C" {
pub fn RelooperAddBranch(from: RelooperBlockRef, to: RelooperBlockRef,
condition: BinaryenExpressionRef,
code: BinaryenExpressionRef);
}
extern "C" {
pub fn RelooperAddBlockWithSwitch(relooper: RelooperRef,
code: BinaryenExpressionRef,
condition: BinaryenExpressionRef)
-> RelooperBlockRef;
}
extern "C" {
pub fn RelooperAddBranchForSwitch(from: RelooperBlockRef,
to: RelooperBlockRef,
indexes: *mut BinaryenIndex,
numIndexes: BinaryenIndex,
code: BinaryenExpressionRef);
}
extern "C" {
pub fn RelooperRenderAndDispose(relooper: RelooperRef,
entry: RelooperBlockRef,
labelHelper: BinaryenIndex,
module: BinaryenModuleRef)
-> BinaryenExpressionRef;
}
extern "C" {
pub fn BinaryenSetAPITracing(on: ::std::os::raw::c_int);
}
extern "C" {
pub fn BinaryenGetFunctionTypeBySignature(module: BinaryenModuleRef,
result: BinaryenType,
paramTypes: *mut BinaryenType,
numParams: BinaryenIndex)
-> BinaryenFunctionTypeRef;
}