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
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
#[repr(C)]
#[derive(Default)]
pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>);
impl <T> __IncompleteArrayField<T> {
#[inline]
pub fn new() -> Self {
__IncompleteArrayField(::std::marker::PhantomData)
}
#[inline]
pub unsafe fn as_ptr(&self) -> *const T { ::std::mem::transmute(self) }
#[inline]
pub unsafe fn as_mut_ptr(&mut self) -> *mut T {
::std::mem::transmute(self)
}
#[inline]
pub unsafe fn as_slice(&self, len: usize) -> &[T] {
::std::slice::from_raw_parts(self.as_ptr(), len)
}
#[inline]
pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
}
}
impl <T> ::std::fmt::Debug for __IncompleteArrayField<T> {
fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
fmt.write_str("__IncompleteArrayField")
}
}
impl <T> ::std::clone::Clone for __IncompleteArrayField<T> {
#[inline]
fn clone(&self) -> Self { Self::new() }
}
impl <T> ::std::marker::Copy for __IncompleteArrayField<T> { }
#[repr(C)]
pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
impl <T> __BindgenUnionField<T> {
#[inline]
pub fn new() -> Self { __BindgenUnionField(::std::marker::PhantomData) }
#[inline]
pub unsafe fn as_ref(&self) -> &T { ::std::mem::transmute(self) }
#[inline]
pub unsafe fn as_mut(&mut self) -> &mut T { ::std::mem::transmute(self) }
}
impl <T> ::std::default::Default for __BindgenUnionField<T> {
#[inline]
fn default() -> Self { Self::new() }
}
impl <T> ::std::clone::Clone for __BindgenUnionField<T> {
#[inline]
fn clone(&self) -> Self { Self::new() }
}
impl <T> ::std::marker::Copy for __BindgenUnionField<T> { }
impl <T> ::std::fmt::Debug for __BindgenUnionField<T> {
fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
fmt.write_str("__BindgenUnionField")
}
}
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 _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 __GNUC_VA_LIST: ::std::os::raw::c_uint = 1;
pub const _ASSERT_H: ::std::os::raw::c_uint = 1;
pub const _STDINT_H: ::std::os::raw::c_uint = 1;
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 _MATH_H: ::std::os::raw::c_uint = 1;
pub const _BITS_LIBM_SIMD_DECL_STUBS_H: ::std::os::raw::c_uint = 1;
pub const _MATH_H_MATHDEF: ::std::os::raw::c_uint = 1;
pub const FP_ILOGB0: ::std::os::raw::c_int = -2147483648;
pub const FP_ILOGBNAN: ::std::os::raw::c_int = -2147483648;
pub const __MATH_DECLARING_DOUBLE: ::std::os::raw::c_uint = 1;
pub const __MATH_DECLARE_LDOUBLE: ::std::os::raw::c_uint = 1;
pub const MATH_ERRNO: ::std::os::raw::c_uint = 1;
pub const MATH_ERREXCEPT: ::std::os::raw::c_uint = 2;
pub const math_errhandling: ::std::os::raw::c_uint = 3;
pub const DOMAIN: ::std::os::raw::c_uint = 1;
pub const SING: ::std::os::raw::c_uint = 2;
pub const OVERFLOW: ::std::os::raw::c_uint = 3;
pub const UNDERFLOW: ::std::os::raw::c_uint = 4;
pub const TLOSS: ::std::os::raw::c_uint = 5;
pub const PLOSS: ::std::os::raw::c_uint = 6;
pub const M_E: f64 = 2.718281828459045;
pub const M_LOG2E: f64 = 1.4426950408889634;
pub const M_LOG10E: f64 = 0.4342944819032518;
pub const M_LN2: f64 = 0.6931471805599453;
pub const M_LN10: f64 = 2.302585092994046;
pub const M_PI: f64 = 3.141592653589793;
pub const M_PI_2: f64 = 1.5707963267948966;
pub const M_PI_4: f64 = 0.7853981633974483;
pub const M_1_PI: f64 = 0.3183098861837907;
pub const M_2_PI: f64 = 0.6366197723675814;
pub const M_2_SQRTPI: f64 = 1.1283791670955126;
pub const M_SQRT2: f64 = 1.4142135623730951;
pub const M_SQRT1_2: f64 = 0.7071067811865476;
pub const _INTTYPES_H: ::std::os::raw::c_uint = 1;
pub const ____gwchar_t_defined: ::std::os::raw::c_uint = 1;
pub const __PRI64_PREFIX: &'static [u8; 2usize] = b"l\x00";
pub const __PRIPTR_PREFIX: &'static [u8; 2usize] = b"l\x00";
pub const PRId8: &'static [u8; 2usize] = b"d\x00";
pub const PRId16: &'static [u8; 2usize] = b"d\x00";
pub const PRId32: &'static [u8; 2usize] = b"d\x00";
pub const PRId64: &'static [u8; 3usize] = b"ld\x00";
pub const PRIdLEAST8: &'static [u8; 2usize] = b"d\x00";
pub const PRIdLEAST16: &'static [u8; 2usize] = b"d\x00";
pub const PRIdLEAST32: &'static [u8; 2usize] = b"d\x00";
pub const PRIdLEAST64: &'static [u8; 3usize] = b"ld\x00";
pub const PRIdFAST8: &'static [u8; 2usize] = b"d\x00";
pub const PRIdFAST16: &'static [u8; 3usize] = b"ld\x00";
pub const PRIdFAST32: &'static [u8; 3usize] = b"ld\x00";
pub const PRIdFAST64: &'static [u8; 3usize] = b"ld\x00";
pub const PRIi8: &'static [u8; 2usize] = b"i\x00";
pub const PRIi16: &'static [u8; 2usize] = b"i\x00";
pub const PRIi32: &'static [u8; 2usize] = b"i\x00";
pub const PRIi64: &'static [u8; 3usize] = b"li\x00";
pub const PRIiLEAST8: &'static [u8; 2usize] = b"i\x00";
pub const PRIiLEAST16: &'static [u8; 2usize] = b"i\x00";
pub const PRIiLEAST32: &'static [u8; 2usize] = b"i\x00";
pub const PRIiLEAST64: &'static [u8; 3usize] = b"li\x00";
pub const PRIiFAST8: &'static [u8; 2usize] = b"i\x00";
pub const PRIiFAST16: &'static [u8; 3usize] = b"li\x00";
pub const PRIiFAST32: &'static [u8; 3usize] = b"li\x00";
pub const PRIiFAST64: &'static [u8; 3usize] = b"li\x00";
pub const PRIo8: &'static [u8; 2usize] = b"o\x00";
pub const PRIo16: &'static [u8; 2usize] = b"o\x00";
pub const PRIo32: &'static [u8; 2usize] = b"o\x00";
pub const PRIo64: &'static [u8; 3usize] = b"lo\x00";
pub const PRIoLEAST8: &'static [u8; 2usize] = b"o\x00";
pub const PRIoLEAST16: &'static [u8; 2usize] = b"o\x00";
pub const PRIoLEAST32: &'static [u8; 2usize] = b"o\x00";
pub const PRIoLEAST64: &'static [u8; 3usize] = b"lo\x00";
pub const PRIoFAST8: &'static [u8; 2usize] = b"o\x00";
pub const PRIoFAST16: &'static [u8; 3usize] = b"lo\x00";
pub const PRIoFAST32: &'static [u8; 3usize] = b"lo\x00";
pub const PRIoFAST64: &'static [u8; 3usize] = b"lo\x00";
pub const PRIu8: &'static [u8; 2usize] = b"u\x00";
pub const PRIu16: &'static [u8; 2usize] = b"u\x00";
pub const PRIu32: &'static [u8; 2usize] = b"u\x00";
pub const PRIu64: &'static [u8; 3usize] = b"lu\x00";
pub const PRIuLEAST8: &'static [u8; 2usize] = b"u\x00";
pub const PRIuLEAST16: &'static [u8; 2usize] = b"u\x00";
pub const PRIuLEAST32: &'static [u8; 2usize] = b"u\x00";
pub const PRIuLEAST64: &'static [u8; 3usize] = b"lu\x00";
pub const PRIuFAST8: &'static [u8; 2usize] = b"u\x00";
pub const PRIuFAST16: &'static [u8; 3usize] = b"lu\x00";
pub const PRIuFAST32: &'static [u8; 3usize] = b"lu\x00";
pub const PRIuFAST64: &'static [u8; 3usize] = b"lu\x00";
pub const PRIx8: &'static [u8; 2usize] = b"x\x00";
pub const PRIx16: &'static [u8; 2usize] = b"x\x00";
pub const PRIx32: &'static [u8; 2usize] = b"x\x00";
pub const PRIx64: &'static [u8; 3usize] = b"lx\x00";
pub const PRIxLEAST8: &'static [u8; 2usize] = b"x\x00";
pub const PRIxLEAST16: &'static [u8; 2usize] = b"x\x00";
pub const PRIxLEAST32: &'static [u8; 2usize] = b"x\x00";
pub const PRIxLEAST64: &'static [u8; 3usize] = b"lx\x00";
pub const PRIxFAST8: &'static [u8; 2usize] = b"x\x00";
pub const PRIxFAST16: &'static [u8; 3usize] = b"lx\x00";
pub const PRIxFAST32: &'static [u8; 3usize] = b"lx\x00";
pub const PRIxFAST64: &'static [u8; 3usize] = b"lx\x00";
pub const PRIX8: &'static [u8; 2usize] = b"X\x00";
pub const PRIX16: &'static [u8; 2usize] = b"X\x00";
pub const PRIX32: &'static [u8; 2usize] = b"X\x00";
pub const PRIX64: &'static [u8; 3usize] = b"lX\x00";
pub const PRIXLEAST8: &'static [u8; 2usize] = b"X\x00";
pub const PRIXLEAST16: &'static [u8; 2usize] = b"X\x00";
pub const PRIXLEAST32: &'static [u8; 2usize] = b"X\x00";
pub const PRIXLEAST64: &'static [u8; 3usize] = b"lX\x00";
pub const PRIXFAST8: &'static [u8; 2usize] = b"X\x00";
pub const PRIXFAST16: &'static [u8; 3usize] = b"lX\x00";
pub const PRIXFAST32: &'static [u8; 3usize] = b"lX\x00";
pub const PRIXFAST64: &'static [u8; 3usize] = b"lX\x00";
pub const PRIdMAX: &'static [u8; 3usize] = b"ld\x00";
pub const PRIiMAX: &'static [u8; 3usize] = b"li\x00";
pub const PRIoMAX: &'static [u8; 3usize] = b"lo\x00";
pub const PRIuMAX: &'static [u8; 3usize] = b"lu\x00";
pub const PRIxMAX: &'static [u8; 3usize] = b"lx\x00";
pub const PRIXMAX: &'static [u8; 3usize] = b"lX\x00";
pub const PRIdPTR: &'static [u8; 3usize] = b"ld\x00";
pub const PRIiPTR: &'static [u8; 3usize] = b"li\x00";
pub const PRIoPTR: &'static [u8; 3usize] = b"lo\x00";
pub const PRIuPTR: &'static [u8; 3usize] = b"lu\x00";
pub const PRIxPTR: &'static [u8; 3usize] = b"lx\x00";
pub const PRIXPTR: &'static [u8; 3usize] = b"lX\x00";
pub const SCNd8: &'static [u8; 4usize] = b"hhd\x00";
pub const SCNd16: &'static [u8; 3usize] = b"hd\x00";
pub const SCNd32: &'static [u8; 2usize] = b"d\x00";
pub const SCNd64: &'static [u8; 3usize] = b"ld\x00";
pub const SCNdLEAST8: &'static [u8; 4usize] = b"hhd\x00";
pub const SCNdLEAST16: &'static [u8; 3usize] = b"hd\x00";
pub const SCNdLEAST32: &'static [u8; 2usize] = b"d\x00";
pub const SCNdLEAST64: &'static [u8; 3usize] = b"ld\x00";
pub const SCNdFAST8: &'static [u8; 4usize] = b"hhd\x00";
pub const SCNdFAST16: &'static [u8; 3usize] = b"ld\x00";
pub const SCNdFAST32: &'static [u8; 3usize] = b"ld\x00";
pub const SCNdFAST64: &'static [u8; 3usize] = b"ld\x00";
pub const SCNi8: &'static [u8; 4usize] = b"hhi\x00";
pub const SCNi16: &'static [u8; 3usize] = b"hi\x00";
pub const SCNi32: &'static [u8; 2usize] = b"i\x00";
pub const SCNi64: &'static [u8; 3usize] = b"li\x00";
pub const SCNiLEAST8: &'static [u8; 4usize] = b"hhi\x00";
pub const SCNiLEAST16: &'static [u8; 3usize] = b"hi\x00";
pub const SCNiLEAST32: &'static [u8; 2usize] = b"i\x00";
pub const SCNiLEAST64: &'static [u8; 3usize] = b"li\x00";
pub const SCNiFAST8: &'static [u8; 4usize] = b"hhi\x00";
pub const SCNiFAST16: &'static [u8; 3usize] = b"li\x00";
pub const SCNiFAST32: &'static [u8; 3usize] = b"li\x00";
pub const SCNiFAST64: &'static [u8; 3usize] = b"li\x00";
pub const SCNu8: &'static [u8; 4usize] = b"hhu\x00";
pub const SCNu16: &'static [u8; 3usize] = b"hu\x00";
pub const SCNu32: &'static [u8; 2usize] = b"u\x00";
pub const SCNu64: &'static [u8; 3usize] = b"lu\x00";
pub const SCNuLEAST8: &'static [u8; 4usize] = b"hhu\x00";
pub const SCNuLEAST16: &'static [u8; 3usize] = b"hu\x00";
pub const SCNuLEAST32: &'static [u8; 2usize] = b"u\x00";
pub const SCNuLEAST64: &'static [u8; 3usize] = b"lu\x00";
pub const SCNuFAST8: &'static [u8; 4usize] = b"hhu\x00";
pub const SCNuFAST16: &'static [u8; 3usize] = b"lu\x00";
pub const SCNuFAST32: &'static [u8; 3usize] = b"lu\x00";
pub const SCNuFAST64: &'static [u8; 3usize] = b"lu\x00";
pub const SCNo8: &'static [u8; 4usize] = b"hho\x00";
pub const SCNo16: &'static [u8; 3usize] = b"ho\x00";
pub const SCNo32: &'static [u8; 2usize] = b"o\x00";
pub const SCNo64: &'static [u8; 3usize] = b"lo\x00";
pub const SCNoLEAST8: &'static [u8; 4usize] = b"hho\x00";
pub const SCNoLEAST16: &'static [u8; 3usize] = b"ho\x00";
pub const SCNoLEAST32: &'static [u8; 2usize] = b"o\x00";
pub const SCNoLEAST64: &'static [u8; 3usize] = b"lo\x00";
pub const SCNoFAST8: &'static [u8; 4usize] = b"hho\x00";
pub const SCNoFAST16: &'static [u8; 3usize] = b"lo\x00";
pub const SCNoFAST32: &'static [u8; 3usize] = b"lo\x00";
pub const SCNoFAST64: &'static [u8; 3usize] = b"lo\x00";
pub const SCNx8: &'static [u8; 4usize] = b"hhx\x00";
pub const SCNx16: &'static [u8; 3usize] = b"hx\x00";
pub const SCNx32: &'static [u8; 2usize] = b"x\x00";
pub const SCNx64: &'static [u8; 3usize] = b"lx\x00";
pub const SCNxLEAST8: &'static [u8; 4usize] = b"hhx\x00";
pub const SCNxLEAST16: &'static [u8; 3usize] = b"hx\x00";
pub const SCNxLEAST32: &'static [u8; 2usize] = b"x\x00";
pub const SCNxLEAST64: &'static [u8; 3usize] = b"lx\x00";
pub const SCNxFAST8: &'static [u8; 4usize] = b"hhx\x00";
pub const SCNxFAST16: &'static [u8; 3usize] = b"lx\x00";
pub const SCNxFAST32: &'static [u8; 3usize] = b"lx\x00";
pub const SCNxFAST64: &'static [u8; 3usize] = b"lx\x00";
pub const SCNdMAX: &'static [u8; 3usize] = b"ld\x00";
pub const SCNiMAX: &'static [u8; 3usize] = b"li\x00";
pub const SCNoMAX: &'static [u8; 3usize] = b"lo\x00";
pub const SCNuMAX: &'static [u8; 3usize] = b"lu\x00";
pub const SCNxMAX: &'static [u8; 3usize] = b"lx\x00";
pub const SCNdPTR: &'static [u8; 3usize] = b"ld\x00";
pub const SCNiPTR: &'static [u8; 3usize] = b"li\x00";
pub const SCNoPTR: &'static [u8; 3usize] = b"lo\x00";
pub const SCNuPTR: &'static [u8; 3usize] = b"lu\x00";
pub const SCNxPTR: &'static [u8; 3usize] = b"lx\x00";
pub const TOP_BIT: ::std::os::raw::c_longlong = -9223372036854775808;
pub const NBITS: ::std::os::raw::c_uint = 64;
pub const DBL_MAXINT: ::std::os::raw::c_ulonglong = 9007199254740992;
pub const FLT_MAXINT: ::std::os::raw::c_uint = 16777216;
pub const U64_MAX: ::std::os::raw::c_int = -1;
pub const S64_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const S64_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const BIT63: ::std::os::raw::c_longlong = -9223372036854775808;
pub const U32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const S32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const S32_MIN: ::std::os::raw::c_int = -2147483648;
pub const BIT31: ::std::os::raw::c_uint = 2147483648;
pub const _ERRNO_H: ::std::os::raw::c_uint = 1;
pub const EPERM: ::std::os::raw::c_uint = 1;
pub const ENOENT: ::std::os::raw::c_uint = 2;
pub const ESRCH: ::std::os::raw::c_uint = 3;
pub const EINTR: ::std::os::raw::c_uint = 4;
pub const EIO: ::std::os::raw::c_uint = 5;
pub const ENXIO: ::std::os::raw::c_uint = 6;
pub const E2BIG: ::std::os::raw::c_uint = 7;
pub const ENOEXEC: ::std::os::raw::c_uint = 8;
pub const EBADF: ::std::os::raw::c_uint = 9;
pub const ECHILD: ::std::os::raw::c_uint = 10;
pub const EAGAIN: ::std::os::raw::c_uint = 11;
pub const ENOMEM: ::std::os::raw::c_uint = 12;
pub const EACCES: ::std::os::raw::c_uint = 13;
pub const EFAULT: ::std::os::raw::c_uint = 14;
pub const ENOTBLK: ::std::os::raw::c_uint = 15;
pub const EBUSY: ::std::os::raw::c_uint = 16;
pub const EEXIST: ::std::os::raw::c_uint = 17;
pub const EXDEV: ::std::os::raw::c_uint = 18;
pub const ENODEV: ::std::os::raw::c_uint = 19;
pub const ENOTDIR: ::std::os::raw::c_uint = 20;
pub const EISDIR: ::std::os::raw::c_uint = 21;
pub const EINVAL: ::std::os::raw::c_uint = 22;
pub const ENFILE: ::std::os::raw::c_uint = 23;
pub const EMFILE: ::std::os::raw::c_uint = 24;
pub const ENOTTY: ::std::os::raw::c_uint = 25;
pub const ETXTBSY: ::std::os::raw::c_uint = 26;
pub const EFBIG: ::std::os::raw::c_uint = 27;
pub const ENOSPC: ::std::os::raw::c_uint = 28;
pub const ESPIPE: ::std::os::raw::c_uint = 29;
pub const EROFS: ::std::os::raw::c_uint = 30;
pub const EMLINK: ::std::os::raw::c_uint = 31;
pub const EPIPE: ::std::os::raw::c_uint = 32;
pub const EDOM: ::std::os::raw::c_uint = 33;
pub const ERANGE: ::std::os::raw::c_uint = 34;
pub const EDEADLK: ::std::os::raw::c_uint = 35;
pub const ENAMETOOLONG: ::std::os::raw::c_uint = 36;
pub const ENOLCK: ::std::os::raw::c_uint = 37;
pub const ENOSYS: ::std::os::raw::c_uint = 38;
pub const ENOTEMPTY: ::std::os::raw::c_uint = 39;
pub const ELOOP: ::std::os::raw::c_uint = 40;
pub const EWOULDBLOCK: ::std::os::raw::c_uint = 11;
pub const ENOMSG: ::std::os::raw::c_uint = 42;
pub const EIDRM: ::std::os::raw::c_uint = 43;
pub const ECHRNG: ::std::os::raw::c_uint = 44;
pub const EL2NSYNC: ::std::os::raw::c_uint = 45;
pub const EL3HLT: ::std::os::raw::c_uint = 46;
pub const EL3RST: ::std::os::raw::c_uint = 47;
pub const ELNRNG: ::std::os::raw::c_uint = 48;
pub const EUNATCH: ::std::os::raw::c_uint = 49;
pub const ENOCSI: ::std::os::raw::c_uint = 50;
pub const EL2HLT: ::std::os::raw::c_uint = 51;
pub const EBADE: ::std::os::raw::c_uint = 52;
pub const EBADR: ::std::os::raw::c_uint = 53;
pub const EXFULL: ::std::os::raw::c_uint = 54;
pub const ENOANO: ::std::os::raw::c_uint = 55;
pub const EBADRQC: ::std::os::raw::c_uint = 56;
pub const EBADSLT: ::std::os::raw::c_uint = 57;
pub const EDEADLOCK: ::std::os::raw::c_uint = 35;
pub const EBFONT: ::std::os::raw::c_uint = 59;
pub const ENOSTR: ::std::os::raw::c_uint = 60;
pub const ENODATA: ::std::os::raw::c_uint = 61;
pub const ETIME: ::std::os::raw::c_uint = 62;
pub const ENOSR: ::std::os::raw::c_uint = 63;
pub const ENONET: ::std::os::raw::c_uint = 64;
pub const ENOPKG: ::std::os::raw::c_uint = 65;
pub const EREMOTE: ::std::os::raw::c_uint = 66;
pub const ENOLINK: ::std::os::raw::c_uint = 67;
pub const EADV: ::std::os::raw::c_uint = 68;
pub const ESRMNT: ::std::os::raw::c_uint = 69;
pub const ECOMM: ::std::os::raw::c_uint = 70;
pub const EPROTO: ::std::os::raw::c_uint = 71;
pub const EMULTIHOP: ::std::os::raw::c_uint = 72;
pub const EDOTDOT: ::std::os::raw::c_uint = 73;
pub const EBADMSG: ::std::os::raw::c_uint = 74;
pub const EOVERFLOW: ::std::os::raw::c_uint = 75;
pub const ENOTUNIQ: ::std::os::raw::c_uint = 76;
pub const EBADFD: ::std::os::raw::c_uint = 77;
pub const EREMCHG: ::std::os::raw::c_uint = 78;
pub const ELIBACC: ::std::os::raw::c_uint = 79;
pub const ELIBBAD: ::std::os::raw::c_uint = 80;
pub const ELIBSCN: ::std::os::raw::c_uint = 81;
pub const ELIBMAX: ::std::os::raw::c_uint = 82;
pub const ELIBEXEC: ::std::os::raw::c_uint = 83;
pub const EILSEQ: ::std::os::raw::c_uint = 84;
pub const ERESTART: ::std::os::raw::c_uint = 85;
pub const ESTRPIPE: ::std::os::raw::c_uint = 86;
pub const EUSERS: ::std::os::raw::c_uint = 87;
pub const ENOTSOCK: ::std::os::raw::c_uint = 88;
pub const EDESTADDRREQ: ::std::os::raw::c_uint = 89;
pub const EMSGSIZE: ::std::os::raw::c_uint = 90;
pub const EPROTOTYPE: ::std::os::raw::c_uint = 91;
pub const ENOPROTOOPT: ::std::os::raw::c_uint = 92;
pub const EPROTONOSUPPORT: ::std::os::raw::c_uint = 93;
pub const ESOCKTNOSUPPORT: ::std::os::raw::c_uint = 94;
pub const EOPNOTSUPP: ::std::os::raw::c_uint = 95;
pub const EPFNOSUPPORT: ::std::os::raw::c_uint = 96;
pub const EAFNOSUPPORT: ::std::os::raw::c_uint = 97;
pub const EADDRINUSE: ::std::os::raw::c_uint = 98;
pub const EADDRNOTAVAIL: ::std::os::raw::c_uint = 99;
pub const ENETDOWN: ::std::os::raw::c_uint = 100;
pub const ENETUNREACH: ::std::os::raw::c_uint = 101;
pub const ENETRESET: ::std::os::raw::c_uint = 102;
pub const ECONNABORTED: ::std::os::raw::c_uint = 103;
pub const ECONNRESET: ::std::os::raw::c_uint = 104;
pub const ENOBUFS: ::std::os::raw::c_uint = 105;
pub const EISCONN: ::std::os::raw::c_uint = 106;
pub const ENOTCONN: ::std::os::raw::c_uint = 107;
pub const ESHUTDOWN: ::std::os::raw::c_uint = 108;
pub const ETOOMANYREFS: ::std::os::raw::c_uint = 109;
pub const ETIMEDOUT: ::std::os::raw::c_uint = 110;
pub const ECONNREFUSED: ::std::os::raw::c_uint = 111;
pub const EHOSTDOWN: ::std::os::raw::c_uint = 112;
pub const EHOSTUNREACH: ::std::os::raw::c_uint = 113;
pub const EALREADY: ::std::os::raw::c_uint = 114;
pub const EINPROGRESS: ::std::os::raw::c_uint = 115;
pub const ESTALE: ::std::os::raw::c_uint = 116;
pub const EUCLEAN: ::std::os::raw::c_uint = 117;
pub const ENOTNAM: ::std::os::raw::c_uint = 118;
pub const ENAVAIL: ::std::os::raw::c_uint = 119;
pub const EISNAM: ::std::os::raw::c_uint = 120;
pub const EREMOTEIO: ::std::os::raw::c_uint = 121;
pub const EDQUOT: ::std::os::raw::c_uint = 122;
pub const ENOMEDIUM: ::std::os::raw::c_uint = 123;
pub const EMEDIUMTYPE: ::std::os::raw::c_uint = 124;
pub const ECANCELED: ::std::os::raw::c_uint = 125;
pub const ENOKEY: ::std::os::raw::c_uint = 126;
pub const EKEYEXPIRED: ::std::os::raw::c_uint = 127;
pub const EKEYREVOKED: ::std::os::raw::c_uint = 128;
pub const EKEYREJECTED: ::std::os::raw::c_uint = 129;
pub const EOWNERDEAD: ::std::os::raw::c_uint = 130;
pub const ENOTRECOVERABLE: ::std::os::raw::c_uint = 131;
pub const ERFKILL: ::std::os::raw::c_uint = 132;
pub const EHWPOISON: ::std::os::raw::c_uint = 133;
pub const ENOTSUP: ::std::os::raw::c_uint = 95;
pub const UV__EOF: ::std::os::raw::c_int = -4095;
pub const UV__UNKNOWN: ::std::os::raw::c_int = -4094;
pub const UV__EAI_ADDRFAMILY: ::std::os::raw::c_int = -3000;
pub const UV__EAI_AGAIN: ::std::os::raw::c_int = -3001;
pub const UV__EAI_BADFLAGS: ::std::os::raw::c_int = -3002;
pub const UV__EAI_CANCELED: ::std::os::raw::c_int = -3003;
pub const UV__EAI_FAIL: ::std::os::raw::c_int = -3004;
pub const UV__EAI_FAMILY: ::std::os::raw::c_int = -3005;
pub const UV__EAI_MEMORY: ::std::os::raw::c_int = -3006;
pub const UV__EAI_NODATA: ::std::os::raw::c_int = -3007;
pub const UV__EAI_NONAME: ::std::os::raw::c_int = -3008;
pub const UV__EAI_OVERFLOW: ::std::os::raw::c_int = -3009;
pub const UV__EAI_SERVICE: ::std::os::raw::c_int = -3010;
pub const UV__EAI_SOCKTYPE: ::std::os::raw::c_int = -3011;
pub const UV__EAI_BADHINTS: ::std::os::raw::c_int = -3013;
pub const UV__EAI_PROTOCOL: ::std::os::raw::c_int = -3014;
pub const UV__E2BIG: ::std::os::raw::c_int = -7;
pub const UV__EACCES: ::std::os::raw::c_int = -13;
pub const UV__EADDRINUSE: ::std::os::raw::c_int = -98;
pub const UV__EADDRNOTAVAIL: ::std::os::raw::c_int = -99;
pub const UV__EAFNOSUPPORT: ::std::os::raw::c_int = -97;
pub const UV__EAGAIN: ::std::os::raw::c_int = -11;
pub const UV__EALREADY: ::std::os::raw::c_int = -114;
pub const UV__EBADF: ::std::os::raw::c_int = -9;
pub const UV__EBUSY: ::std::os::raw::c_int = -16;
pub const UV__ECANCELED: ::std::os::raw::c_int = -125;
pub const UV__ECHARSET: ::std::os::raw::c_int = -4080;
pub const UV__ECONNABORTED: ::std::os::raw::c_int = -103;
pub const UV__ECONNREFUSED: ::std::os::raw::c_int = -111;
pub const UV__ECONNRESET: ::std::os::raw::c_int = -104;
pub const UV__EDESTADDRREQ: ::std::os::raw::c_int = -89;
pub const UV__EEXIST: ::std::os::raw::c_int = -17;
pub const UV__EFAULT: ::std::os::raw::c_int = -14;
pub const UV__EHOSTUNREACH: ::std::os::raw::c_int = -113;
pub const UV__EINTR: ::std::os::raw::c_int = -4;
pub const UV__EINVAL: ::std::os::raw::c_int = -22;
pub const UV__EIO: ::std::os::raw::c_int = -5;
pub const UV__EISCONN: ::std::os::raw::c_int = -106;
pub const UV__EISDIR: ::std::os::raw::c_int = -21;
pub const UV__ELOOP: ::std::os::raw::c_int = -40;
pub const UV__EMFILE: ::std::os::raw::c_int = -24;
pub const UV__EMSGSIZE: ::std::os::raw::c_int = -90;
pub const UV__ENAMETOOLONG: ::std::os::raw::c_int = -36;
pub const UV__ENETDOWN: ::std::os::raw::c_int = -100;
pub const UV__ENETUNREACH: ::std::os::raw::c_int = -101;
pub const UV__ENFILE: ::std::os::raw::c_int = -23;
pub const UV__ENOBUFS: ::std::os::raw::c_int = -105;
pub const UV__ENODEV: ::std::os::raw::c_int = -19;
pub const UV__ENOENT: ::std::os::raw::c_int = -2;
pub const UV__ENOMEM: ::std::os::raw::c_int = -12;
pub const UV__ENONET: ::std::os::raw::c_int = -64;
pub const UV__ENOSPC: ::std::os::raw::c_int = -28;
pub const UV__ENOSYS: ::std::os::raw::c_int = -38;
pub const UV__ENOTCONN: ::std::os::raw::c_int = -107;
pub const UV__ENOTDIR: ::std::os::raw::c_int = -20;
pub const UV__ENOTEMPTY: ::std::os::raw::c_int = -39;
pub const UV__ENOTSOCK: ::std::os::raw::c_int = -88;
pub const UV__ENOTSUP: ::std::os::raw::c_int = -95;
pub const UV__EPERM: ::std::os::raw::c_int = -1;
pub const UV__EPIPE: ::std::os::raw::c_int = -32;
pub const UV__EPROTO: ::std::os::raw::c_int = -71;
pub const UV__EPROTONOSUPPORT: ::std::os::raw::c_int = -93;
pub const UV__EPROTOTYPE: ::std::os::raw::c_int = -91;
pub const UV__EROFS: ::std::os::raw::c_int = -30;
pub const UV__ESHUTDOWN: ::std::os::raw::c_int = -108;
pub const UV__ESPIPE: ::std::os::raw::c_int = -29;
pub const UV__ESRCH: ::std::os::raw::c_int = -3;
pub const UV__ETIMEDOUT: ::std::os::raw::c_int = -110;
pub const UV__ETXTBSY: ::std::os::raw::c_int = -26;
pub const UV__EXDEV: ::std::os::raw::c_int = -18;
pub const UV__EFBIG: ::std::os::raw::c_int = -27;
pub const UV__ENOPROTOOPT: ::std::os::raw::c_int = -92;
pub const UV__ERANGE: ::std::os::raw::c_int = -34;
pub const UV__ENXIO: ::std::os::raw::c_int = -6;
pub const UV__EMLINK: ::std::os::raw::c_int = -31;
pub const UV__EHOSTDOWN: ::std::os::raw::c_int = -112;
pub const UV_VERSION_MAJOR: ::std::os::raw::c_uint = 1;
pub const UV_VERSION_MINOR: ::std::os::raw::c_uint = 9;
pub const UV_VERSION_PATCH: ::std::os::raw::c_uint = 0;
pub const UV_VERSION_IS_RELEASE: ::std::os::raw::c_uint = 1;
pub const UV_VERSION_SUFFIX: &'static [u8; 1usize] = b"\x00";
pub const UV_VERSION_HEX: ::std::os::raw::c_uint = 67840;
pub const _STDIO_H: ::std::os::raw::c_uint = 1;
pub const __FILE_defined: ::std::os::raw::c_uint = 1;
pub const ____FILE_defined: ::std::os::raw::c_uint = 1;
pub const _G_config_h: ::std::os::raw::c_uint = 1;
pub const ____mbstate_t_defined: ::std::os::raw::c_uint = 1;
pub const _G_HAVE_MMAP: ::std::os::raw::c_uint = 1;
pub const _G_HAVE_MREMAP: ::std::os::raw::c_uint = 1;
pub const _G_IO_IO_FILE_VERSION: ::std::os::raw::c_uint = 131073;
pub const _G_BUFSIZ: ::std::os::raw::c_uint = 8192;
pub const _IO_BUFSIZ: ::std::os::raw::c_uint = 8192;
pub const _IO_UNIFIED_JUMPTABLES: ::std::os::raw::c_uint = 1;
pub const EOF: ::std::os::raw::c_int = -1;
pub const _IOS_INPUT: ::std::os::raw::c_uint = 1;
pub const _IOS_OUTPUT: ::std::os::raw::c_uint = 2;
pub const _IOS_ATEND: ::std::os::raw::c_uint = 4;
pub const _IOS_APPEND: ::std::os::raw::c_uint = 8;
pub const _IOS_TRUNC: ::std::os::raw::c_uint = 16;
pub const _IOS_NOCREATE: ::std::os::raw::c_uint = 32;
pub const _IOS_NOREPLACE: ::std::os::raw::c_uint = 64;
pub const _IOS_BIN: ::std::os::raw::c_uint = 128;
pub const _IO_MAGIC: ::std::os::raw::c_uint = 4222418944;
pub const _OLD_STDIO_MAGIC: ::std::os::raw::c_uint = 4206624768;
pub const _IO_MAGIC_MASK: ::std::os::raw::c_uint = 4294901760;
pub const _IO_USER_BUF: ::std::os::raw::c_uint = 1;
pub const _IO_UNBUFFERED: ::std::os::raw::c_uint = 2;
pub const _IO_NO_READS: ::std::os::raw::c_uint = 4;
pub const _IO_NO_WRITES: ::std::os::raw::c_uint = 8;
pub const _IO_EOF_SEEN: ::std::os::raw::c_uint = 16;
pub const _IO_ERR_SEEN: ::std::os::raw::c_uint = 32;
pub const _IO_DELETE_DONT_CLOSE: ::std::os::raw::c_uint = 64;
pub const _IO_LINKED: ::std::os::raw::c_uint = 128;
pub const _IO_IN_BACKUP: ::std::os::raw::c_uint = 256;
pub const _IO_LINE_BUF: ::std::os::raw::c_uint = 512;
pub const _IO_TIED_PUT_GET: ::std::os::raw::c_uint = 1024;
pub const _IO_CURRENTLY_PUTTING: ::std::os::raw::c_uint = 2048;
pub const _IO_IS_APPENDING: ::std::os::raw::c_uint = 4096;
pub const _IO_IS_FILEBUF: ::std::os::raw::c_uint = 8192;
pub const _IO_BAD_SEEN: ::std::os::raw::c_uint = 16384;
pub const _IO_USER_LOCK: ::std::os::raw::c_uint = 32768;
pub const _IO_FLAGS2_MMAP: ::std::os::raw::c_uint = 1;
pub const _IO_FLAGS2_NOTCANCEL: ::std::os::raw::c_uint = 2;
pub const _IO_FLAGS2_USER_WBUF: ::std::os::raw::c_uint = 8;
pub const _IO_SKIPWS: ::std::os::raw::c_uint = 1;
pub const _IO_LEFT: ::std::os::raw::c_uint = 2;
pub const _IO_RIGHT: ::std::os::raw::c_uint = 4;
pub const _IO_INTERNAL: ::std::os::raw::c_uint = 8;
pub const _IO_DEC: ::std::os::raw::c_uint = 16;
pub const _IO_OCT: ::std::os::raw::c_uint = 32;
pub const _IO_HEX: ::std::os::raw::c_uint = 64;
pub const _IO_SHOWBASE: ::std::os::raw::c_uint = 128;
pub const _IO_SHOWPOINT: ::std::os::raw::c_uint = 256;
pub const _IO_UPPERCASE: ::std::os::raw::c_uint = 512;
pub const _IO_SHOWPOS: ::std::os::raw::c_uint = 1024;
pub const _IO_SCIENTIFIC: ::std::os::raw::c_uint = 2048;
pub const _IO_FIXED: ::std::os::raw::c_uint = 4096;
pub const _IO_UNITBUF: ::std::os::raw::c_uint = 8192;
pub const _IO_STDIO: ::std::os::raw::c_uint = 16384;
pub const _IO_DONT_CLOSE: ::std::os::raw::c_uint = 32768;
pub const _IO_BOOLALPHA: ::std::os::raw::c_uint = 65536;
pub const _IOFBF: ::std::os::raw::c_uint = 0;
pub const _IOLBF: ::std::os::raw::c_uint = 1;
pub const _IONBF: ::std::os::raw::c_uint = 2;
pub const BUFSIZ: ::std::os::raw::c_uint = 8192;
pub const SEEK_SET: ::std::os::raw::c_uint = 0;
pub const SEEK_CUR: ::std::os::raw::c_uint = 1;
pub const SEEK_END: ::std::os::raw::c_uint = 2;
pub const P_tmpdir: &'static [u8; 5usize] = b"/tmp\x00";
pub const L_tmpnam: ::std::os::raw::c_uint = 20;
pub const TMP_MAX: ::std::os::raw::c_uint = 238328;
pub const FILENAME_MAX: ::std::os::raw::c_uint = 4096;
pub const L_ctermid: ::std::os::raw::c_uint = 9;
pub const FOPEN_MAX: ::std::os::raw::c_uint = 16;
pub const _SYS_STAT_H: ::std::os::raw::c_uint = 1;
pub const _BITS_STAT_H: ::std::os::raw::c_uint = 1;
pub const _STAT_VER_KERNEL: ::std::os::raw::c_uint = 0;
pub const _STAT_VER_LINUX: ::std::os::raw::c_uint = 1;
pub const _MKNOD_VER_LINUX: ::std::os::raw::c_uint = 0;
pub const _STAT_VER: ::std::os::raw::c_uint = 1;
pub const __S_IFMT: ::std::os::raw::c_uint = 61440;
pub const __S_IFDIR: ::std::os::raw::c_uint = 16384;
pub const __S_IFCHR: ::std::os::raw::c_uint = 8192;
pub const __S_IFBLK: ::std::os::raw::c_uint = 24576;
pub const __S_IFREG: ::std::os::raw::c_uint = 32768;
pub const __S_IFIFO: ::std::os::raw::c_uint = 4096;
pub const __S_IFLNK: ::std::os::raw::c_uint = 40960;
pub const __S_IFSOCK: ::std::os::raw::c_uint = 49152;
pub const __S_ISUID: ::std::os::raw::c_uint = 2048;
pub const __S_ISGID: ::std::os::raw::c_uint = 1024;
pub const __S_ISVTX: ::std::os::raw::c_uint = 512;
pub const __S_IREAD: ::std::os::raw::c_uint = 256;
pub const __S_IWRITE: ::std::os::raw::c_uint = 128;
pub const __S_IEXEC: ::std::os::raw::c_uint = 64;
pub const UTIME_NOW: ::std::os::raw::c_uint = 1073741823;
pub const UTIME_OMIT: ::std::os::raw::c_uint = 1073741822;
pub const S_IFMT: ::std::os::raw::c_uint = 61440;
pub const S_IFDIR: ::std::os::raw::c_uint = 16384;
pub const S_IFCHR: ::std::os::raw::c_uint = 8192;
pub const S_IFBLK: ::std::os::raw::c_uint = 24576;
pub const S_IFREG: ::std::os::raw::c_uint = 32768;
pub const S_IFIFO: ::std::os::raw::c_uint = 4096;
pub const S_IFLNK: ::std::os::raw::c_uint = 40960;
pub const S_IFSOCK: ::std::os::raw::c_uint = 49152;
pub const S_ISUID: ::std::os::raw::c_uint = 2048;
pub const S_ISGID: ::std::os::raw::c_uint = 1024;
pub const S_ISVTX: ::std::os::raw::c_uint = 512;
pub const S_IRUSR: ::std::os::raw::c_uint = 256;
pub const S_IWUSR: ::std::os::raw::c_uint = 128;
pub const S_IXUSR: ::std::os::raw::c_uint = 64;
pub const S_IRWXU: ::std::os::raw::c_uint = 448;
pub const S_IREAD: ::std::os::raw::c_uint = 256;
pub const S_IWRITE: ::std::os::raw::c_uint = 128;
pub const S_IEXEC: ::std::os::raw::c_uint = 64;
pub const S_IRGRP: ::std::os::raw::c_uint = 32;
pub const S_IWGRP: ::std::os::raw::c_uint = 16;
pub const S_IXGRP: ::std::os::raw::c_uint = 8;
pub const S_IRWXG: ::std::os::raw::c_uint = 56;
pub const S_IROTH: ::std::os::raw::c_uint = 4;
pub const S_IWOTH: ::std::os::raw::c_uint = 2;
pub const S_IXOTH: ::std::os::raw::c_uint = 1;
pub const S_IRWXO: ::std::os::raw::c_uint = 7;
pub const ACCESSPERMS: ::std::os::raw::c_uint = 511;
pub const ALLPERMS: ::std::os::raw::c_uint = 4095;
pub const DEFFILEMODE: ::std::os::raw::c_uint = 438;
pub const S_BLKSIZE: ::std::os::raw::c_uint = 512;
pub const _MKNOD_VER: ::std::os::raw::c_uint = 0;
pub const _FCNTL_H: ::std::os::raw::c_uint = 1;
pub const __O_LARGEFILE: ::std::os::raw::c_uint = 0;
pub const F_GETLK64: ::std::os::raw::c_uint = 5;
pub const F_SETLK64: ::std::os::raw::c_uint = 6;
pub const F_SETLKW64: ::std::os::raw::c_uint = 7;
pub const O_ACCMODE: ::std::os::raw::c_uint = 3;
pub const O_RDONLY: ::std::os::raw::c_uint = 0;
pub const O_WRONLY: ::std::os::raw::c_uint = 1;
pub const O_RDWR: ::std::os::raw::c_uint = 2;
pub const O_CREAT: ::std::os::raw::c_uint = 64;
pub const O_EXCL: ::std::os::raw::c_uint = 128;
pub const O_NOCTTY: ::std::os::raw::c_uint = 256;
pub const O_TRUNC: ::std::os::raw::c_uint = 512;
pub const O_APPEND: ::std::os::raw::c_uint = 1024;
pub const O_NONBLOCK: ::std::os::raw::c_uint = 2048;
pub const O_NDELAY: ::std::os::raw::c_uint = 2048;
pub const O_SYNC: ::std::os::raw::c_uint = 1052672;
pub const O_FSYNC: ::std::os::raw::c_uint = 1052672;
pub const O_ASYNC: ::std::os::raw::c_uint = 8192;
pub const __O_DIRECTORY: ::std::os::raw::c_uint = 65536;
pub const __O_NOFOLLOW: ::std::os::raw::c_uint = 131072;
pub const __O_CLOEXEC: ::std::os::raw::c_uint = 524288;
pub const __O_DIRECT: ::std::os::raw::c_uint = 16384;
pub const __O_NOATIME: ::std::os::raw::c_uint = 262144;
pub const __O_PATH: ::std::os::raw::c_uint = 2097152;
pub const __O_DSYNC: ::std::os::raw::c_uint = 4096;
pub const __O_TMPFILE: ::std::os::raw::c_uint = 4259840;
pub const F_GETLK: ::std::os::raw::c_uint = 5;
pub const F_SETLK: ::std::os::raw::c_uint = 6;
pub const F_SETLKW: ::std::os::raw::c_uint = 7;
pub const O_DIRECTORY: ::std::os::raw::c_uint = 65536;
pub const O_NOFOLLOW: ::std::os::raw::c_uint = 131072;
pub const O_CLOEXEC: ::std::os::raw::c_uint = 524288;
pub const O_DSYNC: ::std::os::raw::c_uint = 4096;
pub const O_RSYNC: ::std::os::raw::c_uint = 1052672;
pub const F_DUPFD: ::std::os::raw::c_uint = 0;
pub const F_GETFD: ::std::os::raw::c_uint = 1;
pub const F_SETFD: ::std::os::raw::c_uint = 2;
pub const F_GETFL: ::std::os::raw::c_uint = 3;
pub const F_SETFL: ::std::os::raw::c_uint = 4;
pub const __F_SETOWN: ::std::os::raw::c_uint = 8;
pub const __F_GETOWN: ::std::os::raw::c_uint = 9;
pub const F_SETOWN: ::std::os::raw::c_uint = 8;
pub const F_GETOWN: ::std::os::raw::c_uint = 9;
pub const __F_SETSIG: ::std::os::raw::c_uint = 10;
pub const __F_GETSIG: ::std::os::raw::c_uint = 11;
pub const __F_SETOWN_EX: ::std::os::raw::c_uint = 15;
pub const __F_GETOWN_EX: ::std::os::raw::c_uint = 16;
pub const F_DUPFD_CLOEXEC: ::std::os::raw::c_uint = 1030;
pub const FD_CLOEXEC: ::std::os::raw::c_uint = 1;
pub const F_RDLCK: ::std::os::raw::c_uint = 0;
pub const F_WRLCK: ::std::os::raw::c_uint = 1;
pub const F_UNLCK: ::std::os::raw::c_uint = 2;
pub const F_EXLCK: ::std::os::raw::c_uint = 4;
pub const F_SHLCK: ::std::os::raw::c_uint = 8;
pub const LOCK_SH: ::std::os::raw::c_uint = 1;
pub const LOCK_EX: ::std::os::raw::c_uint = 2;
pub const LOCK_NB: ::std::os::raw::c_uint = 4;
pub const LOCK_UN: ::std::os::raw::c_uint = 8;
pub const FAPPEND: ::std::os::raw::c_uint = 1024;
pub const FFSYNC: ::std::os::raw::c_uint = 1052672;
pub const FASYNC: ::std::os::raw::c_uint = 8192;
pub const FNONBLOCK: ::std::os::raw::c_uint = 2048;
pub const FNDELAY: ::std::os::raw::c_uint = 2048;
pub const __POSIX_FADV_DONTNEED: ::std::os::raw::c_uint = 4;
pub const __POSIX_FADV_NOREUSE: ::std::os::raw::c_uint = 5;
pub const POSIX_FADV_NORMAL: ::std::os::raw::c_uint = 0;
pub const POSIX_FADV_RANDOM: ::std::os::raw::c_uint = 1;
pub const POSIX_FADV_SEQUENTIAL: ::std::os::raw::c_uint = 2;
pub const POSIX_FADV_WILLNEED: ::std::os::raw::c_uint = 3;
pub const POSIX_FADV_DONTNEED: ::std::os::raw::c_uint = 4;
pub const POSIX_FADV_NOREUSE: ::std::os::raw::c_uint = 5;
pub const AT_FDCWD: ::std::os::raw::c_int = -100;
pub const AT_SYMLINK_NOFOLLOW: ::std::os::raw::c_uint = 256;
pub const AT_REMOVEDIR: ::std::os::raw::c_uint = 512;
pub const AT_SYMLINK_FOLLOW: ::std::os::raw::c_uint = 1024;
pub const AT_EACCESS: ::std::os::raw::c_uint = 512;
pub const R_OK: ::std::os::raw::c_uint = 4;
pub const W_OK: ::std::os::raw::c_uint = 2;
pub const X_OK: ::std::os::raw::c_uint = 1;
pub const F_OK: ::std::os::raw::c_uint = 0;
pub const F_ULOCK: ::std::os::raw::c_uint = 0;
pub const F_LOCK: ::std::os::raw::c_uint = 1;
pub const F_TLOCK: ::std::os::raw::c_uint = 2;
pub const F_TEST: ::std::os::raw::c_uint = 3;
pub const _DIRENT_H: ::std::os::raw::c_uint = 1;
pub const _DIRENT_MATCHES_DIRENT64: ::std::os::raw::c_uint = 1;
pub const _BITS_POSIX1_LIM_H: ::std::os::raw::c_uint = 1;
pub const _POSIX_AIO_LISTIO_MAX: ::std::os::raw::c_uint = 2;
pub const _POSIX_AIO_MAX: ::std::os::raw::c_uint = 1;
pub const _POSIX_ARG_MAX: ::std::os::raw::c_uint = 4096;
pub const _POSIX_CHILD_MAX: ::std::os::raw::c_uint = 25;
pub const _POSIX_DELAYTIMER_MAX: ::std::os::raw::c_uint = 32;
pub const _POSIX_HOST_NAME_MAX: ::std::os::raw::c_uint = 255;
pub const _POSIX_LINK_MAX: ::std::os::raw::c_uint = 8;
pub const _POSIX_LOGIN_NAME_MAX: ::std::os::raw::c_uint = 9;
pub const _POSIX_MAX_CANON: ::std::os::raw::c_uint = 255;
pub const _POSIX_MAX_INPUT: ::std::os::raw::c_uint = 255;
pub const _POSIX_MQ_OPEN_MAX: ::std::os::raw::c_uint = 8;
pub const _POSIX_MQ_PRIO_MAX: ::std::os::raw::c_uint = 32;
pub const _POSIX_NAME_MAX: ::std::os::raw::c_uint = 14;
pub const _POSIX_NGROUPS_MAX: ::std::os::raw::c_uint = 8;
pub const _POSIX_OPEN_MAX: ::std::os::raw::c_uint = 20;
pub const _POSIX_PATH_MAX: ::std::os::raw::c_uint = 256;
pub const _POSIX_PIPE_BUF: ::std::os::raw::c_uint = 512;
pub const _POSIX_RE_DUP_MAX: ::std::os::raw::c_uint = 255;
pub const _POSIX_RTSIG_MAX: ::std::os::raw::c_uint = 8;
pub const _POSIX_SEM_NSEMS_MAX: ::std::os::raw::c_uint = 256;
pub const _POSIX_SEM_VALUE_MAX: ::std::os::raw::c_uint = 32767;
pub const _POSIX_SIGQUEUE_MAX: ::std::os::raw::c_uint = 32;
pub const _POSIX_SSIZE_MAX: ::std::os::raw::c_uint = 32767;
pub const _POSIX_STREAM_MAX: ::std::os::raw::c_uint = 8;
pub const _POSIX_SYMLINK_MAX: ::std::os::raw::c_uint = 255;
pub const _POSIX_SYMLOOP_MAX: ::std::os::raw::c_uint = 8;
pub const _POSIX_TIMER_MAX: ::std::os::raw::c_uint = 32;
pub const _POSIX_TTY_NAME_MAX: ::std::os::raw::c_uint = 9;
pub const _POSIX_TZNAME_MAX: ::std::os::raw::c_uint = 6;
pub const _POSIX_CLOCKRES_MIN: ::std::os::raw::c_uint = 20000000;
pub const NR_OPEN: ::std::os::raw::c_uint = 1024;
pub const NGROUPS_MAX: ::std::os::raw::c_uint = 65536;
pub const ARG_MAX: ::std::os::raw::c_uint = 131072;
pub const LINK_MAX: ::std::os::raw::c_uint = 127;
pub const MAX_CANON: ::std::os::raw::c_uint = 255;
pub const MAX_INPUT: ::std::os::raw::c_uint = 255;
pub const NAME_MAX: ::std::os::raw::c_uint = 255;
pub const PATH_MAX: ::std::os::raw::c_uint = 4096;
pub const PIPE_BUF: ::std::os::raw::c_uint = 4096;
pub const XATTR_NAME_MAX: ::std::os::raw::c_uint = 255;
pub const XATTR_SIZE_MAX: ::std::os::raw::c_uint = 65536;
pub const XATTR_LIST_MAX: ::std::os::raw::c_uint = 65536;
pub const RTSIG_MAX: ::std::os::raw::c_uint = 32;
pub const _POSIX_THREAD_KEYS_MAX: ::std::os::raw::c_uint = 128;
pub const PTHREAD_KEYS_MAX: ::std::os::raw::c_uint = 1024;
pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: ::std::os::raw::c_uint = 4;
pub const PTHREAD_DESTRUCTOR_ITERATIONS: ::std::os::raw::c_uint = 4;
pub const _POSIX_THREAD_THREADS_MAX: ::std::os::raw::c_uint = 64;
pub const AIO_PRIO_DELTA_MAX: ::std::os::raw::c_uint = 20;
pub const PTHREAD_STACK_MIN: ::std::os::raw::c_uint = 16384;
pub const DELAYTIMER_MAX: ::std::os::raw::c_uint = 2147483647;
pub const TTY_NAME_MAX: ::std::os::raw::c_uint = 32;
pub const LOGIN_NAME_MAX: ::std::os::raw::c_uint = 256;
pub const HOST_NAME_MAX: ::std::os::raw::c_uint = 64;
pub const MQ_PRIO_MAX: ::std::os::raw::c_uint = 32768;
pub const SEM_VALUE_MAX: ::std::os::raw::c_uint = 2147483647;
pub const MAXNAMLEN: ::std::os::raw::c_uint = 255;
pub const _SYS_SOCKET_H: ::std::os::raw::c_uint = 1;
pub const _SYS_UIO_H: ::std::os::raw::c_uint = 1;
pub const _BITS_UIO_H: ::std::os::raw::c_uint = 1;
pub const UIO_MAXIOV: ::std::os::raw::c_uint = 1024;
pub const PF_UNSPEC: ::std::os::raw::c_uint = 0;
pub const PF_LOCAL: ::std::os::raw::c_uint = 1;
pub const PF_UNIX: ::std::os::raw::c_uint = 1;
pub const PF_FILE: ::std::os::raw::c_uint = 1;
pub const PF_INET: ::std::os::raw::c_uint = 2;
pub const PF_AX25: ::std::os::raw::c_uint = 3;
pub const PF_IPX: ::std::os::raw::c_uint = 4;
pub const PF_APPLETALK: ::std::os::raw::c_uint = 5;
pub const PF_NETROM: ::std::os::raw::c_uint = 6;
pub const PF_BRIDGE: ::std::os::raw::c_uint = 7;
pub const PF_ATMPVC: ::std::os::raw::c_uint = 8;
pub const PF_X25: ::std::os::raw::c_uint = 9;
pub const PF_INET6: ::std::os::raw::c_uint = 10;
pub const PF_ROSE: ::std::os::raw::c_uint = 11;
pub const PF_DECnet: ::std::os::raw::c_uint = 12;
pub const PF_NETBEUI: ::std::os::raw::c_uint = 13;
pub const PF_SECURITY: ::std::os::raw::c_uint = 14;
pub const PF_KEY: ::std::os::raw::c_uint = 15;
pub const PF_NETLINK: ::std::os::raw::c_uint = 16;
pub const PF_ROUTE: ::std::os::raw::c_uint = 16;
pub const PF_PACKET: ::std::os::raw::c_uint = 17;
pub const PF_ASH: ::std::os::raw::c_uint = 18;
pub const PF_ECONET: ::std::os::raw::c_uint = 19;
pub const PF_ATMSVC: ::std::os::raw::c_uint = 20;
pub const PF_RDS: ::std::os::raw::c_uint = 21;
pub const PF_SNA: ::std::os::raw::c_uint = 22;
pub const PF_IRDA: ::std::os::raw::c_uint = 23;
pub const PF_PPPOX: ::std::os::raw::c_uint = 24;
pub const PF_WANPIPE: ::std::os::raw::c_uint = 25;
pub const PF_LLC: ::std::os::raw::c_uint = 26;
pub const PF_IB: ::std::os::raw::c_uint = 27;
pub const PF_MPLS: ::std::os::raw::c_uint = 28;
pub const PF_CAN: ::std::os::raw::c_uint = 29;
pub const PF_TIPC: ::std::os::raw::c_uint = 30;
pub const PF_BLUETOOTH: ::std::os::raw::c_uint = 31;
pub const PF_IUCV: ::std::os::raw::c_uint = 32;
pub const PF_RXRPC: ::std::os::raw::c_uint = 33;
pub const PF_ISDN: ::std::os::raw::c_uint = 34;
pub const PF_PHONET: ::std::os::raw::c_uint = 35;
pub const PF_IEEE802154: ::std::os::raw::c_uint = 36;
pub const PF_CAIF: ::std::os::raw::c_uint = 37;
pub const PF_ALG: ::std::os::raw::c_uint = 38;
pub const PF_NFC: ::std::os::raw::c_uint = 39;
pub const PF_VSOCK: ::std::os::raw::c_uint = 40;
pub const PF_KCM: ::std::os::raw::c_uint = 41;
pub const PF_MAX: ::std::os::raw::c_uint = 42;
pub const AF_UNSPEC: ::std::os::raw::c_uint = 0;
pub const AF_LOCAL: ::std::os::raw::c_uint = 1;
pub const AF_UNIX: ::std::os::raw::c_uint = 1;
pub const AF_FILE: ::std::os::raw::c_uint = 1;
pub const AF_INET: ::std::os::raw::c_uint = 2;
pub const AF_AX25: ::std::os::raw::c_uint = 3;
pub const AF_IPX: ::std::os::raw::c_uint = 4;
pub const AF_APPLETALK: ::std::os::raw::c_uint = 5;
pub const AF_NETROM: ::std::os::raw::c_uint = 6;
pub const AF_BRIDGE: ::std::os::raw::c_uint = 7;
pub const AF_ATMPVC: ::std::os::raw::c_uint = 8;
pub const AF_X25: ::std::os::raw::c_uint = 9;
pub const AF_INET6: ::std::os::raw::c_uint = 10;
pub const AF_ROSE: ::std::os::raw::c_uint = 11;
pub const AF_DECnet: ::std::os::raw::c_uint = 12;
pub const AF_NETBEUI: ::std::os::raw::c_uint = 13;
pub const AF_SECURITY: ::std::os::raw::c_uint = 14;
pub const AF_KEY: ::std::os::raw::c_uint = 15;
pub const AF_NETLINK: ::std::os::raw::c_uint = 16;
pub const AF_ROUTE: ::std::os::raw::c_uint = 16;
pub const AF_PACKET: ::std::os::raw::c_uint = 17;
pub const AF_ASH: ::std::os::raw::c_uint = 18;
pub const AF_ECONET: ::std::os::raw::c_uint = 19;
pub const AF_ATMSVC: ::std::os::raw::c_uint = 20;
pub const AF_RDS: ::std::os::raw::c_uint = 21;
pub const AF_SNA: ::std::os::raw::c_uint = 22;
pub const AF_IRDA: ::std::os::raw::c_uint = 23;
pub const AF_PPPOX: ::std::os::raw::c_uint = 24;
pub const AF_WANPIPE: ::std::os::raw::c_uint = 25;
pub const AF_LLC: ::std::os::raw::c_uint = 26;
pub const AF_IB: ::std::os::raw::c_uint = 27;
pub const AF_MPLS: ::std::os::raw::c_uint = 28;
pub const AF_CAN: ::std::os::raw::c_uint = 29;
pub const AF_TIPC: ::std::os::raw::c_uint = 30;
pub const AF_BLUETOOTH: ::std::os::raw::c_uint = 31;
pub const AF_IUCV: ::std::os::raw::c_uint = 32;
pub const AF_RXRPC: ::std::os::raw::c_uint = 33;
pub const AF_ISDN: ::std::os::raw::c_uint = 34;
pub const AF_PHONET: ::std::os::raw::c_uint = 35;
pub const AF_IEEE802154: ::std::os::raw::c_uint = 36;
pub const AF_CAIF: ::std::os::raw::c_uint = 37;
pub const AF_ALG: ::std::os::raw::c_uint = 38;
pub const AF_NFC: ::std::os::raw::c_uint = 39;
pub const AF_VSOCK: ::std::os::raw::c_uint = 40;
pub const AF_KCM: ::std::os::raw::c_uint = 41;
pub const AF_MAX: ::std::os::raw::c_uint = 42;
pub const SOL_RAW: ::std::os::raw::c_uint = 255;
pub const SOL_DECNET: ::std::os::raw::c_uint = 261;
pub const SOL_X25: ::std::os::raw::c_uint = 262;
pub const SOL_PACKET: ::std::os::raw::c_uint = 263;
pub const SOL_ATM: ::std::os::raw::c_uint = 264;
pub const SOL_AAL: ::std::os::raw::c_uint = 265;
pub const SOL_IRDA: ::std::os::raw::c_uint = 266;
pub const SOL_NETBEUI: ::std::os::raw::c_uint = 267;
pub const SOL_LLC: ::std::os::raw::c_uint = 268;
pub const SOL_DCCP: ::std::os::raw::c_uint = 269;
pub const SOL_NETLINK: ::std::os::raw::c_uint = 270;
pub const SOL_TIPC: ::std::os::raw::c_uint = 271;
pub const SOL_RXRPC: ::std::os::raw::c_uint = 272;
pub const SOL_PPPOL2TP: ::std::os::raw::c_uint = 273;
pub const SOL_BLUETOOTH: ::std::os::raw::c_uint = 274;
pub const SOL_PNPIPE: ::std::os::raw::c_uint = 275;
pub const SOL_RDS: ::std::os::raw::c_uint = 276;
pub const SOL_IUCV: ::std::os::raw::c_uint = 277;
pub const SOL_CAIF: ::std::os::raw::c_uint = 278;
pub const SOL_ALG: ::std::os::raw::c_uint = 279;
pub const SOL_NFC: ::std::os::raw::c_uint = 280;
pub const SOL_KCM: ::std::os::raw::c_uint = 281;
pub const SOMAXCONN: ::std::os::raw::c_uint = 128;
pub const _BITS_SOCKADDR_H: ::std::os::raw::c_uint = 1;
pub const _SS_SIZE: ::std::os::raw::c_uint = 128;
pub const FIOSETOWN: ::std::os::raw::c_uint = 35073;
pub const SIOCSPGRP: ::std::os::raw::c_uint = 35074;
pub const FIOGETOWN: ::std::os::raw::c_uint = 35075;
pub const SIOCGPGRP: ::std::os::raw::c_uint = 35076;
pub const SIOCATMARK: ::std::os::raw::c_uint = 35077;
pub const SIOCGSTAMP: ::std::os::raw::c_uint = 35078;
pub const SIOCGSTAMPNS: ::std::os::raw::c_uint = 35079;
pub const SOL_SOCKET: ::std::os::raw::c_uint = 1;
pub const SO_DEBUG: ::std::os::raw::c_uint = 1;
pub const SO_REUSEADDR: ::std::os::raw::c_uint = 2;
pub const SO_TYPE: ::std::os::raw::c_uint = 3;
pub const SO_ERROR: ::std::os::raw::c_uint = 4;
pub const SO_DONTROUTE: ::std::os::raw::c_uint = 5;
pub const SO_BROADCAST: ::std::os::raw::c_uint = 6;
pub const SO_SNDBUF: ::std::os::raw::c_uint = 7;
pub const SO_RCVBUF: ::std::os::raw::c_uint = 8;
pub const SO_SNDBUFFORCE: ::std::os::raw::c_uint = 32;
pub const SO_RCVBUFFORCE: ::std::os::raw::c_uint = 33;
pub const SO_KEEPALIVE: ::std::os::raw::c_uint = 9;
pub const SO_OOBINLINE: ::std::os::raw::c_uint = 10;
pub const SO_NO_CHECK: ::std::os::raw::c_uint = 11;
pub const SO_PRIORITY: ::std::os::raw::c_uint = 12;
pub const SO_LINGER: ::std::os::raw::c_uint = 13;
pub const SO_BSDCOMPAT: ::std::os::raw::c_uint = 14;
pub const SO_REUSEPORT: ::std::os::raw::c_uint = 15;
pub const SO_PASSCRED: ::std::os::raw::c_uint = 16;
pub const SO_PEERCRED: ::std::os::raw::c_uint = 17;
pub const SO_RCVLOWAT: ::std::os::raw::c_uint = 18;
pub const SO_SNDLOWAT: ::std::os::raw::c_uint = 19;
pub const SO_RCVTIMEO: ::std::os::raw::c_uint = 20;
pub const SO_SNDTIMEO: ::std::os::raw::c_uint = 21;
pub const SO_SECURITY_AUTHENTICATION: ::std::os::raw::c_uint = 22;
pub const SO_SECURITY_ENCRYPTION_TRANSPORT: ::std::os::raw::c_uint = 23;
pub const SO_SECURITY_ENCRYPTION_NETWORK: ::std::os::raw::c_uint = 24;
pub const SO_BINDTODEVICE: ::std::os::raw::c_uint = 25;
pub const SO_ATTACH_FILTER: ::std::os::raw::c_uint = 26;
pub const SO_DETACH_FILTER: ::std::os::raw::c_uint = 27;
pub const SO_GET_FILTER: ::std::os::raw::c_uint = 26;
pub const SO_PEERNAME: ::std::os::raw::c_uint = 28;
pub const SO_TIMESTAMP: ::std::os::raw::c_uint = 29;
pub const SCM_TIMESTAMP: ::std::os::raw::c_uint = 29;
pub const SO_ACCEPTCONN: ::std::os::raw::c_uint = 30;
pub const SO_PEERSEC: ::std::os::raw::c_uint = 31;
pub const SO_PASSSEC: ::std::os::raw::c_uint = 34;
pub const SO_TIMESTAMPNS: ::std::os::raw::c_uint = 35;
pub const SCM_TIMESTAMPNS: ::std::os::raw::c_uint = 35;
pub const SO_MARK: ::std::os::raw::c_uint = 36;
pub const SO_TIMESTAMPING: ::std::os::raw::c_uint = 37;
pub const SCM_TIMESTAMPING: ::std::os::raw::c_uint = 37;
pub const SO_PROTOCOL: ::std::os::raw::c_uint = 38;
pub const SO_DOMAIN: ::std::os::raw::c_uint = 39;
pub const SO_RXQ_OVFL: ::std::os::raw::c_uint = 40;
pub const SO_WIFI_STATUS: ::std::os::raw::c_uint = 41;
pub const SCM_WIFI_STATUS: ::std::os::raw::c_uint = 41;
pub const SO_PEEK_OFF: ::std::os::raw::c_uint = 42;
pub const SO_NOFCS: ::std::os::raw::c_uint = 43;
pub const SO_LOCK_FILTER: ::std::os::raw::c_uint = 44;
pub const SO_SELECT_ERR_QUEUE: ::std::os::raw::c_uint = 45;
pub const SO_BUSY_POLL: ::std::os::raw::c_uint = 46;
pub const SO_MAX_PACING_RATE: ::std::os::raw::c_uint = 47;
pub const SO_BPF_EXTENSIONS: ::std::os::raw::c_uint = 48;
pub const SO_INCOMING_CPU: ::std::os::raw::c_uint = 49;
pub const SO_ATTACH_BPF: ::std::os::raw::c_uint = 50;
pub const SO_DETACH_BPF: ::std::os::raw::c_uint = 27;
pub const SO_ATTACH_REUSEPORT_CBPF: ::std::os::raw::c_uint = 51;
pub const SO_ATTACH_REUSEPORT_EBPF: ::std::os::raw::c_uint = 52;
pub const SO_CNX_ADVICE: ::std::os::raw::c_uint = 53;
pub const _NETINET_IN_H: ::std::os::raw::c_uint = 1;
pub const __USE_KERNEL_IPV6_DEFS: ::std::os::raw::c_uint = 0;
pub const IP_OPTIONS: ::std::os::raw::c_uint = 4;
pub const IP_HDRINCL: ::std::os::raw::c_uint = 3;
pub const IP_TOS: ::std::os::raw::c_uint = 1;
pub const IP_TTL: ::std::os::raw::c_uint = 2;
pub const IP_RECVOPTS: ::std::os::raw::c_uint = 6;
pub const IP_RETOPTS: ::std::os::raw::c_uint = 7;
pub const IP_MULTICAST_IF: ::std::os::raw::c_uint = 32;
pub const IP_MULTICAST_TTL: ::std::os::raw::c_uint = 33;
pub const IP_MULTICAST_LOOP: ::std::os::raw::c_uint = 34;
pub const IP_ADD_MEMBERSHIP: ::std::os::raw::c_uint = 35;
pub const IP_DROP_MEMBERSHIP: ::std::os::raw::c_uint = 36;
pub const IP_UNBLOCK_SOURCE: ::std::os::raw::c_uint = 37;
pub const IP_BLOCK_SOURCE: ::std::os::raw::c_uint = 38;
pub const IP_ADD_SOURCE_MEMBERSHIP: ::std::os::raw::c_uint = 39;
pub const IP_DROP_SOURCE_MEMBERSHIP: ::std::os::raw::c_uint = 40;
pub const IP_MSFILTER: ::std::os::raw::c_uint = 41;
pub const MCAST_JOIN_GROUP: ::std::os::raw::c_uint = 42;
pub const MCAST_BLOCK_SOURCE: ::std::os::raw::c_uint = 43;
pub const MCAST_UNBLOCK_SOURCE: ::std::os::raw::c_uint = 44;
pub const MCAST_LEAVE_GROUP: ::std::os::raw::c_uint = 45;
pub const MCAST_JOIN_SOURCE_GROUP: ::std::os::raw::c_uint = 46;
pub const MCAST_LEAVE_SOURCE_GROUP: ::std::os::raw::c_uint = 47;
pub const MCAST_MSFILTER: ::std::os::raw::c_uint = 48;
pub const IP_MULTICAST_ALL: ::std::os::raw::c_uint = 49;
pub const IP_UNICAST_IF: ::std::os::raw::c_uint = 50;
pub const MCAST_EXCLUDE: ::std::os::raw::c_uint = 0;
pub const MCAST_INCLUDE: ::std::os::raw::c_uint = 1;
pub const IP_ROUTER_ALERT: ::std::os::raw::c_uint = 5;
pub const IP_PKTINFO: ::std::os::raw::c_uint = 8;
pub const IP_PKTOPTIONS: ::std::os::raw::c_uint = 9;
pub const IP_PMTUDISC: ::std::os::raw::c_uint = 10;
pub const IP_MTU_DISCOVER: ::std::os::raw::c_uint = 10;
pub const IP_RECVERR: ::std::os::raw::c_uint = 11;
pub const IP_RECVTTL: ::std::os::raw::c_uint = 12;
pub const IP_RECVTOS: ::std::os::raw::c_uint = 13;
pub const IP_MTU: ::std::os::raw::c_uint = 14;
pub const IP_FREEBIND: ::std::os::raw::c_uint = 15;
pub const IP_IPSEC_POLICY: ::std::os::raw::c_uint = 16;
pub const IP_XFRM_POLICY: ::std::os::raw::c_uint = 17;
pub const IP_PASSSEC: ::std::os::raw::c_uint = 18;
pub const IP_TRANSPARENT: ::std::os::raw::c_uint = 19;
pub const IP_ORIGDSTADDR: ::std::os::raw::c_uint = 20;
pub const IP_RECVORIGDSTADDR: ::std::os::raw::c_uint = 20;
pub const IP_MINTTL: ::std::os::raw::c_uint = 21;
pub const IP_NODEFRAG: ::std::os::raw::c_uint = 22;
pub const IP_CHECKSUM: ::std::os::raw::c_uint = 23;
pub const IP_BIND_ADDRESS_NO_PORT: ::std::os::raw::c_uint = 24;
pub const IP_PMTUDISC_DONT: ::std::os::raw::c_uint = 0;
pub const IP_PMTUDISC_WANT: ::std::os::raw::c_uint = 1;
pub const IP_PMTUDISC_DO: ::std::os::raw::c_uint = 2;
pub const IP_PMTUDISC_PROBE: ::std::os::raw::c_uint = 3;
pub const IP_PMTUDISC_INTERFACE: ::std::os::raw::c_uint = 4;
pub const IP_PMTUDISC_OMIT: ::std::os::raw::c_uint = 5;
pub const SOL_IP: ::std::os::raw::c_uint = 0;
pub const IP_DEFAULT_MULTICAST_TTL: ::std::os::raw::c_uint = 1;
pub const IP_DEFAULT_MULTICAST_LOOP: ::std::os::raw::c_uint = 1;
pub const IP_MAX_MEMBERSHIPS: ::std::os::raw::c_uint = 20;
pub const IPV6_ADDRFORM: ::std::os::raw::c_uint = 1;
pub const IPV6_2292PKTINFO: ::std::os::raw::c_uint = 2;
pub const IPV6_2292HOPOPTS: ::std::os::raw::c_uint = 3;
pub const IPV6_2292DSTOPTS: ::std::os::raw::c_uint = 4;
pub const IPV6_2292RTHDR: ::std::os::raw::c_uint = 5;
pub const IPV6_2292PKTOPTIONS: ::std::os::raw::c_uint = 6;
pub const IPV6_CHECKSUM: ::std::os::raw::c_uint = 7;
pub const IPV6_2292HOPLIMIT: ::std::os::raw::c_uint = 8;
pub const IPV6_NEXTHOP: ::std::os::raw::c_uint = 9;
pub const IPV6_AUTHHDR: ::std::os::raw::c_uint = 10;
pub const IPV6_UNICAST_HOPS: ::std::os::raw::c_uint = 16;
pub const IPV6_MULTICAST_IF: ::std::os::raw::c_uint = 17;
pub const IPV6_MULTICAST_HOPS: ::std::os::raw::c_uint = 18;
pub const IPV6_MULTICAST_LOOP: ::std::os::raw::c_uint = 19;
pub const IPV6_JOIN_GROUP: ::std::os::raw::c_uint = 20;
pub const IPV6_LEAVE_GROUP: ::std::os::raw::c_uint = 21;
pub const IPV6_ROUTER_ALERT: ::std::os::raw::c_uint = 22;
pub const IPV6_MTU_DISCOVER: ::std::os::raw::c_uint = 23;
pub const IPV6_MTU: ::std::os::raw::c_uint = 24;
pub const IPV6_RECVERR: ::std::os::raw::c_uint = 25;
pub const IPV6_V6ONLY: ::std::os::raw::c_uint = 26;
pub const IPV6_JOIN_ANYCAST: ::std::os::raw::c_uint = 27;
pub const IPV6_LEAVE_ANYCAST: ::std::os::raw::c_uint = 28;
pub const IPV6_IPSEC_POLICY: ::std::os::raw::c_uint = 34;
pub const IPV6_XFRM_POLICY: ::std::os::raw::c_uint = 35;
pub const IPV6_HDRINCL: ::std::os::raw::c_uint = 36;
pub const IPV6_RECVPKTINFO: ::std::os::raw::c_uint = 49;
pub const IPV6_PKTINFO: ::std::os::raw::c_uint = 50;
pub const IPV6_RECVHOPLIMIT: ::std::os::raw::c_uint = 51;
pub const IPV6_HOPLIMIT: ::std::os::raw::c_uint = 52;
pub const IPV6_RECVHOPOPTS: ::std::os::raw::c_uint = 53;
pub const IPV6_HOPOPTS: ::std::os::raw::c_uint = 54;
pub const IPV6_RTHDRDSTOPTS: ::std::os::raw::c_uint = 55;
pub const IPV6_RECVRTHDR: ::std::os::raw::c_uint = 56;
pub const IPV6_RTHDR: ::std::os::raw::c_uint = 57;
pub const IPV6_RECVDSTOPTS: ::std::os::raw::c_uint = 58;
pub const IPV6_DSTOPTS: ::std::os::raw::c_uint = 59;
pub const IPV6_RECVPATHMTU: ::std::os::raw::c_uint = 60;
pub const IPV6_PATHMTU: ::std::os::raw::c_uint = 61;
pub const IPV6_DONTFRAG: ::std::os::raw::c_uint = 62;
pub const IPV6_RECVTCLASS: ::std::os::raw::c_uint = 66;
pub const IPV6_TCLASS: ::std::os::raw::c_uint = 67;
pub const IPV6_ADD_MEMBERSHIP: ::std::os::raw::c_uint = 20;
pub const IPV6_DROP_MEMBERSHIP: ::std::os::raw::c_uint = 21;
pub const IPV6_RXHOPOPTS: ::std::os::raw::c_uint = 54;
pub const IPV6_RXDSTOPTS: ::std::os::raw::c_uint = 59;
pub const IPV6_PMTUDISC_DONT: ::std::os::raw::c_uint = 0;
pub const IPV6_PMTUDISC_WANT: ::std::os::raw::c_uint = 1;
pub const IPV6_PMTUDISC_DO: ::std::os::raw::c_uint = 2;
pub const IPV6_PMTUDISC_PROBE: ::std::os::raw::c_uint = 3;
pub const IPV6_PMTUDISC_INTERFACE: ::std::os::raw::c_uint = 4;
pub const IPV6_PMTUDISC_OMIT: ::std::os::raw::c_uint = 5;
pub const SOL_IPV6: ::std::os::raw::c_uint = 41;
pub const SOL_ICMPV6: ::std::os::raw::c_uint = 58;
pub const IPV6_RTHDR_LOOSE: ::std::os::raw::c_uint = 0;
pub const IPV6_RTHDR_STRICT: ::std::os::raw::c_uint = 1;
pub const IPV6_RTHDR_TYPE_0: ::std::os::raw::c_uint = 0;
pub const IN_CLASSA_NET: ::std::os::raw::c_uint = 4278190080;
pub const IN_CLASSA_NSHIFT: ::std::os::raw::c_uint = 24;
pub const IN_CLASSA_HOST: ::std::os::raw::c_uint = 16777215;
pub const IN_CLASSA_MAX: ::std::os::raw::c_uint = 128;
pub const IN_CLASSB_NET: ::std::os::raw::c_uint = 4294901760;
pub const IN_CLASSB_NSHIFT: ::std::os::raw::c_uint = 16;
pub const IN_CLASSB_HOST: ::std::os::raw::c_uint = 65535;
pub const IN_CLASSB_MAX: ::std::os::raw::c_uint = 65536;
pub const IN_CLASSC_NET: ::std::os::raw::c_uint = 4294967040;
pub const IN_CLASSC_NSHIFT: ::std::os::raw::c_uint = 8;
pub const IN_CLASSC_HOST: ::std::os::raw::c_uint = 255;
pub const IN_LOOPBACKNET: ::std::os::raw::c_uint = 127;
pub const INET_ADDRSTRLEN: ::std::os::raw::c_uint = 16;
pub const INET6_ADDRSTRLEN: ::std::os::raw::c_uint = 46;
pub const _NETINET_TCP_H: ::std::os::raw::c_uint = 1;
pub const TCP_NODELAY: ::std::os::raw::c_uint = 1;
pub const TCP_MAXSEG: ::std::os::raw::c_uint = 2;
pub const TCP_CORK: ::std::os::raw::c_uint = 3;
pub const TCP_KEEPIDLE: ::std::os::raw::c_uint = 4;
pub const TCP_KEEPINTVL: ::std::os::raw::c_uint = 5;
pub const TCP_KEEPCNT: ::std::os::raw::c_uint = 6;
pub const TCP_SYNCNT: ::std::os::raw::c_uint = 7;
pub const TCP_LINGER2: ::std::os::raw::c_uint = 8;
pub const TCP_DEFER_ACCEPT: ::std::os::raw::c_uint = 9;
pub const TCP_WINDOW_CLAMP: ::std::os::raw::c_uint = 10;
pub const TCP_INFO: ::std::os::raw::c_uint = 11;
pub const TCP_QUICKACK: ::std::os::raw::c_uint = 12;
pub const TCP_CONGESTION: ::std::os::raw::c_uint = 13;
pub const TCP_MD5SIG: ::std::os::raw::c_uint = 14;
pub const TCP_COOKIE_TRANSACTIONS: ::std::os::raw::c_uint = 15;
pub const TCP_THIN_LINEAR_TIMEOUTS: ::std::os::raw::c_uint = 16;
pub const TCP_THIN_DUPACK: ::std::os::raw::c_uint = 17;
pub const TCP_USER_TIMEOUT: ::std::os::raw::c_uint = 18;
pub const TCP_REPAIR: ::std::os::raw::c_uint = 19;
pub const TCP_REPAIR_QUEUE: ::std::os::raw::c_uint = 20;
pub const TCP_QUEUE_SEQ: ::std::os::raw::c_uint = 21;
pub const TCP_REPAIR_OPTIONS: ::std::os::raw::c_uint = 22;
pub const TCP_FASTOPEN: ::std::os::raw::c_uint = 23;
pub const TCP_TIMESTAMP: ::std::os::raw::c_uint = 24;
pub const TCP_NOTSENT_LOWAT: ::std::os::raw::c_uint = 25;
pub const TCP_CC_INFO: ::std::os::raw::c_uint = 26;
pub const TCP_SAVE_SYN: ::std::os::raw::c_uint = 27;
pub const TCP_SAVED_SYN: ::std::os::raw::c_uint = 28;
pub const TH_FIN: ::std::os::raw::c_uint = 1;
pub const TH_SYN: ::std::os::raw::c_uint = 2;
pub const TH_RST: ::std::os::raw::c_uint = 4;
pub const TH_PUSH: ::std::os::raw::c_uint = 8;
pub const TH_ACK: ::std::os::raw::c_uint = 16;
pub const TH_URG: ::std::os::raw::c_uint = 32;
pub const TCPOPT_EOL: ::std::os::raw::c_uint = 0;
pub const TCPOPT_NOP: ::std::os::raw::c_uint = 1;
pub const TCPOPT_MAXSEG: ::std::os::raw::c_uint = 2;
pub const TCPOLEN_MAXSEG: ::std::os::raw::c_uint = 4;
pub const TCPOPT_WINDOW: ::std::os::raw::c_uint = 3;
pub const TCPOLEN_WINDOW: ::std::os::raw::c_uint = 3;
pub const TCPOPT_SACK_PERMITTED: ::std::os::raw::c_uint = 4;
pub const TCPOLEN_SACK_PERMITTED: ::std::os::raw::c_uint = 2;
pub const TCPOPT_SACK: ::std::os::raw::c_uint = 5;
pub const TCPOPT_TIMESTAMP: ::std::os::raw::c_uint = 8;
pub const TCPOLEN_TIMESTAMP: ::std::os::raw::c_uint = 10;
pub const TCPOLEN_TSTAMP_APPA: ::std::os::raw::c_uint = 12;
pub const TCPOPT_TSTAMP_HDR: ::std::os::raw::c_uint = 16844810;
pub const TCP_MSS: ::std::os::raw::c_uint = 512;
pub const TCP_MAXWIN: ::std::os::raw::c_uint = 65535;
pub const TCP_MAX_WINSHIFT: ::std::os::raw::c_uint = 14;
pub const SOL_TCP: ::std::os::raw::c_uint = 6;
pub const TCPI_OPT_TIMESTAMPS: ::std::os::raw::c_uint = 1;
pub const TCPI_OPT_SACK: ::std::os::raw::c_uint = 2;
pub const TCPI_OPT_WSCALE: ::std::os::raw::c_uint = 4;
pub const TCPI_OPT_ECN: ::std::os::raw::c_uint = 8;
pub const TCPI_OPT_ECN_SEEN: ::std::os::raw::c_uint = 16;
pub const TCPI_OPT_SYN_DATA: ::std::os::raw::c_uint = 32;
pub const TCP_MD5SIG_MAXKEYLEN: ::std::os::raw::c_uint = 80;
pub const TCP_COOKIE_MIN: ::std::os::raw::c_uint = 8;
pub const TCP_COOKIE_MAX: ::std::os::raw::c_uint = 16;
pub const TCP_COOKIE_PAIR_SIZE: ::std::os::raw::c_uint = 32;
pub const TCP_COOKIE_IN_ALWAYS: ::std::os::raw::c_uint = 1;
pub const TCP_COOKIE_OUT_NEVER: ::std::os::raw::c_uint = 2;
pub const TCP_S_DATA_IN: ::std::os::raw::c_uint = 4;
pub const TCP_S_DATA_OUT: ::std::os::raw::c_uint = 8;
pub const TCP_MSS_DEFAULT: ::std::os::raw::c_uint = 536;
pub const TCP_MSS_DESIRED: ::std::os::raw::c_uint = 1220;
pub const _ARPA_INET_H: ::std::os::raw::c_uint = 1;
pub const _NETDB_H: ::std::os::raw::c_uint = 1;
pub const _RPC_NETDB_H: ::std::os::raw::c_uint = 1;
pub const _PATH_HEQUIV: &'static [u8; 17usize] = b"/etc/hosts.equiv\x00";
pub const _PATH_HOSTS: &'static [u8; 11usize] = b"/etc/hosts\x00";
pub const _PATH_NETWORKS: &'static [u8; 14usize] = b"/etc/networks\x00";
pub const _PATH_NSSWITCH_CONF: &'static [u8; 19usize] =
b"/etc/nsswitch.conf\x00";
pub const _PATH_PROTOCOLS: &'static [u8; 15usize] = b"/etc/protocols\x00";
pub const _PATH_SERVICES: &'static [u8; 14usize] = b"/etc/services\x00";
pub const HOST_NOT_FOUND: ::std::os::raw::c_uint = 1;
pub const TRY_AGAIN: ::std::os::raw::c_uint = 2;
pub const NO_RECOVERY: ::std::os::raw::c_uint = 3;
pub const NO_DATA: ::std::os::raw::c_uint = 4;
pub const NETDB_INTERNAL: ::std::os::raw::c_int = -1;
pub const NETDB_SUCCESS: ::std::os::raw::c_uint = 0;
pub const NO_ADDRESS: ::std::os::raw::c_uint = 4;
pub const AI_PASSIVE: ::std::os::raw::c_uint = 1;
pub const AI_CANONNAME: ::std::os::raw::c_uint = 2;
pub const AI_NUMERICHOST: ::std::os::raw::c_uint = 4;
pub const AI_V4MAPPED: ::std::os::raw::c_uint = 8;
pub const AI_ALL: ::std::os::raw::c_uint = 16;
pub const AI_ADDRCONFIG: ::std::os::raw::c_uint = 32;
pub const AI_NUMERICSERV: ::std::os::raw::c_uint = 1024;
pub const EAI_BADFLAGS: ::std::os::raw::c_int = -1;
pub const EAI_NONAME: ::std::os::raw::c_int = -2;
pub const EAI_AGAIN: ::std::os::raw::c_int = -3;
pub const EAI_FAIL: ::std::os::raw::c_int = -4;
pub const EAI_FAMILY: ::std::os::raw::c_int = -6;
pub const EAI_SOCKTYPE: ::std::os::raw::c_int = -7;
pub const EAI_SERVICE: ::std::os::raw::c_int = -8;
pub const EAI_MEMORY: ::std::os::raw::c_int = -10;
pub const EAI_SYSTEM: ::std::os::raw::c_int = -11;
pub const EAI_OVERFLOW: ::std::os::raw::c_int = -12;
pub const NI_MAXHOST: ::std::os::raw::c_uint = 1025;
pub const NI_MAXSERV: ::std::os::raw::c_uint = 32;
pub const NI_NUMERICHOST: ::std::os::raw::c_uint = 1;
pub const NI_NUMERICSERV: ::std::os::raw::c_uint = 2;
pub const NI_NOFQDN: ::std::os::raw::c_uint = 4;
pub const NI_NAMEREQD: ::std::os::raw::c_uint = 8;
pub const NI_DGRAM: ::std::os::raw::c_uint = 16;
pub const _TERMIOS_H: ::std::os::raw::c_uint = 1;
pub const NCCS: ::std::os::raw::c_uint = 32;
pub const _HAVE_STRUCT_TERMIOS_C_ISPEED: ::std::os::raw::c_uint = 1;
pub const _HAVE_STRUCT_TERMIOS_C_OSPEED: ::std::os::raw::c_uint = 1;
pub const VINTR: ::std::os::raw::c_uint = 0;
pub const VQUIT: ::std::os::raw::c_uint = 1;
pub const VERASE: ::std::os::raw::c_uint = 2;
pub const VKILL: ::std::os::raw::c_uint = 3;
pub const VEOF: ::std::os::raw::c_uint = 4;
pub const VTIME: ::std::os::raw::c_uint = 5;
pub const VMIN: ::std::os::raw::c_uint = 6;
pub const VSWTC: ::std::os::raw::c_uint = 7;
pub const VSTART: ::std::os::raw::c_uint = 8;
pub const VSTOP: ::std::os::raw::c_uint = 9;
pub const VSUSP: ::std::os::raw::c_uint = 10;
pub const VEOL: ::std::os::raw::c_uint = 11;
pub const VREPRINT: ::std::os::raw::c_uint = 12;
pub const VDISCARD: ::std::os::raw::c_uint = 13;
pub const VWERASE: ::std::os::raw::c_uint = 14;
pub const VLNEXT: ::std::os::raw::c_uint = 15;
pub const VEOL2: ::std::os::raw::c_uint = 16;
pub const IGNBRK: ::std::os::raw::c_uint = 1;
pub const BRKINT: ::std::os::raw::c_uint = 2;
pub const IGNPAR: ::std::os::raw::c_uint = 4;
pub const PARMRK: ::std::os::raw::c_uint = 8;
pub const INPCK: ::std::os::raw::c_uint = 16;
pub const ISTRIP: ::std::os::raw::c_uint = 32;
pub const INLCR: ::std::os::raw::c_uint = 64;
pub const IGNCR: ::std::os::raw::c_uint = 128;
pub const ICRNL: ::std::os::raw::c_uint = 256;
pub const IUCLC: ::std::os::raw::c_uint = 512;
pub const IXON: ::std::os::raw::c_uint = 1024;
pub const IXANY: ::std::os::raw::c_uint = 2048;
pub const IXOFF: ::std::os::raw::c_uint = 4096;
pub const IMAXBEL: ::std::os::raw::c_uint = 8192;
pub const IUTF8: ::std::os::raw::c_uint = 16384;
pub const OPOST: ::std::os::raw::c_uint = 1;
pub const OLCUC: ::std::os::raw::c_uint = 2;
pub const ONLCR: ::std::os::raw::c_uint = 4;
pub const OCRNL: ::std::os::raw::c_uint = 8;
pub const ONOCR: ::std::os::raw::c_uint = 16;
pub const ONLRET: ::std::os::raw::c_uint = 32;
pub const OFILL: ::std::os::raw::c_uint = 64;
pub const OFDEL: ::std::os::raw::c_uint = 128;
pub const NLDLY: ::std::os::raw::c_uint = 256;
pub const NL0: ::std::os::raw::c_uint = 0;
pub const NL1: ::std::os::raw::c_uint = 256;
pub const CRDLY: ::std::os::raw::c_uint = 1536;
pub const CR0: ::std::os::raw::c_uint = 0;
pub const CR1: ::std::os::raw::c_uint = 512;
pub const CR2: ::std::os::raw::c_uint = 1024;
pub const CR3: ::std::os::raw::c_uint = 1536;
pub const TABDLY: ::std::os::raw::c_uint = 6144;
pub const TAB0: ::std::os::raw::c_uint = 0;
pub const TAB1: ::std::os::raw::c_uint = 2048;
pub const TAB2: ::std::os::raw::c_uint = 4096;
pub const TAB3: ::std::os::raw::c_uint = 6144;
pub const BSDLY: ::std::os::raw::c_uint = 8192;
pub const BS0: ::std::os::raw::c_uint = 0;
pub const BS1: ::std::os::raw::c_uint = 8192;
pub const FFDLY: ::std::os::raw::c_uint = 32768;
pub const FF0: ::std::os::raw::c_uint = 0;
pub const FF1: ::std::os::raw::c_uint = 32768;
pub const VTDLY: ::std::os::raw::c_uint = 16384;
pub const VT0: ::std::os::raw::c_uint = 0;
pub const VT1: ::std::os::raw::c_uint = 16384;
pub const XTABS: ::std::os::raw::c_uint = 6144;
pub const CBAUD: ::std::os::raw::c_uint = 4111;
pub const B0: ::std::os::raw::c_uint = 0;
pub const B50: ::std::os::raw::c_uint = 1;
pub const B75: ::std::os::raw::c_uint = 2;
pub const B110: ::std::os::raw::c_uint = 3;
pub const B134: ::std::os::raw::c_uint = 4;
pub const B150: ::std::os::raw::c_uint = 5;
pub const B200: ::std::os::raw::c_uint = 6;
pub const B300: ::std::os::raw::c_uint = 7;
pub const B600: ::std::os::raw::c_uint = 8;
pub const B1200: ::std::os::raw::c_uint = 9;
pub const B1800: ::std::os::raw::c_uint = 10;
pub const B2400: ::std::os::raw::c_uint = 11;
pub const B4800: ::std::os::raw::c_uint = 12;
pub const B9600: ::std::os::raw::c_uint = 13;
pub const B19200: ::std::os::raw::c_uint = 14;
pub const B38400: ::std::os::raw::c_uint = 15;
pub const EXTA: ::std::os::raw::c_uint = 14;
pub const EXTB: ::std::os::raw::c_uint = 15;
pub const CSIZE: ::std::os::raw::c_uint = 48;
pub const CS5: ::std::os::raw::c_uint = 0;
pub const CS6: ::std::os::raw::c_uint = 16;
pub const CS7: ::std::os::raw::c_uint = 32;
pub const CS8: ::std::os::raw::c_uint = 48;
pub const CSTOPB: ::std::os::raw::c_uint = 64;
pub const CREAD: ::std::os::raw::c_uint = 128;
pub const PARENB: ::std::os::raw::c_uint = 256;
pub const PARODD: ::std::os::raw::c_uint = 512;
pub const HUPCL: ::std::os::raw::c_uint = 1024;
pub const CLOCAL: ::std::os::raw::c_uint = 2048;
pub const CBAUDEX: ::std::os::raw::c_uint = 4096;
pub const B57600: ::std::os::raw::c_uint = 4097;
pub const B115200: ::std::os::raw::c_uint = 4098;
pub const B230400: ::std::os::raw::c_uint = 4099;
pub const B460800: ::std::os::raw::c_uint = 4100;
pub const B500000: ::std::os::raw::c_uint = 4101;
pub const B576000: ::std::os::raw::c_uint = 4102;
pub const B921600: ::std::os::raw::c_uint = 4103;
pub const B1000000: ::std::os::raw::c_uint = 4104;
pub const B1152000: ::std::os::raw::c_uint = 4105;
pub const B1500000: ::std::os::raw::c_uint = 4106;
pub const B2000000: ::std::os::raw::c_uint = 4107;
pub const B2500000: ::std::os::raw::c_uint = 4108;
pub const B3000000: ::std::os::raw::c_uint = 4109;
pub const B3500000: ::std::os::raw::c_uint = 4110;
pub const B4000000: ::std::os::raw::c_uint = 4111;
pub const __MAX_BAUD: ::std::os::raw::c_uint = 4111;
pub const CIBAUD: ::std::os::raw::c_uint = 269418496;
pub const CMSPAR: ::std::os::raw::c_uint = 1073741824;
pub const CRTSCTS: ::std::os::raw::c_uint = 2147483648;
pub const ISIG: ::std::os::raw::c_uint = 1;
pub const ICANON: ::std::os::raw::c_uint = 2;
pub const XCASE: ::std::os::raw::c_uint = 4;
pub const ECHO: ::std::os::raw::c_uint = 8;
pub const ECHOE: ::std::os::raw::c_uint = 16;
pub const ECHOK: ::std::os::raw::c_uint = 32;
pub const ECHONL: ::std::os::raw::c_uint = 64;
pub const NOFLSH: ::std::os::raw::c_uint = 128;
pub const TOSTOP: ::std::os::raw::c_uint = 256;
pub const ECHOCTL: ::std::os::raw::c_uint = 512;
pub const ECHOPRT: ::std::os::raw::c_uint = 1024;
pub const ECHOKE: ::std::os::raw::c_uint = 2048;
pub const FLUSHO: ::std::os::raw::c_uint = 4096;
pub const PENDIN: ::std::os::raw::c_uint = 16384;
pub const IEXTEN: ::std::os::raw::c_uint = 32768;
pub const EXTPROC: ::std::os::raw::c_uint = 65536;
pub const TCOOFF: ::std::os::raw::c_uint = 0;
pub const TCOON: ::std::os::raw::c_uint = 1;
pub const TCIOFF: ::std::os::raw::c_uint = 2;
pub const TCION: ::std::os::raw::c_uint = 3;
pub const TCIFLUSH: ::std::os::raw::c_uint = 0;
pub const TCOFLUSH: ::std::os::raw::c_uint = 1;
pub const TCIOFLUSH: ::std::os::raw::c_uint = 2;
pub const TCSANOW: ::std::os::raw::c_uint = 0;
pub const TCSADRAIN: ::std::os::raw::c_uint = 1;
pub const TCSAFLUSH: ::std::os::raw::c_uint = 2;
pub const TTYDEF_IFLAG: ::std::os::raw::c_uint = 11554;
pub const TTYDEF_OFLAG: ::std::os::raw::c_uint = 6149;
pub const TTYDEF_LFLAG: ::std::os::raw::c_uint = 35355;
pub const TTYDEF_CFLAG: ::std::os::raw::c_uint = 1440;
pub const TTYDEF_SPEED: ::std::os::raw::c_uint = 13;
pub const CEOL: u8 = b'\x00';
pub const CERASE: ::std::os::raw::c_uint = 127;
pub const CSTATUS: u8 = b'\x00';
pub const CMIN: ::std::os::raw::c_uint = 1;
pub const CQUIT: ::std::os::raw::c_uint = 28;
pub const CTIME: ::std::os::raw::c_uint = 0;
pub const CBRK: u8 = b'\x00';
pub const _PWD_H: ::std::os::raw::c_uint = 1;
pub const NSS_BUFLEN_PASSWD: ::std::os::raw::c_uint = 1024;
pub const _SEMAPHORE_H: ::std::os::raw::c_uint = 1;
pub const __SIZEOF_SEM_T: ::std::os::raw::c_uint = 32;
pub const _PTHREAD_H: ::std::os::raw::c_uint = 1;
pub const _SCHED_H: ::std::os::raw::c_uint = 1;
pub const SCHED_OTHER: ::std::os::raw::c_uint = 0;
pub const SCHED_FIFO: ::std::os::raw::c_uint = 1;
pub const SCHED_RR: ::std::os::raw::c_uint = 2;
pub const __defined_schedparam: ::std::os::raw::c_uint = 1;
pub const __CPU_SETSIZE: ::std::os::raw::c_uint = 1024;
pub const _TIME_H: ::std::os::raw::c_uint = 1;
pub const _BITS_TIME_H: ::std::os::raw::c_uint = 1;
pub const CLOCK_REALTIME: ::std::os::raw::c_uint = 0;
pub const CLOCK_MONOTONIC: ::std::os::raw::c_uint = 1;
pub const CLOCK_PROCESS_CPUTIME_ID: ::std::os::raw::c_uint = 2;
pub const CLOCK_THREAD_CPUTIME_ID: ::std::os::raw::c_uint = 3;
pub const CLOCK_MONOTONIC_RAW: ::std::os::raw::c_uint = 4;
pub const CLOCK_REALTIME_COARSE: ::std::os::raw::c_uint = 5;
pub const CLOCK_MONOTONIC_COARSE: ::std::os::raw::c_uint = 6;
pub const CLOCK_BOOTTIME: ::std::os::raw::c_uint = 7;
pub const CLOCK_REALTIME_ALARM: ::std::os::raw::c_uint = 8;
pub const CLOCK_BOOTTIME_ALARM: ::std::os::raw::c_uint = 9;
pub const CLOCK_TAI: ::std::os::raw::c_uint = 11;
pub const TIMER_ABSTIME: ::std::os::raw::c_uint = 1;
pub const TIME_UTC: ::std::os::raw::c_uint = 1;
pub const _XLOCALE_H: ::std::os::raw::c_uint = 1;
pub const _BITS_SETJMP_H: ::std::os::raw::c_uint = 1;
pub const PTHREAD_ONCE_INIT: ::std::os::raw::c_uint = 0;
pub const PTHREAD_BARRIER_SERIAL_THREAD: ::std::os::raw::c_int = -1;
pub const _SIGSET_H_fns: ::std::os::raw::c_uint = 1;
pub const SIGHUP: ::std::os::raw::c_uint = 1;
pub const SIGINT: ::std::os::raw::c_uint = 2;
pub const SIGQUIT: ::std::os::raw::c_uint = 3;
pub const SIGILL: ::std::os::raw::c_uint = 4;
pub const SIGTRAP: ::std::os::raw::c_uint = 5;
pub const SIGABRT: ::std::os::raw::c_uint = 6;
pub const SIGIOT: ::std::os::raw::c_uint = 6;
pub const SIGBUS: ::std::os::raw::c_uint = 7;
pub const SIGFPE: ::std::os::raw::c_uint = 8;
pub const SIGKILL: ::std::os::raw::c_uint = 9;
pub const SIGUSR1: ::std::os::raw::c_uint = 10;
pub const SIGSEGV: ::std::os::raw::c_uint = 11;
pub const SIGUSR2: ::std::os::raw::c_uint = 12;
pub const SIGPIPE: ::std::os::raw::c_uint = 13;
pub const SIGALRM: ::std::os::raw::c_uint = 14;
pub const SIGTERM: ::std::os::raw::c_uint = 15;
pub const SIGSTKFLT: ::std::os::raw::c_uint = 16;
pub const SIGCHLD: ::std::os::raw::c_uint = 17;
pub const SIGCONT: ::std::os::raw::c_uint = 18;
pub const SIGSTOP: ::std::os::raw::c_uint = 19;
pub const SIGTSTP: ::std::os::raw::c_uint = 20;
pub const SIGTTIN: ::std::os::raw::c_uint = 21;
pub const SIGTTOU: ::std::os::raw::c_uint = 22;
pub const SIGURG: ::std::os::raw::c_uint = 23;
pub const SIGXCPU: ::std::os::raw::c_uint = 24;
pub const SIGXFSZ: ::std::os::raw::c_uint = 25;
pub const SIGVTALRM: ::std::os::raw::c_uint = 26;
pub const SIGPROF: ::std::os::raw::c_uint = 27;
pub const SIGWINCH: ::std::os::raw::c_uint = 28;
pub const SIGIO: ::std::os::raw::c_uint = 29;
pub const SIGPWR: ::std::os::raw::c_uint = 30;
pub const SIGSYS: ::std::os::raw::c_uint = 31;
pub const SIGUNUSED: ::std::os::raw::c_uint = 31;
pub const _NSIG: ::std::os::raw::c_uint = 65;
pub const __SIGRTMIN: ::std::os::raw::c_uint = 32;
pub const __SIGRTMAX: ::std::os::raw::c_uint = 64;
pub const __have_sigval_t: ::std::os::raw::c_uint = 1;
pub const __have_siginfo_t: ::std::os::raw::c_uint = 1;
pub const __SI_MAX_SIZE: ::std::os::raw::c_uint = 128;
pub const __have_sigevent_t: ::std::os::raw::c_uint = 1;
pub const __SIGEV_MAX_SIZE: ::std::os::raw::c_uint = 64;
pub const NSIG: ::std::os::raw::c_uint = 65;
pub const SA_NOCLDSTOP: ::std::os::raw::c_uint = 1;
pub const SA_NOCLDWAIT: ::std::os::raw::c_uint = 2;
pub const SA_SIGINFO: ::std::os::raw::c_uint = 4;
pub const SA_ONSTACK: ::std::os::raw::c_uint = 134217728;
pub const SA_RESTART: ::std::os::raw::c_uint = 268435456;
pub const SA_NODEFER: ::std::os::raw::c_uint = 1073741824;
pub const SA_RESETHAND: ::std::os::raw::c_uint = 2147483648;
pub const SA_INTERRUPT: ::std::os::raw::c_uint = 536870912;
pub const SA_NOMASK: ::std::os::raw::c_uint = 1073741824;
pub const SA_ONESHOT: ::std::os::raw::c_uint = 2147483648;
pub const SA_STACK: ::std::os::raw::c_uint = 134217728;
pub const SIG_BLOCK: ::std::os::raw::c_uint = 0;
pub const SIG_UNBLOCK: ::std::os::raw::c_uint = 1;
pub const SIG_SETMASK: ::std::os::raw::c_uint = 2;
pub const _BITS_SIGCONTEXT_H: ::std::os::raw::c_uint = 1;
pub const FP_XSTATE_MAGIC1: ::std::os::raw::c_uint = 1179670611;
pub const FP_XSTATE_MAGIC2: ::std::os::raw::c_uint = 1179670597;
pub const MINSIGSTKSZ: ::std::os::raw::c_uint = 2048;
pub const SIGSTKSZ: ::std::os::raw::c_uint = 8192;
pub const _SYS_UCONTEXT_H: ::std::os::raw::c_uint = 1;
pub const NGREG: ::std::os::raw::c_uint = 23;
pub const _BITS_SIGTHREAD_H: ::std::os::raw::c_uint = 1;
pub const UV_ONCE_INIT: ::std::os::raw::c_uint = 0;
pub const UV_FS_SYMLINK_DIR: ::std::os::raw::c_uint = 1;
pub const UV_FS_SYMLINK_JUNCTION: ::std::os::raw::c_uint = 2;
pub const IOS_INLSIZE: ::std::os::raw::c_uint = 54;
pub const IOS_BUFSIZE: ::std::os::raw::c_uint = 131072;
pub const IOS_EOF: ::std::os::raw::c_int = -1;
pub const HT_N_INLINE: ::std::os::raw::c_uint = 32;
pub const PATHSEPSTRING: &'static [u8; 2usize] = b"/\x00";
pub const PATHLISTSEPSTRING: &'static [u8; 2usize] = b":\x00";
pub const CRC32C_H: ::std::os::raw::c_uint = 1;
pub const _STRING_H: ::std::os::raw::c_uint = 1;
pub const AL_N_INLINE: ::std::os::raw::c_uint = 29;
pub const _SETJMP_H: ::std::os::raw::c_uint = 1;
pub const _MM_HINT_T0: ::std::os::raw::c_uint = 3;
pub const _MM_HINT_T1: ::std::os::raw::c_uint = 2;
pub const _MM_HINT_T2: ::std::os::raw::c_uint = 1;
pub const _MM_HINT_NTA: ::std::os::raw::c_uint = 0;
pub const _MM_EXCEPT_INVALID: ::std::os::raw::c_uint = 1;
pub const _MM_EXCEPT_DENORM: ::std::os::raw::c_uint = 2;
pub const _MM_EXCEPT_DIV_ZERO: ::std::os::raw::c_uint = 4;
pub const _MM_EXCEPT_OVERFLOW: ::std::os::raw::c_uint = 8;
pub const _MM_EXCEPT_UNDERFLOW: ::std::os::raw::c_uint = 16;
pub const _MM_EXCEPT_INEXACT: ::std::os::raw::c_uint = 32;
pub const _MM_EXCEPT_MASK: ::std::os::raw::c_uint = 63;
pub const _MM_MASK_INVALID: ::std::os::raw::c_uint = 128;
pub const _MM_MASK_DENORM: ::std::os::raw::c_uint = 256;
pub const _MM_MASK_DIV_ZERO: ::std::os::raw::c_uint = 512;
pub const _MM_MASK_OVERFLOW: ::std::os::raw::c_uint = 1024;
pub const _MM_MASK_UNDERFLOW: ::std::os::raw::c_uint = 2048;
pub const _MM_MASK_INEXACT: ::std::os::raw::c_uint = 4096;
pub const _MM_MASK_MASK: ::std::os::raw::c_uint = 8064;
pub const _MM_ROUND_NEAREST: ::std::os::raw::c_uint = 0;
pub const _MM_ROUND_DOWN: ::std::os::raw::c_uint = 8192;
pub const _MM_ROUND_UP: ::std::os::raw::c_uint = 16384;
pub const _MM_ROUND_TOWARD_ZERO: ::std::os::raw::c_uint = 24576;
pub const _MM_ROUND_MASK: ::std::os::raw::c_uint = 24576;
pub const _MM_FLUSH_ZERO_MASK: ::std::os::raw::c_uint = 32768;
pub const _MM_FLUSH_ZERO_ON: ::std::os::raw::c_uint = 32768;
pub const _MM_FLUSH_ZERO_OFF: ::std::os::raw::c_uint = 0;
pub const _MM_DENORMALS_ZERO_ON: ::std::os::raw::c_uint = 64;
pub const _MM_DENORMALS_ZERO_OFF: ::std::os::raw::c_uint = 0;
pub const _MM_DENORMALS_ZERO_MASK: ::std::os::raw::c_uint = 64;
pub const _MM_FROUND_TO_NEAREST_INT: ::std::os::raw::c_uint = 0;
pub const _MM_FROUND_TO_NEG_INF: ::std::os::raw::c_uint = 1;
pub const _MM_FROUND_TO_POS_INF: ::std::os::raw::c_uint = 2;
pub const _MM_FROUND_TO_ZERO: ::std::os::raw::c_uint = 3;
pub const _MM_FROUND_CUR_DIRECTION: ::std::os::raw::c_uint = 4;
pub const _MM_FROUND_RAISE_EXC: ::std::os::raw::c_uint = 0;
pub const _MM_FROUND_NO_EXC: ::std::os::raw::c_uint = 8;
pub const _MM_FROUND_NINT: ::std::os::raw::c_uint = 0;
pub const _MM_FROUND_FLOOR: ::std::os::raw::c_uint = 1;
pub const _MM_FROUND_CEIL: ::std::os::raw::c_uint = 2;
pub const _MM_FROUND_TRUNC: ::std::os::raw::c_uint = 3;
pub const _MM_FROUND_RINT: ::std::os::raw::c_uint = 4;
pub const _MM_FROUND_NEARBYINT: ::std::os::raw::c_uint = 12;
pub const _SIDD_UBYTE_OPS: ::std::os::raw::c_uint = 0;
pub const _SIDD_UWORD_OPS: ::std::os::raw::c_uint = 1;
pub const _SIDD_SBYTE_OPS: ::std::os::raw::c_uint = 2;
pub const _SIDD_SWORD_OPS: ::std::os::raw::c_uint = 3;
pub const _SIDD_CMP_EQUAL_ANY: ::std::os::raw::c_uint = 0;
pub const _SIDD_CMP_RANGES: ::std::os::raw::c_uint = 4;
pub const _SIDD_CMP_EQUAL_EACH: ::std::os::raw::c_uint = 8;
pub const _SIDD_CMP_EQUAL_ORDERED: ::std::os::raw::c_uint = 12;
pub const _SIDD_POSITIVE_POLARITY: ::std::os::raw::c_uint = 0;
pub const _SIDD_NEGATIVE_POLARITY: ::std::os::raw::c_uint = 16;
pub const _SIDD_MASKED_POSITIVE_POLARITY: ::std::os::raw::c_uint = 32;
pub const _SIDD_MASKED_NEGATIVE_POLARITY: ::std::os::raw::c_uint = 48;
pub const _SIDD_LEAST_SIGNIFICANT: ::std::os::raw::c_uint = 0;
pub const _SIDD_MOST_SIGNIFICANT: ::std::os::raw::c_uint = 64;
pub const _SIDD_BIT_MASK: ::std::os::raw::c_uint = 0;
pub const _SIDD_UNIT_MASK: ::std::os::raw::c_uint = 64;
pub const _CMP_EQ_OQ: ::std::os::raw::c_uint = 0;
pub const _CMP_LT_OS: ::std::os::raw::c_uint = 1;
pub const _CMP_LE_OS: ::std::os::raw::c_uint = 2;
pub const _CMP_UNORD_Q: ::std::os::raw::c_uint = 3;
pub const _CMP_NEQ_UQ: ::std::os::raw::c_uint = 4;
pub const _CMP_NLT_US: ::std::os::raw::c_uint = 5;
pub const _CMP_NLE_US: ::std::os::raw::c_uint = 6;
pub const _CMP_ORD_Q: ::std::os::raw::c_uint = 7;
pub const _CMP_EQ_UQ: ::std::os::raw::c_uint = 8;
pub const _CMP_NGE_US: ::std::os::raw::c_uint = 9;
pub const _CMP_NGT_US: ::std::os::raw::c_uint = 10;
pub const _CMP_FALSE_OQ: ::std::os::raw::c_uint = 11;
pub const _CMP_NEQ_OQ: ::std::os::raw::c_uint = 12;
pub const _CMP_GE_OS: ::std::os::raw::c_uint = 13;
pub const _CMP_GT_OS: ::std::os::raw::c_uint = 14;
pub const _CMP_TRUE_UQ: ::std::os::raw::c_uint = 15;
pub const _CMP_EQ_OS: ::std::os::raw::c_uint = 16;
pub const _CMP_LT_OQ: ::std::os::raw::c_uint = 17;
pub const _CMP_LE_OQ: ::std::os::raw::c_uint = 18;
pub const _CMP_UNORD_S: ::std::os::raw::c_uint = 19;
pub const _CMP_NEQ_US: ::std::os::raw::c_uint = 20;
pub const _CMP_NLT_UQ: ::std::os::raw::c_uint = 21;
pub const _CMP_NLE_UQ: ::std::os::raw::c_uint = 22;
pub const _CMP_ORD_S: ::std::os::raw::c_uint = 23;
pub const _CMP_EQ_US: ::std::os::raw::c_uint = 24;
pub const _CMP_NGE_UQ: ::std::os::raw::c_uint = 25;
pub const _CMP_NGT_UQ: ::std::os::raw::c_uint = 26;
pub const _CMP_FALSE_OS: ::std::os::raw::c_uint = 27;
pub const _CMP_NEQ_OS: ::std::os::raw::c_uint = 28;
pub const _CMP_GE_OQ: ::std::os::raw::c_uint = 29;
pub const _CMP_GT_OQ: ::std::os::raw::c_uint = 30;
pub const _CMP_TRUE_US: ::std::os::raw::c_uint = 31;
pub const _XBEGIN_STARTED: ::std::os::raw::c_int = -1;
pub const _XABORT_EXPLICIT: ::std::os::raw::c_uint = 1;
pub const _XABORT_RETRY: ::std::os::raw::c_uint = 2;
pub const _XABORT_CONFLICT: ::std::os::raw::c_uint = 4;
pub const _XABORT_CAPACITY: ::std::os::raw::c_uint = 8;
pub const _XABORT_DEBUG: ::std::os::raw::c_uint = 16;
pub const _XABORT_NESTED: ::std::os::raw::c_uint = 32;
pub const JL_GC_N_POOLS: ::std::os::raw::c_uint = 41;
pub const JL_MAX_BT_SIZE: ::std::os::raw::c_uint = 80000;
pub const JL_GC_STATE_WAITING: ::std::os::raw::c_uint = 1;
pub const JL_GC_STATE_SAFE: ::std::os::raw::c_uint = 2;
pub const JL_CPU_WAKE_NOOP: ::std::os::raw::c_uint = 1;
pub const jl_setjmp_name: &'static [u8; 12usize] = b"__sigsetjmp\x00";
pub const JL_LOG_NONE: ::std::os::raw::c_uint = 0;
pub const JL_LOG_USER: ::std::os::raw::c_uint = 1;
pub const JL_LOG_ALL: ::std::os::raw::c_uint = 2;
pub const JL_OPTIONS_CHECK_BOUNDS_DEFAULT: ::std::os::raw::c_uint = 0;
pub const JL_OPTIONS_CHECK_BOUNDS_ON: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_CHECK_BOUNDS_OFF: ::std::os::raw::c_uint = 2;
pub const JL_OPTIONS_COMPILE_DEFAULT: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_COMPILE_OFF: ::std::os::raw::c_uint = 0;
pub const JL_OPTIONS_COMPILE_ON: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_COMPILE_ALL: ::std::os::raw::c_uint = 2;
pub const JL_OPTIONS_COMPILE_MIN: ::std::os::raw::c_uint = 3;
pub const JL_OPTIONS_COLOR_ON: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_COLOR_OFF: ::std::os::raw::c_uint = 2;
pub const JL_OPTIONS_HISTORYFILE_ON: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_HISTORYFILE_OFF: ::std::os::raw::c_uint = 0;
pub const JL_OPTIONS_STARTUPFILE_ON: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_STARTUPFILE_OFF: ::std::os::raw::c_uint = 2;
pub const JL_OPTIONS_DEPWARN_OFF: ::std::os::raw::c_uint = 0;
pub const JL_OPTIONS_DEPWARN_ON: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_DEPWARN_ERROR: ::std::os::raw::c_uint = 2;
pub const JL_OPTIONS_POLLY_ON: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_POLLY_OFF: ::std::os::raw::c_uint = 0;
pub const JL_OPTIONS_FAST_MATH_ON: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_FAST_MATH_OFF: ::std::os::raw::c_uint = 2;
pub const JL_OPTIONS_FAST_MATH_DEFAULT: ::std::os::raw::c_uint = 0;
pub const JL_OPTIONS_HANDLE_SIGNALS_ON: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_HANDLE_SIGNALS_OFF: ::std::os::raw::c_uint = 0;
pub const JL_OPTIONS_USE_PRECOMPILED_YES: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_USE_PRECOMPILED_NO: ::std::os::raw::c_uint = 0;
pub const JL_OPTIONS_USE_COMPILECACHE_YES: ::std::os::raw::c_uint = 1;
pub const JL_OPTIONS_USE_COMPILECACHE_NO: ::std::os::raw::c_uint = 0;
pub const JULIA_VERSION_STRING: &'static [u8; 6usize] = b"0.6.0\x00";
pub const JULIA_VERSION_MAJOR: ::std::os::raw::c_uint = 0;
pub const JULIA_VERSION_MINOR: ::std::os::raw::c_uint = 6;
pub const JULIA_VERSION_PATCH: ::std::os::raw::c_uint = 0;
pub const JULIA_VERSION_IS_RELEASE: ::std::os::raw::c_uint = 1;
pub type wchar_t = ::std::os::raw::c_int;
#[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,
}
#[test]
fn bindgen_test_layout_div_t() {
assert_eq!(::std::mem::size_of::<div_t>() , 8usize , concat ! (
"Size of: " , stringify ! ( div_t ) ));
assert_eq! (::std::mem::align_of::<div_t>() , 4usize , concat ! (
"Alignment of " , stringify ! ( div_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const div_t ) ) . quot as * const _ as usize }
, 0usize , concat ! (
"Alignment of field: " , stringify ! ( div_t ) , "::" ,
stringify ! ( quot ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const div_t ) ) . rem as * const _ as usize } ,
4usize , concat ! (
"Alignment of field: " , stringify ! ( div_t ) , "::" ,
stringify ! ( rem ) ));
}
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,
}
#[test]
fn bindgen_test_layout_ldiv_t() {
assert_eq!(::std::mem::size_of::<ldiv_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( ldiv_t ) ));
assert_eq! (::std::mem::align_of::<ldiv_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( ldiv_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ldiv_t ) ) . quot as * const _ as usize }
, 0usize , concat ! (
"Alignment of field: " , stringify ! ( ldiv_t ) , "::" ,
stringify ! ( quot ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ldiv_t ) ) . rem as * const _ as usize }
, 8usize , concat ! (
"Alignment of field: " , stringify ! ( ldiv_t ) , "::" ,
stringify ! ( rem ) ));
}
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,
}
#[test]
fn bindgen_test_layout_lldiv_t() {
assert_eq!(::std::mem::size_of::<lldiv_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( lldiv_t ) ));
assert_eq! (::std::mem::align_of::<lldiv_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( lldiv_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const lldiv_t ) ) . quot as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( lldiv_t ) , "::" ,
stringify ! ( quot ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const lldiv_t ) ) . rem as * const _ as usize }
, 8usize , concat ! (
"Alignment of field: " , stringify ! ( lldiv_t ) , "::" ,
stringify ! ( rem ) ));
}
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],
}
#[test]
fn bindgen_test_layout___fsid_t() {
assert_eq!(::std::mem::size_of::<__fsid_t>() , 8usize , concat ! (
"Size of: " , stringify ! ( __fsid_t ) ));
assert_eq! (::std::mem::align_of::<__fsid_t>() , 4usize , concat ! (
"Alignment of " , stringify ! ( __fsid_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __fsid_t ) ) . __val as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __fsid_t ) , "::" ,
stringify ! ( __val ) ));
}
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],
}
#[test]
fn bindgen_test_layout___sigset_t() {
assert_eq!(::std::mem::size_of::<__sigset_t>() , 128usize , concat ! (
"Size of: " , stringify ! ( __sigset_t ) ));
assert_eq! (::std::mem::align_of::<__sigset_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( __sigset_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __sigset_t ) ) . __val as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __sigset_t ) , "::" ,
stringify ! ( __val ) ));
}
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,
}
#[test]
fn bindgen_test_layout_timespec() {
assert_eq!(::std::mem::size_of::<timespec>() , 16usize , concat ! (
"Size of: " , stringify ! ( timespec ) ));
assert_eq! (::std::mem::align_of::<timespec>() , 8usize , concat ! (
"Alignment of " , stringify ! ( timespec ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const timespec ) ) . tv_sec as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( timespec ) , "::" ,
stringify ! ( tv_sec ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const timespec ) ) . tv_nsec as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( timespec ) , "::" ,
stringify ! ( tv_nsec ) ));
}
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,
}
#[test]
fn bindgen_test_layout_timeval() {
assert_eq!(::std::mem::size_of::<timeval>() , 16usize , concat ! (
"Size of: " , stringify ! ( timeval ) ));
assert_eq! (::std::mem::align_of::<timeval>() , 8usize , concat ! (
"Alignment of " , stringify ! ( timeval ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const timeval ) ) . tv_sec as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( timeval ) , "::" ,
stringify ! ( tv_sec ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const timeval ) ) . tv_usec as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( timeval ) , "::" ,
stringify ! ( tv_usec ) ));
}
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],
}
#[test]
fn bindgen_test_layout_fd_set() {
assert_eq!(::std::mem::size_of::<fd_set>() , 128usize , concat ! (
"Size of: " , stringify ! ( fd_set ) ));
assert_eq! (::std::mem::align_of::<fd_set>() , 8usize , concat ! (
"Alignment of " , stringify ! ( fd_set ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const fd_set ) ) . __fds_bits as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( fd_set ) , "::" ,
stringify ! ( __fds_bits ) ));
}
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(Debug, Copy)]
pub struct pthread_attr_t {
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 56usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_long>,
pub bindgen_union_field: [u64; 7usize],
}
#[test]
fn bindgen_test_layout_pthread_attr_t() {
assert_eq!(::std::mem::size_of::<pthread_attr_t>() , 56usize , concat ! (
"Size of: " , stringify ! ( pthread_attr_t ) ));
assert_eq! (::std::mem::align_of::<pthread_attr_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( pthread_attr_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_attr_t ) ) . __size as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_attr_t ) , "::"
, stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_attr_t ) ) . __align as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_attr_t ) , "::"
, stringify ! ( __align ) ));
}
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,
}
#[test]
fn bindgen_test_layout___pthread_internal_list() {
assert_eq!(::std::mem::size_of::<__pthread_internal_list>() , 16usize ,
concat ! (
"Size of: " , stringify ! ( __pthread_internal_list ) ));
assert_eq! (::std::mem::align_of::<__pthread_internal_list>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( __pthread_internal_list ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_internal_list ) ) . __prev as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __pthread_internal_list
) , "::" , stringify ! ( __prev ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_internal_list ) ) . __next as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( __pthread_internal_list
) , "::" , stringify ! ( __next ) ));
}
impl Clone for __pthread_internal_list {
fn clone(&self) -> Self { *self }
}
pub type __pthread_list_t = __pthread_internal_list;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_mutex_t {
pub __data: __BindgenUnionField<pthread_mutex_t___pthread_mutex_s>,
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 40usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_long>,
pub bindgen_union_field: [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,
}
#[test]
fn bindgen_test_layout_pthread_mutex_t___pthread_mutex_s() {
assert_eq!(::std::mem::size_of::<pthread_mutex_t___pthread_mutex_s>() ,
40usize , concat ! (
"Size of: " , stringify ! ( pthread_mutex_t___pthread_mutex_s )
));
assert_eq! (::std::mem::align_of::<pthread_mutex_t___pthread_mutex_s>() ,
8usize , concat ! (
"Alignment of " , stringify ! (
pthread_mutex_t___pthread_mutex_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
__lock as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
__lock ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
__count as * const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
__count ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
__owner as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
__owner ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
__nusers as * const _ as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
__nusers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
__kind as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
__kind ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
__spins as * const _ as usize } , 20usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
__spins ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
__elision as * const _ as usize } , 22usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
__elision ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
__list as * const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
__list ) ));
}
impl Clone for pthread_mutex_t___pthread_mutex_s {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_pthread_mutex_t() {
assert_eq!(::std::mem::size_of::<pthread_mutex_t>() , 40usize , concat ! (
"Size of: " , stringify ! ( pthread_mutex_t ) ));
assert_eq! (::std::mem::align_of::<pthread_mutex_t>() , 8usize , concat !
( "Alignment of " , stringify ! ( pthread_mutex_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t ) ) . __data as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_mutex_t ) ,
"::" , stringify ! ( __data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t ) ) . __size as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_mutex_t ) ,
"::" , stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutex_t ) ) . __align as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_mutex_t ) ,
"::" , stringify ! ( __align ) ));
}
impl Clone for pthread_mutex_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_mutexattr_t {
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 4usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_int>,
pub bindgen_union_field: u32,
}
#[test]
fn bindgen_test_layout_pthread_mutexattr_t() {
assert_eq!(::std::mem::size_of::<pthread_mutexattr_t>() , 4usize , concat
! ( "Size of: " , stringify ! ( pthread_mutexattr_t ) ));
assert_eq! (::std::mem::align_of::<pthread_mutexattr_t>() , 4usize ,
concat ! (
"Alignment of " , stringify ! ( pthread_mutexattr_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutexattr_t ) ) . __size as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_mutexattr_t ) ,
"::" , stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_mutexattr_t ) ) . __align as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_mutexattr_t ) ,
"::" , stringify ! ( __align ) ));
}
impl Clone for pthread_mutexattr_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_cond_t {
pub __data: __BindgenUnionField<pthread_cond_t__bindgen_ty_1>,
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 48usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_longlong>,
pub bindgen_union_field: [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,
}
#[test]
fn bindgen_test_layout_pthread_cond_t__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<pthread_cond_t__bindgen_ty_1>() , 48usize
, concat ! (
"Size of: " , stringify ! ( pthread_cond_t__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<pthread_cond_t__bindgen_ty_1>() ,
8usize , concat ! (
"Alignment of " , stringify ! ( pthread_cond_t__bindgen_ty_1 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) . __lock
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! ( __lock )
));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
__futex as * const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! ( __futex
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
__total_seq as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
__total_seq ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
__wakeup_seq as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
__wakeup_seq ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
__woken_seq as * const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
__woken_seq ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
__mutex as * const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! ( __mutex
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
__nwaiters as * const _ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
__nwaiters ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
__broadcast_seq as * const _ as usize } , 44usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
__broadcast_seq ) ));
}
impl Clone for pthread_cond_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_pthread_cond_t() {
assert_eq!(::std::mem::size_of::<pthread_cond_t>() , 48usize , concat ! (
"Size of: " , stringify ! ( pthread_cond_t ) ));
assert_eq! (::std::mem::align_of::<pthread_cond_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( pthread_cond_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t ) ) . __data as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_cond_t ) , "::"
, stringify ! ( __data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t ) ) . __size as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_cond_t ) , "::"
, stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_cond_t ) ) . __align as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_cond_t ) , "::"
, stringify ! ( __align ) ));
}
impl Clone for pthread_cond_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_condattr_t {
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 4usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_int>,
pub bindgen_union_field: u32,
}
#[test]
fn bindgen_test_layout_pthread_condattr_t() {
assert_eq!(::std::mem::size_of::<pthread_condattr_t>() , 4usize , concat !
( "Size of: " , stringify ! ( pthread_condattr_t ) ));
assert_eq! (::std::mem::align_of::<pthread_condattr_t>() , 4usize , concat
! ( "Alignment of " , stringify ! ( pthread_condattr_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_condattr_t ) ) . __size as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_condattr_t ) ,
"::" , stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_condattr_t ) ) . __align as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_condattr_t ) ,
"::" , stringify ! ( __align ) ));
}
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(Debug, Copy)]
pub struct pthread_rwlock_t {
pub __data: __BindgenUnionField<pthread_rwlock_t__bindgen_ty_1>,
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 56usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_long>,
pub bindgen_union_field: [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,
}
#[test]
fn bindgen_test_layout_pthread_rwlock_t__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<pthread_rwlock_t__bindgen_ty_1>() ,
56usize , concat ! (
"Size of: " , stringify ! ( pthread_rwlock_t__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<pthread_rwlock_t__bindgen_ty_1>() ,
8usize , concat ! (
"Alignment of " , stringify ! ( pthread_rwlock_t__bindgen_ty_1
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__lock as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! ( __lock
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__nr_readers as * const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
__nr_readers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__readers_wakeup as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
__readers_wakeup ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__writer_wakeup as * const _ as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
__writer_wakeup ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__nr_readers_queued as * const _ as usize } , 16usize , concat
! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
__nr_readers_queued ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__nr_writers_queued as * const _ as usize } , 20usize , concat
! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
__nr_writers_queued ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__writer as * const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
__writer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__shared as * const _ as usize } , 28usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
__shared ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__rwelision as * const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
__rwelision ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__pad1 as * const _ as usize } , 33usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! ( __pad1
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__pad2 as * const _ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! ( __pad2
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
__flags as * const _ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! (
pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
__flags ) ));
}
impl Clone for pthread_rwlock_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_pthread_rwlock_t() {
assert_eq!(::std::mem::size_of::<pthread_rwlock_t>() , 56usize , concat !
( "Size of: " , stringify ! ( pthread_rwlock_t ) ));
assert_eq! (::std::mem::align_of::<pthread_rwlock_t>() , 8usize , concat !
( "Alignment of " , stringify ! ( pthread_rwlock_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t ) ) . __data as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_rwlock_t ) ,
"::" , stringify ! ( __data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t ) ) . __size as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_rwlock_t ) ,
"::" , stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlock_t ) ) . __align as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_rwlock_t ) ,
"::" , stringify ! ( __align ) ));
}
impl Clone for pthread_rwlock_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_rwlockattr_t {
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 8usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_long>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_pthread_rwlockattr_t() {
assert_eq!(::std::mem::size_of::<pthread_rwlockattr_t>() , 8usize , concat
! ( "Size of: " , stringify ! ( pthread_rwlockattr_t ) ));
assert_eq! (::std::mem::align_of::<pthread_rwlockattr_t>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( pthread_rwlockattr_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlockattr_t ) ) . __size as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_rwlockattr_t )
, "::" , stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_rwlockattr_t ) ) . __align as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_rwlockattr_t )
, "::" , stringify ! ( __align ) ));
}
impl Clone for pthread_rwlockattr_t {
fn clone(&self) -> Self { *self }
}
pub type pthread_spinlock_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_barrier_t {
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 32usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_long>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_pthread_barrier_t() {
assert_eq!(::std::mem::size_of::<pthread_barrier_t>() , 32usize , concat !
( "Size of: " , stringify ! ( pthread_barrier_t ) ));
assert_eq! (::std::mem::align_of::<pthread_barrier_t>() , 8usize , concat
! ( "Alignment of " , stringify ! ( pthread_barrier_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_barrier_t ) ) . __size as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_barrier_t ) ,
"::" , stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_barrier_t ) ) . __align as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_barrier_t ) ,
"::" , stringify ! ( __align ) ));
}
impl Clone for pthread_barrier_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_barrierattr_t {
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 4usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_int>,
pub bindgen_union_field: u32,
}
#[test]
fn bindgen_test_layout_pthread_barrierattr_t() {
assert_eq!(::std::mem::size_of::<pthread_barrierattr_t>() , 4usize ,
concat ! ( "Size of: " , stringify ! ( pthread_barrierattr_t )
));
assert_eq! (::std::mem::align_of::<pthread_barrierattr_t>() , 4usize ,
concat ! (
"Alignment of " , stringify ! ( pthread_barrierattr_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_barrierattr_t ) ) . __size as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_barrierattr_t )
, "::" , stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const pthread_barrierattr_t ) ) . __align as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( pthread_barrierattr_t )
, "::" , stringify ! ( __align ) ));
}
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,
}
#[test]
fn bindgen_test_layout_random_data() {
assert_eq!(::std::mem::size_of::<random_data>() , 48usize , concat ! (
"Size of: " , stringify ! ( random_data ) ));
assert_eq! (::std::mem::align_of::<random_data>() , 8usize , concat ! (
"Alignment of " , stringify ! ( random_data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const random_data ) ) . fptr as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( random_data ) , "::" ,
stringify ! ( fptr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const random_data ) ) . rptr as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( random_data ) , "::" ,
stringify ! ( rptr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const random_data ) ) . state as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( random_data ) , "::" ,
stringify ! ( state ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const random_data ) ) . rand_type as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( random_data ) , "::" ,
stringify ! ( rand_type ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const random_data ) ) . rand_deg as * const _
as usize } , 28usize , concat ! (
"Alignment of field: " , stringify ! ( random_data ) , "::" ,
stringify ! ( rand_deg ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const random_data ) ) . rand_sep as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( random_data ) , "::" ,
stringify ! ( rand_sep ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const random_data ) ) . end_ptr as * const _ as
usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( random_data ) , "::" ,
stringify ! ( end_ptr ) ));
}
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,
}
#[test]
fn bindgen_test_layout_drand48_data() {
assert_eq!(::std::mem::size_of::<drand48_data>() , 24usize , concat ! (
"Size of: " , stringify ! ( drand48_data ) ));
assert_eq! (::std::mem::align_of::<drand48_data>() , 8usize , concat ! (
"Alignment of " , stringify ! ( drand48_data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const drand48_data ) ) . __x as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( drand48_data ) , "::" ,
stringify ! ( __x ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const drand48_data ) ) . __old_x as * const _
as usize } , 6usize , concat ! (
"Alignment of field: " , stringify ! ( drand48_data ) , "::" ,
stringify ! ( __old_x ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const drand48_data ) ) . __c as * const _ as
usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! ( drand48_data ) , "::" ,
stringify ! ( __c ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const drand48_data ) ) . __init as * const _ as
usize } , 14usize , concat ! (
"Alignment of field: " , stringify ! ( drand48_data ) , "::" ,
stringify ! ( __init ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const drand48_data ) ) . __a as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( drand48_data ) , "::" ,
stringify ! ( __a ) ));
}
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 va_list = __builtin_va_list;
pub type __gnuc_va_list = __builtin_va_list;
extern "C" {
pub fn __assert_fail(__assertion: *const ::std::os::raw::c_char,
__file: *const ::std::os::raw::c_char,
__line: ::std::os::raw::c_uint,
__function: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn __assert_perror_fail(__errnum: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char,
__line: ::std::os::raw::c_uint,
__function: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn __assert(__assertion: *const ::std::os::raw::c_char,
__file: *const ::std::os::raw::c_char,
__line: ::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,
}
#[test]
fn bindgen_test_layout_max_align_t() {
assert_eq!(::std::mem::size_of::<max_align_t>() , 32usize , concat ! (
"Size of: " , stringify ! ( max_align_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const max_align_t ) ) .
__clang_max_align_nonce1 as * const _ as usize } , 0usize ,
concat ! (
"Alignment of field: " , stringify ! ( max_align_t ) , "::" ,
stringify ! ( __clang_max_align_nonce1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const max_align_t ) ) .
__clang_max_align_nonce2 as * const _ as usize } , 16usize ,
concat ! (
"Alignment of field: " , stringify ! ( max_align_t ) , "::" ,
stringify ! ( __clang_max_align_nonce2 ) ));
}
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;
pub type float_t = f32;
pub type double_t = f64;
extern "C" {
pub fn acos(__x: f64) -> f64;
}
extern "C" {
pub fn __acos(__x: f64) -> f64;
}
extern "C" {
pub fn asin(__x: f64) -> f64;
}
extern "C" {
pub fn __asin(__x: f64) -> f64;
}
extern "C" {
pub fn atan(__x: f64) -> f64;
}
extern "C" {
pub fn __atan(__x: f64) -> f64;
}
extern "C" {
pub fn atan2(__y: f64, __x: f64) -> f64;
}
extern "C" {
pub fn __atan2(__y: f64, __x: f64) -> f64;
}
extern "C" {
pub fn cos(__x: f64) -> f64;
}
extern "C" {
pub fn __cos(__x: f64) -> f64;
}
extern "C" {
pub fn sin(__x: f64) -> f64;
}
extern "C" {
pub fn __sin(__x: f64) -> f64;
}
extern "C" {
pub fn tan(__x: f64) -> f64;
}
extern "C" {
pub fn __tan(__x: f64) -> f64;
}
extern "C" {
pub fn cosh(__x: f64) -> f64;
}
extern "C" {
pub fn __cosh(__x: f64) -> f64;
}
extern "C" {
pub fn sinh(__x: f64) -> f64;
}
extern "C" {
pub fn __sinh(__x: f64) -> f64;
}
extern "C" {
pub fn tanh(__x: f64) -> f64;
}
extern "C" {
pub fn __tanh(__x: f64) -> f64;
}
extern "C" {
pub fn acosh(__x: f64) -> f64;
}
extern "C" {
pub fn __acosh(__x: f64) -> f64;
}
extern "C" {
pub fn asinh(__x: f64) -> f64;
}
extern "C" {
pub fn __asinh(__x: f64) -> f64;
}
extern "C" {
pub fn atanh(__x: f64) -> f64;
}
extern "C" {
pub fn __atanh(__x: f64) -> f64;
}
extern "C" {
pub fn exp(__x: f64) -> f64;
}
extern "C" {
pub fn __exp(__x: f64) -> f64;
}
extern "C" {
pub fn frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn log(__x: f64) -> f64;
}
extern "C" {
pub fn __log(__x: f64) -> f64;
}
extern "C" {
pub fn log10(__x: f64) -> f64;
}
extern "C" {
pub fn __log10(__x: f64) -> f64;
}
extern "C" {
pub fn modf(__x: f64, __iptr: *mut f64) -> f64;
}
extern "C" {
pub fn __modf(__x: f64, __iptr: *mut f64) -> f64;
}
extern "C" {
pub fn expm1(__x: f64) -> f64;
}
extern "C" {
pub fn __expm1(__x: f64) -> f64;
}
extern "C" {
pub fn log1p(__x: f64) -> f64;
}
extern "C" {
pub fn __log1p(__x: f64) -> f64;
}
extern "C" {
pub fn logb(__x: f64) -> f64;
}
extern "C" {
pub fn __logb(__x: f64) -> f64;
}
extern "C" {
pub fn exp2(__x: f64) -> f64;
}
extern "C" {
pub fn __exp2(__x: f64) -> f64;
}
extern "C" {
pub fn log2(__x: f64) -> f64;
}
extern "C" {
pub fn __log2(__x: f64) -> f64;
}
extern "C" {
pub fn pow(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __pow(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn sqrt(__x: f64) -> f64;
}
extern "C" {
pub fn __sqrt(__x: f64) -> f64;
}
extern "C" {
pub fn hypot(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __hypot(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn cbrt(__x: f64) -> f64;
}
extern "C" {
pub fn __cbrt(__x: f64) -> f64;
}
extern "C" {
pub fn ceil(__x: f64) -> f64;
}
extern "C" {
pub fn __ceil(__x: f64) -> f64;
}
extern "C" {
pub fn fabs(__x: f64) -> f64;
}
extern "C" {
pub fn __fabs(__x: f64) -> f64;
}
extern "C" {
pub fn floor(__x: f64) -> f64;
}
extern "C" {
pub fn __floor(__x: f64) -> f64;
}
extern "C" {
pub fn fmod(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fmod(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __isinf(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __finite(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isinf(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn finite(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn drem(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __drem(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn significand(__x: f64) -> f64;
}
extern "C" {
pub fn __significand(__x: f64) -> f64;
}
extern "C" {
pub fn copysign(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __copysign(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn nan(__tagb: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn __nan(__tagb: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn __isnan(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isnan(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn j0(arg1: f64) -> f64;
}
extern "C" {
pub fn __j0(arg1: f64) -> f64;
}
extern "C" {
pub fn j1(arg1: f64) -> f64;
}
extern "C" {
pub fn __j1(arg1: f64) -> f64;
}
extern "C" {
pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn __jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn y0(arg1: f64) -> f64;
}
extern "C" {
pub fn __y0(arg1: f64) -> f64;
}
extern "C" {
pub fn y1(arg1: f64) -> f64;
}
extern "C" {
pub fn __y1(arg1: f64) -> f64;
}
extern "C" {
pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn __yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn erf(arg1: f64) -> f64;
}
extern "C" {
pub fn __erf(arg1: f64) -> f64;
}
extern "C" {
pub fn erfc(arg1: f64) -> f64;
}
extern "C" {
pub fn __erfc(arg1: f64) -> f64;
}
extern "C" {
pub fn lgamma(arg1: f64) -> f64;
}
extern "C" {
pub fn __lgamma(arg1: f64) -> f64;
}
extern "C" {
pub fn tgamma(arg1: f64) -> f64;
}
extern "C" {
pub fn __tgamma(arg1: f64) -> f64;
}
extern "C" {
pub fn gamma(arg1: f64) -> f64;
}
extern "C" {
pub fn __gamma(arg1: f64) -> f64;
}
extern "C" {
pub fn lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int)
-> f64;
}
extern "C" {
pub fn rint(__x: f64) -> f64;
}
extern "C" {
pub fn __rint(__x: f64) -> f64;
}
extern "C" {
pub fn nextafter(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __nextafter(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn nexttoward(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __nexttoward(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn remainder(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __remainder(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn ilogb(__x: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __ilogb(__x: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64;
}
extern "C" {
pub fn __scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64;
}
extern "C" {
pub fn nearbyint(__x: f64) -> f64;
}
extern "C" {
pub fn __nearbyint(__x: f64) -> f64;
}
extern "C" {
pub fn round(__x: f64) -> f64;
}
extern "C" {
pub fn __round(__x: f64) -> f64;
}
extern "C" {
pub fn trunc(__x: f64) -> f64;
}
extern "C" {
pub fn __trunc(__x: f64) -> f64;
}
extern "C" {
pub fn remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int)
-> f64;
}
extern "C" {
pub fn __remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int)
-> f64;
}
extern "C" {
pub fn lrint(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lrint(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llrint(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llrint(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn lround(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lround(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llround(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llround(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn fdim(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fdim(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn fmax(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fmax(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn fmin(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fmin(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fpclassify(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __signbit(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fma(__x: f64, __y: f64, __z: f64) -> f64;
}
extern "C" {
pub fn __fma(__x: f64, __y: f64, __z: f64) -> f64;
}
extern "C" {
pub fn scalb(__x: f64, __n: f64) -> f64;
}
extern "C" {
pub fn __scalb(__x: f64, __n: f64) -> f64;
}
extern "C" {
pub fn acosf(__x: f32) -> f32;
}
extern "C" {
pub fn __acosf(__x: f32) -> f32;
}
extern "C" {
pub fn asinf(__x: f32) -> f32;
}
extern "C" {
pub fn __asinf(__x: f32) -> f32;
}
extern "C" {
pub fn atanf(__x: f32) -> f32;
}
extern "C" {
pub fn __atanf(__x: f32) -> f32;
}
extern "C" {
pub fn atan2f(__y: f32, __x: f32) -> f32;
}
extern "C" {
pub fn __atan2f(__y: f32, __x: f32) -> f32;
}
extern "C" {
pub fn cosf(__x: f32) -> f32;
}
extern "C" {
pub fn __cosf(__x: f32) -> f32;
}
extern "C" {
pub fn sinf(__x: f32) -> f32;
}
extern "C" {
pub fn __sinf(__x: f32) -> f32;
}
extern "C" {
pub fn tanf(__x: f32) -> f32;
}
extern "C" {
pub fn __tanf(__x: f32) -> f32;
}
extern "C" {
pub fn coshf(__x: f32) -> f32;
}
extern "C" {
pub fn __coshf(__x: f32) -> f32;
}
extern "C" {
pub fn sinhf(__x: f32) -> f32;
}
extern "C" {
pub fn __sinhf(__x: f32) -> f32;
}
extern "C" {
pub fn tanhf(__x: f32) -> f32;
}
extern "C" {
pub fn __tanhf(__x: f32) -> f32;
}
extern "C" {
pub fn acoshf(__x: f32) -> f32;
}
extern "C" {
pub fn __acoshf(__x: f32) -> f32;
}
extern "C" {
pub fn asinhf(__x: f32) -> f32;
}
extern "C" {
pub fn __asinhf(__x: f32) -> f32;
}
extern "C" {
pub fn atanhf(__x: f32) -> f32;
}
extern "C" {
pub fn __atanhf(__x: f32) -> f32;
}
extern "C" {
pub fn expf(__x: f32) -> f32;
}
extern "C" {
pub fn __expf(__x: f32) -> f32;
}
extern "C" {
pub fn frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn __frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn __ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn logf(__x: f32) -> f32;
}
extern "C" {
pub fn __logf(__x: f32) -> f32;
}
extern "C" {
pub fn log10f(__x: f32) -> f32;
}
extern "C" {
pub fn __log10f(__x: f32) -> f32;
}
extern "C" {
pub fn modff(__x: f32, __iptr: *mut f32) -> f32;
}
extern "C" {
pub fn __modff(__x: f32, __iptr: *mut f32) -> f32;
}
extern "C" {
pub fn expm1f(__x: f32) -> f32;
}
extern "C" {
pub fn __expm1f(__x: f32) -> f32;
}
extern "C" {
pub fn log1pf(__x: f32) -> f32;
}
extern "C" {
pub fn __log1pf(__x: f32) -> f32;
}
extern "C" {
pub fn logbf(__x: f32) -> f32;
}
extern "C" {
pub fn __logbf(__x: f32) -> f32;
}
extern "C" {
pub fn exp2f(__x: f32) -> f32;
}
extern "C" {
pub fn __exp2f(__x: f32) -> f32;
}
extern "C" {
pub fn log2f(__x: f32) -> f32;
}
extern "C" {
pub fn __log2f(__x: f32) -> f32;
}
extern "C" {
pub fn powf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __powf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn sqrtf(__x: f32) -> f32;
}
extern "C" {
pub fn __sqrtf(__x: f32) -> f32;
}
extern "C" {
pub fn hypotf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __hypotf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn cbrtf(__x: f32) -> f32;
}
extern "C" {
pub fn __cbrtf(__x: f32) -> f32;
}
extern "C" {
pub fn ceilf(__x: f32) -> f32;
}
extern "C" {
pub fn __ceilf(__x: f32) -> f32;
}
extern "C" {
pub fn fabsf(__x: f32) -> f32;
}
extern "C" {
pub fn __fabsf(__x: f32) -> f32;
}
extern "C" {
pub fn floorf(__x: f32) -> f32;
}
extern "C" {
pub fn __floorf(__x: f32) -> f32;
}
extern "C" {
pub fn fmodf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fmodf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __isinff(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __finitef(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isinff(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn finitef(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn dremf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __dremf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn significandf(__x: f32) -> f32;
}
extern "C" {
pub fn __significandf(__x: f32) -> f32;
}
extern "C" {
pub fn copysignf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __copysignf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn nanf(__tagb: *const ::std::os::raw::c_char) -> f32;
}
extern "C" {
pub fn __nanf(__tagb: *const ::std::os::raw::c_char) -> f32;
}
extern "C" {
pub fn __isnanf(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isnanf(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn j0f(arg1: f32) -> f32;
}
extern "C" {
pub fn __j0f(arg1: f32) -> f32;
}
extern "C" {
pub fn j1f(arg1: f32) -> f32;
}
extern "C" {
pub fn __j1f(arg1: f32) -> f32;
}
extern "C" {
pub fn jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32;
}
extern "C" {
pub fn __jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32;
}
extern "C" {
pub fn y0f(arg1: f32) -> f32;
}
extern "C" {
pub fn __y0f(arg1: f32) -> f32;
}
extern "C" {
pub fn y1f(arg1: f32) -> f32;
}
extern "C" {
pub fn __y1f(arg1: f32) -> f32;
}
extern "C" {
pub fn ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32;
}
extern "C" {
pub fn __ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32;
}
extern "C" {
pub fn erff(arg1: f32) -> f32;
}
extern "C" {
pub fn __erff(arg1: f32) -> f32;
}
extern "C" {
pub fn erfcf(arg1: f32) -> f32;
}
extern "C" {
pub fn __erfcf(arg1: f32) -> f32;
}
extern "C" {
pub fn lgammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn __lgammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn tgammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn __tgammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn gammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn __gammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int)
-> f32;
}
extern "C" {
pub fn __lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int)
-> f32;
}
extern "C" {
pub fn rintf(__x: f32) -> f32;
}
extern "C" {
pub fn __rintf(__x: f32) -> f32;
}
extern "C" {
pub fn nextafterf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __nextafterf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn nexttowardf(__x: f32, __y: f64) -> f32;
}
extern "C" {
pub fn __nexttowardf(__x: f32, __y: f64) -> f32;
}
extern "C" {
pub fn remainderf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __remainderf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn __scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn ilogbf(__x: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __ilogbf(__x: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32;
}
extern "C" {
pub fn __scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32;
}
extern "C" {
pub fn nearbyintf(__x: f32) -> f32;
}
extern "C" {
pub fn __nearbyintf(__x: f32) -> f32;
}
extern "C" {
pub fn roundf(__x: f32) -> f32;
}
extern "C" {
pub fn __roundf(__x: f32) -> f32;
}
extern "C" {
pub fn truncf(__x: f32) -> f32;
}
extern "C" {
pub fn __truncf(__x: f32) -> f32;
}
extern "C" {
pub fn remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int)
-> f32;
}
extern "C" {
pub fn __remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int)
-> f32;
}
extern "C" {
pub fn lrintf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lrintf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llrintf(__x: f32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llrintf(__x: f32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn lroundf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lroundf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llroundf(__x: f32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llroundf(__x: f32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn fdimf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fdimf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn fmaxf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fmaxf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn fminf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fminf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fpclassifyf(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __signbitf(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fmaf(__x: f32, __y: f32, __z: f32) -> f32;
}
extern "C" {
pub fn __fmaf(__x: f32, __y: f32, __z: f32) -> f32;
}
extern "C" {
pub fn scalbf(__x: f32, __n: f32) -> f32;
}
extern "C" {
pub fn __scalbf(__x: f32, __n: f32) -> f32;
}
extern "C" {
pub fn acosl(__x: f64) -> f64;
}
extern "C" {
pub fn __acosl(__x: f64) -> f64;
}
extern "C" {
pub fn asinl(__x: f64) -> f64;
}
extern "C" {
pub fn __asinl(__x: f64) -> f64;
}
extern "C" {
pub fn atanl(__x: f64) -> f64;
}
extern "C" {
pub fn __atanl(__x: f64) -> f64;
}
extern "C" {
pub fn atan2l(__y: f64, __x: f64) -> f64;
}
extern "C" {
pub fn __atan2l(__y: f64, __x: f64) -> f64;
}
extern "C" {
pub fn cosl(__x: f64) -> f64;
}
extern "C" {
pub fn __cosl(__x: f64) -> f64;
}
extern "C" {
pub fn sinl(__x: f64) -> f64;
}
extern "C" {
pub fn __sinl(__x: f64) -> f64;
}
extern "C" {
pub fn tanl(__x: f64) -> f64;
}
extern "C" {
pub fn __tanl(__x: f64) -> f64;
}
extern "C" {
pub fn coshl(__x: f64) -> f64;
}
extern "C" {
pub fn __coshl(__x: f64) -> f64;
}
extern "C" {
pub fn sinhl(__x: f64) -> f64;
}
extern "C" {
pub fn __sinhl(__x: f64) -> f64;
}
extern "C" {
pub fn tanhl(__x: f64) -> f64;
}
extern "C" {
pub fn __tanhl(__x: f64) -> f64;
}
extern "C" {
pub fn acoshl(__x: f64) -> f64;
}
extern "C" {
pub fn __acoshl(__x: f64) -> f64;
}
extern "C" {
pub fn asinhl(__x: f64) -> f64;
}
extern "C" {
pub fn __asinhl(__x: f64) -> f64;
}
extern "C" {
pub fn atanhl(__x: f64) -> f64;
}
extern "C" {
pub fn __atanhl(__x: f64) -> f64;
}
extern "C" {
pub fn expl(__x: f64) -> f64;
}
extern "C" {
pub fn __expl(__x: f64) -> f64;
}
extern "C" {
pub fn frexpl(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __frexpl(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn ldexpl(__x: f64, __exponent: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __ldexpl(__x: f64, __exponent: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn logl(__x: f64) -> f64;
}
extern "C" {
pub fn __logl(__x: f64) -> f64;
}
extern "C" {
pub fn log10l(__x: f64) -> f64;
}
extern "C" {
pub fn __log10l(__x: f64) -> f64;
}
extern "C" {
pub fn modfl(__x: f64, __iptr: *mut f64) -> f64;
}
extern "C" {
pub fn __modfl(__x: f64, __iptr: *mut f64) -> f64;
}
extern "C" {
pub fn expm1l(__x: f64) -> f64;
}
extern "C" {
pub fn __expm1l(__x: f64) -> f64;
}
extern "C" {
pub fn log1pl(__x: f64) -> f64;
}
extern "C" {
pub fn __log1pl(__x: f64) -> f64;
}
extern "C" {
pub fn logbl(__x: f64) -> f64;
}
extern "C" {
pub fn __logbl(__x: f64) -> f64;
}
extern "C" {
pub fn exp2l(__x: f64) -> f64;
}
extern "C" {
pub fn __exp2l(__x: f64) -> f64;
}
extern "C" {
pub fn log2l(__x: f64) -> f64;
}
extern "C" {
pub fn __log2l(__x: f64) -> f64;
}
extern "C" {
pub fn powl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __powl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn sqrtl(__x: f64) -> f64;
}
extern "C" {
pub fn __sqrtl(__x: f64) -> f64;
}
extern "C" {
pub fn hypotl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __hypotl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn cbrtl(__x: f64) -> f64;
}
extern "C" {
pub fn __cbrtl(__x: f64) -> f64;
}
extern "C" {
pub fn ceill(__x: f64) -> f64;
}
extern "C" {
pub fn __ceill(__x: f64) -> f64;
}
extern "C" {
pub fn fabsl(__x: f64) -> f64;
}
extern "C" {
pub fn __fabsl(__x: f64) -> f64;
}
extern "C" {
pub fn floorl(__x: f64) -> f64;
}
extern "C" {
pub fn __floorl(__x: f64) -> f64;
}
extern "C" {
pub fn fmodl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fmodl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __isinfl(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __finitel(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isinfl(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn finitel(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn dreml(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __dreml(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn significandl(__x: f64) -> f64;
}
extern "C" {
pub fn __significandl(__x: f64) -> f64;
}
extern "C" {
pub fn copysignl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __copysignl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn nanl(__tagb: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn __nanl(__tagb: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn __isnanl(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isnanl(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn j0l(arg1: f64) -> f64;
}
extern "C" {
pub fn __j0l(arg1: f64) -> f64;
}
extern "C" {
pub fn j1l(arg1: f64) -> f64;
}
extern "C" {
pub fn __j1l(arg1: f64) -> f64;
}
extern "C" {
pub fn jnl(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn __jnl(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn y0l(arg1: f64) -> f64;
}
extern "C" {
pub fn __y0l(arg1: f64) -> f64;
}
extern "C" {
pub fn y1l(arg1: f64) -> f64;
}
extern "C" {
pub fn __y1l(arg1: f64) -> f64;
}
extern "C" {
pub fn ynl(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn __ynl(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn erfl(arg1: f64) -> f64;
}
extern "C" {
pub fn __erfl(arg1: f64) -> f64;
}
extern "C" {
pub fn erfcl(arg1: f64) -> f64;
}
extern "C" {
pub fn __erfcl(arg1: f64) -> f64;
}
extern "C" {
pub fn lgammal(arg1: f64) -> f64;
}
extern "C" {
pub fn __lgammal(arg1: f64) -> f64;
}
extern "C" {
pub fn tgammal(arg1: f64) -> f64;
}
extern "C" {
pub fn __tgammal(arg1: f64) -> f64;
}
extern "C" {
pub fn gammal(arg1: f64) -> f64;
}
extern "C" {
pub fn __gammal(arg1: f64) -> f64;
}
extern "C" {
pub fn lgammal_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int)
-> f64;
}
extern "C" {
pub fn __lgammal_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int)
-> f64;
}
extern "C" {
pub fn rintl(__x: f64) -> f64;
}
extern "C" {
pub fn __rintl(__x: f64) -> f64;
}
extern "C" {
pub fn nextafterl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __nextafterl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn nexttowardl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __nexttowardl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn remainderl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __remainderl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn scalbnl(__x: f64, __n: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __scalbnl(__x: f64, __n: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn ilogbl(__x: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __ilogbl(__x: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scalblnl(__x: f64, __n: ::std::os::raw::c_long) -> f64;
}
extern "C" {
pub fn __scalblnl(__x: f64, __n: ::std::os::raw::c_long) -> f64;
}
extern "C" {
pub fn nearbyintl(__x: f64) -> f64;
}
extern "C" {
pub fn __nearbyintl(__x: f64) -> f64;
}
extern "C" {
pub fn roundl(__x: f64) -> f64;
}
extern "C" {
pub fn __roundl(__x: f64) -> f64;
}
extern "C" {
pub fn truncl(__x: f64) -> f64;
}
extern "C" {
pub fn __truncl(__x: f64) -> f64;
}
extern "C" {
pub fn remquol(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int)
-> f64;
}
extern "C" {
pub fn __remquol(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int)
-> f64;
}
extern "C" {
pub fn lrintl(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lrintl(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llrintl(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llrintl(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn lroundl(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lroundl(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llroundl(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llroundl(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn fdiml(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fdiml(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn fmaxl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fmaxl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn fminl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fminl(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fpclassifyl(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __signbitl(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fmal(__x: f64, __y: f64, __z: f64) -> f64;
}
extern "C" {
pub fn __fmal(__x: f64, __y: f64, __z: f64) -> f64;
}
extern "C" {
pub fn scalbl(__x: f64, __n: f64) -> f64;
}
extern "C" {
pub fn __scalbl(__x: f64, __n: f64) -> f64;
}
extern "C" {
#[link_name = "signgam"]
pub static mut signgam: ::std::os::raw::c_int;
}
pub const FP_NAN: _bindgen_ty_1 = _bindgen_ty_1::FP_NAN;
pub const FP_INFINITE: _bindgen_ty_1 = _bindgen_ty_1::FP_INFINITE;
pub const FP_ZERO: _bindgen_ty_1 = _bindgen_ty_1::FP_ZERO;
pub const FP_SUBNORMAL: _bindgen_ty_1 = _bindgen_ty_1::FP_SUBNORMAL;
pub const FP_NORMAL: _bindgen_ty_1 = _bindgen_ty_1::FP_NORMAL;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_1 {
FP_NAN = 0,
FP_INFINITE = 1,
FP_ZERO = 2,
FP_SUBNORMAL = 3,
FP_NORMAL = 4,
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _LIB_VERSION_TYPE {
_IEEE_ = -1,
_SVID_ = 0,
_XOPEN_ = 1,
_POSIX_ = 2,
_ISOC_ = 3,
}
extern "C" {
#[link_name = "_LIB_VERSION"]
pub static mut _LIB_VERSION: _LIB_VERSION_TYPE;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct exception {
pub type_: ::std::os::raw::c_int,
pub name: *mut ::std::os::raw::c_char,
pub arg1: f64,
pub arg2: f64,
pub retval: f64,
}
#[test]
fn bindgen_test_layout_exception() {
assert_eq!(::std::mem::size_of::<exception>() , 40usize , concat ! (
"Size of: " , stringify ! ( exception ) ));
assert_eq! (::std::mem::align_of::<exception>() , 8usize , concat ! (
"Alignment of " , stringify ! ( exception ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const exception ) ) . type_ as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( exception ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const exception ) ) . name as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( exception ) , "::" ,
stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const exception ) ) . arg1 as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( exception ) , "::" ,
stringify ! ( arg1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const exception ) ) . arg2 as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( exception ) , "::" ,
stringify ! ( arg2 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const exception ) ) . retval as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( exception ) , "::" ,
stringify ! ( retval ) ));
}
impl Clone for exception {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn matherr(__exc: *mut exception) -> ::std::os::raw::c_int;
}
pub type __gwchar_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct imaxdiv_t {
pub quot: ::std::os::raw::c_long,
pub rem: ::std::os::raw::c_long,
}
#[test]
fn bindgen_test_layout_imaxdiv_t() {
assert_eq!(::std::mem::size_of::<imaxdiv_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( imaxdiv_t ) ));
assert_eq! (::std::mem::align_of::<imaxdiv_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( imaxdiv_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const imaxdiv_t ) ) . quot as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( imaxdiv_t ) , "::" ,
stringify ! ( quot ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const imaxdiv_t ) ) . rem as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( imaxdiv_t ) , "::" ,
stringify ! ( rem ) ));
}
impl Clone for imaxdiv_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn imaxabs(__n: intmax_t) -> intmax_t;
}
extern "C" {
pub fn imaxdiv(__numer: intmax_t, __denom: intmax_t) -> imaxdiv_t;
}
extern "C" {
pub fn strtoimax(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int) -> intmax_t;
}
extern "C" {
pub fn strtoumax(__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int) -> uintmax_t;
}
extern "C" {
pub fn wcstoimax(__nptr: *const __gwchar_t,
__endptr: *mut *mut __gwchar_t,
__base: ::std::os::raw::c_int) -> intmax_t;
}
extern "C" {
pub fn wcstoumax(__nptr: *const __gwchar_t,
__endptr: *mut *mut __gwchar_t,
__base: ::std::os::raw::c_int) -> uintmax_t;
}
pub type bool_t = ::std::os::raw::c_int;
pub type byte_t = ::std::os::raw::c_uchar;
pub type uint_t = u64;
pub type int_t = i64;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum numerictype_t {
T_INT8 = 0,
T_UINT8 = 1,
T_INT16 = 2,
T_UINT16 = 3,
T_INT32 = 4,
T_UINT32 = 5,
T_INT64 = 6,
T_UINT64 = 7,
T_FLOAT = 8,
T_DOUBLE = 9,
}
extern "C" {
pub fn uint2str(dest: *mut ::std::os::raw::c_char, len: usize, num: u64,
base: u32) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn str2int(str: *mut ::std::os::raw::c_char, len: usize,
res: *mut i64, base: u32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isdigit_base(c: ::std::os::raw::c_char,
base: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn conv_to_double(data: *mut ::std::os::raw::c_void,
tag: numerictype_t) -> f64;
}
extern "C" {
pub fn conv_to_int64(data: *mut ::std::os::raw::c_void,
tag: numerictype_t) -> i64;
}
extern "C" {
pub fn conv_to_uint64(data: *mut ::std::os::raw::c_void,
tag: numerictype_t) -> u64;
}
extern "C" {
pub fn conv_to_int32(data: *mut ::std::os::raw::c_void,
tag: numerictype_t) -> i32;
}
extern "C" {
pub fn conv_to_uint32(data: *mut ::std::os::raw::c_void,
tag: numerictype_t) -> u32;
}
extern "C" {
pub fn cmp_same_lt(a: *mut ::std::os::raw::c_void,
b: *mut ::std::os::raw::c_void, tag: numerictype_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn cmp_same_eq(a: *mut ::std::os::raw::c_void,
b: *mut ::std::os::raw::c_void, tag: numerictype_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn cmp_lt(a: *mut ::std::os::raw::c_void, atag: numerictype_t,
b: *mut ::std::os::raw::c_void, btag: numerictype_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn cmp_eq(a: *mut ::std::os::raw::c_void, atag: numerictype_t,
b: *mut ::std::os::raw::c_void, btag: numerictype_t,
equalnans: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn u8_toucs(dest: *mut u32, sz: usize,
src: *const ::std::os::raw::c_char, srcsz: usize)
-> usize;
}
extern "C" {
pub fn u8_toutf8(dest: *mut ::std::os::raw::c_char, sz: usize,
src: *const u32, srcsz: usize) -> usize;
}
extern "C" {
pub fn u8_wc_toutf8(dest: *mut ::std::os::raw::c_char, ch: u32) -> usize;
}
extern "C" {
pub fn u8_offset(str: *const ::std::os::raw::c_char, charnum: usize)
-> usize;
}
extern "C" {
pub fn u8_charnum(str: *const ::std::os::raw::c_char, offset: usize)
-> usize;
}
extern "C" {
pub fn u8_nextchar(s: *const ::std::os::raw::c_char, i: *mut usize)
-> u32;
}
extern "C" {
pub fn u8_nextmemchar(s: *const ::std::os::raw::c_char, i: *mut usize)
-> u32;
}
extern "C" {
pub fn u8_inc(s: *const ::std::os::raw::c_char, i: *mut usize);
}
extern "C" {
pub fn u8_dec(s: *const ::std::os::raw::c_char, i: *mut usize);
}
extern "C" {
pub fn u8_seqlen(s: *const ::std::os::raw::c_char) -> usize;
}
extern "C" {
pub fn u8_charlen(ch: u32) -> usize;
}
extern "C" {
pub fn read_escape_control_char(c: ::std::os::raw::c_char)
-> ::std::os::raw::c_char;
}
extern "C" {
pub fn u8_read_escape_sequence(src: *const ::std::os::raw::c_char,
ssz: usize, dest: *mut u32) -> usize;
}
extern "C" {
pub fn u8_escape_wchar(buf: *mut ::std::os::raw::c_char, sz: usize,
ch: u32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn u8_escape(buf: *mut ::std::os::raw::c_char, sz: usize,
src: *const ::std::os::raw::c_char, pi: *mut usize,
end: usize, escape_quotes: ::std::os::raw::c_int,
ascii: ::std::os::raw::c_int) -> usize;
}
extern "C" {
pub fn octal_digit(c: ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn hex_digit(c: ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn u8_memchr(s: *const ::std::os::raw::c_char, ch: u32, sz: usize,
charn: *mut usize) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn u8_memrchr(s: *const ::std::os::raw::c_char, ch: u32, sz: usize)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn u8_strwidth(s: *const ::std::os::raw::c_char) -> usize;
}
extern "C" {
pub fn u8_vprintf(fmt: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag) -> usize;
}
extern "C" {
pub fn u8_printf(fmt: *const ::std::os::raw::c_char, ...) -> usize;
}
extern "C" {
pub fn u8_isvalid(str: *const ::std::os::raw::c_char, length: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __errno_location() -> *mut ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _IO_FILE {
pub _flags: ::std::os::raw::c_int,
pub _IO_read_ptr: *mut ::std::os::raw::c_char,
pub _IO_read_end: *mut ::std::os::raw::c_char,
pub _IO_read_base: *mut ::std::os::raw::c_char,
pub _IO_write_base: *mut ::std::os::raw::c_char,
pub _IO_write_ptr: *mut ::std::os::raw::c_char,
pub _IO_write_end: *mut ::std::os::raw::c_char,
pub _IO_buf_base: *mut ::std::os::raw::c_char,
pub _IO_buf_end: *mut ::std::os::raw::c_char,
pub _IO_save_base: *mut ::std::os::raw::c_char,
pub _IO_backup_base: *mut ::std::os::raw::c_char,
pub _IO_save_end: *mut ::std::os::raw::c_char,
pub _markers: *mut _IO_marker,
pub _chain: *mut _IO_FILE,
pub _fileno: ::std::os::raw::c_int,
pub _flags2: ::std::os::raw::c_int,
pub _old_offset: __off_t,
pub _cur_column: ::std::os::raw::c_ushort,
pub _vtable_offset: ::std::os::raw::c_schar,
pub _shortbuf: [::std::os::raw::c_char; 1usize],
pub _lock: *mut _IO_lock_t,
pub _offset: __off64_t,
pub __pad1: *mut ::std::os::raw::c_void,
pub __pad2: *mut ::std::os::raw::c_void,
pub __pad3: *mut ::std::os::raw::c_void,
pub __pad4: *mut ::std::os::raw::c_void,
pub __pad5: usize,
pub _mode: ::std::os::raw::c_int,
pub _unused2: [::std::os::raw::c_char; 20usize],
}
#[test]
fn bindgen_test_layout__IO_FILE() {
assert_eq!(::std::mem::size_of::<_IO_FILE>() , 216usize , concat ! (
"Size of: " , stringify ! ( _IO_FILE ) ));
assert_eq! (::std::mem::align_of::<_IO_FILE>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _IO_FILE ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _flags as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_read_ptr as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_read_ptr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_read_end as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_read_end ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_read_base as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_read_base ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_write_base as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_write_base ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_write_ptr as * const _
as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_write_ptr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_write_end as * const _
as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_write_end ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_buf_base as * const _
as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_buf_base ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_buf_end as * const _
as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_buf_end ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_save_base as * const _
as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_save_base ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_backup_base as * const
_ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_backup_base ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _IO_save_end as * const _
as usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _IO_save_end ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _markers as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _markers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _chain as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _chain ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _fileno as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _fileno ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _flags2 as * const _ as
usize } , 116usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _flags2 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _old_offset as * const _
as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _old_offset ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _cur_column as * const _
as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _cur_column ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _vtable_offset as * const
_ as usize } , 130usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _vtable_offset ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _shortbuf as * const _ as
usize } , 131usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _shortbuf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _lock as * const _ as
usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _lock ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _offset as * const _ as
usize } , 144usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _offset ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . __pad1 as * const _ as
usize } , 152usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( __pad1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . __pad2 as * const _ as
usize } , 160usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( __pad2 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . __pad3 as * const _ as
usize } , 168usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( __pad3 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . __pad4 as * const _ as
usize } , 176usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( __pad4 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . __pad5 as * const _ as
usize } , 184usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( __pad5 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _mode as * const _ as
usize } , 192usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _mode ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_FILE ) ) . _unused2 as * const _ as
usize } , 196usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
stringify ! ( _unused2 ) ));
}
impl Clone for _IO_FILE {
fn clone(&self) -> Self { *self }
}
pub type FILE = _IO_FILE;
pub type __FILE = _IO_FILE;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __mbstate_t {
pub __count: ::std::os::raw::c_int,
pub __value: __mbstate_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __mbstate_t__bindgen_ty_1 {
pub __wch: __BindgenUnionField<::std::os::raw::c_uint>,
pub __wchb: __BindgenUnionField<[::std::os::raw::c_char; 4usize]>,
pub bindgen_union_field: u32,
}
#[test]
fn bindgen_test_layout___mbstate_t__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<__mbstate_t__bindgen_ty_1>() , 4usize ,
concat ! (
"Size of: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<__mbstate_t__bindgen_ty_1>() , 4usize ,
concat ! (
"Alignment of " , stringify ! ( __mbstate_t__bindgen_ty_1 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const __mbstate_t__bindgen_ty_1 ) ) . __wch as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
__mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wch ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __mbstate_t__bindgen_ty_1 ) ) . __wchb as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
__mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wchb )
));
}
impl Clone for __mbstate_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout___mbstate_t() {
assert_eq!(::std::mem::size_of::<__mbstate_t>() , 8usize , concat ! (
"Size of: " , stringify ! ( __mbstate_t ) ));
assert_eq! (::std::mem::align_of::<__mbstate_t>() , 4usize , concat ! (
"Alignment of " , stringify ! ( __mbstate_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __mbstate_t ) ) . __count as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __mbstate_t ) , "::" ,
stringify ! ( __count ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __mbstate_t ) ) . __value as * const _ as
usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( __mbstate_t ) , "::" ,
stringify ! ( __value ) ));
}
impl Clone for __mbstate_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _G_fpos_t {
pub __pos: __off_t,
pub __state: __mbstate_t,
}
#[test]
fn bindgen_test_layout__G_fpos_t() {
assert_eq!(::std::mem::size_of::<_G_fpos_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( _G_fpos_t ) ));
assert_eq! (::std::mem::align_of::<_G_fpos_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _G_fpos_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _G_fpos_t ) ) . __pos as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _G_fpos_t ) , "::" ,
stringify ! ( __pos ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _G_fpos_t ) ) . __state as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _G_fpos_t ) , "::" ,
stringify ! ( __state ) ));
}
impl Clone for _G_fpos_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _G_fpos64_t {
pub __pos: __off64_t,
pub __state: __mbstate_t,
}
#[test]
fn bindgen_test_layout__G_fpos64_t() {
assert_eq!(::std::mem::size_of::<_G_fpos64_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( _G_fpos64_t ) ));
assert_eq! (::std::mem::align_of::<_G_fpos64_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _G_fpos64_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _G_fpos64_t ) ) . __pos as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _G_fpos64_t ) , "::" ,
stringify ! ( __pos ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _G_fpos64_t ) ) . __state as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _G_fpos64_t ) , "::" ,
stringify ! ( __state ) ));
}
impl Clone for _G_fpos64_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_jump_t {
_unused: [u8; 0],
}
pub type _IO_lock_t = ::std::os::raw::c_void;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _IO_marker {
pub _next: *mut _IO_marker,
pub _sbuf: *mut _IO_FILE,
pub _pos: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__IO_marker() {
assert_eq!(::std::mem::size_of::<_IO_marker>() , 24usize , concat ! (
"Size of: " , stringify ! ( _IO_marker ) ));
assert_eq! (::std::mem::align_of::<_IO_marker>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _IO_marker ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_marker ) ) . _next as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_marker ) , "::" ,
stringify ! ( _next ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_marker ) ) . _sbuf as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_marker ) , "::" ,
stringify ! ( _sbuf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_marker ) ) . _pos as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _IO_marker ) , "::" ,
stringify ! ( _pos ) ));
}
impl Clone for _IO_marker {
fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum __codecvt_result {
__codecvt_ok = 0,
__codecvt_partial = 1,
__codecvt_error = 2,
__codecvt_noconv = 3,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_FILE_plus {
_unused: [u8; 0],
}
extern "C" {
#[link_name = "_IO_2_1_stdin_"]
pub static mut _IO_2_1_stdin_: _IO_FILE_plus;
}
extern "C" {
#[link_name = "_IO_2_1_stdout_"]
pub static mut _IO_2_1_stdout_: _IO_FILE_plus;
}
extern "C" {
#[link_name = "_IO_2_1_stderr_"]
pub static mut _IO_2_1_stderr_: _IO_FILE_plus;
}
pub type __io_read_fn =
::std::option::Option<unsafe extern "C" fn(__cookie:
*mut ::std::os::raw::c_void,
__buf:
*mut ::std::os::raw::c_char,
__nbytes: usize) -> __ssize_t>;
pub type __io_write_fn =
::std::option::Option<unsafe extern "C" fn(__cookie:
*mut ::std::os::raw::c_void,
__buf:
*const ::std::os::raw::c_char,
__n: usize) -> __ssize_t>;
pub type __io_seek_fn =
::std::option::Option<unsafe extern "C" fn(__cookie:
*mut ::std::os::raw::c_void,
__pos: *mut __off64_t,
__w: ::std::os::raw::c_int)
-> ::std::os::raw::c_int>;
pub type __io_close_fn =
::std::option::Option<unsafe extern "C" fn(__cookie:
*mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int>;
pub type cookie_read_function_t = __io_read_fn;
pub type cookie_write_function_t = __io_write_fn;
pub type cookie_seek_function_t = __io_seek_fn;
pub type cookie_close_function_t = __io_close_fn;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _IO_cookie_io_functions_t {
pub read: __io_read_fn,
pub write: __io_write_fn,
pub seek: __io_seek_fn,
pub close: __io_close_fn,
}
#[test]
fn bindgen_test_layout__IO_cookie_io_functions_t() {
assert_eq!(::std::mem::size_of::<_IO_cookie_io_functions_t>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( _IO_cookie_io_functions_t ) ));
assert_eq! (::std::mem::align_of::<_IO_cookie_io_functions_t>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( _IO_cookie_io_functions_t )
));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_cookie_io_functions_t ) ) . read as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
_IO_cookie_io_functions_t ) , "::" , stringify ! ( read ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_cookie_io_functions_t ) ) . write as
* const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
_IO_cookie_io_functions_t ) , "::" , stringify ! ( write ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_cookie_io_functions_t ) ) . seek as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! (
_IO_cookie_io_functions_t ) , "::" , stringify ! ( seek ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _IO_cookie_io_functions_t ) ) . close as
* const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! (
_IO_cookie_io_functions_t ) , "::" , stringify ! ( close ) ));
}
impl Clone for _IO_cookie_io_functions_t {
fn clone(&self) -> Self { *self }
}
pub type cookie_io_functions_t = _IO_cookie_io_functions_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_cookie_file {
_unused: [u8; 0],
}
extern "C" {
pub fn _IO_cookie_init(__cfile: *mut _IO_cookie_file,
__read_write: ::std::os::raw::c_int,
__cookie: *mut ::std::os::raw::c_void,
__fns: _IO_cookie_io_functions_t);
}
extern "C" {
pub fn __underflow(arg1: *mut _IO_FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __uflow(arg1: *mut _IO_FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __overflow(arg1: *mut _IO_FILE, arg2: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn _IO_getc(__fp: *mut _IO_FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _IO_putc(__c: ::std::os::raw::c_int, __fp: *mut _IO_FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn _IO_feof(__fp: *mut _IO_FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _IO_ferror(__fp: *mut _IO_FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _IO_peekc_locked(__fp: *mut _IO_FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _IO_flockfile(arg1: *mut _IO_FILE);
}
extern "C" {
pub fn _IO_funlockfile(arg1: *mut _IO_FILE);
}
extern "C" {
pub fn _IO_ftrylockfile(arg1: *mut _IO_FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _IO_vfscanf(arg1: *mut _IO_FILE,
arg2: *const ::std::os::raw::c_char,
arg3: *mut __va_list_tag,
arg4: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn _IO_vfprintf(arg1: *mut _IO_FILE,
arg2: *const ::std::os::raw::c_char,
arg3: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _IO_padn(arg1: *mut _IO_FILE, arg2: ::std::os::raw::c_int,
arg3: __ssize_t) -> __ssize_t;
}
extern "C" {
pub fn _IO_sgetn(arg1: *mut _IO_FILE, arg2: *mut ::std::os::raw::c_void,
arg3: usize) -> usize;
}
extern "C" {
pub fn _IO_seekoff(arg1: *mut _IO_FILE, arg2: __off64_t,
arg3: ::std::os::raw::c_int,
arg4: ::std::os::raw::c_int) -> __off64_t;
}
extern "C" {
pub fn _IO_seekpos(arg1: *mut _IO_FILE, arg2: __off64_t,
arg3: ::std::os::raw::c_int) -> __off64_t;
}
extern "C" {
pub fn _IO_free_backup_area(arg1: *mut _IO_FILE);
}
pub type fpos_t = _G_fpos_t;
extern "C" {
#[link_name = "stdin"]
pub static mut stdin: *mut _IO_FILE;
}
extern "C" {
#[link_name = "stdout"]
pub static mut stdout: *mut _IO_FILE;
}
extern "C" {
#[link_name = "stderr"]
pub static mut stderr: *mut _IO_FILE;
}
extern "C" {
pub fn remove(__filename: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn rename(__old: *const ::std::os::raw::c_char,
__new: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn renameat(__oldfd: ::std::os::raw::c_int,
__old: *const ::std::os::raw::c_char,
__newfd: ::std::os::raw::c_int,
__new: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn tmpfile() -> *mut FILE;
}
extern "C" {
pub fn tmpnam(__s: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn tempnam(__dir: *const ::std::os::raw::c_char,
__pfx: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fopen(__filename: *const ::std::os::raw::c_char,
__modes: *const ::std::os::raw::c_char) -> *mut FILE;
}
extern "C" {
pub fn freopen(__filename: *const ::std::os::raw::c_char,
__modes: *const ::std::os::raw::c_char,
__stream: *mut FILE) -> *mut FILE;
}
extern "C" {
pub fn fdopen(__fd: ::std::os::raw::c_int,
__modes: *const ::std::os::raw::c_char) -> *mut FILE;
}
extern "C" {
pub fn fmemopen(__s: *mut ::std::os::raw::c_void, __len: usize,
__modes: *const ::std::os::raw::c_char) -> *mut FILE;
}
extern "C" {
pub fn open_memstream(__bufloc: *mut *mut ::std::os::raw::c_char,
__sizeloc: *mut usize) -> *mut FILE;
}
extern "C" {
pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn setvbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char,
__modes: ::std::os::raw::c_int, __n: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char,
__size: usize);
}
extern "C" {
pub fn setlinebuf(__stream: *mut FILE);
}
extern "C" {
pub fn fprintf(__stream: *mut FILE,
__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn printf(__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sprintf(__s: *mut ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn vfprintf(__s: *mut FILE, __format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vprintf(__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vsprintf(__s: *mut ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn snprintf(__s: *mut ::std::os::raw::c_char, __maxlen: usize,
__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn vsnprintf(__s: *mut ::std::os::raw::c_char, __maxlen: usize,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vdprintf(__fd: ::std::os::raw::c_int,
__fmt: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn dprintf(__fd: ::std::os::raw::c_int,
__fmt: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fscanf(__stream: *mut FILE,
__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn scanf(__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sscanf(__s: *const ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "__isoc99_fscanf"]
pub fn fscanf1(__stream: *mut FILE,
__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "__isoc99_scanf"]
pub fn scanf1(__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "__isoc99_sscanf"]
pub fn sscanf1(__s: *const ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn vfscanf(__s: *mut FILE, __format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vscanf(__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vsscanf(__s: *const ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "__isoc99_vfscanf"]
pub fn vfscanf1(__s: *mut FILE, __format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "__isoc99_vscanf"]
pub fn vscanf1(__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "__isoc99_vsscanf"]
pub fn vsscanf1(__s: *const ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getchar() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getchar_unlocked() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn putchar_unlocked(__c: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fgets(__s: *mut ::std::os::raw::c_char, __n: ::std::os::raw::c_int,
__stream: *mut FILE) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __getdelim(__lineptr: *mut *mut ::std::os::raw::c_char,
__n: *mut usize, __delimiter: ::std::os::raw::c_int,
__stream: *mut FILE) -> __ssize_t;
}
extern "C" {
pub fn getdelim(__lineptr: *mut *mut ::std::os::raw::c_char,
__n: *mut usize, __delimiter: ::std::os::raw::c_int,
__stream: *mut FILE) -> __ssize_t;
}
extern "C" {
pub fn getline(__lineptr: *mut *mut ::std::os::raw::c_char,
__n: *mut usize, __stream: *mut FILE) -> __ssize_t;
}
extern "C" {
pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fread(__ptr: *mut ::std::os::raw::c_void, __size: usize,
__n: usize, __stream: *mut FILE) -> usize;
}
extern "C" {
pub fn fwrite(__ptr: *const ::std::os::raw::c_void, __size: usize,
__n: usize, __s: *mut FILE) -> usize;
}
extern "C" {
pub fn fread_unlocked(__ptr: *mut ::std::os::raw::c_void, __size: usize,
__n: usize, __stream: *mut FILE) -> usize;
}
extern "C" {
pub fn fwrite_unlocked(__ptr: *const ::std::os::raw::c_void,
__size: usize, __n: usize, __stream: *mut FILE)
-> usize;
}
extern "C" {
pub fn fseek(__stream: *mut FILE, __off: ::std::os::raw::c_long,
__whence: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn rewind(__stream: *mut FILE);
}
extern "C" {
pub fn fseeko(__stream: *mut FILE, __off: __off_t,
__whence: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ftello(__stream: *mut FILE) -> __off_t;
}
extern "C" {
pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn clearerr(__stream: *mut FILE);
}
extern "C" {
pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clearerr_unlocked(__stream: *mut FILE);
}
extern "C" {
pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn perror(__s: *const ::std::os::raw::c_char);
}
extern "C" {
#[link_name = "sys_nerr"]
pub static mut sys_nerr: ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "sys_errlist"]
pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize];
}
extern "C" {
pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn popen(__command: *const ::std::os::raw::c_char,
__modes: *const ::std::os::raw::c_char) -> *mut FILE;
}
extern "C" {
pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ctermid(__s: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn flockfile(__stream: *mut FILE);
}
extern "C" {
pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn funlockfile(__stream: *mut FILE);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct stat {
pub st_dev: __dev_t,
pub st_ino: __ino_t,
pub st_nlink: __nlink_t,
pub st_mode: __mode_t,
pub st_uid: __uid_t,
pub st_gid: __gid_t,
pub __pad0: ::std::os::raw::c_int,
pub st_rdev: __dev_t,
pub st_size: __off_t,
pub st_blksize: __blksize_t,
pub st_blocks: __blkcnt_t,
pub st_atim: timespec,
pub st_mtim: timespec,
pub st_ctim: timespec,
pub __glibc_reserved: [__syscall_slong_t; 3usize],
}
#[test]
fn bindgen_test_layout_stat() {
assert_eq!(::std::mem::size_of::<stat>() , 144usize , concat ! (
"Size of: " , stringify ! ( stat ) ));
assert_eq! (::std::mem::align_of::<stat>() , 8usize , concat ! (
"Alignment of " , stringify ! ( stat ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_dev as * const _ as usize }
, 0usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_dev ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_ino as * const _ as usize }
, 8usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_ino ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_nlink as * const _ as usize
} , 16usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_nlink ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_mode as * const _ as usize
} , 24usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_mode ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_uid as * const _ as usize }
, 28usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_uid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_gid as * const _ as usize }
, 32usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_gid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . __pad0 as * const _ as usize }
, 36usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( __pad0 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_rdev as * const _ as usize
} , 40usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_rdev ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_size as * const _ as usize
} , 48usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_blksize as * const _ as
usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_blksize ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_blocks as * const _ as
usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_blocks ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_atim as * const _ as usize
} , 72usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_atim ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_mtim as * const _ as usize
} , 88usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_mtim ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . st_ctim as * const _ as usize
} , 104usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( st_ctim ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const stat ) ) . __glibc_reserved as * const _
as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( stat ) , "::" ,
stringify ! ( __glibc_reserved ) ));
}
impl Clone for stat {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn stat(__file: *const ::std::os::raw::c_char, __buf: *mut stat)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fstat(__fd: ::std::os::raw::c_int, __buf: *mut stat)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fstatat(__fd: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char, __buf: *mut stat,
__flag: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lstat(__file: *const ::std::os::raw::c_char, __buf: *mut stat)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn chmod(__file: *const ::std::os::raw::c_char, __mode: __mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn lchmod(__file: *const ::std::os::raw::c_char, __mode: __mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fchmod(__fd: ::std::os::raw::c_int, __mode: __mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fchmodat(__fd: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char, __mode: __mode_t,
__flag: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn umask(__mask: __mode_t) -> __mode_t;
}
extern "C" {
pub fn mkdir(__path: *const ::std::os::raw::c_char, __mode: __mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkdirat(__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char, __mode: __mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mknod(__path: *const ::std::os::raw::c_char, __mode: __mode_t,
__dev: __dev_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mknodat(__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char, __mode: __mode_t,
__dev: __dev_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkfifo(__path: *const ::std::os::raw::c_char, __mode: __mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkfifoat(__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char, __mode: __mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn utimensat(__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char,
__times: *const timespec, __flags: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn futimens(__fd: ::std::os::raw::c_int, __times: *const timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __fxstat(__ver: ::std::os::raw::c_int,
__fildes: ::std::os::raw::c_int, __stat_buf: *mut stat)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __xstat(__ver: ::std::os::raw::c_int,
__filename: *const ::std::os::raw::c_char,
__stat_buf: *mut stat) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __lxstat(__ver: ::std::os::raw::c_int,
__filename: *const ::std::os::raw::c_char,
__stat_buf: *mut stat) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __fxstatat(__ver: ::std::os::raw::c_int,
__fildes: ::std::os::raw::c_int,
__filename: *const ::std::os::raw::c_char,
__stat_buf: *mut stat, __flag: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __xmknod(__ver: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char, __mode: __mode_t,
__dev: *mut __dev_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __xmknodat(__ver: ::std::os::raw::c_int,
__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char, __mode: __mode_t,
__dev: *mut __dev_t) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct flock {
pub l_type: ::std::os::raw::c_short,
pub l_whence: ::std::os::raw::c_short,
pub l_start: __off_t,
pub l_len: __off_t,
pub l_pid: __pid_t,
}
#[test]
fn bindgen_test_layout_flock() {
assert_eq!(::std::mem::size_of::<flock>() , 32usize , concat ! (
"Size of: " , stringify ! ( flock ) ));
assert_eq! (::std::mem::align_of::<flock>() , 8usize , concat ! (
"Alignment of " , stringify ! ( flock ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const flock ) ) . l_type as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( flock ) , "::" ,
stringify ! ( l_type ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const flock ) ) . l_whence as * const _ as
usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( flock ) , "::" ,
stringify ! ( l_whence ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const flock ) ) . l_start as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( flock ) , "::" ,
stringify ! ( l_start ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const flock ) ) . l_len as * const _ as usize }
, 16usize , concat ! (
"Alignment of field: " , stringify ! ( flock ) , "::" ,
stringify ! ( l_len ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const flock ) ) . l_pid as * const _ as usize }
, 24usize , concat ! (
"Alignment of field: " , stringify ! ( flock ) , "::" ,
stringify ! ( l_pid ) ));
}
impl Clone for flock {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn fcntl(__fd: ::std::os::raw::c_int,
__cmd: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn open(__file: *const ::std::os::raw::c_char,
__oflag: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn openat(__fd: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char,
__oflag: ::std::os::raw::c_int, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn creat(__file: *const ::std::os::raw::c_char, __mode: mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn lockf(__fd: ::std::os::raw::c_int, __cmd: ::std::os::raw::c_int,
__len: off_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn posix_fadvise(__fd: ::std::os::raw::c_int, __offset: off_t,
__len: off_t, __advise: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn posix_fallocate(__fd: ::std::os::raw::c_int, __offset: off_t,
__len: off_t) -> ::std::os::raw::c_int;
}
#[repr(C)]
pub struct dirent {
pub d_ino: __ino_t,
pub d_off: __off_t,
pub d_reclen: ::std::os::raw::c_ushort,
pub d_type: ::std::os::raw::c_uchar,
pub d_name: [::std::os::raw::c_char; 256usize],
}
#[test]
fn bindgen_test_layout_dirent() {
assert_eq!(::std::mem::size_of::<dirent>() , 280usize , concat ! (
"Size of: " , stringify ! ( dirent ) ));
assert_eq! (::std::mem::align_of::<dirent>() , 8usize , concat ! (
"Alignment of " , stringify ! ( dirent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const dirent ) ) . d_ino as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( dirent ) , "::" ,
stringify ! ( d_ino ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const dirent ) ) . d_off as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( dirent ) , "::" ,
stringify ! ( d_off ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const dirent ) ) . d_reclen as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( dirent ) , "::" ,
stringify ! ( d_reclen ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const dirent ) ) . d_type as * const _ as usize
} , 18usize , concat ! (
"Alignment of field: " , stringify ! ( dirent ) , "::" ,
stringify ! ( d_type ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const dirent ) ) . d_name as * const _ as usize
} , 19usize , concat ! (
"Alignment of field: " , stringify ! ( dirent ) , "::" ,
stringify ! ( d_name ) ));
}
pub const DT_UNKNOWN: _bindgen_ty_2 = _bindgen_ty_2::DT_UNKNOWN;
pub const DT_FIFO: _bindgen_ty_2 = _bindgen_ty_2::DT_FIFO;
pub const DT_CHR: _bindgen_ty_2 = _bindgen_ty_2::DT_CHR;
pub const DT_DIR: _bindgen_ty_2 = _bindgen_ty_2::DT_DIR;
pub const DT_BLK: _bindgen_ty_2 = _bindgen_ty_2::DT_BLK;
pub const DT_REG: _bindgen_ty_2 = _bindgen_ty_2::DT_REG;
pub const DT_LNK: _bindgen_ty_2 = _bindgen_ty_2::DT_LNK;
pub const DT_SOCK: _bindgen_ty_2 = _bindgen_ty_2::DT_SOCK;
pub const DT_WHT: _bindgen_ty_2 = _bindgen_ty_2::DT_WHT;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_2 {
DT_UNKNOWN = 0,
DT_FIFO = 1,
DT_CHR = 2,
DT_DIR = 4,
DT_BLK = 6,
DT_REG = 8,
DT_LNK = 10,
DT_SOCK = 12,
DT_WHT = 14,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __dirstream {
_unused: [u8; 0],
}
pub type DIR = __dirstream;
extern "C" {
pub fn opendir(__name: *const ::std::os::raw::c_char) -> *mut DIR;
}
extern "C" {
pub fn fdopendir(__fd: ::std::os::raw::c_int) -> *mut DIR;
}
extern "C" {
pub fn closedir(__dirp: *mut DIR) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn readdir(__dirp: *mut DIR) -> *mut dirent;
}
extern "C" {
pub fn readdir_r(__dirp: *mut DIR, __entry: *mut dirent,
__result: *mut *mut dirent) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rewinddir(__dirp: *mut DIR);
}
extern "C" {
pub fn seekdir(__dirp: *mut DIR, __pos: ::std::os::raw::c_long);
}
extern "C" {
pub fn telldir(__dirp: *mut DIR) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn dirfd(__dirp: *mut DIR) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scandir(__dir: *const ::std::os::raw::c_char,
__namelist: *mut *mut *mut dirent,
__selector:
::std::option::Option<unsafe extern "C" fn(arg1:
*const dirent)
-> ::std::os::raw::c_int>,
__cmp:
::std::option::Option<unsafe extern "C" fn(arg1:
*mut *const dirent,
arg2:
*mut *const dirent)
-> ::std::os::raw::c_int>)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn alphasort(__e1: *mut *const dirent, __e2: *mut *const dirent)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getdirentries(__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char, __nbytes: usize,
__basep: *mut __off_t) -> __ssize_t;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct iovec {
pub iov_base: *mut ::std::os::raw::c_void,
pub iov_len: usize,
}
#[test]
fn bindgen_test_layout_iovec() {
assert_eq!(::std::mem::size_of::<iovec>() , 16usize , concat ! (
"Size of: " , stringify ! ( iovec ) ));
assert_eq! (::std::mem::align_of::<iovec>() , 8usize , concat ! (
"Alignment of " , stringify ! ( iovec ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const iovec ) ) . iov_base as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( iovec ) , "::" ,
stringify ! ( iov_base ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const iovec ) ) . iov_len as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( iovec ) , "::" ,
stringify ! ( iov_len ) ));
}
impl Clone for iovec {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn readv(__fd: ::std::os::raw::c_int, __iovec: *const iovec,
__count: ::std::os::raw::c_int) -> isize;
}
extern "C" {
pub fn writev(__fd: ::std::os::raw::c_int, __iovec: *const iovec,
__count: ::std::os::raw::c_int) -> isize;
}
extern "C" {
pub fn preadv(__fd: ::std::os::raw::c_int, __iovec: *const iovec,
__count: ::std::os::raw::c_int, __offset: __off_t) -> isize;
}
extern "C" {
pub fn pwritev(__fd: ::std::os::raw::c_int, __iovec: *const iovec,
__count: ::std::os::raw::c_int, __offset: __off_t)
-> isize;
}
pub type socklen_t = __socklen_t;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum __socket_type {
SOCK_STREAM = 1,
SOCK_DGRAM = 2,
SOCK_RAW = 3,
SOCK_RDM = 4,
SOCK_SEQPACKET = 5,
SOCK_DCCP = 6,
SOCK_PACKET = 10,
SOCK_CLOEXEC = 524288,
SOCK_NONBLOCK = 2048,
}
pub type sa_family_t = ::std::os::raw::c_ushort;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sockaddr {
pub sa_family: sa_family_t,
pub sa_data: [::std::os::raw::c_char; 14usize],
}
#[test]
fn bindgen_test_layout_sockaddr() {
assert_eq!(::std::mem::size_of::<sockaddr>() , 16usize , concat ! (
"Size of: " , stringify ! ( sockaddr ) ));
assert_eq! (::std::mem::align_of::<sockaddr>() , 2usize , concat ! (
"Alignment of " , stringify ! ( sockaddr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr ) ) . sa_family as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr ) , "::" ,
stringify ! ( sa_family ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr ) ) . sa_data as * const _ as
usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr ) , "::" ,
stringify ! ( sa_data ) ));
}
impl Clone for sockaddr {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct sockaddr_storage {
pub ss_family: sa_family_t,
pub __ss_padding: [::std::os::raw::c_char; 118usize],
pub __ss_align: ::std::os::raw::c_ulong,
}
#[test]
fn bindgen_test_layout_sockaddr_storage() {
assert_eq!(::std::mem::size_of::<sockaddr_storage>() , 128usize , concat !
( "Size of: " , stringify ! ( sockaddr_storage ) ));
assert_eq! (::std::mem::align_of::<sockaddr_storage>() , 8usize , concat !
( "Alignment of " , stringify ! ( sockaddr_storage ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_storage ) ) . ss_family as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_storage ) ,
"::" , stringify ! ( ss_family ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_storage ) ) . __ss_padding as *
const _ as usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_storage ) ,
"::" , stringify ! ( __ss_padding ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_storage ) ) . __ss_align as *
const _ as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_storage ) ,
"::" , stringify ! ( __ss_align ) ));
}
pub const MSG_OOB: _bindgen_ty_3 = _bindgen_ty_3::MSG_OOB;
pub const MSG_PEEK: _bindgen_ty_3 = _bindgen_ty_3::MSG_PEEK;
pub const MSG_DONTROUTE: _bindgen_ty_3 = _bindgen_ty_3::MSG_DONTROUTE;
pub const MSG_CTRUNC: _bindgen_ty_3 = _bindgen_ty_3::MSG_CTRUNC;
pub const MSG_PROXY: _bindgen_ty_3 = _bindgen_ty_3::MSG_PROXY;
pub const MSG_TRUNC: _bindgen_ty_3 = _bindgen_ty_3::MSG_TRUNC;
pub const MSG_DONTWAIT: _bindgen_ty_3 = _bindgen_ty_3::MSG_DONTWAIT;
pub const MSG_EOR: _bindgen_ty_3 = _bindgen_ty_3::MSG_EOR;
pub const MSG_WAITALL: _bindgen_ty_3 = _bindgen_ty_3::MSG_WAITALL;
pub const MSG_FIN: _bindgen_ty_3 = _bindgen_ty_3::MSG_FIN;
pub const MSG_SYN: _bindgen_ty_3 = _bindgen_ty_3::MSG_SYN;
pub const MSG_CONFIRM: _bindgen_ty_3 = _bindgen_ty_3::MSG_CONFIRM;
pub const MSG_RST: _bindgen_ty_3 = _bindgen_ty_3::MSG_RST;
pub const MSG_ERRQUEUE: _bindgen_ty_3 = _bindgen_ty_3::MSG_ERRQUEUE;
pub const MSG_NOSIGNAL: _bindgen_ty_3 = _bindgen_ty_3::MSG_NOSIGNAL;
pub const MSG_MORE: _bindgen_ty_3 = _bindgen_ty_3::MSG_MORE;
pub const MSG_WAITFORONE: _bindgen_ty_3 = _bindgen_ty_3::MSG_WAITFORONE;
pub const MSG_BATCH: _bindgen_ty_3 = _bindgen_ty_3::MSG_BATCH;
pub const MSG_FASTOPEN: _bindgen_ty_3 = _bindgen_ty_3::MSG_FASTOPEN;
pub const MSG_CMSG_CLOEXEC: _bindgen_ty_3 = _bindgen_ty_3::MSG_CMSG_CLOEXEC;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_3 {
MSG_OOB = 1,
MSG_PEEK = 2,
MSG_DONTROUTE = 4,
MSG_CTRUNC = 8,
MSG_PROXY = 16,
MSG_TRUNC = 32,
MSG_DONTWAIT = 64,
MSG_EOR = 128,
MSG_WAITALL = 256,
MSG_FIN = 512,
MSG_SYN = 1024,
MSG_CONFIRM = 2048,
MSG_RST = 4096,
MSG_ERRQUEUE = 8192,
MSG_NOSIGNAL = 16384,
MSG_MORE = 32768,
MSG_WAITFORONE = 65536,
MSG_BATCH = 262144,
MSG_FASTOPEN = 536870912,
MSG_CMSG_CLOEXEC = 1073741824,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct msghdr {
pub msg_name: *mut ::std::os::raw::c_void,
pub msg_namelen: socklen_t,
pub msg_iov: *mut iovec,
pub msg_iovlen: usize,
pub msg_control: *mut ::std::os::raw::c_void,
pub msg_controllen: usize,
pub msg_flags: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_msghdr() {
assert_eq!(::std::mem::size_of::<msghdr>() , 56usize , concat ! (
"Size of: " , stringify ! ( msghdr ) ));
assert_eq! (::std::mem::align_of::<msghdr>() , 8usize , concat ! (
"Alignment of " , stringify ! ( msghdr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const msghdr ) ) . msg_name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( msghdr ) , "::" ,
stringify ! ( msg_name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const msghdr ) ) . msg_namelen as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( msghdr ) , "::" ,
stringify ! ( msg_namelen ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const msghdr ) ) . msg_iov as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( msghdr ) , "::" ,
stringify ! ( msg_iov ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const msghdr ) ) . msg_iovlen as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( msghdr ) , "::" ,
stringify ! ( msg_iovlen ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const msghdr ) ) . msg_control as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( msghdr ) , "::" ,
stringify ! ( msg_control ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const msghdr ) ) . msg_controllen as * const _
as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( msghdr ) , "::" ,
stringify ! ( msg_controllen ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const msghdr ) ) . msg_flags as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( msghdr ) , "::" ,
stringify ! ( msg_flags ) ));
}
impl Clone for msghdr {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct cmsghdr {
pub cmsg_len: usize,
pub cmsg_level: ::std::os::raw::c_int,
pub cmsg_type: ::std::os::raw::c_int,
pub __cmsg_data: __IncompleteArrayField<::std::os::raw::c_uchar>,
}
#[test]
fn bindgen_test_layout_cmsghdr() {
assert_eq!(::std::mem::size_of::<cmsghdr>() , 16usize , concat ! (
"Size of: " , stringify ! ( cmsghdr ) ));
assert_eq! (::std::mem::align_of::<cmsghdr>() , 8usize , concat ! (
"Alignment of " , stringify ! ( cmsghdr ) ));
}
impl Clone for cmsghdr {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn __cmsg_nxthdr(__mhdr: *mut msghdr, __cmsg: *mut cmsghdr)
-> *mut cmsghdr;
}
pub const SCM_RIGHTS: _bindgen_ty_4 = _bindgen_ty_4::SCM_RIGHTS;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_4 { SCM_RIGHTS = 1, }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct linger {
pub l_onoff: ::std::os::raw::c_int,
pub l_linger: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_linger() {
assert_eq!(::std::mem::size_of::<linger>() , 8usize , concat ! (
"Size of: " , stringify ! ( linger ) ));
assert_eq! (::std::mem::align_of::<linger>() , 4usize , concat ! (
"Alignment of " , stringify ! ( linger ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const linger ) ) . l_onoff as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( linger ) , "::" ,
stringify ! ( l_onoff ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const linger ) ) . l_linger as * const _ as
usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( linger ) , "::" ,
stringify ! ( l_linger ) ));
}
impl Clone for linger {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct osockaddr {
pub sa_family: ::std::os::raw::c_ushort,
pub sa_data: [::std::os::raw::c_uchar; 14usize],
}
#[test]
fn bindgen_test_layout_osockaddr() {
assert_eq!(::std::mem::size_of::<osockaddr>() , 16usize , concat ! (
"Size of: " , stringify ! ( osockaddr ) ));
assert_eq! (::std::mem::align_of::<osockaddr>() , 2usize , concat ! (
"Alignment of " , stringify ! ( osockaddr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const osockaddr ) ) . sa_family as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( osockaddr ) , "::" ,
stringify ! ( sa_family ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const osockaddr ) ) . sa_data as * const _ as
usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( osockaddr ) , "::" ,
stringify ! ( sa_data ) ));
}
impl Clone for osockaddr {
fn clone(&self) -> Self { *self }
}
pub const SHUT_RD: _bindgen_ty_5 = _bindgen_ty_5::SHUT_RD;
pub const SHUT_WR: _bindgen_ty_5 = _bindgen_ty_5::SHUT_WR;
pub const SHUT_RDWR: _bindgen_ty_5 = _bindgen_ty_5::SHUT_RDWR;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_5 { SHUT_RD = 0, SHUT_WR = 1, SHUT_RDWR = 2, }
extern "C" {
pub fn socket(__domain: ::std::os::raw::c_int,
__type: ::std::os::raw::c_int,
__protocol: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn socketpair(__domain: ::std::os::raw::c_int,
__type: ::std::os::raw::c_int,
__protocol: ::std::os::raw::c_int,
__fds: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn bind(__fd: ::std::os::raw::c_int, __addr: *const sockaddr,
__len: socklen_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getsockname(__fd: ::std::os::raw::c_int, __addr: *mut sockaddr,
__len: *mut socklen_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn connect(__fd: ::std::os::raw::c_int, __addr: *const sockaddr,
__len: socklen_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpeername(__fd: ::std::os::raw::c_int, __addr: *mut sockaddr,
__len: *mut socklen_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn send(__fd: ::std::os::raw::c_int,
__buf: *const ::std::os::raw::c_void, __n: usize,
__flags: ::std::os::raw::c_int) -> isize;
}
extern "C" {
pub fn recv(__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_void, __n: usize,
__flags: ::std::os::raw::c_int) -> isize;
}
extern "C" {
pub fn sendto(__fd: ::std::os::raw::c_int,
__buf: *const ::std::os::raw::c_void, __n: usize,
__flags: ::std::os::raw::c_int, __addr: *const sockaddr,
__addr_len: socklen_t) -> isize;
}
extern "C" {
pub fn recvfrom(__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_void, __n: usize,
__flags: ::std::os::raw::c_int, __addr: *mut sockaddr,
__addr_len: *mut socklen_t) -> isize;
}
extern "C" {
pub fn sendmsg(__fd: ::std::os::raw::c_int, __message: *const msghdr,
__flags: ::std::os::raw::c_int) -> isize;
}
extern "C" {
pub fn recvmsg(__fd: ::std::os::raw::c_int, __message: *mut msghdr,
__flags: ::std::os::raw::c_int) -> isize;
}
extern "C" {
pub fn getsockopt(__fd: ::std::os::raw::c_int,
__level: ::std::os::raw::c_int,
__optname: ::std::os::raw::c_int,
__optval: *mut ::std::os::raw::c_void,
__optlen: *mut socklen_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setsockopt(__fd: ::std::os::raw::c_int,
__level: ::std::os::raw::c_int,
__optname: ::std::os::raw::c_int,
__optval: *const ::std::os::raw::c_void,
__optlen: socklen_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn listen(__fd: ::std::os::raw::c_int, __n: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn accept(__fd: ::std::os::raw::c_int, __addr: *mut sockaddr,
__addr_len: *mut socklen_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn shutdown(__fd: ::std::os::raw::c_int, __how: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sockatmark(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isfdtype(__fd: ::std::os::raw::c_int,
__fdtype: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
pub type in_addr_t = u32;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct in_addr {
pub s_addr: in_addr_t,
}
#[test]
fn bindgen_test_layout_in_addr() {
assert_eq!(::std::mem::size_of::<in_addr>() , 4usize , concat ! (
"Size of: " , stringify ! ( in_addr ) ));
assert_eq! (::std::mem::align_of::<in_addr>() , 4usize , concat ! (
"Alignment of " , stringify ! ( in_addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const in_addr ) ) . s_addr as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( in_addr ) , "::" ,
stringify ! ( s_addr ) ));
}
impl Clone for in_addr {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct ip_opts {
pub ip_dst: in_addr,
pub ip_opts: [::std::os::raw::c_char; 40usize],
}
#[test]
fn bindgen_test_layout_ip_opts() {
assert_eq!(::std::mem::size_of::<ip_opts>() , 44usize , concat ! (
"Size of: " , stringify ! ( ip_opts ) ));
assert_eq! (::std::mem::align_of::<ip_opts>() , 4usize , concat ! (
"Alignment of " , stringify ! ( ip_opts ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_opts ) ) . ip_dst as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( ip_opts ) , "::" ,
stringify ! ( ip_dst ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_opts ) ) . ip_opts as * const _ as
usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( ip_opts ) , "::" ,
stringify ! ( ip_opts ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct ip_mreqn {
pub imr_multiaddr: in_addr,
pub imr_address: in_addr,
pub imr_ifindex: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_ip_mreqn() {
assert_eq!(::std::mem::size_of::<ip_mreqn>() , 12usize , concat ! (
"Size of: " , stringify ! ( ip_mreqn ) ));
assert_eq! (::std::mem::align_of::<ip_mreqn>() , 4usize , concat ! (
"Alignment of " , stringify ! ( ip_mreqn ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_mreqn ) ) . imr_multiaddr as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( ip_mreqn ) , "::" ,
stringify ! ( imr_multiaddr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_mreqn ) ) . imr_address as * const _
as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( ip_mreqn ) , "::" ,
stringify ! ( imr_address ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_mreqn ) ) . imr_ifindex as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( ip_mreqn ) , "::" ,
stringify ! ( imr_ifindex ) ));
}
impl Clone for ip_mreqn {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct in_pktinfo {
pub ipi_ifindex: ::std::os::raw::c_int,
pub ipi_spec_dst: in_addr,
pub ipi_addr: in_addr,
}
#[test]
fn bindgen_test_layout_in_pktinfo() {
assert_eq!(::std::mem::size_of::<in_pktinfo>() , 12usize , concat ! (
"Size of: " , stringify ! ( in_pktinfo ) ));
assert_eq! (::std::mem::align_of::<in_pktinfo>() , 4usize , concat ! (
"Alignment of " , stringify ! ( in_pktinfo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const in_pktinfo ) ) . ipi_ifindex as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( in_pktinfo ) , "::" ,
stringify ! ( ipi_ifindex ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const in_pktinfo ) ) . ipi_spec_dst as * const
_ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( in_pktinfo ) , "::" ,
stringify ! ( ipi_spec_dst ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const in_pktinfo ) ) . ipi_addr as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( in_pktinfo ) , "::" ,
stringify ! ( ipi_addr ) ));
}
impl Clone for in_pktinfo {
fn clone(&self) -> Self { *self }
}
pub const IPPROTO_IP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_IP;
pub const IPPROTO_ICMP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_ICMP;
pub const IPPROTO_IGMP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_IGMP;
pub const IPPROTO_IPIP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_IPIP;
pub const IPPROTO_TCP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_TCP;
pub const IPPROTO_EGP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_EGP;
pub const IPPROTO_PUP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_PUP;
pub const IPPROTO_UDP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_UDP;
pub const IPPROTO_IDP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_IDP;
pub const IPPROTO_TP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_TP;
pub const IPPROTO_DCCP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_DCCP;
pub const IPPROTO_IPV6: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_IPV6;
pub const IPPROTO_RSVP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_RSVP;
pub const IPPROTO_GRE: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_GRE;
pub const IPPROTO_ESP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_ESP;
pub const IPPROTO_AH: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_AH;
pub const IPPROTO_MTP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_MTP;
pub const IPPROTO_BEETPH: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_BEETPH;
pub const IPPROTO_ENCAP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_ENCAP;
pub const IPPROTO_PIM: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_PIM;
pub const IPPROTO_COMP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_COMP;
pub const IPPROTO_SCTP: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_SCTP;
pub const IPPROTO_UDPLITE: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_UDPLITE;
pub const IPPROTO_MPLS: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_MPLS;
pub const IPPROTO_RAW: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_RAW;
pub const IPPROTO_MAX: _bindgen_ty_6 = _bindgen_ty_6::IPPROTO_MAX;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_6 {
IPPROTO_IP = 0,
IPPROTO_ICMP = 1,
IPPROTO_IGMP = 2,
IPPROTO_IPIP = 4,
IPPROTO_TCP = 6,
IPPROTO_EGP = 8,
IPPROTO_PUP = 12,
IPPROTO_UDP = 17,
IPPROTO_IDP = 22,
IPPROTO_TP = 29,
IPPROTO_DCCP = 33,
IPPROTO_IPV6 = 41,
IPPROTO_RSVP = 46,
IPPROTO_GRE = 47,
IPPROTO_ESP = 50,
IPPROTO_AH = 51,
IPPROTO_MTP = 92,
IPPROTO_BEETPH = 94,
IPPROTO_ENCAP = 98,
IPPROTO_PIM = 103,
IPPROTO_COMP = 108,
IPPROTO_SCTP = 132,
IPPROTO_UDPLITE = 136,
IPPROTO_MPLS = 137,
IPPROTO_RAW = 255,
IPPROTO_MAX = 256,
}
pub const IPPROTO_HOPOPTS: _bindgen_ty_7 = _bindgen_ty_7::IPPROTO_HOPOPTS;
pub const IPPROTO_ROUTING: _bindgen_ty_7 = _bindgen_ty_7::IPPROTO_ROUTING;
pub const IPPROTO_FRAGMENT: _bindgen_ty_7 = _bindgen_ty_7::IPPROTO_FRAGMENT;
pub const IPPROTO_ICMPV6: _bindgen_ty_7 = _bindgen_ty_7::IPPROTO_ICMPV6;
pub const IPPROTO_NONE: _bindgen_ty_7 = _bindgen_ty_7::IPPROTO_NONE;
pub const IPPROTO_DSTOPTS: _bindgen_ty_7 = _bindgen_ty_7::IPPROTO_DSTOPTS;
pub const IPPROTO_MH: _bindgen_ty_7 = _bindgen_ty_7::IPPROTO_MH;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_7 {
IPPROTO_HOPOPTS = 0,
IPPROTO_ROUTING = 43,
IPPROTO_FRAGMENT = 44,
IPPROTO_ICMPV6 = 58,
IPPROTO_NONE = 59,
IPPROTO_DSTOPTS = 60,
IPPROTO_MH = 135,
}
pub type in_port_t = u16;
pub const IPPORT_ECHO: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_ECHO;
pub const IPPORT_DISCARD: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_DISCARD;
pub const IPPORT_SYSTAT: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_SYSTAT;
pub const IPPORT_DAYTIME: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_DAYTIME;
pub const IPPORT_NETSTAT: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_NETSTAT;
pub const IPPORT_FTP: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_FTP;
pub const IPPORT_TELNET: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_TELNET;
pub const IPPORT_SMTP: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_SMTP;
pub const IPPORT_TIMESERVER: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_TIMESERVER;
pub const IPPORT_NAMESERVER: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_NAMESERVER;
pub const IPPORT_WHOIS: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_WHOIS;
pub const IPPORT_MTP: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_MTP;
pub const IPPORT_TFTP: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_TFTP;
pub const IPPORT_RJE: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_RJE;
pub const IPPORT_FINGER: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_FINGER;
pub const IPPORT_TTYLINK: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_TTYLINK;
pub const IPPORT_SUPDUP: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_SUPDUP;
pub const IPPORT_EXECSERVER: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_EXECSERVER;
pub const IPPORT_LOGINSERVER: _bindgen_ty_8 =
_bindgen_ty_8::IPPORT_LOGINSERVER;
pub const IPPORT_CMDSERVER: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_CMDSERVER;
pub const IPPORT_EFSSERVER: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_EFSSERVER;
pub const IPPORT_BIFFUDP: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_EXECSERVER;
pub const IPPORT_WHOSERVER: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_LOGINSERVER;
pub const IPPORT_ROUTESERVER: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_EFSSERVER;
pub const IPPORT_RESERVED: _bindgen_ty_8 = _bindgen_ty_8::IPPORT_RESERVED;
pub const IPPORT_USERRESERVED: _bindgen_ty_8 =
_bindgen_ty_8::IPPORT_USERRESERVED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_8 {
IPPORT_ECHO = 7,
IPPORT_DISCARD = 9,
IPPORT_SYSTAT = 11,
IPPORT_DAYTIME = 13,
IPPORT_NETSTAT = 15,
IPPORT_FTP = 21,
IPPORT_TELNET = 23,
IPPORT_SMTP = 25,
IPPORT_TIMESERVER = 37,
IPPORT_NAMESERVER = 42,
IPPORT_WHOIS = 43,
IPPORT_MTP = 57,
IPPORT_TFTP = 69,
IPPORT_RJE = 77,
IPPORT_FINGER = 79,
IPPORT_TTYLINK = 87,
IPPORT_SUPDUP = 95,
IPPORT_EXECSERVER = 512,
IPPORT_LOGINSERVER = 513,
IPPORT_CMDSERVER = 514,
IPPORT_EFSSERVER = 520,
IPPORT_RESERVED = 1024,
IPPORT_USERRESERVED = 5000,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct in6_addr {
pub __in6_u: in6_addr__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct in6_addr__bindgen_ty_1 {
pub __u6_addr8: __BindgenUnionField<[u8; 16usize]>,
pub __u6_addr16: __BindgenUnionField<[u16; 8usize]>,
pub __u6_addr32: __BindgenUnionField<[u32; 4usize]>,
pub bindgen_union_field: [u32; 4usize],
}
#[test]
fn bindgen_test_layout_in6_addr__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<in6_addr__bindgen_ty_1>() , 16usize ,
concat ! ( "Size of: " , stringify ! ( in6_addr__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<in6_addr__bindgen_ty_1>() , 4usize ,
concat ! (
"Alignment of " , stringify ! ( in6_addr__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const in6_addr__bindgen_ty_1 ) ) . __u6_addr8
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( in6_addr__bindgen_ty_1
) , "::" , stringify ! ( __u6_addr8 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const in6_addr__bindgen_ty_1 ) ) . __u6_addr16
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( in6_addr__bindgen_ty_1
) , "::" , stringify ! ( __u6_addr16 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const in6_addr__bindgen_ty_1 ) ) . __u6_addr32
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( in6_addr__bindgen_ty_1
) , "::" , stringify ! ( __u6_addr32 ) ));
}
impl Clone for in6_addr__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_in6_addr() {
assert_eq!(::std::mem::size_of::<in6_addr>() , 16usize , concat ! (
"Size of: " , stringify ! ( in6_addr ) ));
assert_eq! (::std::mem::align_of::<in6_addr>() , 4usize , concat ! (
"Alignment of " , stringify ! ( in6_addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const in6_addr ) ) . __in6_u as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( in6_addr ) , "::" ,
stringify ! ( __in6_u ) ));
}
impl Clone for in6_addr {
fn clone(&self) -> Self { *self }
}
extern "C" {
#[link_name = "in6addr_any"]
pub static in6addr_any: in6_addr;
}
extern "C" {
#[link_name = "in6addr_loopback"]
pub static in6addr_loopback: in6_addr;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sockaddr_in {
pub sin_family: sa_family_t,
pub sin_port: in_port_t,
pub sin_addr: in_addr,
pub sin_zero: [::std::os::raw::c_uchar; 8usize],
}
#[test]
fn bindgen_test_layout_sockaddr_in() {
assert_eq!(::std::mem::size_of::<sockaddr_in>() , 16usize , concat ! (
"Size of: " , stringify ! ( sockaddr_in ) ));
assert_eq! (::std::mem::align_of::<sockaddr_in>() , 4usize , concat ! (
"Alignment of " , stringify ! ( sockaddr_in ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_in ) ) . sin_family as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_in ) , "::" ,
stringify ! ( sin_family ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_in ) ) . sin_port as * const _
as usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_in ) , "::" ,
stringify ! ( sin_port ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_in ) ) . sin_addr as * const _
as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_in ) , "::" ,
stringify ! ( sin_addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_in ) ) . sin_zero as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_in ) , "::" ,
stringify ! ( sin_zero ) ));
}
impl Clone for sockaddr_in {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sockaddr_in6 {
pub sin6_family: sa_family_t,
pub sin6_port: in_port_t,
pub sin6_flowinfo: u32,
pub sin6_addr: in6_addr,
pub sin6_scope_id: u32,
}
#[test]
fn bindgen_test_layout_sockaddr_in6() {
assert_eq!(::std::mem::size_of::<sockaddr_in6>() , 28usize , concat ! (
"Size of: " , stringify ! ( sockaddr_in6 ) ));
assert_eq! (::std::mem::align_of::<sockaddr_in6>() , 4usize , concat ! (
"Alignment of " , stringify ! ( sockaddr_in6 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_in6 ) ) . sin6_family as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_in6 ) , "::" ,
stringify ! ( sin6_family ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_in6 ) ) . sin6_port as * const _
as usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_in6 ) , "::" ,
stringify ! ( sin6_port ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_in6 ) ) . sin6_flowinfo as *
const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_in6 ) , "::" ,
stringify ! ( sin6_flowinfo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_in6 ) ) . sin6_addr as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_in6 ) , "::" ,
stringify ! ( sin6_addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sockaddr_in6 ) ) . sin6_scope_id as *
const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( sockaddr_in6 ) , "::" ,
stringify ! ( sin6_scope_id ) ));
}
impl Clone for sockaddr_in6 {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct ip_mreq {
pub imr_multiaddr: in_addr,
pub imr_interface: in_addr,
}
#[test]
fn bindgen_test_layout_ip_mreq() {
assert_eq!(::std::mem::size_of::<ip_mreq>() , 8usize , concat ! (
"Size of: " , stringify ! ( ip_mreq ) ));
assert_eq! (::std::mem::align_of::<ip_mreq>() , 4usize , concat ! (
"Alignment of " , stringify ! ( ip_mreq ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_mreq ) ) . imr_multiaddr as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( ip_mreq ) , "::" ,
stringify ! ( imr_multiaddr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_mreq ) ) . imr_interface as * const _
as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( ip_mreq ) , "::" ,
stringify ! ( imr_interface ) ));
}
impl Clone for ip_mreq {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct ip_mreq_source {
pub imr_multiaddr: in_addr,
pub imr_interface: in_addr,
pub imr_sourceaddr: in_addr,
}
#[test]
fn bindgen_test_layout_ip_mreq_source() {
assert_eq!(::std::mem::size_of::<ip_mreq_source>() , 12usize , concat ! (
"Size of: " , stringify ! ( ip_mreq_source ) ));
assert_eq! (::std::mem::align_of::<ip_mreq_source>() , 4usize , concat ! (
"Alignment of " , stringify ! ( ip_mreq_source ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_mreq_source ) ) . imr_multiaddr as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( ip_mreq_source ) , "::"
, stringify ! ( imr_multiaddr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_mreq_source ) ) . imr_interface as *
const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( ip_mreq_source ) , "::"
, stringify ! ( imr_interface ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_mreq_source ) ) . imr_sourceaddr as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( ip_mreq_source ) , "::"
, stringify ! ( imr_sourceaddr ) ));
}
impl Clone for ip_mreq_source {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct ipv6_mreq {
pub ipv6mr_multiaddr: in6_addr,
pub ipv6mr_interface: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_ipv6_mreq() {
assert_eq!(::std::mem::size_of::<ipv6_mreq>() , 20usize , concat ! (
"Size of: " , stringify ! ( ipv6_mreq ) ));
assert_eq! (::std::mem::align_of::<ipv6_mreq>() , 4usize , concat ! (
"Alignment of " , stringify ! ( ipv6_mreq ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ipv6_mreq ) ) . ipv6mr_multiaddr as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( ipv6_mreq ) , "::" ,
stringify ! ( ipv6mr_multiaddr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ipv6_mreq ) ) . ipv6mr_interface as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( ipv6_mreq ) , "::" ,
stringify ! ( ipv6mr_interface ) ));
}
impl Clone for ipv6_mreq {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct group_req {
pub gr_interface: u32,
pub gr_group: sockaddr_storage,
}
#[test]
fn bindgen_test_layout_group_req() {
assert_eq!(::std::mem::size_of::<group_req>() , 136usize , concat ! (
"Size of: " , stringify ! ( group_req ) ));
assert_eq! (::std::mem::align_of::<group_req>() , 8usize , concat ! (
"Alignment of " , stringify ! ( group_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_req ) ) . gr_interface as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( group_req ) , "::" ,
stringify ! ( gr_interface ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_req ) ) . gr_group as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( group_req ) , "::" ,
stringify ! ( gr_group ) ));
}
#[repr(C)]
pub struct group_source_req {
pub gsr_interface: u32,
pub gsr_group: sockaddr_storage,
pub gsr_source: sockaddr_storage,
}
#[test]
fn bindgen_test_layout_group_source_req() {
assert_eq!(::std::mem::size_of::<group_source_req>() , 264usize , concat !
( "Size of: " , stringify ! ( group_source_req ) ));
assert_eq! (::std::mem::align_of::<group_source_req>() , 8usize , concat !
( "Alignment of " , stringify ! ( group_source_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_source_req ) ) . gsr_interface as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( group_source_req ) ,
"::" , stringify ! ( gsr_interface ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_source_req ) ) . gsr_group as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( group_source_req ) ,
"::" , stringify ! ( gsr_group ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_source_req ) ) . gsr_source as *
const _ as usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( group_source_req ) ,
"::" , stringify ! ( gsr_source ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct ip_msfilter {
pub imsf_multiaddr: in_addr,
pub imsf_interface: in_addr,
pub imsf_fmode: u32,
pub imsf_numsrc: u32,
pub imsf_slist: [in_addr; 1usize],
}
#[test]
fn bindgen_test_layout_ip_msfilter() {
assert_eq!(::std::mem::size_of::<ip_msfilter>() , 20usize , concat ! (
"Size of: " , stringify ! ( ip_msfilter ) ));
assert_eq! (::std::mem::align_of::<ip_msfilter>() , 4usize , concat ! (
"Alignment of " , stringify ! ( ip_msfilter ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_msfilter ) ) . imsf_multiaddr as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( ip_msfilter ) , "::" ,
stringify ! ( imsf_multiaddr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_msfilter ) ) . imsf_interface as *
const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( ip_msfilter ) , "::" ,
stringify ! ( imsf_interface ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_msfilter ) ) . imsf_fmode as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( ip_msfilter ) , "::" ,
stringify ! ( imsf_fmode ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_msfilter ) ) . imsf_numsrc as * const
_ as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! ( ip_msfilter ) , "::" ,
stringify ! ( imsf_numsrc ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ip_msfilter ) ) . imsf_slist as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( ip_msfilter ) , "::" ,
stringify ! ( imsf_slist ) ));
}
impl Clone for ip_msfilter {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct group_filter {
pub gf_interface: u32,
pub gf_group: sockaddr_storage,
pub gf_fmode: u32,
pub gf_numsrc: u32,
pub gf_slist: [sockaddr_storage; 1usize],
}
#[test]
fn bindgen_test_layout_group_filter() {
assert_eq!(::std::mem::size_of::<group_filter>() , 272usize , concat ! (
"Size of: " , stringify ! ( group_filter ) ));
assert_eq! (::std::mem::align_of::<group_filter>() , 8usize , concat ! (
"Alignment of " , stringify ! ( group_filter ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_filter ) ) . gf_interface as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( group_filter ) , "::" ,
stringify ! ( gf_interface ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_filter ) ) . gf_group as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( group_filter ) , "::" ,
stringify ! ( gf_group ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_filter ) ) . gf_fmode as * const _
as usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( group_filter ) , "::" ,
stringify ! ( gf_fmode ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_filter ) ) . gf_numsrc as * const _
as usize } , 140usize , concat ! (
"Alignment of field: " , stringify ! ( group_filter ) , "::" ,
stringify ! ( gf_numsrc ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const group_filter ) ) . gf_slist as * const _
as usize } , 144usize , concat ! (
"Alignment of field: " , stringify ! ( group_filter ) , "::" ,
stringify ! ( gf_slist ) ));
}
extern "C" {
pub fn ntohl(__netlong: u32) -> u32;
}
extern "C" {
pub fn ntohs(__netshort: u16) -> u16;
}
extern "C" {
pub fn htonl(__hostlong: u32) -> u32;
}
extern "C" {
pub fn htons(__hostshort: u16) -> u16;
}
extern "C" {
pub fn bindresvport(__sockfd: ::std::os::raw::c_int,
__sock_in: *mut sockaddr_in) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn bindresvport6(__sockfd: ::std::os::raw::c_int,
__sock_in: *mut sockaddr_in6)
-> ::std::os::raw::c_int;
}
pub type tcp_seq = u_int32_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct tcphdr {
pub __bindgen_anon_1: tcphdr__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct tcphdr__bindgen_ty_1 {
pub __bindgen_anon_1: __BindgenUnionField<tcphdr__bindgen_ty_1__bindgen_ty_1>,
pub __bindgen_anon_2: __BindgenUnionField<tcphdr__bindgen_ty_1__bindgen_ty_2>,
pub bindgen_union_field: [u32; 5usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct tcphdr__bindgen_ty_1__bindgen_ty_1 {
pub th_sport: u_int16_t,
pub th_dport: u_int16_t,
pub th_seq: tcp_seq,
pub th_ack: tcp_seq,
pub _bitfield_1: u8,
pub th_flags: u_int8_t,
pub th_win: u_int16_t,
pub th_sum: u_int16_t,
pub th_urp: u_int16_t,
}
#[test]
fn bindgen_test_layout_tcphdr__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<tcphdr__bindgen_ty_1__bindgen_ty_1>() ,
20usize , concat ! (
"Size of: " , stringify ! ( tcphdr__bindgen_ty_1__bindgen_ty_1
) ));
assert_eq! (::std::mem::align_of::<tcphdr__bindgen_ty_1__bindgen_ty_1>() ,
4usize , concat ! (
"Alignment of " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_1 ) ) .
th_sport as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
th_sport ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_1 ) ) .
th_dport as * const _ as usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
th_dport ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_1 ) ) .
th_seq as * const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
th_seq ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_1 ) ) .
th_ack as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
th_ack ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_1 ) ) .
th_flags as * const _ as usize } , 13usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
th_flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_1 ) ) .
th_win as * const _ as usize } , 14usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
th_win ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_1 ) ) .
th_sum as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
th_sum ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_1 ) ) .
th_urp as * const _ as usize } , 18usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
th_urp ) ));
}
impl Clone for tcphdr__bindgen_ty_1__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
impl tcphdr__bindgen_ty_1__bindgen_ty_1 {
#[inline]
pub fn th_x2(&self) -> u_int8_t {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 15u64 as u8;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_th_x2(&mut self, val: u_int8_t) {
let mask = 15u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn th_off(&self) -> u_int8_t {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 240u64 as u8;
let val = (unit_field_val & mask) >> 4usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_th_off(&mut self, val: u_int8_t) {
let mask = 240u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 4usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn new_bitfield_1(th_x2: u_int8_t, th_off: u_int8_t) -> u8 {
({ ({ 0 } | ((th_x2 as u8 as u8) << 0usize) & (15u64 as u8)) } |
((th_off as u8 as u8) << 4usize) & (240u64 as u8))
}
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct tcphdr__bindgen_ty_1__bindgen_ty_2 {
pub source: u_int16_t,
pub dest: u_int16_t,
pub seq: u_int32_t,
pub ack_seq: u_int32_t,
pub _bitfield_1: [u8; 2usize],
pub window: u_int16_t,
pub check: u_int16_t,
pub urg_ptr: u_int16_t,
}
#[test]
fn bindgen_test_layout_tcphdr__bindgen_ty_1__bindgen_ty_2() {
assert_eq!(::std::mem::size_of::<tcphdr__bindgen_ty_1__bindgen_ty_2>() ,
20usize , concat ! (
"Size of: " , stringify ! ( tcphdr__bindgen_ty_1__bindgen_ty_2
) ));
assert_eq! (::std::mem::align_of::<tcphdr__bindgen_ty_1__bindgen_ty_2>() ,
4usize , concat ! (
"Alignment of " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_2 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_2 ) ) .
source as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
source ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_2 ) ) .
dest as * const _ as usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
dest ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_2 ) ) .
seq as * const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
seq ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_2 ) ) .
ack_seq as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
ack_seq ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_2 ) ) .
window as * const _ as usize } , 14usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
window ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_2 ) ) .
check as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
check ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcphdr__bindgen_ty_1__bindgen_ty_2 ) ) .
urg_ptr as * const _ as usize } , 18usize , concat ! (
"Alignment of field: " , stringify ! (
tcphdr__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
urg_ptr ) ));
}
impl Clone for tcphdr__bindgen_ty_1__bindgen_ty_2 {
fn clone(&self) -> Self { *self }
}
impl tcphdr__bindgen_ty_1__bindgen_ty_2 {
#[inline]
pub fn res1(&self) -> u_int16_t {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 15u64 as u16;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_res1(&mut self, val: u_int16_t) {
let mask = 15u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn doff(&self) -> u_int16_t {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 240u64 as u16;
let val = (unit_field_val & mask) >> 4usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_doff(&mut self, val: u_int16_t) {
let mask = 240u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 4usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn fin(&self) -> u_int16_t {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 256u64 as u16;
let val = (unit_field_val & mask) >> 8usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_fin(&mut self, val: u_int16_t) {
let mask = 256u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 8usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn syn(&self) -> u_int16_t {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 512u64 as u16;
let val = (unit_field_val & mask) >> 9usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_syn(&mut self, val: u_int16_t) {
let mask = 512u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 9usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn rst(&self) -> u_int16_t {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 1024u64 as u16;
let val = (unit_field_val & mask) >> 10usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_rst(&mut self, val: u_int16_t) {
let mask = 1024u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 10usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn psh(&self) -> u_int16_t {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 2048u64 as u16;
let val = (unit_field_val & mask) >> 11usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_psh(&mut self, val: u_int16_t) {
let mask = 2048u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 11usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn ack(&self) -> u_int16_t {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 4096u64 as u16;
let val = (unit_field_val & mask) >> 12usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_ack(&mut self, val: u_int16_t) {
let mask = 4096u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 12usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn urg(&self) -> u_int16_t {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 8192u64 as u16;
let val = (unit_field_val & mask) >> 13usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_urg(&mut self, val: u_int16_t) {
let mask = 8192u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 13usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn res2(&self) -> u_int16_t {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 49152u64 as u16;
let val = (unit_field_val & mask) >> 14usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_res2(&mut self, val: u_int16_t) {
let mask = 49152u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 14usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn new_bitfield_1(res1: u_int16_t, doff: u_int16_t, fin: u_int16_t,
syn: u_int16_t, rst: u_int16_t, psh: u_int16_t,
ack: u_int16_t, urg: u_int16_t, res2: u_int16_t)
-> u16 {
({
({
({
({
({
({
({
({
({ 0 } |
((res1 as u16 as u16) <<
0usize) &
(15u64 as u16))
} |
((doff as u16 as u16) <<
4usize) &
(240u64 as u16))
} |
((fin as u16 as u16) << 8usize) &
(256u64 as u16))
} |
((syn as u16 as u16) << 9usize) &
(512u64 as u16))
} |
((rst as u16 as u16) << 10usize) &
(1024u64 as u16))
} |
((psh as u16 as u16) << 11usize) &
(2048u64 as u16))
} | ((ack as u16 as u16) << 12usize) & (4096u64 as u16))
} | ((urg as u16 as u16) << 13usize) & (8192u64 as u16))
} | ((res2 as u16 as u16) << 14usize) & (49152u64 as u16))
}
}
#[test]
fn bindgen_test_layout_tcphdr__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<tcphdr__bindgen_ty_1>() , 20usize ,
concat ! ( "Size of: " , stringify ! ( tcphdr__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<tcphdr__bindgen_ty_1>() , 4usize ,
concat ! (
"Alignment of " , stringify ! ( tcphdr__bindgen_ty_1 ) ));
}
impl Clone for tcphdr__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_tcphdr() {
assert_eq!(::std::mem::size_of::<tcphdr>() , 20usize , concat ! (
"Size of: " , stringify ! ( tcphdr ) ));
assert_eq! (::std::mem::align_of::<tcphdr>() , 4usize , concat ! (
"Alignment of " , stringify ! ( tcphdr ) ));
}
impl Clone for tcphdr {
fn clone(&self) -> Self { *self }
}
pub const TCP_ESTABLISHED: _bindgen_ty_9 = _bindgen_ty_9::TCP_ESTABLISHED;
pub const TCP_SYN_SENT: _bindgen_ty_9 = _bindgen_ty_9::TCP_SYN_SENT;
pub const TCP_SYN_RECV: _bindgen_ty_9 = _bindgen_ty_9::TCP_SYN_RECV;
pub const TCP_FIN_WAIT1: _bindgen_ty_9 = _bindgen_ty_9::TCP_FIN_WAIT1;
pub const TCP_FIN_WAIT2: _bindgen_ty_9 = _bindgen_ty_9::TCP_FIN_WAIT2;
pub const TCP_TIME_WAIT: _bindgen_ty_9 = _bindgen_ty_9::TCP_TIME_WAIT;
pub const TCP_CLOSE: _bindgen_ty_9 = _bindgen_ty_9::TCP_CLOSE;
pub const TCP_CLOSE_WAIT: _bindgen_ty_9 = _bindgen_ty_9::TCP_CLOSE_WAIT;
pub const TCP_LAST_ACK: _bindgen_ty_9 = _bindgen_ty_9::TCP_LAST_ACK;
pub const TCP_LISTEN: _bindgen_ty_9 = _bindgen_ty_9::TCP_LISTEN;
pub const TCP_CLOSING: _bindgen_ty_9 = _bindgen_ty_9::TCP_CLOSING;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_9 {
TCP_ESTABLISHED = 1,
TCP_SYN_SENT = 2,
TCP_SYN_RECV = 3,
TCP_FIN_WAIT1 = 4,
TCP_FIN_WAIT2 = 5,
TCP_TIME_WAIT = 6,
TCP_CLOSE = 7,
TCP_CLOSE_WAIT = 8,
TCP_LAST_ACK = 9,
TCP_LISTEN = 10,
TCP_CLOSING = 11,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum tcp_ca_state {
TCP_CA_Open = 0,
TCP_CA_Disorder = 1,
TCP_CA_CWR = 2,
TCP_CA_Recovery = 3,
TCP_CA_Loss = 4,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct tcp_info {
pub tcpi_state: u_int8_t,
pub tcpi_ca_state: u_int8_t,
pub tcpi_retransmits: u_int8_t,
pub tcpi_probes: u_int8_t,
pub tcpi_backoff: u_int8_t,
pub tcpi_options: u_int8_t,
pub _bitfield_1: u8,
pub tcpi_rto: u_int32_t,
pub tcpi_ato: u_int32_t,
pub tcpi_snd_mss: u_int32_t,
pub tcpi_rcv_mss: u_int32_t,
pub tcpi_unacked: u_int32_t,
pub tcpi_sacked: u_int32_t,
pub tcpi_lost: u_int32_t,
pub tcpi_retrans: u_int32_t,
pub tcpi_fackets: u_int32_t,
pub tcpi_last_data_sent: u_int32_t,
pub tcpi_last_ack_sent: u_int32_t,
pub tcpi_last_data_recv: u_int32_t,
pub tcpi_last_ack_recv: u_int32_t,
pub tcpi_pmtu: u_int32_t,
pub tcpi_rcv_ssthresh: u_int32_t,
pub tcpi_rtt: u_int32_t,
pub tcpi_rttvar: u_int32_t,
pub tcpi_snd_ssthresh: u_int32_t,
pub tcpi_snd_cwnd: u_int32_t,
pub tcpi_advmss: u_int32_t,
pub tcpi_reordering: u_int32_t,
pub tcpi_rcv_rtt: u_int32_t,
pub tcpi_rcv_space: u_int32_t,
pub tcpi_total_retrans: u_int32_t,
}
#[test]
fn bindgen_test_layout_tcp_info() {
assert_eq!(::std::mem::size_of::<tcp_info>() , 104usize , concat ! (
"Size of: " , stringify ! ( tcp_info ) ));
assert_eq! (::std::mem::align_of::<tcp_info>() , 4usize , concat ! (
"Alignment of " , stringify ! ( tcp_info ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_state as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_state ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_ca_state as * const _
as usize } , 1usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_ca_state ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_retransmits as *
const _ as usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_retransmits ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_probes as * const _
as usize } , 3usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_probes ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_backoff as * const _
as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_backoff ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_options as * const _
as usize } , 5usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_options ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_rto as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_rto ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_ato as * const _ as
usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_ato ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_snd_mss as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_snd_mss ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_rcv_mss as * const _
as usize } , 20usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_rcv_mss ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_unacked as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_unacked ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_sacked as * const _
as usize } , 28usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_sacked ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_lost as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_lost ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_retrans as * const _
as usize } , 36usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_retrans ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_fackets as * const _
as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_fackets ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_last_data_sent as *
const _ as usize } , 44usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_last_data_sent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_last_ack_sent as *
const _ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_last_ack_sent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_last_data_recv as *
const _ as usize } , 52usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_last_data_recv ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_last_ack_recv as *
const _ as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_last_ack_recv ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_pmtu as * const _ as
usize } , 60usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_pmtu ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_rcv_ssthresh as *
const _ as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_rcv_ssthresh ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_rtt as * const _ as
usize } , 68usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_rtt ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_rttvar as * const _
as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_rttvar ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_snd_ssthresh as *
const _ as usize } , 76usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_snd_ssthresh ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_snd_cwnd as * const _
as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_snd_cwnd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_advmss as * const _
as usize } , 84usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_advmss ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_reordering as * const
_ as usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_reordering ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_rcv_rtt as * const _
as usize } , 92usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_rcv_rtt ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_rcv_space as * const
_ as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_rcv_space ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_info ) ) . tcpi_total_retrans as *
const _ as usize } , 100usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_info ) , "::" ,
stringify ! ( tcpi_total_retrans ) ));
}
impl Clone for tcp_info {
fn clone(&self) -> Self { *self }
}
impl tcp_info {
#[inline]
pub fn tcpi_snd_wscale(&self) -> u_int8_t {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 15u64 as u8;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_tcpi_snd_wscale(&mut self, val: u_int8_t) {
let mask = 15u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn tcpi_rcv_wscale(&self) -> u_int8_t {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 240u64 as u8;
let val = (unit_field_val & mask) >> 4usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_tcpi_rcv_wscale(&mut self, val: u_int8_t) {
let mask = 240u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 4usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn new_bitfield_1(tcpi_snd_wscale: u_int8_t,
tcpi_rcv_wscale: u_int8_t) -> u8 {
({
({ 0 } |
((tcpi_snd_wscale as u8 as u8) << 0usize) & (15u64 as u8))
} | ((tcpi_rcv_wscale as u8 as u8) << 4usize) & (240u64 as u8))
}
}
#[repr(C)]
pub struct tcp_md5sig {
pub tcpm_addr: sockaddr_storage,
pub __tcpm_pad1: u_int16_t,
pub tcpm_keylen: u_int16_t,
pub __tcpm_pad2: u_int32_t,
pub tcpm_key: [u_int8_t; 80usize],
}
#[test]
fn bindgen_test_layout_tcp_md5sig() {
assert_eq!(::std::mem::size_of::<tcp_md5sig>() , 216usize , concat ! (
"Size of: " , stringify ! ( tcp_md5sig ) ));
assert_eq! (::std::mem::align_of::<tcp_md5sig>() , 8usize , concat ! (
"Alignment of " , stringify ! ( tcp_md5sig ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_md5sig ) ) . tcpm_addr as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_md5sig ) , "::" ,
stringify ! ( tcpm_addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_md5sig ) ) . __tcpm_pad1 as * const _
as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_md5sig ) , "::" ,
stringify ! ( __tcpm_pad1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_md5sig ) ) . tcpm_keylen as * const _
as usize } , 130usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_md5sig ) , "::" ,
stringify ! ( tcpm_keylen ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_md5sig ) ) . __tcpm_pad2 as * const _
as usize } , 132usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_md5sig ) , "::" ,
stringify ! ( __tcpm_pad2 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_md5sig ) ) . tcpm_key as * const _ as
usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_md5sig ) , "::" ,
stringify ! ( tcpm_key ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct tcp_repair_opt {
pub opt_code: u_int32_t,
pub opt_val: u_int32_t,
}
#[test]
fn bindgen_test_layout_tcp_repair_opt() {
assert_eq!(::std::mem::size_of::<tcp_repair_opt>() , 8usize , concat ! (
"Size of: " , stringify ! ( tcp_repair_opt ) ));
assert_eq! (::std::mem::align_of::<tcp_repair_opt>() , 4usize , concat ! (
"Alignment of " , stringify ! ( tcp_repair_opt ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_repair_opt ) ) . opt_code as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_repair_opt ) , "::"
, stringify ! ( opt_code ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_repair_opt ) ) . opt_val as * const _
as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_repair_opt ) , "::"
, stringify ! ( opt_val ) ));
}
impl Clone for tcp_repair_opt {
fn clone(&self) -> Self { *self }
}
pub const TCP_NO_QUEUE: _bindgen_ty_10 = _bindgen_ty_10::TCP_NO_QUEUE;
pub const TCP_RECV_QUEUE: _bindgen_ty_10 = _bindgen_ty_10::TCP_RECV_QUEUE;
pub const TCP_SEND_QUEUE: _bindgen_ty_10 = _bindgen_ty_10::TCP_SEND_QUEUE;
pub const TCP_QUEUES_NR: _bindgen_ty_10 = _bindgen_ty_10::TCP_QUEUES_NR;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_10 {
TCP_NO_QUEUE = 0,
TCP_RECV_QUEUE = 1,
TCP_SEND_QUEUE = 2,
TCP_QUEUES_NR = 3,
}
#[repr(C)]
pub struct tcp_cookie_transactions {
pub tcpct_flags: u_int16_t,
pub __tcpct_pad1: u_int8_t,
pub tcpct_cookie_desired: u_int8_t,
pub tcpct_s_data_desired: u_int16_t,
pub tcpct_used: u_int16_t,
pub tcpct_value: [u_int8_t; 536usize],
}
#[test]
fn bindgen_test_layout_tcp_cookie_transactions() {
assert_eq!(::std::mem::size_of::<tcp_cookie_transactions>() , 544usize ,
concat ! (
"Size of: " , stringify ! ( tcp_cookie_transactions ) ));
assert_eq! (::std::mem::align_of::<tcp_cookie_transactions>() , 2usize ,
concat ! (
"Alignment of " , stringify ! ( tcp_cookie_transactions ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_cookie_transactions ) ) . tcpct_flags
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_cookie_transactions
) , "::" , stringify ! ( tcpct_flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_cookie_transactions ) ) .
__tcpct_pad1 as * const _ as usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_cookie_transactions
) , "::" , stringify ! ( __tcpct_pad1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_cookie_transactions ) ) .
tcpct_cookie_desired as * const _ as usize } , 3usize , concat
! (
"Alignment of field: " , stringify ! ( tcp_cookie_transactions
) , "::" , stringify ! ( tcpct_cookie_desired ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_cookie_transactions ) ) .
tcpct_s_data_desired as * const _ as usize } , 4usize , concat
! (
"Alignment of field: " , stringify ! ( tcp_cookie_transactions
) , "::" , stringify ! ( tcpct_s_data_desired ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_cookie_transactions ) ) . tcpct_used
as * const _ as usize } , 6usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_cookie_transactions
) , "::" , stringify ! ( tcpct_used ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tcp_cookie_transactions ) ) . tcpct_value
as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( tcp_cookie_transactions
) , "::" , stringify ! ( tcpct_value ) ));
}
extern "C" {
pub fn inet_addr(__cp: *const ::std::os::raw::c_char) -> in_addr_t;
}
extern "C" {
pub fn inet_lnaof(__in: in_addr) -> in_addr_t;
}
extern "C" {
pub fn inet_makeaddr(__net: in_addr_t, __host: in_addr_t) -> in_addr;
}
extern "C" {
pub fn inet_netof(__in: in_addr) -> in_addr_t;
}
extern "C" {
pub fn inet_network(__cp: *const ::std::os::raw::c_char) -> in_addr_t;
}
extern "C" {
pub fn inet_ntoa(__in: in_addr) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn inet_pton(__af: ::std::os::raw::c_int,
__cp: *const ::std::os::raw::c_char,
__buf: *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn inet_ntop(__af: ::std::os::raw::c_int,
__cp: *const ::std::os::raw::c_void,
__buf: *mut ::std::os::raw::c_char, __len: socklen_t)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn inet_aton(__cp: *const ::std::os::raw::c_char, __inp: *mut in_addr)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn inet_neta(__net: in_addr_t, __buf: *mut ::std::os::raw::c_char,
__len: usize) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn inet_net_ntop(__af: ::std::os::raw::c_int,
__cp: *const ::std::os::raw::c_void,
__bits: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char, __len: usize)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn inet_net_pton(__af: ::std::os::raw::c_int,
__cp: *const ::std::os::raw::c_char,
__buf: *mut ::std::os::raw::c_void, __len: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn inet_nsap_addr(__cp: *const ::std::os::raw::c_char,
__buf: *mut ::std::os::raw::c_uchar,
__len: ::std::os::raw::c_int)
-> ::std::os::raw::c_uint;
}
extern "C" {
pub fn inet_nsap_ntoa(__len: ::std::os::raw::c_int,
__cp: *const ::std::os::raw::c_uchar,
__buf: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct rpcent {
pub r_name: *mut ::std::os::raw::c_char,
pub r_aliases: *mut *mut ::std::os::raw::c_char,
pub r_number: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_rpcent() {
assert_eq!(::std::mem::size_of::<rpcent>() , 24usize , concat ! (
"Size of: " , stringify ! ( rpcent ) ));
assert_eq! (::std::mem::align_of::<rpcent>() , 8usize , concat ! (
"Alignment of " , stringify ! ( rpcent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const rpcent ) ) . r_name as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( rpcent ) , "::" ,
stringify ! ( r_name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const rpcent ) ) . r_aliases as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( rpcent ) , "::" ,
stringify ! ( r_aliases ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const rpcent ) ) . r_number as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( rpcent ) , "::" ,
stringify ! ( r_number ) ));
}
impl Clone for rpcent {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn setrpcent(__stayopen: ::std::os::raw::c_int);
}
extern "C" {
pub fn endrpcent();
}
extern "C" {
pub fn getrpcbyname(__name: *const ::std::os::raw::c_char) -> *mut rpcent;
}
extern "C" {
pub fn getrpcbynumber(__number: ::std::os::raw::c_int) -> *mut rpcent;
}
extern "C" {
pub fn getrpcent() -> *mut rpcent;
}
extern "C" {
pub fn getrpcbyname_r(__name: *const ::std::os::raw::c_char,
__result_buf: *mut rpcent,
__buffer: *mut ::std::os::raw::c_char,
__buflen: usize, __result: *mut *mut rpcent)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getrpcbynumber_r(__number: ::std::os::raw::c_int,
__result_buf: *mut rpcent,
__buffer: *mut ::std::os::raw::c_char,
__buflen: usize, __result: *mut *mut rpcent)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getrpcent_r(__result_buf: *mut rpcent,
__buffer: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut rpcent) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct netent {
pub n_name: *mut ::std::os::raw::c_char,
pub n_aliases: *mut *mut ::std::os::raw::c_char,
pub n_addrtype: ::std::os::raw::c_int,
pub n_net: u32,
}
#[test]
fn bindgen_test_layout_netent() {
assert_eq!(::std::mem::size_of::<netent>() , 24usize , concat ! (
"Size of: " , stringify ! ( netent ) ));
assert_eq! (::std::mem::align_of::<netent>() , 8usize , concat ! (
"Alignment of " , stringify ! ( netent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const netent ) ) . n_name as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( netent ) , "::" ,
stringify ! ( n_name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const netent ) ) . n_aliases as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( netent ) , "::" ,
stringify ! ( n_aliases ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const netent ) ) . n_addrtype as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( netent ) , "::" ,
stringify ! ( n_addrtype ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const netent ) ) . n_net as * const _ as usize
} , 20usize , concat ! (
"Alignment of field: " , stringify ! ( netent ) , "::" ,
stringify ! ( n_net ) ));
}
impl Clone for netent {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn __h_errno_location() -> *mut ::std::os::raw::c_int;
}
extern "C" {
pub fn herror(__str: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn hstrerror(__err_num: ::std::os::raw::c_int)
-> *const ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct hostent {
pub h_name: *mut ::std::os::raw::c_char,
pub h_aliases: *mut *mut ::std::os::raw::c_char,
pub h_addrtype: ::std::os::raw::c_int,
pub h_length: ::std::os::raw::c_int,
pub h_addr_list: *mut *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_hostent() {
assert_eq!(::std::mem::size_of::<hostent>() , 32usize , concat ! (
"Size of: " , stringify ! ( hostent ) ));
assert_eq! (::std::mem::align_of::<hostent>() , 8usize , concat ! (
"Alignment of " , stringify ! ( hostent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const hostent ) ) . h_name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( hostent ) , "::" ,
stringify ! ( h_name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const hostent ) ) . h_aliases as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( hostent ) , "::" ,
stringify ! ( h_aliases ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const hostent ) ) . h_addrtype as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( hostent ) , "::" ,
stringify ! ( h_addrtype ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const hostent ) ) . h_length as * const _ as
usize } , 20usize , concat ! (
"Alignment of field: " , stringify ! ( hostent ) , "::" ,
stringify ! ( h_length ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const hostent ) ) . h_addr_list as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( hostent ) , "::" ,
stringify ! ( h_addr_list ) ));
}
impl Clone for hostent {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn sethostent(__stay_open: ::std::os::raw::c_int);
}
extern "C" {
pub fn endhostent();
}
extern "C" {
pub fn gethostent() -> *mut hostent;
}
extern "C" {
pub fn gethostbyaddr(__addr: *const ::std::os::raw::c_void,
__len: __socklen_t, __type: ::std::os::raw::c_int)
-> *mut hostent;
}
extern "C" {
pub fn gethostbyname(__name: *const ::std::os::raw::c_char)
-> *mut hostent;
}
extern "C" {
pub fn gethostbyname2(__name: *const ::std::os::raw::c_char,
__af: ::std::os::raw::c_int) -> *mut hostent;
}
extern "C" {
pub fn gethostent_r(__result_buf: *mut hostent,
__buf: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut hostent,
__h_errnop: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn gethostbyaddr_r(__addr: *const ::std::os::raw::c_void,
__len: __socklen_t, __type: ::std::os::raw::c_int,
__result_buf: *mut hostent,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize, __result: *mut *mut hostent,
__h_errnop: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn gethostbyname_r(__name: *const ::std::os::raw::c_char,
__result_buf: *mut hostent,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize, __result: *mut *mut hostent,
__h_errnop: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn gethostbyname2_r(__name: *const ::std::os::raw::c_char,
__af: ::std::os::raw::c_int,
__result_buf: *mut hostent,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize, __result: *mut *mut hostent,
__h_errnop: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn setnetent(__stay_open: ::std::os::raw::c_int);
}
extern "C" {
pub fn endnetent();
}
extern "C" {
pub fn getnetent() -> *mut netent;
}
extern "C" {
pub fn getnetbyaddr(__net: u32, __type: ::std::os::raw::c_int)
-> *mut netent;
}
extern "C" {
pub fn getnetbyname(__name: *const ::std::os::raw::c_char) -> *mut netent;
}
extern "C" {
pub fn getnetent_r(__result_buf: *mut netent,
__buf: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut netent,
__h_errnop: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getnetbyaddr_r(__net: u32, __type: ::std::os::raw::c_int,
__result_buf: *mut netent,
__buf: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut netent,
__h_errnop: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getnetbyname_r(__name: *const ::std::os::raw::c_char,
__result_buf: *mut netent,
__buf: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut netent,
__h_errnop: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct servent {
pub s_name: *mut ::std::os::raw::c_char,
pub s_aliases: *mut *mut ::std::os::raw::c_char,
pub s_port: ::std::os::raw::c_int,
pub s_proto: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_servent() {
assert_eq!(::std::mem::size_of::<servent>() , 32usize , concat ! (
"Size of: " , stringify ! ( servent ) ));
assert_eq! (::std::mem::align_of::<servent>() , 8usize , concat ! (
"Alignment of " , stringify ! ( servent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const servent ) ) . s_name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( servent ) , "::" ,
stringify ! ( s_name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const servent ) ) . s_aliases as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( servent ) , "::" ,
stringify ! ( s_aliases ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const servent ) ) . s_port as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( servent ) , "::" ,
stringify ! ( s_port ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const servent ) ) . s_proto as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( servent ) , "::" ,
stringify ! ( s_proto ) ));
}
impl Clone for servent {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn setservent(__stay_open: ::std::os::raw::c_int);
}
extern "C" {
pub fn endservent();
}
extern "C" {
pub fn getservent() -> *mut servent;
}
extern "C" {
pub fn getservbyname(__name: *const ::std::os::raw::c_char,
__proto: *const ::std::os::raw::c_char)
-> *mut servent;
}
extern "C" {
pub fn getservbyport(__port: ::std::os::raw::c_int,
__proto: *const ::std::os::raw::c_char)
-> *mut servent;
}
extern "C" {
pub fn getservent_r(__result_buf: *mut servent,
__buf: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut servent) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getservbyname_r(__name: *const ::std::os::raw::c_char,
__proto: *const ::std::os::raw::c_char,
__result_buf: *mut servent,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize, __result: *mut *mut servent)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getservbyport_r(__port: ::std::os::raw::c_int,
__proto: *const ::std::os::raw::c_char,
__result_buf: *mut servent,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize, __result: *mut *mut servent)
-> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct protoent {
pub p_name: *mut ::std::os::raw::c_char,
pub p_aliases: *mut *mut ::std::os::raw::c_char,
pub p_proto: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_protoent() {
assert_eq!(::std::mem::size_of::<protoent>() , 24usize , concat ! (
"Size of: " , stringify ! ( protoent ) ));
assert_eq! (::std::mem::align_of::<protoent>() , 8usize , concat ! (
"Alignment of " , stringify ! ( protoent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const protoent ) ) . p_name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( protoent ) , "::" ,
stringify ! ( p_name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const protoent ) ) . p_aliases as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( protoent ) , "::" ,
stringify ! ( p_aliases ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const protoent ) ) . p_proto as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( protoent ) , "::" ,
stringify ! ( p_proto ) ));
}
impl Clone for protoent {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn setprotoent(__stay_open: ::std::os::raw::c_int);
}
extern "C" {
pub fn endprotoent();
}
extern "C" {
pub fn getprotoent() -> *mut protoent;
}
extern "C" {
pub fn getprotobyname(__name: *const ::std::os::raw::c_char)
-> *mut protoent;
}
extern "C" {
pub fn getprotobynumber(__proto: ::std::os::raw::c_int) -> *mut protoent;
}
extern "C" {
pub fn getprotoent_r(__result_buf: *mut protoent,
__buf: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut protoent)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getprotobyname_r(__name: *const ::std::os::raw::c_char,
__result_buf: *mut protoent,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize, __result: *mut *mut protoent)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getprotobynumber_r(__proto: ::std::os::raw::c_int,
__result_buf: *mut protoent,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize, __result: *mut *mut protoent)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn setnetgrent(__netgroup: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn endnetgrent();
}
extern "C" {
pub fn getnetgrent(__hostp: *mut *mut ::std::os::raw::c_char,
__userp: *mut *mut ::std::os::raw::c_char,
__domainp: *mut *mut ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn innetgr(__netgroup: *const ::std::os::raw::c_char,
__host: *const ::std::os::raw::c_char,
__user: *const ::std::os::raw::c_char,
__domain: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getnetgrent_r(__hostp: *mut *mut ::std::os::raw::c_char,
__userp: *mut *mut ::std::os::raw::c_char,
__domainp: *mut *mut ::std::os::raw::c_char,
__buffer: *mut ::std::os::raw::c_char,
__buflen: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rcmd(__ahost: *mut *mut ::std::os::raw::c_char,
__rport: ::std::os::raw::c_ushort,
__locuser: *const ::std::os::raw::c_char,
__remuser: *const ::std::os::raw::c_char,
__cmd: *const ::std::os::raw::c_char,
__fd2p: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rcmd_af(__ahost: *mut *mut ::std::os::raw::c_char,
__rport: ::std::os::raw::c_ushort,
__locuser: *const ::std::os::raw::c_char,
__remuser: *const ::std::os::raw::c_char,
__cmd: *const ::std::os::raw::c_char,
__fd2p: *mut ::std::os::raw::c_int, __af: sa_family_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn rexec(__ahost: *mut *mut ::std::os::raw::c_char,
__rport: ::std::os::raw::c_int,
__name: *const ::std::os::raw::c_char,
__pass: *const ::std::os::raw::c_char,
__cmd: *const ::std::os::raw::c_char,
__fd2p: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rexec_af(__ahost: *mut *mut ::std::os::raw::c_char,
__rport: ::std::os::raw::c_int,
__name: *const ::std::os::raw::c_char,
__pass: *const ::std::os::raw::c_char,
__cmd: *const ::std::os::raw::c_char,
__fd2p: *mut ::std::os::raw::c_int, __af: sa_family_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn ruserok(__rhost: *const ::std::os::raw::c_char,
__suser: ::std::os::raw::c_int,
__remuser: *const ::std::os::raw::c_char,
__locuser: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn ruserok_af(__rhost: *const ::std::os::raw::c_char,
__suser: ::std::os::raw::c_int,
__remuser: *const ::std::os::raw::c_char,
__locuser: *const ::std::os::raw::c_char,
__af: sa_family_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn iruserok(__raddr: u32, __suser: ::std::os::raw::c_int,
__remuser: *const ::std::os::raw::c_char,
__locuser: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn iruserok_af(__raddr: *const ::std::os::raw::c_void,
__suser: ::std::os::raw::c_int,
__remuser: *const ::std::os::raw::c_char,
__locuser: *const ::std::os::raw::c_char,
__af: sa_family_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rresvport(__alport: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn rresvport_af(__alport: *mut ::std::os::raw::c_int,
__af: sa_family_t) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct addrinfo {
pub ai_flags: ::std::os::raw::c_int,
pub ai_family: ::std::os::raw::c_int,
pub ai_socktype: ::std::os::raw::c_int,
pub ai_protocol: ::std::os::raw::c_int,
pub ai_addrlen: socklen_t,
pub ai_addr: *mut sockaddr,
pub ai_canonname: *mut ::std::os::raw::c_char,
pub ai_next: *mut addrinfo,
}
#[test]
fn bindgen_test_layout_addrinfo() {
assert_eq!(::std::mem::size_of::<addrinfo>() , 48usize , concat ! (
"Size of: " , stringify ! ( addrinfo ) ));
assert_eq! (::std::mem::align_of::<addrinfo>() , 8usize , concat ! (
"Alignment of " , stringify ! ( addrinfo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const addrinfo ) ) . ai_flags as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( addrinfo ) , "::" ,
stringify ! ( ai_flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const addrinfo ) ) . ai_family as * const _ as
usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( addrinfo ) , "::" ,
stringify ! ( ai_family ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const addrinfo ) ) . ai_socktype as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( addrinfo ) , "::" ,
stringify ! ( ai_socktype ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const addrinfo ) ) . ai_protocol as * const _
as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! ( addrinfo ) , "::" ,
stringify ! ( ai_protocol ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const addrinfo ) ) . ai_addrlen as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( addrinfo ) , "::" ,
stringify ! ( ai_addrlen ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const addrinfo ) ) . ai_addr as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( addrinfo ) , "::" ,
stringify ! ( ai_addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const addrinfo ) ) . ai_canonname as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( addrinfo ) , "::" ,
stringify ! ( ai_canonname ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const addrinfo ) ) . ai_next as * const _ as
usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( addrinfo ) , "::" ,
stringify ! ( ai_next ) ));
}
impl Clone for addrinfo {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn getaddrinfo(__name: *const ::std::os::raw::c_char,
__service: *const ::std::os::raw::c_char,
__req: *const addrinfo, __pai: *mut *mut addrinfo)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn freeaddrinfo(__ai: *mut addrinfo);
}
extern "C" {
pub fn gai_strerror(__ecode: ::std::os::raw::c_int)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn getnameinfo(__sa: *const sockaddr, __salen: socklen_t,
__host: *mut ::std::os::raw::c_char,
__hostlen: socklen_t,
__serv: *mut ::std::os::raw::c_char,
__servlen: socklen_t, __flags: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
pub type cc_t = ::std::os::raw::c_uchar;
pub type speed_t = ::std::os::raw::c_uint;
pub type tcflag_t = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct termios {
pub c_iflag: tcflag_t,
pub c_oflag: tcflag_t,
pub c_cflag: tcflag_t,
pub c_lflag: tcflag_t,
pub c_line: cc_t,
pub c_cc: [cc_t; 32usize],
pub c_ispeed: speed_t,
pub c_ospeed: speed_t,
}
#[test]
fn bindgen_test_layout_termios() {
assert_eq!(::std::mem::size_of::<termios>() , 60usize , concat ! (
"Size of: " , stringify ! ( termios ) ));
assert_eq! (::std::mem::align_of::<termios>() , 4usize , concat ! (
"Alignment of " , stringify ! ( termios ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const termios ) ) . c_iflag as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( termios ) , "::" ,
stringify ! ( c_iflag ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const termios ) ) . c_oflag as * const _ as
usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( termios ) , "::" ,
stringify ! ( c_oflag ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const termios ) ) . c_cflag as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( termios ) , "::" ,
stringify ! ( c_cflag ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const termios ) ) . c_lflag as * const _ as
usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! ( termios ) , "::" ,
stringify ! ( c_lflag ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const termios ) ) . c_line as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( termios ) , "::" ,
stringify ! ( c_line ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const termios ) ) . c_cc as * const _ as usize
} , 17usize , concat ! (
"Alignment of field: " , stringify ! ( termios ) , "::" ,
stringify ! ( c_cc ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const termios ) ) . c_ispeed as * const _ as
usize } , 52usize , concat ! (
"Alignment of field: " , stringify ! ( termios ) , "::" ,
stringify ! ( c_ispeed ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const termios ) ) . c_ospeed as * const _ as
usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( termios ) , "::" ,
stringify ! ( c_ospeed ) ));
}
impl Clone for termios {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn cfgetospeed(__termios_p: *const termios) -> speed_t;
}
extern "C" {
pub fn cfgetispeed(__termios_p: *const termios) -> speed_t;
}
extern "C" {
pub fn cfsetospeed(__termios_p: *mut termios, __speed: speed_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn cfsetispeed(__termios_p: *mut termios, __speed: speed_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn cfsetspeed(__termios_p: *mut termios, __speed: speed_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn tcgetattr(__fd: ::std::os::raw::c_int, __termios_p: *mut termios)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn tcsetattr(__fd: ::std::os::raw::c_int,
__optional_actions: ::std::os::raw::c_int,
__termios_p: *const termios) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn cfmakeraw(__termios_p: *mut termios);
}
extern "C" {
pub fn tcsendbreak(__fd: ::std::os::raw::c_int,
__duration: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn tcdrain(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn tcflush(__fd: ::std::os::raw::c_int,
__queue_selector: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn tcflow(__fd: ::std::os::raw::c_int,
__action: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn tcgetsid(__fd: ::std::os::raw::c_int) -> __pid_t;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct passwd {
pub pw_name: *mut ::std::os::raw::c_char,
pub pw_passwd: *mut ::std::os::raw::c_char,
pub pw_uid: __uid_t,
pub pw_gid: __gid_t,
pub pw_gecos: *mut ::std::os::raw::c_char,
pub pw_dir: *mut ::std::os::raw::c_char,
pub pw_shell: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_passwd() {
assert_eq!(::std::mem::size_of::<passwd>() , 48usize , concat ! (
"Size of: " , stringify ! ( passwd ) ));
assert_eq! (::std::mem::align_of::<passwd>() , 8usize , concat ! (
"Alignment of " , stringify ! ( passwd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const passwd ) ) . pw_name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( passwd ) , "::" ,
stringify ! ( pw_name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const passwd ) ) . pw_passwd as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( passwd ) , "::" ,
stringify ! ( pw_passwd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const passwd ) ) . pw_uid as * const _ as usize
} , 16usize , concat ! (
"Alignment of field: " , stringify ! ( passwd ) , "::" ,
stringify ! ( pw_uid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const passwd ) ) . pw_gid as * const _ as usize
} , 20usize , concat ! (
"Alignment of field: " , stringify ! ( passwd ) , "::" ,
stringify ! ( pw_gid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const passwd ) ) . pw_gecos as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( passwd ) , "::" ,
stringify ! ( pw_gecos ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const passwd ) ) . pw_dir as * const _ as usize
} , 32usize , concat ! (
"Alignment of field: " , stringify ! ( passwd ) , "::" ,
stringify ! ( pw_dir ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const passwd ) ) . pw_shell as * const _ as
usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( passwd ) , "::" ,
stringify ! ( pw_shell ) ));
}
impl Clone for passwd {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn setpwent();
}
extern "C" {
pub fn endpwent();
}
extern "C" {
pub fn getpwent() -> *mut passwd;
}
extern "C" {
pub fn fgetpwent(__stream: *mut FILE) -> *mut passwd;
}
extern "C" {
pub fn putpwent(__p: *const passwd, __f: *mut FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpwuid(__uid: __uid_t) -> *mut passwd;
}
extern "C" {
pub fn getpwnam(__name: *const ::std::os::raw::c_char) -> *mut passwd;
}
extern "C" {
pub fn getpwent_r(__resultbuf: *mut passwd,
__buffer: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut passwd) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpwuid_r(__uid: __uid_t, __resultbuf: *mut passwd,
__buffer: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut passwd) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpwnam_r(__name: *const ::std::os::raw::c_char,
__resultbuf: *mut passwd,
__buffer: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut passwd) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fgetpwent_r(__stream: *mut FILE, __resultbuf: *mut passwd,
__buffer: *mut ::std::os::raw::c_char, __buflen: usize,
__result: *mut *mut passwd) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sem_t {
pub __size: __BindgenUnionField<[::std::os::raw::c_char; 32usize]>,
pub __align: __BindgenUnionField<::std::os::raw::c_long>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_sem_t() {
assert_eq!(::std::mem::size_of::<sem_t>() , 32usize , concat ! (
"Size of: " , stringify ! ( sem_t ) ));
assert_eq! (::std::mem::align_of::<sem_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( sem_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sem_t ) ) . __size as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sem_t ) , "::" ,
stringify ! ( __size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sem_t ) ) . __align as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sem_t ) , "::" ,
stringify ! ( __align ) ));
}
impl Clone for sem_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn sem_init(__sem: *mut sem_t, __pshared: ::std::os::raw::c_int,
__value: ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sem_destroy(__sem: *mut sem_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sem_open(__name: *const ::std::os::raw::c_char,
__oflag: ::std::os::raw::c_int, ...) -> *mut sem_t;
}
extern "C" {
pub fn sem_close(__sem: *mut sem_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sem_unlink(__name: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sem_wait(__sem: *mut sem_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sem_timedwait(__sem: *mut sem_t, __abstime: *const timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sem_trywait(__sem: *mut sem_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sem_post(__sem: *mut sem_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sem_getvalue(__sem: *mut sem_t, __sval: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sched_param {
pub __sched_priority: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_sched_param() {
assert_eq!(::std::mem::size_of::<sched_param>() , 4usize , concat ! (
"Size of: " , stringify ! ( sched_param ) ));
assert_eq! (::std::mem::align_of::<sched_param>() , 4usize , concat ! (
"Alignment of " , stringify ! ( sched_param ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sched_param ) ) . __sched_priority as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sched_param ) , "::" ,
stringify ! ( __sched_priority ) ));
}
impl Clone for sched_param {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __sched_param {
pub __sched_priority: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout___sched_param() {
assert_eq!(::std::mem::size_of::<__sched_param>() , 4usize , concat ! (
"Size of: " , stringify ! ( __sched_param ) ));
assert_eq! (::std::mem::align_of::<__sched_param>() , 4usize , concat ! (
"Alignment of " , stringify ! ( __sched_param ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __sched_param ) ) . __sched_priority as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __sched_param ) , "::"
, stringify ! ( __sched_priority ) ));
}
impl Clone for __sched_param {
fn clone(&self) -> Self { *self }
}
pub type __cpu_mask = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct cpu_set_t {
pub __bits: [__cpu_mask; 16usize],
}
#[test]
fn bindgen_test_layout_cpu_set_t() {
assert_eq!(::std::mem::size_of::<cpu_set_t>() , 128usize , concat ! (
"Size of: " , stringify ! ( cpu_set_t ) ));
assert_eq! (::std::mem::align_of::<cpu_set_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( cpu_set_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const cpu_set_t ) ) . __bits as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( cpu_set_t ) , "::" ,
stringify ! ( __bits ) ));
}
impl Clone for cpu_set_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn __sched_cpucount(__setsize: usize, __setp: *const cpu_set_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __sched_cpualloc(__count: usize) -> *mut cpu_set_t;
}
extern "C" {
pub fn __sched_cpufree(__set: *mut cpu_set_t);
}
extern "C" {
pub fn sched_setparam(__pid: __pid_t, __param: *const sched_param)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_getparam(__pid: __pid_t, __param: *mut sched_param)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_setscheduler(__pid: __pid_t, __policy: ::std::os::raw::c_int,
__param: *const sched_param)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_getscheduler(__pid: __pid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_yield() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_get_priority_max(__algorithm: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_get_priority_min(__algorithm: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sched_rr_get_interval(__pid: __pid_t, __t: *mut timespec)
-> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct tm {
pub tm_sec: ::std::os::raw::c_int,
pub tm_min: ::std::os::raw::c_int,
pub tm_hour: ::std::os::raw::c_int,
pub tm_mday: ::std::os::raw::c_int,
pub tm_mon: ::std::os::raw::c_int,
pub tm_year: ::std::os::raw::c_int,
pub tm_wday: ::std::os::raw::c_int,
pub tm_yday: ::std::os::raw::c_int,
pub tm_isdst: ::std::os::raw::c_int,
pub tm_gmtoff: ::std::os::raw::c_long,
pub tm_zone: *const ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_tm() {
assert_eq!(::std::mem::size_of::<tm>() , 56usize , concat ! (
"Size of: " , stringify ! ( tm ) ));
assert_eq! (::std::mem::align_of::<tm>() , 8usize , concat ! (
"Alignment of " , stringify ! ( tm ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_sec as * const _ as usize } ,
0usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_sec ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_min as * const _ as usize } ,
4usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_min ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_hour as * const _ as usize }
, 8usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_hour ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_mday as * const _ as usize }
, 12usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_mday ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_mon as * const _ as usize } ,
16usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_mon ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_year as * const _ as usize }
, 20usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_year ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_wday as * const _ as usize }
, 24usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_wday ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_yday as * const _ as usize }
, 28usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_yday ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_isdst as * const _ as usize }
, 32usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_isdst ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_gmtoff as * const _ as usize
} , 40usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_gmtoff ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const tm ) ) . tm_zone as * const _ as usize }
, 48usize , concat ! (
"Alignment of field: " , stringify ! ( tm ) , "::" , stringify
! ( tm_zone ) ));
}
impl Clone for tm {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct itimerspec {
pub it_interval: timespec,
pub it_value: timespec,
}
#[test]
fn bindgen_test_layout_itimerspec() {
assert_eq!(::std::mem::size_of::<itimerspec>() , 32usize , concat ! (
"Size of: " , stringify ! ( itimerspec ) ));
assert_eq! (::std::mem::align_of::<itimerspec>() , 8usize , concat ! (
"Alignment of " , stringify ! ( itimerspec ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const itimerspec ) ) . it_interval as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( itimerspec ) , "::" ,
stringify ! ( it_interval ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const itimerspec ) ) . it_value as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( itimerspec ) , "::" ,
stringify ! ( it_value ) ));
}
impl Clone for itimerspec {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigevent {
pub sigev_value: sigval_t,
pub sigev_signo: ::std::os::raw::c_int,
pub sigev_notify: ::std::os::raw::c_int,
pub _sigev_un: sigevent__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigevent__bindgen_ty_1 {
pub _pad: __BindgenUnionField<[::std::os::raw::c_int; 12usize]>,
pub _tid: __BindgenUnionField<__pid_t>,
pub _sigev_thread: __BindgenUnionField<sigevent__bindgen_ty_1__bindgen_ty_1>,
pub bindgen_union_field: [u64; 6usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigevent__bindgen_ty_1__bindgen_ty_1 {
pub _function: ::std::option::Option<unsafe extern "C" fn(arg1:
sigval_t)>,
pub _attribute: *mut pthread_attr_t,
}
#[test]
fn bindgen_test_layout_sigevent__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<sigevent__bindgen_ty_1__bindgen_ty_1>() ,
16usize , concat ! (
"Size of: " , stringify ! (
sigevent__bindgen_ty_1__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<sigevent__bindgen_ty_1__bindgen_ty_1>()
, 8usize , concat ! (
"Alignment of " , stringify ! (
sigevent__bindgen_ty_1__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigevent__bindgen_ty_1__bindgen_ty_1 ) )
. _function as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
sigevent__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
_function ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigevent__bindgen_ty_1__bindgen_ty_1 ) )
. _attribute as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
sigevent__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
_attribute ) ));
}
impl Clone for sigevent__bindgen_ty_1__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_sigevent__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<sigevent__bindgen_ty_1>() , 48usize ,
concat ! ( "Size of: " , stringify ! ( sigevent__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<sigevent__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( sigevent__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigevent__bindgen_ty_1 ) ) . _pad as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigevent__bindgen_ty_1
) , "::" , stringify ! ( _pad ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigevent__bindgen_ty_1 ) ) . _tid as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigevent__bindgen_ty_1
) , "::" , stringify ! ( _tid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigevent__bindgen_ty_1 ) ) .
_sigev_thread as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigevent__bindgen_ty_1
) , "::" , stringify ! ( _sigev_thread ) ));
}
impl Clone for sigevent__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_sigevent() {
assert_eq!(::std::mem::size_of::<sigevent>() , 64usize , concat ! (
"Size of: " , stringify ! ( sigevent ) ));
assert_eq! (::std::mem::align_of::<sigevent>() , 8usize , concat ! (
"Alignment of " , stringify ! ( sigevent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigevent ) ) . sigev_value as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigevent ) , "::" ,
stringify ! ( sigev_value ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigevent ) ) . sigev_signo as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( sigevent ) , "::" ,
stringify ! ( sigev_signo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigevent ) ) . sigev_notify as * const _
as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! ( sigevent ) , "::" ,
stringify ! ( sigev_notify ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigevent ) ) . _sigev_un as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( sigevent ) , "::" ,
stringify ! ( _sigev_un ) ));
}
impl Clone for sigevent {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn clock() -> clock_t;
}
extern "C" {
pub fn time(__timer: *mut time_t) -> time_t;
}
extern "C" {
pub fn difftime(__time1: time_t, __time0: time_t) -> f64;
}
extern "C" {
pub fn mktime(__tp: *mut tm) -> time_t;
}
extern "C" {
pub fn strftime(__s: *mut ::std::os::raw::c_char, __maxsize: usize,
__format: *const ::std::os::raw::c_char, __tp: *const tm)
-> usize;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __locale_struct {
pub __locales: [*mut __locale_data; 13usize],
pub __ctype_b: *const ::std::os::raw::c_ushort,
pub __ctype_tolower: *const ::std::os::raw::c_int,
pub __ctype_toupper: *const ::std::os::raw::c_int,
pub __names: [*const ::std::os::raw::c_char; 13usize],
}
#[test]
fn bindgen_test_layout___locale_struct() {
assert_eq!(::std::mem::size_of::<__locale_struct>() , 232usize , concat !
( "Size of: " , stringify ! ( __locale_struct ) ));
assert_eq! (::std::mem::align_of::<__locale_struct>() , 8usize , concat !
( "Alignment of " , stringify ! ( __locale_struct ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __locale_struct ) ) . __locales as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __locale_struct ) ,
"::" , stringify ! ( __locales ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __locale_struct ) ) . __ctype_b as *
const _ as usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( __locale_struct ) ,
"::" , stringify ! ( __ctype_b ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __locale_struct ) ) . __ctype_tolower as
* const _ as usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( __locale_struct ) ,
"::" , stringify ! ( __ctype_tolower ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __locale_struct ) ) . __ctype_toupper as
* const _ as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( __locale_struct ) ,
"::" , stringify ! ( __ctype_toupper ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __locale_struct ) ) . __names as * const
_ as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( __locale_struct ) ,
"::" , stringify ! ( __names ) ));
}
impl Clone for __locale_struct {
fn clone(&self) -> Self { *self }
}
pub type __locale_t = *mut __locale_struct;
pub type locale_t = __locale_t;
extern "C" {
pub fn strftime_l(__s: *mut ::std::os::raw::c_char, __maxsize: usize,
__format: *const ::std::os::raw::c_char,
__tp: *const tm, __loc: __locale_t) -> usize;
}
extern "C" {
pub fn gmtime(__timer: *const time_t) -> *mut tm;
}
extern "C" {
pub fn localtime(__timer: *const time_t) -> *mut tm;
}
extern "C" {
pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
}
extern "C" {
pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
}
extern "C" {
pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn asctime_r(__tp: *const tm, __buf: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ctime_r(__timer: *const time_t, __buf: *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "__tzname"]
pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize];
}
extern "C" {
#[link_name = "__daylight"]
pub static mut __daylight: ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "__timezone"]
pub static mut __timezone: ::std::os::raw::c_long;
}
extern "C" {
#[link_name = "tzname"]
pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize];
}
extern "C" {
pub fn tzset();
}
extern "C" {
#[link_name = "daylight"]
pub static mut daylight: ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "timezone"]
pub static mut timezone: ::std::os::raw::c_long;
}
extern "C" {
pub fn stime(__when: *const time_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timegm(__tp: *mut tm) -> time_t;
}
extern "C" {
pub fn timelocal(__tp: *mut tm) -> time_t;
}
extern "C" {
pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn nanosleep(__requested_time: *const timespec,
__remaining: *mut timespec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_nanosleep(__clock_id: clockid_t,
__flags: ::std::os::raw::c_int,
__req: *const timespec, __rem: *mut timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_create(__clock_id: clockid_t, __evp: *mut sigevent,
__timerid: *mut timer_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_settime(__timerid: timer_t, __flags: ::std::os::raw::c_int,
__value: *const itimerspec,
__ovalue: *mut itimerspec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timespec_get(__ts: *mut timespec, __base: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
pub const PTHREAD_CREATE_JOINABLE: _bindgen_ty_11 =
_bindgen_ty_11::PTHREAD_CREATE_JOINABLE;
pub const PTHREAD_CREATE_DETACHED: _bindgen_ty_11 =
_bindgen_ty_11::PTHREAD_CREATE_DETACHED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_11 {
PTHREAD_CREATE_JOINABLE = 0,
PTHREAD_CREATE_DETACHED = 1,
}
pub const PTHREAD_MUTEX_TIMED_NP: _bindgen_ty_12 =
_bindgen_ty_12::PTHREAD_MUTEX_TIMED_NP;
pub const PTHREAD_MUTEX_RECURSIVE_NP: _bindgen_ty_12 =
_bindgen_ty_12::PTHREAD_MUTEX_RECURSIVE_NP;
pub const PTHREAD_MUTEX_ERRORCHECK_NP: _bindgen_ty_12 =
_bindgen_ty_12::PTHREAD_MUTEX_ERRORCHECK_NP;
pub const PTHREAD_MUTEX_ADAPTIVE_NP: _bindgen_ty_12 =
_bindgen_ty_12::PTHREAD_MUTEX_ADAPTIVE_NP;
pub const PTHREAD_MUTEX_NORMAL: _bindgen_ty_12 =
_bindgen_ty_12::PTHREAD_MUTEX_TIMED_NP;
pub const PTHREAD_MUTEX_RECURSIVE: _bindgen_ty_12 =
_bindgen_ty_12::PTHREAD_MUTEX_RECURSIVE_NP;
pub const PTHREAD_MUTEX_ERRORCHECK: _bindgen_ty_12 =
_bindgen_ty_12::PTHREAD_MUTEX_ERRORCHECK_NP;
pub const PTHREAD_MUTEX_DEFAULT: _bindgen_ty_12 =
_bindgen_ty_12::PTHREAD_MUTEX_TIMED_NP;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_12 {
PTHREAD_MUTEX_TIMED_NP = 0,
PTHREAD_MUTEX_RECURSIVE_NP = 1,
PTHREAD_MUTEX_ERRORCHECK_NP = 2,
PTHREAD_MUTEX_ADAPTIVE_NP = 3,
}
pub const PTHREAD_MUTEX_STALLED: _bindgen_ty_13 =
_bindgen_ty_13::PTHREAD_MUTEX_STALLED;
pub const PTHREAD_MUTEX_STALLED_NP: _bindgen_ty_13 =
_bindgen_ty_13::PTHREAD_MUTEX_STALLED;
pub const PTHREAD_MUTEX_ROBUST: _bindgen_ty_13 =
_bindgen_ty_13::PTHREAD_MUTEX_ROBUST;
pub const PTHREAD_MUTEX_ROBUST_NP: _bindgen_ty_13 =
_bindgen_ty_13::PTHREAD_MUTEX_ROBUST;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_13 {
PTHREAD_MUTEX_STALLED = 0,
PTHREAD_MUTEX_ROBUST = 1,
}
pub const PTHREAD_PRIO_NONE: _bindgen_ty_14 =
_bindgen_ty_14::PTHREAD_PRIO_NONE;
pub const PTHREAD_PRIO_INHERIT: _bindgen_ty_14 =
_bindgen_ty_14::PTHREAD_PRIO_INHERIT;
pub const PTHREAD_PRIO_PROTECT: _bindgen_ty_14 =
_bindgen_ty_14::PTHREAD_PRIO_PROTECT;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_14 {
PTHREAD_PRIO_NONE = 0,
PTHREAD_PRIO_INHERIT = 1,
PTHREAD_PRIO_PROTECT = 2,
}
pub const PTHREAD_RWLOCK_PREFER_READER_NP: _bindgen_ty_15 =
_bindgen_ty_15::PTHREAD_RWLOCK_PREFER_READER_NP;
pub const PTHREAD_RWLOCK_PREFER_WRITER_NP: _bindgen_ty_15 =
_bindgen_ty_15::PTHREAD_RWLOCK_PREFER_WRITER_NP;
pub const PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP: _bindgen_ty_15 =
_bindgen_ty_15::PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP;
pub const PTHREAD_RWLOCK_DEFAULT_NP: _bindgen_ty_15 =
_bindgen_ty_15::PTHREAD_RWLOCK_PREFER_READER_NP;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_15 {
PTHREAD_RWLOCK_PREFER_READER_NP = 0,
PTHREAD_RWLOCK_PREFER_WRITER_NP = 1,
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP = 2,
}
pub const PTHREAD_INHERIT_SCHED: _bindgen_ty_16 =
_bindgen_ty_16::PTHREAD_INHERIT_SCHED;
pub const PTHREAD_EXPLICIT_SCHED: _bindgen_ty_16 =
_bindgen_ty_16::PTHREAD_EXPLICIT_SCHED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_16 {
PTHREAD_INHERIT_SCHED = 0,
PTHREAD_EXPLICIT_SCHED = 1,
}
pub const PTHREAD_SCOPE_SYSTEM: _bindgen_ty_17 =
_bindgen_ty_17::PTHREAD_SCOPE_SYSTEM;
pub const PTHREAD_SCOPE_PROCESS: _bindgen_ty_17 =
_bindgen_ty_17::PTHREAD_SCOPE_PROCESS;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_17 {
PTHREAD_SCOPE_SYSTEM = 0,
PTHREAD_SCOPE_PROCESS = 1,
}
pub const PTHREAD_PROCESS_PRIVATE: _bindgen_ty_18 =
_bindgen_ty_18::PTHREAD_PROCESS_PRIVATE;
pub const PTHREAD_PROCESS_SHARED: _bindgen_ty_18 =
_bindgen_ty_18::PTHREAD_PROCESS_SHARED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_18 {
PTHREAD_PROCESS_PRIVATE = 0,
PTHREAD_PROCESS_SHARED = 1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _pthread_cleanup_buffer {
pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1:
*mut ::std::os::raw::c_void)>,
pub __arg: *mut ::std::os::raw::c_void,
pub __canceltype: ::std::os::raw::c_int,
pub __prev: *mut _pthread_cleanup_buffer,
}
#[test]
fn bindgen_test_layout__pthread_cleanup_buffer() {
assert_eq!(::std::mem::size_of::<_pthread_cleanup_buffer>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( _pthread_cleanup_buffer ) ));
assert_eq! (::std::mem::align_of::<_pthread_cleanup_buffer>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( _pthread_cleanup_buffer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _pthread_cleanup_buffer ) ) . __routine
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _pthread_cleanup_buffer
) , "::" , stringify ! ( __routine ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _pthread_cleanup_buffer ) ) . __arg as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _pthread_cleanup_buffer
) , "::" , stringify ! ( __arg ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _pthread_cleanup_buffer ) ) .
__canceltype as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _pthread_cleanup_buffer
) , "::" , stringify ! ( __canceltype ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _pthread_cleanup_buffer ) ) . __prev as *
const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _pthread_cleanup_buffer
) , "::" , stringify ! ( __prev ) ));
}
impl Clone for _pthread_cleanup_buffer {
fn clone(&self) -> Self { *self }
}
pub const PTHREAD_CANCEL_ENABLE: _bindgen_ty_19 =
_bindgen_ty_19::PTHREAD_CANCEL_ENABLE;
pub const PTHREAD_CANCEL_DISABLE: _bindgen_ty_19 =
_bindgen_ty_19::PTHREAD_CANCEL_DISABLE;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_19 {
PTHREAD_CANCEL_ENABLE = 0,
PTHREAD_CANCEL_DISABLE = 1,
}
pub const PTHREAD_CANCEL_DEFERRED: _bindgen_ty_20 =
_bindgen_ty_20::PTHREAD_CANCEL_DEFERRED;
pub const PTHREAD_CANCEL_ASYNCHRONOUS: _bindgen_ty_20 =
_bindgen_ty_20::PTHREAD_CANCEL_ASYNCHRONOUS;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_20 {
PTHREAD_CANCEL_DEFERRED = 0,
PTHREAD_CANCEL_ASYNCHRONOUS = 1,
}
extern "C" {
pub fn pthread_create(__newthread: *mut pthread_t,
__attr: *const pthread_attr_t,
__start_routine:
::std::option::Option<unsafe extern "C" fn(arg1:
*mut ::std::os::raw::c_void)
->
*mut ::std::os::raw::c_void>,
__arg: *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_exit(__retval: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn pthread_join(__th: pthread_t,
__thread_return: *mut *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_detach(__th: pthread_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_self() -> pthread_t;
}
extern "C" {
pub fn pthread_equal(__thread1: pthread_t, __thread2: pthread_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_init(__attr: *mut pthread_attr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_destroy(__attr: *mut pthread_attr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getdetachstate(__attr: *const pthread_attr_t,
__detachstate:
*mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setdetachstate(__attr: *mut pthread_attr_t,
__detachstate: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getguardsize(__attr: *const pthread_attr_t,
__guardsize: *mut usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setguardsize(__attr: *mut pthread_attr_t,
__guardsize: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getschedparam(__attr: *const pthread_attr_t,
__param: *mut sched_param)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setschedparam(__attr: *mut pthread_attr_t,
__param: *const sched_param)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getschedpolicy(__attr: *const pthread_attr_t,
__policy: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setschedpolicy(__attr: *mut pthread_attr_t,
__policy: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getinheritsched(__attr: *const pthread_attr_t,
__inherit: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setinheritsched(__attr: *mut pthread_attr_t,
__inherit: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getscope(__attr: *const pthread_attr_t,
__scope: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setscope(__attr: *mut pthread_attr_t,
__scope: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getstackaddr(__attr: *const pthread_attr_t,
__stackaddr:
*mut *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setstackaddr(__attr: *mut pthread_attr_t,
__stackaddr: *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getstacksize(__attr: *const pthread_attr_t,
__stacksize: *mut usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setstacksize(__attr: *mut pthread_attr_t,
__stacksize: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_getstack(__attr: *const pthread_attr_t,
__stackaddr:
*mut *mut ::std::os::raw::c_void,
__stacksize: *mut usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_attr_setstack(__attr: *mut pthread_attr_t,
__stackaddr: *mut ::std::os::raw::c_void,
__stacksize: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_setschedparam(__target_thread: pthread_t,
__policy: ::std::os::raw::c_int,
__param: *const sched_param)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_getschedparam(__target_thread: pthread_t,
__policy: *mut ::std::os::raw::c_int,
__param: *mut sched_param)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_setschedprio(__target_thread: pthread_t,
__prio: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_once(__once_control: *mut pthread_once_t,
__init_routine:
::std::option::Option<unsafe extern "C" fn()>)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_setcancelstate(__state: ::std::os::raw::c_int,
__oldstate: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_setcanceltype(__type: ::std::os::raw::c_int,
__oldtype: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cancel(__th: pthread_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_testcancel();
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __pthread_unwind_buf_t {
pub __cancel_jmp_buf: [__pthread_unwind_buf_t__bindgen_ty_1; 1usize],
pub __pad: [*mut ::std::os::raw::c_void; 4usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __pthread_unwind_buf_t__bindgen_ty_1 {
pub __cancel_jmp_buf: __jmp_buf,
pub __mask_was_saved: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout___pthread_unwind_buf_t__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<__pthread_unwind_buf_t__bindgen_ty_1>() ,
72usize , concat ! (
"Size of: " , stringify ! (
__pthread_unwind_buf_t__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<__pthread_unwind_buf_t__bindgen_ty_1>()
, 8usize , concat ! (
"Alignment of " , stringify ! (
__pthread_unwind_buf_t__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_unwind_buf_t__bindgen_ty_1 ) )
. __cancel_jmp_buf as * const _ as usize } , 0usize , concat !
(
"Alignment of field: " , stringify ! (
__pthread_unwind_buf_t__bindgen_ty_1 ) , "::" , stringify ! (
__cancel_jmp_buf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_unwind_buf_t__bindgen_ty_1 ) )
. __mask_was_saved as * const _ as usize } , 64usize , concat
! (
"Alignment of field: " , stringify ! (
__pthread_unwind_buf_t__bindgen_ty_1 ) , "::" , stringify ! (
__mask_was_saved ) ));
}
impl Clone for __pthread_unwind_buf_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout___pthread_unwind_buf_t() {
assert_eq!(::std::mem::size_of::<__pthread_unwind_buf_t>() , 104usize ,
concat ! ( "Size of: " , stringify ! ( __pthread_unwind_buf_t )
));
assert_eq! (::std::mem::align_of::<__pthread_unwind_buf_t>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( __pthread_unwind_buf_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_unwind_buf_t ) ) .
__cancel_jmp_buf as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __pthread_unwind_buf_t
) , "::" , stringify ! ( __cancel_jmp_buf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_unwind_buf_t ) ) . __pad as *
const _ as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( __pthread_unwind_buf_t
) , "::" , stringify ! ( __pad ) ));
}
impl Clone for __pthread_unwind_buf_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __pthread_cleanup_frame {
pub __cancel_routine: ::std::option::Option<unsafe extern "C" fn(arg1:
*mut ::std::os::raw::c_void)>,
pub __cancel_arg: *mut ::std::os::raw::c_void,
pub __do_it: ::std::os::raw::c_int,
pub __cancel_type: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout___pthread_cleanup_frame() {
assert_eq!(::std::mem::size_of::<__pthread_cleanup_frame>() , 24usize ,
concat ! (
"Size of: " , stringify ! ( __pthread_cleanup_frame ) ));
assert_eq! (::std::mem::align_of::<__pthread_cleanup_frame>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( __pthread_cleanup_frame ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_cleanup_frame ) ) .
__cancel_routine as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __pthread_cleanup_frame
) , "::" , stringify ! ( __cancel_routine ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_cleanup_frame ) ) .
__cancel_arg as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( __pthread_cleanup_frame
) , "::" , stringify ! ( __cancel_arg ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_cleanup_frame ) ) . __do_it as
* const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( __pthread_cleanup_frame
) , "::" , stringify ! ( __do_it ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __pthread_cleanup_frame ) ) .
__cancel_type as * const _ as usize } , 20usize , concat ! (
"Alignment of field: " , stringify ! ( __pthread_cleanup_frame
) , "::" , stringify ! ( __cancel_type ) ));
}
impl Clone for __pthread_cleanup_frame {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn __pthread_register_cancel(__buf: *mut __pthread_unwind_buf_t);
}
extern "C" {
pub fn __pthread_unregister_cancel(__buf: *mut __pthread_unwind_buf_t);
}
extern "C" {
pub fn __pthread_unwind_next(__buf: *mut __pthread_unwind_buf_t);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __jmp_buf_tag {
pub __jmpbuf: __jmp_buf,
pub __mask_was_saved: ::std::os::raw::c_int,
pub __saved_mask: __sigset_t,
}
#[test]
fn bindgen_test_layout___jmp_buf_tag() {
assert_eq!(::std::mem::size_of::<__jmp_buf_tag>() , 200usize , concat ! (
"Size of: " , stringify ! ( __jmp_buf_tag ) ));
assert_eq! (::std::mem::align_of::<__jmp_buf_tag>() , 8usize , concat ! (
"Alignment of " , stringify ! ( __jmp_buf_tag ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __jmp_buf_tag ) ) . __jmpbuf as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __jmp_buf_tag ) , "::"
, stringify ! ( __jmpbuf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __jmp_buf_tag ) ) . __mask_was_saved as *
const _ as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( __jmp_buf_tag ) , "::"
, stringify ! ( __mask_was_saved ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __jmp_buf_tag ) ) . __saved_mask as *
const _ as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( __jmp_buf_tag ) , "::"
, stringify ! ( __saved_mask ) ));
}
impl Clone for __jmp_buf_tag {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn __sigsetjmp(__env: *mut __jmp_buf_tag,
__savemask: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_init(__mutex: *mut pthread_mutex_t,
__mutexattr: *const pthread_mutexattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_destroy(__mutex: *mut pthread_mutex_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_trylock(__mutex: *mut pthread_mutex_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_lock(__mutex: *mut pthread_mutex_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_timedlock(__mutex: *mut pthread_mutex_t,
__abstime: *const timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_unlock(__mutex: *mut pthread_mutex_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_getprioceiling(__mutex: *const pthread_mutex_t,
__prioceiling:
*mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_setprioceiling(__mutex: *mut pthread_mutex_t,
__prioceiling: ::std::os::raw::c_int,
__old_ceiling:
*mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutex_consistent(__mutex: *mut pthread_mutex_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_init(__attr: *mut pthread_mutexattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_destroy(__attr: *mut pthread_mutexattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_getpshared(__attr: *const pthread_mutexattr_t,
__pshared: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_setpshared(__attr: *mut pthread_mutexattr_t,
__pshared: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_gettype(__attr: *const pthread_mutexattr_t,
__kind: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_settype(__attr: *mut pthread_mutexattr_t,
__kind: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_getprotocol(__attr: *const pthread_mutexattr_t,
__protocol:
*mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_setprotocol(__attr: *mut pthread_mutexattr_t,
__protocol: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_getprioceiling(__attr:
*const pthread_mutexattr_t,
__prioceiling:
*mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_setprioceiling(__attr: *mut pthread_mutexattr_t,
__prioceiling:
::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_getrobust(__attr: *const pthread_mutexattr_t,
__robustness:
*mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_mutexattr_setrobust(__attr: *mut pthread_mutexattr_t,
__robustness: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_init(__rwlock: *mut pthread_rwlock_t,
__attr: *const pthread_rwlockattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_destroy(__rwlock: *mut pthread_rwlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_rdlock(__rwlock: *mut pthread_rwlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_tryrdlock(__rwlock: *mut pthread_rwlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_timedrdlock(__rwlock: *mut pthread_rwlock_t,
__abstime: *const timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_wrlock(__rwlock: *mut pthread_rwlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_trywrlock(__rwlock: *mut pthread_rwlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_timedwrlock(__rwlock: *mut pthread_rwlock_t,
__abstime: *const timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlock_unlock(__rwlock: *mut pthread_rwlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_init(__attr: *mut pthread_rwlockattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_destroy(__attr: *mut pthread_rwlockattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_getpshared(__attr: *const pthread_rwlockattr_t,
__pshared:
*mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_setpshared(__attr: *mut pthread_rwlockattr_t,
__pshared: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_getkind_np(__attr: *const pthread_rwlockattr_t,
__pref: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_rwlockattr_setkind_np(__attr: *mut pthread_rwlockattr_t,
__pref: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_init(__cond: *mut pthread_cond_t,
__cond_attr: *const pthread_condattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_destroy(__cond: *mut pthread_cond_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_signal(__cond: *mut pthread_cond_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_broadcast(__cond: *mut pthread_cond_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_wait(__cond: *mut pthread_cond_t,
__mutex: *mut pthread_mutex_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_cond_timedwait(__cond: *mut pthread_cond_t,
__mutex: *mut pthread_mutex_t,
__abstime: *const timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_init(__attr: *mut pthread_condattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_destroy(__attr: *mut pthread_condattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_getpshared(__attr: *const pthread_condattr_t,
__pshared: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_setpshared(__attr: *mut pthread_condattr_t,
__pshared: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_getclock(__attr: *const pthread_condattr_t,
__clock_id: *mut __clockid_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_condattr_setclock(__attr: *mut pthread_condattr_t,
__clock_id: __clockid_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_init(__lock: *mut pthread_spinlock_t,
__pshared: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_destroy(__lock: *mut pthread_spinlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_lock(__lock: *mut pthread_spinlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_trylock(__lock: *mut pthread_spinlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_spin_unlock(__lock: *mut pthread_spinlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrier_init(__barrier: *mut pthread_barrier_t,
__attr: *const pthread_barrierattr_t,
__count: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrier_destroy(__barrier: *mut pthread_barrier_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrier_wait(__barrier: *mut pthread_barrier_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrierattr_init(__attr: *mut pthread_barrierattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrierattr_destroy(__attr: *mut pthread_barrierattr_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrierattr_getpshared(__attr:
*const pthread_barrierattr_t,
__pshared:
*mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_barrierattr_setpshared(__attr: *mut pthread_barrierattr_t,
__pshared: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_key_create(__key: *mut pthread_key_t,
__destr_function:
::std::option::Option<unsafe extern "C" fn(arg1:
*mut ::std::os::raw::c_void)>)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_key_delete(__key: pthread_key_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_getspecific(__key: pthread_key_t)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn pthread_setspecific(__key: pthread_key_t,
__pointer: *const ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_getcpuclockid(__thread_id: pthread_t,
__clock_id: *mut __clockid_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_atfork(__prepare:
::std::option::Option<unsafe extern "C" fn()>,
__parent:
::std::option::Option<unsafe extern "C" fn()>,
__child:
::std::option::Option<unsafe extern "C" fn()>)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __sigismember(arg1: *const __sigset_t, arg2: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __sigaddset(arg1: *mut __sigset_t, arg2: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __sigdelset(arg1: *mut __sigset_t, arg2: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
pub type sig_atomic_t = __sig_atomic_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigval {
pub sival_int: __BindgenUnionField<::std::os::raw::c_int>,
pub sival_ptr: __BindgenUnionField<*mut ::std::os::raw::c_void>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_sigval() {
assert_eq!(::std::mem::size_of::<sigval>() , 8usize , concat ! (
"Size of: " , stringify ! ( sigval ) ));
assert_eq! (::std::mem::align_of::<sigval>() , 8usize , concat ! (
"Alignment of " , stringify ! ( sigval ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigval ) ) . sival_int as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigval ) , "::" ,
stringify ! ( sival_int ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigval ) ) . sival_ptr as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigval ) , "::" ,
stringify ! ( sival_ptr ) ));
}
impl Clone for sigval {
fn clone(&self) -> Self { *self }
}
pub type sigval_t = sigval;
pub type __sigchld_clock_t = __clock_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t {
pub si_signo: ::std::os::raw::c_int,
pub si_errno: ::std::os::raw::c_int,
pub si_code: ::std::os::raw::c_int,
pub _sifields: siginfo_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t__bindgen_ty_1 {
pub _pad: __BindgenUnionField<[::std::os::raw::c_int; 28usize]>,
pub _kill: __BindgenUnionField<siginfo_t__bindgen_ty_1__bindgen_ty_1>,
pub _timer: __BindgenUnionField<siginfo_t__bindgen_ty_1__bindgen_ty_2>,
pub _rt: __BindgenUnionField<siginfo_t__bindgen_ty_1__bindgen_ty_3>,
pub _sigchld: __BindgenUnionField<siginfo_t__bindgen_ty_1__bindgen_ty_4>,
pub _sigfault: __BindgenUnionField<siginfo_t__bindgen_ty_1__bindgen_ty_5>,
pub _sigpoll: __BindgenUnionField<siginfo_t__bindgen_ty_1__bindgen_ty_6>,
pub _sigsys: __BindgenUnionField<siginfo_t__bindgen_ty_1__bindgen_ty_7>,
pub bindgen_union_field: [u64; 14usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>()
, 8usize , concat ! (
"Size of: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>()
, 4usize , concat ! (
"Alignment of " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_1 ) )
. si_pid as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
si_pid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_1 ) )
. si_uid as * const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! (
si_uid ) ));
}
impl Clone for siginfo_t__bindgen_ty_1__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
pub si_tid: ::std::os::raw::c_int,
pub si_overrun: ::std::os::raw::c_int,
pub si_sigval: sigval_t,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_2() {
assert_eq!(::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>()
, 16usize , concat ! (
"Size of: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_2 ) ));
assert_eq! (::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>()
, 8usize , concat ! (
"Alignment of " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_2 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_2 ) )
. si_tid as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
si_tid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_2 ) )
. si_overrun as * const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
si_overrun ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_2 ) )
. si_sigval as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! (
si_sigval ) ));
}
impl Clone for siginfo_t__bindgen_ty_1__bindgen_ty_2 {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
pub si_sigval: sigval_t,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_3() {
assert_eq!(::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>()
, 16usize , concat ! (
"Size of: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_3 ) ));
assert_eq! (::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>()
, 8usize , concat ! (
"Alignment of " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_3 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_3 ) )
. si_pid as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_3 ) , "::" , stringify ! (
si_pid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_3 ) )
. si_uid as * const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_3 ) , "::" , stringify ! (
si_uid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_3 ) )
. si_sigval as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_3 ) , "::" , stringify ! (
si_sigval ) ));
}
impl Clone for siginfo_t__bindgen_ty_1__bindgen_ty_3 {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
pub si_status: ::std::os::raw::c_int,
pub si_utime: __sigchld_clock_t,
pub si_stime: __sigchld_clock_t,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_4() {
assert_eq!(::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>()
, 32usize , concat ! (
"Size of: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_4 ) ));
assert_eq! (::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>()
, 8usize , concat ! (
"Alignment of " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_4 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_4 ) )
. si_pid as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_4 ) , "::" , stringify ! (
si_pid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_4 ) )
. si_uid as * const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_4 ) , "::" , stringify ! (
si_uid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_4 ) )
. si_status as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_4 ) , "::" , stringify ! (
si_status ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_4 ) )
. si_utime as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_4 ) , "::" , stringify ! (
si_utime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_4 ) )
. si_stime as * const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_4 ) , "::" , stringify ! (
si_stime ) ));
}
impl Clone for siginfo_t__bindgen_ty_1__bindgen_ty_4 {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
pub si_addr: *mut ::std::os::raw::c_void,
pub si_addr_lsb: ::std::os::raw::c_short,
pub si_addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
pub _lower: *mut ::std::os::raw::c_void,
pub _upper: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>()
, 16usize , concat ! (
"Size of: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>()
, 8usize , concat ! (
"Alignment of " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& (
* (
0 as * const
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 ) ) .
_lower as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 ) , "::" ,
stringify ! ( _lower ) ));
assert_eq! (unsafe {
& (
* (
0 as * const
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 ) ) .
_upper as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 ) , "::" ,
stringify ! ( _upper ) ));
}
impl Clone for siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_5() {
assert_eq!(::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>()
, 32usize , concat ! (
"Size of: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_5 ) ));
assert_eq! (::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>()
, 8usize , concat ! (
"Alignment of " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_5 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_5 ) )
. si_addr as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_5 ) , "::" , stringify ! (
si_addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_5 ) )
. si_addr_lsb as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_5 ) , "::" , stringify ! (
si_addr_lsb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_5 ) )
. si_addr_bnd as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_5 ) , "::" , stringify ! (
si_addr_bnd ) ));
}
impl Clone for siginfo_t__bindgen_ty_1__bindgen_ty_5 {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
pub si_band: ::std::os::raw::c_long,
pub si_fd: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_6() {
assert_eq!(::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>()
, 16usize , concat ! (
"Size of: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_6 ) ));
assert_eq! (::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>()
, 8usize , concat ! (
"Alignment of " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_6 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_6 ) )
. si_band as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_6 ) , "::" , stringify ! (
si_band ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_6 ) )
. si_fd as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_6 ) , "::" , stringify ! (
si_fd ) ));
}
impl Clone for siginfo_t__bindgen_ty_1__bindgen_ty_6 {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
pub _call_addr: *mut ::std::os::raw::c_void,
pub _syscall: ::std::os::raw::c_int,
pub _arch: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_7() {
assert_eq!(::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>()
, 16usize , concat ! (
"Size of: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_7 ) ));
assert_eq! (::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>()
, 8usize , concat ! (
"Alignment of " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_7 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_7 ) )
. _call_addr as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_7 ) , "::" , stringify ! (
_call_addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_7 ) )
. _syscall as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_7 ) , "::" , stringify ! (
_syscall ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1__bindgen_ty_7 ) )
. _arch as * const _ as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! (
siginfo_t__bindgen_ty_1__bindgen_ty_7 ) , "::" , stringify ! (
_arch ) ));
}
impl Clone for siginfo_t__bindgen_ty_1__bindgen_ty_7 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<siginfo_t__bindgen_ty_1>() , 112usize ,
concat ! (
"Size of: " , stringify ! ( siginfo_t__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<siginfo_t__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( siginfo_t__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1 ) ) . _pad as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t__bindgen_ty_1
) , "::" , stringify ! ( _pad ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1 ) ) . _kill as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t__bindgen_ty_1
) , "::" , stringify ! ( _kill ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1 ) ) . _timer as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t__bindgen_ty_1
) , "::" , stringify ! ( _timer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1 ) ) . _rt as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t__bindgen_ty_1
) , "::" , stringify ! ( _rt ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1 ) ) . _sigchld as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t__bindgen_ty_1
) , "::" , stringify ! ( _sigchld ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1 ) ) . _sigfault
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t__bindgen_ty_1
) , "::" , stringify ! ( _sigfault ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1 ) ) . _sigpoll as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t__bindgen_ty_1
) , "::" , stringify ! ( _sigpoll ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t__bindgen_ty_1 ) ) . _sigsys as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t__bindgen_ty_1
) , "::" , stringify ! ( _sigsys ) ));
}
impl Clone for siginfo_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_siginfo_t() {
assert_eq!(::std::mem::size_of::<siginfo_t>() , 128usize , concat ! (
"Size of: " , stringify ! ( siginfo_t ) ));
assert_eq! (::std::mem::align_of::<siginfo_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( siginfo_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t ) ) . si_signo as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t ) , "::" ,
stringify ! ( si_signo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t ) ) . si_errno as * const _ as
usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t ) , "::" ,
stringify ! ( si_errno ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t ) ) . si_code as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t ) , "::" ,
stringify ! ( si_code ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const siginfo_t ) ) . _sifields as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( siginfo_t ) , "::" ,
stringify ! ( _sifields ) ));
}
impl Clone for siginfo_t {
fn clone(&self) -> Self { *self }
}
pub const SI_ASYNCNL: _bindgen_ty_21 = _bindgen_ty_21::SI_ASYNCNL;
pub const SI_TKILL: _bindgen_ty_21 = _bindgen_ty_21::SI_TKILL;
pub const SI_SIGIO: _bindgen_ty_21 = _bindgen_ty_21::SI_SIGIO;
pub const SI_ASYNCIO: _bindgen_ty_21 = _bindgen_ty_21::SI_ASYNCIO;
pub const SI_MESGQ: _bindgen_ty_21 = _bindgen_ty_21::SI_MESGQ;
pub const SI_TIMER: _bindgen_ty_21 = _bindgen_ty_21::SI_TIMER;
pub const SI_QUEUE: _bindgen_ty_21 = _bindgen_ty_21::SI_QUEUE;
pub const SI_USER: _bindgen_ty_21 = _bindgen_ty_21::SI_USER;
pub const SI_KERNEL: _bindgen_ty_21 = _bindgen_ty_21::SI_KERNEL;
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_21 {
SI_ASYNCNL = -60,
SI_TKILL = -6,
SI_SIGIO = -5,
SI_ASYNCIO = -4,
SI_MESGQ = -3,
SI_TIMER = -2,
SI_QUEUE = -1,
SI_USER = 0,
SI_KERNEL = 128,
}
pub const ILL_ILLOPC: _bindgen_ty_22 = _bindgen_ty_22::ILL_ILLOPC;
pub const ILL_ILLOPN: _bindgen_ty_22 = _bindgen_ty_22::ILL_ILLOPN;
pub const ILL_ILLADR: _bindgen_ty_22 = _bindgen_ty_22::ILL_ILLADR;
pub const ILL_ILLTRP: _bindgen_ty_22 = _bindgen_ty_22::ILL_ILLTRP;
pub const ILL_PRVOPC: _bindgen_ty_22 = _bindgen_ty_22::ILL_PRVOPC;
pub const ILL_PRVREG: _bindgen_ty_22 = _bindgen_ty_22::ILL_PRVREG;
pub const ILL_COPROC: _bindgen_ty_22 = _bindgen_ty_22::ILL_COPROC;
pub const ILL_BADSTK: _bindgen_ty_22 = _bindgen_ty_22::ILL_BADSTK;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_22 {
ILL_ILLOPC = 1,
ILL_ILLOPN = 2,
ILL_ILLADR = 3,
ILL_ILLTRP = 4,
ILL_PRVOPC = 5,
ILL_PRVREG = 6,
ILL_COPROC = 7,
ILL_BADSTK = 8,
}
pub const FPE_INTDIV: _bindgen_ty_23 = _bindgen_ty_23::FPE_INTDIV;
pub const FPE_INTOVF: _bindgen_ty_23 = _bindgen_ty_23::FPE_INTOVF;
pub const FPE_FLTDIV: _bindgen_ty_23 = _bindgen_ty_23::FPE_FLTDIV;
pub const FPE_FLTOVF: _bindgen_ty_23 = _bindgen_ty_23::FPE_FLTOVF;
pub const FPE_FLTUND: _bindgen_ty_23 = _bindgen_ty_23::FPE_FLTUND;
pub const FPE_FLTRES: _bindgen_ty_23 = _bindgen_ty_23::FPE_FLTRES;
pub const FPE_FLTINV: _bindgen_ty_23 = _bindgen_ty_23::FPE_FLTINV;
pub const FPE_FLTSUB: _bindgen_ty_23 = _bindgen_ty_23::FPE_FLTSUB;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_23 {
FPE_INTDIV = 1,
FPE_INTOVF = 2,
FPE_FLTDIV = 3,
FPE_FLTOVF = 4,
FPE_FLTUND = 5,
FPE_FLTRES = 6,
FPE_FLTINV = 7,
FPE_FLTSUB = 8,
}
pub const SEGV_MAPERR: _bindgen_ty_24 = _bindgen_ty_24::SEGV_MAPERR;
pub const SEGV_ACCERR: _bindgen_ty_24 = _bindgen_ty_24::SEGV_ACCERR;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_24 { SEGV_MAPERR = 1, SEGV_ACCERR = 2, }
pub const BUS_ADRALN: _bindgen_ty_25 = _bindgen_ty_25::BUS_ADRALN;
pub const BUS_ADRERR: _bindgen_ty_25 = _bindgen_ty_25::BUS_ADRERR;
pub const BUS_OBJERR: _bindgen_ty_25 = _bindgen_ty_25::BUS_OBJERR;
pub const BUS_MCEERR_AR: _bindgen_ty_25 = _bindgen_ty_25::BUS_MCEERR_AR;
pub const BUS_MCEERR_AO: _bindgen_ty_25 = _bindgen_ty_25::BUS_MCEERR_AO;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_25 {
BUS_ADRALN = 1,
BUS_ADRERR = 2,
BUS_OBJERR = 3,
BUS_MCEERR_AR = 4,
BUS_MCEERR_AO = 5,
}
pub const CLD_EXITED: _bindgen_ty_26 = _bindgen_ty_26::CLD_EXITED;
pub const CLD_KILLED: _bindgen_ty_26 = _bindgen_ty_26::CLD_KILLED;
pub const CLD_DUMPED: _bindgen_ty_26 = _bindgen_ty_26::CLD_DUMPED;
pub const CLD_TRAPPED: _bindgen_ty_26 = _bindgen_ty_26::CLD_TRAPPED;
pub const CLD_STOPPED: _bindgen_ty_26 = _bindgen_ty_26::CLD_STOPPED;
pub const CLD_CONTINUED: _bindgen_ty_26 = _bindgen_ty_26::CLD_CONTINUED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_26 {
CLD_EXITED = 1,
CLD_KILLED = 2,
CLD_DUMPED = 3,
CLD_TRAPPED = 4,
CLD_STOPPED = 5,
CLD_CONTINUED = 6,
}
pub const POLL_IN: _bindgen_ty_27 = _bindgen_ty_27::POLL_IN;
pub const POLL_OUT: _bindgen_ty_27 = _bindgen_ty_27::POLL_OUT;
pub const POLL_MSG: _bindgen_ty_27 = _bindgen_ty_27::POLL_MSG;
pub const POLL_ERR: _bindgen_ty_27 = _bindgen_ty_27::POLL_ERR;
pub const POLL_PRI: _bindgen_ty_27 = _bindgen_ty_27::POLL_PRI;
pub const POLL_HUP: _bindgen_ty_27 = _bindgen_ty_27::POLL_HUP;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_27 {
POLL_IN = 1,
POLL_OUT = 2,
POLL_MSG = 3,
POLL_ERR = 4,
POLL_PRI = 5,
POLL_HUP = 6,
}
pub type sigevent_t = sigevent;
pub const SIGEV_SIGNAL: _bindgen_ty_28 = _bindgen_ty_28::SIGEV_SIGNAL;
pub const SIGEV_NONE: _bindgen_ty_28 = _bindgen_ty_28::SIGEV_NONE;
pub const SIGEV_THREAD: _bindgen_ty_28 = _bindgen_ty_28::SIGEV_THREAD;
pub const SIGEV_THREAD_ID: _bindgen_ty_28 = _bindgen_ty_28::SIGEV_THREAD_ID;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_28 {
SIGEV_SIGNAL = 0,
SIGEV_NONE = 1,
SIGEV_THREAD = 2,
SIGEV_THREAD_ID = 4,
}
pub type __sighandler_t =
::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
extern "C" {
pub fn __sysv_signal(__sig: ::std::os::raw::c_int,
__handler: __sighandler_t) -> __sighandler_t;
}
extern "C" {
pub fn signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t)
-> __sighandler_t;
}
extern "C" {
pub fn kill(__pid: __pid_t, __sig: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn killpg(__pgrp: __pid_t, __sig: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn raise(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ssignal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t)
-> __sighandler_t;
}
extern "C" {
pub fn gsignal(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn psignal(__sig: ::std::os::raw::c_int,
__s: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn psiginfo(__pinfo: *const siginfo_t,
__s: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn sigblock(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigsetmask(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn siggetmask() -> ::std::os::raw::c_int;
}
pub type sig_t = __sighandler_t;
extern "C" {
pub fn sigemptyset(__set: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigfillset(__set: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigaddset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigdelset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigismember(__set: *const sigset_t, __signo: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigaction {
pub __sigaction_handler: sigaction__bindgen_ty_1,
pub sa_mask: __sigset_t,
pub sa_flags: ::std::os::raw::c_int,
pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigaction__bindgen_ty_1 {
pub sa_handler: __BindgenUnionField<__sighandler_t>,
pub sa_sigaction: __BindgenUnionField<::std::option::Option<unsafe extern "C" fn(arg1:
::std::os::raw::c_int,
arg2:
*mut siginfo_t,
arg3:
*mut ::std::os::raw::c_void)>>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_sigaction__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<sigaction__bindgen_ty_1>() , 8usize ,
concat ! (
"Size of: " , stringify ! ( sigaction__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<sigaction__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( sigaction__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigaction__bindgen_ty_1 ) ) . sa_handler
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigaction__bindgen_ty_1
) , "::" , stringify ! ( sa_handler ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigaction__bindgen_ty_1 ) ) .
sa_sigaction as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigaction__bindgen_ty_1
) , "::" , stringify ! ( sa_sigaction ) ));
}
impl Clone for sigaction__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_sigaction() {
assert_eq!(::std::mem::size_of::<sigaction>() , 152usize , concat ! (
"Size of: " , stringify ! ( sigaction ) ));
assert_eq! (::std::mem::align_of::<sigaction>() , 8usize , concat ! (
"Alignment of " , stringify ! ( sigaction ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigaction ) ) . __sigaction_handler as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigaction ) , "::" ,
stringify ! ( __sigaction_handler ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigaction ) ) . sa_mask as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( sigaction ) , "::" ,
stringify ! ( sa_mask ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigaction ) ) . sa_flags as * const _ as
usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( sigaction ) , "::" ,
stringify ! ( sa_flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigaction ) ) . sa_restorer as * const _
as usize } , 144usize , concat ! (
"Alignment of field: " , stringify ! ( sigaction ) , "::" ,
stringify ! ( sa_restorer ) ));
}
impl Clone for sigaction {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn sigprocmask(__how: ::std::os::raw::c_int, __set: *const sigset_t,
__oset: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigsuspend(__set: *const sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigaction(__sig: ::std::os::raw::c_int, __act: *const sigaction,
__oact: *mut sigaction) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigpending(__set: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigwait(__set: *const sigset_t, __sig: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigwaitinfo(__set: *const sigset_t, __info: *mut siginfo_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigtimedwait(__set: *const sigset_t, __info: *mut siginfo_t,
__timeout: *const timespec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigqueue(__pid: __pid_t, __sig: ::std::os::raw::c_int,
__val: sigval) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "_sys_siglist"]
pub static mut _sys_siglist: [*const ::std::os::raw::c_char; 65usize];
}
extern "C" {
#[link_name = "sys_siglist"]
pub static mut sys_siglist: [*const ::std::os::raw::c_char; 65usize];
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _fpx_sw_bytes {
pub magic1: __uint32_t,
pub extended_size: __uint32_t,
pub xstate_bv: __uint64_t,
pub xstate_size: __uint32_t,
pub padding: [__uint32_t; 7usize],
}
#[test]
fn bindgen_test_layout__fpx_sw_bytes() {
assert_eq!(::std::mem::size_of::<_fpx_sw_bytes>() , 48usize , concat ! (
"Size of: " , stringify ! ( _fpx_sw_bytes ) ));
assert_eq! (::std::mem::align_of::<_fpx_sw_bytes>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _fpx_sw_bytes ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpx_sw_bytes ) ) . magic1 as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _fpx_sw_bytes ) , "::"
, stringify ! ( magic1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpx_sw_bytes ) ) . extended_size as *
const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( _fpx_sw_bytes ) , "::"
, stringify ! ( extended_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpx_sw_bytes ) ) . xstate_bv as * const
_ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _fpx_sw_bytes ) , "::"
, stringify ! ( xstate_bv ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpx_sw_bytes ) ) . xstate_size as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _fpx_sw_bytes ) , "::"
, stringify ! ( xstate_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpx_sw_bytes ) ) . padding as * const _
as usize } , 20usize , concat ! (
"Alignment of field: " , stringify ! ( _fpx_sw_bytes ) , "::"
, stringify ! ( padding ) ));
}
impl Clone for _fpx_sw_bytes {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _fpreg {
pub significand: [::std::os::raw::c_ushort; 4usize],
pub exponent: ::std::os::raw::c_ushort,
}
#[test]
fn bindgen_test_layout__fpreg() {
assert_eq!(::std::mem::size_of::<_fpreg>() , 10usize , concat ! (
"Size of: " , stringify ! ( _fpreg ) ));
assert_eq! (::std::mem::align_of::<_fpreg>() , 2usize , concat ! (
"Alignment of " , stringify ! ( _fpreg ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpreg ) ) . significand as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _fpreg ) , "::" ,
stringify ! ( significand ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpreg ) ) . exponent as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _fpreg ) , "::" ,
stringify ! ( exponent ) ));
}
impl Clone for _fpreg {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _fpxreg {
pub significand: [::std::os::raw::c_ushort; 4usize],
pub exponent: ::std::os::raw::c_ushort,
pub padding: [::std::os::raw::c_ushort; 3usize],
}
#[test]
fn bindgen_test_layout__fpxreg() {
assert_eq!(::std::mem::size_of::<_fpxreg>() , 16usize , concat ! (
"Size of: " , stringify ! ( _fpxreg ) ));
assert_eq! (::std::mem::align_of::<_fpxreg>() , 2usize , concat ! (
"Alignment of " , stringify ! ( _fpxreg ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpxreg ) ) . significand as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _fpxreg ) , "::" ,
stringify ! ( significand ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpxreg ) ) . exponent as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _fpxreg ) , "::" ,
stringify ! ( exponent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpxreg ) ) . padding as * const _ as
usize } , 10usize , concat ! (
"Alignment of field: " , stringify ! ( _fpxreg ) , "::" ,
stringify ! ( padding ) ));
}
impl Clone for _fpxreg {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _xmmreg {
pub element: [__uint32_t; 4usize],
}
#[test]
fn bindgen_test_layout__xmmreg() {
assert_eq!(::std::mem::size_of::<_xmmreg>() , 16usize , concat ! (
"Size of: " , stringify ! ( _xmmreg ) ));
assert_eq! (::std::mem::align_of::<_xmmreg>() , 4usize , concat ! (
"Alignment of " , stringify ! ( _xmmreg ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _xmmreg ) ) . element as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _xmmreg ) , "::" ,
stringify ! ( element ) ));
}
impl Clone for _xmmreg {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _fpstate {
pub cwd: __uint16_t,
pub swd: __uint16_t,
pub ftw: __uint16_t,
pub fop: __uint16_t,
pub rip: __uint64_t,
pub rdp: __uint64_t,
pub mxcsr: __uint32_t,
pub mxcr_mask: __uint32_t,
pub _st: [_fpxreg; 8usize],
pub _xmm: [_xmmreg; 16usize],
pub padding: [__uint32_t; 24usize],
}
#[test]
fn bindgen_test_layout__fpstate() {
assert_eq!(::std::mem::size_of::<_fpstate>() , 512usize , concat ! (
"Size of: " , stringify ! ( _fpstate ) ));
assert_eq! (::std::mem::align_of::<_fpstate>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _fpstate ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . cwd as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( cwd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . swd as * const _ as usize
} , 2usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( swd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . ftw as * const _ as usize
} , 4usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( ftw ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . fop as * const _ as usize
} , 6usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( fop ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . rip as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( rip ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . rdp as * const _ as usize
} , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( rdp ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . mxcsr as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( mxcsr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . mxcr_mask as * const _ as
usize } , 28usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( mxcr_mask ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . _st as * const _ as usize
} , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( _st ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . _xmm as * const _ as usize
} , 160usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( _xmm ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _fpstate ) ) . padding as * const _ as
usize } , 416usize , concat ! (
"Alignment of field: " , stringify ! ( _fpstate ) , "::" ,
stringify ! ( padding ) ));
}
impl Clone for _fpstate {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigcontext {
pub r8: __uint64_t,
pub r9: __uint64_t,
pub r10: __uint64_t,
pub r11: __uint64_t,
pub r12: __uint64_t,
pub r13: __uint64_t,
pub r14: __uint64_t,
pub r15: __uint64_t,
pub rdi: __uint64_t,
pub rsi: __uint64_t,
pub rbp: __uint64_t,
pub rbx: __uint64_t,
pub rdx: __uint64_t,
pub rax: __uint64_t,
pub rcx: __uint64_t,
pub rsp: __uint64_t,
pub rip: __uint64_t,
pub eflags: __uint64_t,
pub cs: ::std::os::raw::c_ushort,
pub gs: ::std::os::raw::c_ushort,
pub fs: ::std::os::raw::c_ushort,
pub __pad0: ::std::os::raw::c_ushort,
pub err: __uint64_t,
pub trapno: __uint64_t,
pub oldmask: __uint64_t,
pub cr2: __uint64_t,
pub __bindgen_anon_1: sigcontext__bindgen_ty_1,
pub __reserved1: [__uint64_t; 8usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigcontext__bindgen_ty_1 {
pub fpstate: __BindgenUnionField<*mut _fpstate>,
pub __fpstate_word: __BindgenUnionField<__uint64_t>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_sigcontext__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<sigcontext__bindgen_ty_1>() , 8usize ,
concat ! (
"Size of: " , stringify ! ( sigcontext__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<sigcontext__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( sigcontext__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext__bindgen_ty_1 ) ) . fpstate as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
sigcontext__bindgen_ty_1 ) , "::" , stringify ! ( fpstate )
));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext__bindgen_ty_1 ) ) .
__fpstate_word as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
sigcontext__bindgen_ty_1 ) , "::" , stringify ! (
__fpstate_word ) ));
}
impl Clone for sigcontext__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_sigcontext() {
assert_eq!(::std::mem::size_of::<sigcontext>() , 256usize , concat ! (
"Size of: " , stringify ! ( sigcontext ) ));
assert_eq! (::std::mem::align_of::<sigcontext>() , 8usize , concat ! (
"Alignment of " , stringify ! ( sigcontext ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . r8 as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( r8 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . r9 as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( r9 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . r10 as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( r10 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . r11 as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( r11 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . r12 as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( r12 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . r13 as * const _ as
usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( r13 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . r14 as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( r14 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . r15 as * const _ as
usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( r15 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . rdi as * const _ as
usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( rdi ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . rsi as * const _ as
usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( rsi ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . rbp as * const _ as
usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( rbp ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . rbx as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( rbx ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . rdx as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( rdx ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . rax as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( rax ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . rcx as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( rcx ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . rsp as * const _ as
usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( rsp ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . rip as * const _ as
usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( rip ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . eflags as * const _ as
usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( eflags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . cs as * const _ as usize
} , 144usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( cs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . gs as * const _ as usize
} , 146usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( gs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . fs as * const _ as usize
} , 148usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( fs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . __pad0 as * const _ as
usize } , 150usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( __pad0 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . err as * const _ as
usize } , 152usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( err ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . trapno as * const _ as
usize } , 160usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( trapno ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . oldmask as * const _ as
usize } , 168usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( oldmask ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . cr2 as * const _ as
usize } , 176usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( cr2 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigcontext ) ) . __reserved1 as * const _
as usize } , 192usize , concat ! (
"Alignment of field: " , stringify ! ( sigcontext ) , "::" ,
stringify ! ( __reserved1 ) ));
}
impl Clone for sigcontext {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _xsave_hdr {
pub xstate_bv: __uint64_t,
pub reserved1: [__uint64_t; 2usize],
pub reserved2: [__uint64_t; 5usize],
}
#[test]
fn bindgen_test_layout__xsave_hdr() {
assert_eq!(::std::mem::size_of::<_xsave_hdr>() , 64usize , concat ! (
"Size of: " , stringify ! ( _xsave_hdr ) ));
assert_eq! (::std::mem::align_of::<_xsave_hdr>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _xsave_hdr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _xsave_hdr ) ) . xstate_bv as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _xsave_hdr ) , "::" ,
stringify ! ( xstate_bv ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _xsave_hdr ) ) . reserved1 as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _xsave_hdr ) , "::" ,
stringify ! ( reserved1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _xsave_hdr ) ) . reserved2 as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _xsave_hdr ) , "::" ,
stringify ! ( reserved2 ) ));
}
impl Clone for _xsave_hdr {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct _ymmh_state {
pub ymmh_space: [__uint32_t; 64usize],
}
#[test]
fn bindgen_test_layout__ymmh_state() {
assert_eq!(::std::mem::size_of::<_ymmh_state>() , 256usize , concat ! (
"Size of: " , stringify ! ( _ymmh_state ) ));
assert_eq! (::std::mem::align_of::<_ymmh_state>() , 4usize , concat ! (
"Alignment of " , stringify ! ( _ymmh_state ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _ymmh_state ) ) . ymmh_space as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _ymmh_state ) , "::" ,
stringify ! ( ymmh_space ) ));
}
#[repr(C)]
pub struct _xstate {
pub fpstate: _fpstate,
pub xstate_hdr: _xsave_hdr,
pub ymmh: _ymmh_state,
}
#[test]
fn bindgen_test_layout__xstate() {
assert_eq!(::std::mem::size_of::<_xstate>() , 832usize , concat ! (
"Size of: " , stringify ! ( _xstate ) ));
assert_eq! (::std::mem::align_of::<_xstate>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _xstate ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _xstate ) ) . fpstate as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _xstate ) , "::" ,
stringify ! ( fpstate ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _xstate ) ) . xstate_hdr as * const _ as
usize } , 512usize , concat ! (
"Alignment of field: " , stringify ! ( _xstate ) , "::" ,
stringify ! ( xstate_hdr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _xstate ) ) . ymmh as * const _ as usize
} , 576usize , concat ! (
"Alignment of field: " , stringify ! ( _xstate ) , "::" ,
stringify ! ( ymmh ) ));
}
extern "C" {
pub fn sigreturn(__scp: *mut sigcontext) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn siginterrupt(__sig: ::std::os::raw::c_int,
__interrupt: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigstack {
pub ss_sp: *mut ::std::os::raw::c_void,
pub ss_onstack: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_sigstack() {
assert_eq!(::std::mem::size_of::<sigstack>() , 16usize , concat ! (
"Size of: " , stringify ! ( sigstack ) ));
assert_eq! (::std::mem::align_of::<sigstack>() , 8usize , concat ! (
"Alignment of " , stringify ! ( sigstack ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigstack ) ) . ss_sp as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigstack ) , "::" ,
stringify ! ( ss_sp ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigstack ) ) . ss_onstack as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( sigstack ) , "::" ,
stringify ! ( ss_onstack ) ));
}
impl Clone for sigstack {
fn clone(&self) -> Self { *self }
}
pub const SS_ONSTACK: _bindgen_ty_29 = _bindgen_ty_29::SS_ONSTACK;
pub const SS_DISABLE: _bindgen_ty_29 = _bindgen_ty_29::SS_DISABLE;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_29 { SS_ONSTACK = 1, SS_DISABLE = 2, }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct sigaltstack {
pub ss_sp: *mut ::std::os::raw::c_void,
pub ss_flags: ::std::os::raw::c_int,
pub ss_size: usize,
}
#[test]
fn bindgen_test_layout_sigaltstack() {
assert_eq!(::std::mem::size_of::<sigaltstack>() , 24usize , concat ! (
"Size of: " , stringify ! ( sigaltstack ) ));
assert_eq! (::std::mem::align_of::<sigaltstack>() , 8usize , concat ! (
"Alignment of " , stringify ! ( sigaltstack ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigaltstack ) ) . ss_sp as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( sigaltstack ) , "::" ,
stringify ! ( ss_sp ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigaltstack ) ) . ss_flags as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( sigaltstack ) , "::" ,
stringify ! ( ss_flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const sigaltstack ) ) . ss_size as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( sigaltstack ) , "::" ,
stringify ! ( ss_size ) ));
}
impl Clone for sigaltstack {
fn clone(&self) -> Self { *self }
}
pub type stack_t = sigaltstack;
pub type greg_t = ::std::os::raw::c_longlong;
pub type gregset_t = [greg_t; 23usize];
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _libc_fpxreg {
pub significand: [::std::os::raw::c_ushort; 4usize],
pub exponent: ::std::os::raw::c_ushort,
pub padding: [::std::os::raw::c_ushort; 3usize],
}
#[test]
fn bindgen_test_layout__libc_fpxreg() {
assert_eq!(::std::mem::size_of::<_libc_fpxreg>() , 16usize , concat ! (
"Size of: " , stringify ! ( _libc_fpxreg ) ));
assert_eq! (::std::mem::align_of::<_libc_fpxreg>() , 2usize , concat ! (
"Alignment of " , stringify ! ( _libc_fpxreg ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpxreg ) ) . significand as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpxreg ) , "::" ,
stringify ! ( significand ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpxreg ) ) . exponent as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpxreg ) , "::" ,
stringify ! ( exponent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpxreg ) ) . padding as * const _
as usize } , 10usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpxreg ) , "::" ,
stringify ! ( padding ) ));
}
impl Clone for _libc_fpxreg {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _libc_xmmreg {
pub element: [__uint32_t; 4usize],
}
#[test]
fn bindgen_test_layout__libc_xmmreg() {
assert_eq!(::std::mem::size_of::<_libc_xmmreg>() , 16usize , concat ! (
"Size of: " , stringify ! ( _libc_xmmreg ) ));
assert_eq! (::std::mem::align_of::<_libc_xmmreg>() , 4usize , concat ! (
"Alignment of " , stringify ! ( _libc_xmmreg ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_xmmreg ) ) . element as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_xmmreg ) , "::" ,
stringify ! ( element ) ));
}
impl Clone for _libc_xmmreg {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _libc_fpstate {
pub cwd: __uint16_t,
pub swd: __uint16_t,
pub ftw: __uint16_t,
pub fop: __uint16_t,
pub rip: __uint64_t,
pub rdp: __uint64_t,
pub mxcsr: __uint32_t,
pub mxcr_mask: __uint32_t,
pub _st: [_libc_fpxreg; 8usize],
pub _xmm: [_libc_xmmreg; 16usize],
pub padding: [__uint32_t; 24usize],
}
#[test]
fn bindgen_test_layout__libc_fpstate() {
assert_eq!(::std::mem::size_of::<_libc_fpstate>() , 512usize , concat ! (
"Size of: " , stringify ! ( _libc_fpstate ) ));
assert_eq! (::std::mem::align_of::<_libc_fpstate>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _libc_fpstate ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . cwd as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( cwd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . swd as * const _ as
usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( swd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . ftw as * const _ as
usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( ftw ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . fop as * const _ as
usize } , 6usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( fop ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . rip as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( rip ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . rdp as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( rdp ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . mxcsr as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( mxcsr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . mxcr_mask as * const
_ as usize } , 28usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( mxcr_mask ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . _st as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( _st ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . _xmm as * const _ as
usize } , 160usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( _xmm ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _libc_fpstate ) ) . padding as * const _
as usize } , 416usize , concat ! (
"Alignment of field: " , stringify ! ( _libc_fpstate ) , "::"
, stringify ! ( padding ) ));
}
impl Clone for _libc_fpstate {
fn clone(&self) -> Self { *self }
}
pub type fpregset_t = *mut _libc_fpstate;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct mcontext_t {
pub gregs: gregset_t,
pub fpregs: fpregset_t,
pub __reserved1: [::std::os::raw::c_ulonglong; 8usize],
}
#[test]
fn bindgen_test_layout_mcontext_t() {
assert_eq!(::std::mem::size_of::<mcontext_t>() , 256usize , concat ! (
"Size of: " , stringify ! ( mcontext_t ) ));
assert_eq! (::std::mem::align_of::<mcontext_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( mcontext_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const mcontext_t ) ) . gregs as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( mcontext_t ) , "::" ,
stringify ! ( gregs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const mcontext_t ) ) . fpregs as * const _ as
usize } , 184usize , concat ! (
"Alignment of field: " , stringify ! ( mcontext_t ) , "::" ,
stringify ! ( fpregs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const mcontext_t ) ) . __reserved1 as * const _
as usize } , 192usize , concat ! (
"Alignment of field: " , stringify ! ( mcontext_t ) , "::" ,
stringify ! ( __reserved1 ) ));
}
impl Clone for mcontext_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct ucontext {
pub uc_flags: ::std::os::raw::c_ulong,
pub uc_link: *mut ucontext,
pub uc_stack: stack_t,
pub uc_mcontext: mcontext_t,
pub uc_sigmask: __sigset_t,
pub __fpregs_mem: _libc_fpstate,
}
#[test]
fn bindgen_test_layout_ucontext() {
assert_eq!(::std::mem::size_of::<ucontext>() , 936usize , concat ! (
"Size of: " , stringify ! ( ucontext ) ));
assert_eq! (::std::mem::align_of::<ucontext>() , 8usize , concat ! (
"Alignment of " , stringify ! ( ucontext ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ucontext ) ) . uc_flags as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( ucontext ) , "::" ,
stringify ! ( uc_flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ucontext ) ) . uc_link as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( ucontext ) , "::" ,
stringify ! ( uc_link ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ucontext ) ) . uc_stack as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( ucontext ) , "::" ,
stringify ! ( uc_stack ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ucontext ) ) . uc_mcontext as * const _
as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( ucontext ) , "::" ,
stringify ! ( uc_mcontext ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ucontext ) ) . uc_sigmask as * const _ as
usize } , 296usize , concat ! (
"Alignment of field: " , stringify ! ( ucontext ) , "::" ,
stringify ! ( uc_sigmask ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ucontext ) ) . __fpregs_mem as * const _
as usize } , 424usize , concat ! (
"Alignment of field: " , stringify ! ( ucontext ) , "::" ,
stringify ! ( __fpregs_mem ) ));
}
impl Clone for ucontext {
fn clone(&self) -> Self { *self }
}
pub type ucontext_t = ucontext;
extern "C" {
pub fn sigstack(__ss: *mut sigstack, __oss: *mut sigstack)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigaltstack(__ss: *const sigaltstack, __oss: *mut sigaltstack)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_sigmask(__how: ::std::os::raw::c_int,
__newmask: *const __sigset_t,
__oldmask: *mut __sigset_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_kill(__threadid: pthread_t, __signo: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __libc_current_sigrtmin() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __libc_current_sigrtmax() -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv__work {
pub work: ::std::option::Option<unsafe extern "C" fn(w: *mut uv__work)>,
pub done: ::std::option::Option<unsafe extern "C" fn(w: *mut uv__work,
status:
::std::os::raw::c_int)>,
pub loop_: *mut uv_loop_s,
pub wq: [*mut ::std::os::raw::c_void; 2usize],
}
#[test]
fn bindgen_test_layout_uv__work() {
assert_eq!(::std::mem::size_of::<uv__work>() , 40usize , concat ! (
"Size of: " , stringify ! ( uv__work ) ));
assert_eq! (::std::mem::align_of::<uv__work>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv__work ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__work ) ) . work as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv__work ) , "::" ,
stringify ! ( work ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__work ) ) . done as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv__work ) , "::" ,
stringify ! ( done ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__work ) ) . loop_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv__work ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__work ) ) . wq as * const _ as usize }
, 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv__work ) , "::" ,
stringify ! ( wq ) ));
}
impl Clone for uv__work {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv__io_s {
pub cb: uv__io_cb,
pub pending_queue: [*mut ::std::os::raw::c_void; 2usize],
pub watcher_queue: [*mut ::std::os::raw::c_void; 2usize],
pub pevents: ::std::os::raw::c_uint,
pub events: ::std::os::raw::c_uint,
pub fd: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_uv__io_s() {
assert_eq!(::std::mem::size_of::<uv__io_s>() , 56usize , concat ! (
"Size of: " , stringify ! ( uv__io_s ) ));
assert_eq! (::std::mem::align_of::<uv__io_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv__io_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__io_s ) ) . cb as * const _ as usize }
, 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv__io_s ) , "::" ,
stringify ! ( cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__io_s ) ) . pending_queue as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv__io_s ) , "::" ,
stringify ! ( pending_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__io_s ) ) . watcher_queue as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv__io_s ) , "::" ,
stringify ! ( watcher_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__io_s ) ) . pevents as * const _ as
usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( uv__io_s ) , "::" ,
stringify ! ( pevents ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__io_s ) ) . events as * const _ as
usize } , 44usize , concat ! (
"Alignment of field: " , stringify ! ( uv__io_s ) , "::" ,
stringify ! ( events ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__io_s ) ) . fd as * const _ as usize }
, 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv__io_s ) , "::" ,
stringify ! ( fd ) ));
}
impl Clone for uv__io_s {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv__async {
pub cb: uv__async_cb,
pub io_watcher: uv__io_t,
pub wfd: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_uv__async() {
assert_eq!(::std::mem::size_of::<uv__async>() , 72usize , concat ! (
"Size of: " , stringify ! ( uv__async ) ));
assert_eq! (::std::mem::align_of::<uv__async>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv__async ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__async ) ) . cb as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv__async ) , "::" ,
stringify ! ( cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__async ) ) . io_watcher as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv__async ) , "::" ,
stringify ! ( io_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv__async ) ) . wfd as * const _ as usize
} , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv__async ) , "::" ,
stringify ! ( wfd ) ));
}
impl Clone for uv__async {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_loop_s {
pub data: *mut ::std::os::raw::c_void,
pub active_handles: ::std::os::raw::c_uint,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub active_reqs: [*mut ::std::os::raw::c_void; 2usize],
pub stop_flag: ::std::os::raw::c_uint,
pub flags: ::std::os::raw::c_ulong,
pub backend_fd: ::std::os::raw::c_int,
pub pending_queue: [*mut ::std::os::raw::c_void; 2usize],
pub watcher_queue: [*mut ::std::os::raw::c_void; 2usize],
pub watchers: *mut *mut uv__io_t,
pub nwatchers: ::std::os::raw::c_uint,
pub nfds: ::std::os::raw::c_uint,
pub wq: [*mut ::std::os::raw::c_void; 2usize],
pub wq_mutex: uv_mutex_t,
pub wq_async: uv_async_t,
pub cloexec_lock: uv_rwlock_t,
pub closing_handles: *mut uv_handle_t,
pub process_handles: [*mut ::std::os::raw::c_void; 2usize],
pub prepare_handles: [*mut ::std::os::raw::c_void; 2usize],
pub check_handles: [*mut ::std::os::raw::c_void; 2usize],
pub idle_handles: [*mut ::std::os::raw::c_void; 2usize],
pub async_handles: [*mut ::std::os::raw::c_void; 2usize],
pub async_watcher: uv__async,
pub timer_heap: uv_loop_s__bindgen_ty_1,
pub timer_counter: u64,
pub time: u64,
pub signal_pipefd: [::std::os::raw::c_int; 2usize],
pub signal_io_watcher: uv__io_t,
pub child_watcher: uv_signal_t,
pub emfile_fd: ::std::os::raw::c_int,
pub inotify_read_watcher: uv__io_t,
pub inotify_watchers: *mut ::std::os::raw::c_void,
pub inotify_fd: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_loop_s__bindgen_ty_1 {
pub min: *mut ::std::os::raw::c_void,
pub nelts: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_uv_loop_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_loop_s__bindgen_ty_1>() , 16usize ,
concat ! (
"Size of: " , stringify ! ( uv_loop_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_loop_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_loop_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s__bindgen_ty_1 ) ) . min as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s__bindgen_ty_1
) , "::" , stringify ! ( min ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s__bindgen_ty_1 ) ) . nelts as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s__bindgen_ty_1
) , "::" , stringify ! ( nelts ) ));
}
impl Clone for uv_loop_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_loop_s() {
assert_eq!(::std::mem::size_of::<uv_loop_s>() , 848usize , concat ! (
"Size of: " , stringify ! ( uv_loop_s ) ));
assert_eq! (::std::mem::align_of::<uv_loop_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_loop_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . active_handles as * const
_ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( active_handles ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . handle_queue as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . active_reqs as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( active_reqs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . stop_flag as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( stop_flag ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . flags as * const _ as
usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . backend_fd as * const _
as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( backend_fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . pending_queue as * const
_ as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( pending_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . watcher_queue as * const
_ as usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( watcher_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . watchers as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( watchers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . nwatchers as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( nwatchers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . nfds as * const _ as
usize } , 116usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( nfds ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . wq as * const _ as usize
} , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( wq ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . wq_mutex as * const _ as
usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( wq_mutex ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . wq_async as * const _ as
usize } , 176usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( wq_async ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . cloexec_lock as * const _
as usize } , 304usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( cloexec_lock ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . closing_handles as *
const _ as usize } , 360usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( closing_handles ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . process_handles as *
const _ as usize } , 368usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( process_handles ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . prepare_handles as *
const _ as usize } , 384usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( prepare_handles ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . check_handles as * const
_ as usize } , 400usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( check_handles ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . idle_handles as * const _
as usize } , 416usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( idle_handles ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . async_handles as * const
_ as usize } , 432usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( async_handles ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . async_watcher as * const
_ as usize } , 448usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( async_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . timer_heap as * const _
as usize } , 520usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( timer_heap ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . timer_counter as * const
_ as usize } , 536usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( timer_counter ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . time as * const _ as
usize } , 544usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( time ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . signal_pipefd as * const
_ as usize } , 552usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( signal_pipefd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . signal_io_watcher as *
const _ as usize } , 560usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( signal_io_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . child_watcher as * const
_ as usize } , 616usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( child_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . emfile_fd as * const _ as
usize } , 768usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( emfile_fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . inotify_read_watcher as *
const _ as usize } , 776usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( inotify_read_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . inotify_watchers as *
const _ as usize } , 832usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( inotify_watchers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_loop_s ) ) . inotify_fd as * const _
as usize } , 840usize , concat ! (
"Alignment of field: " , stringify ! ( uv_loop_s ) , "::" ,
stringify ! ( inotify_fd ) ));
}
impl Clone for uv_loop_s {
fn clone(&self) -> Self { *self }
}
pub type uv__io_cb =
::std::option::Option<unsafe extern "C" fn(loop_: *mut uv_loop_s,
w: *mut uv__io_s,
events:
::std::os::raw::c_uint)>;
pub type uv__io_t = uv__io_s;
pub type uv__async_cb =
::std::option::Option<unsafe extern "C" fn(loop_: *mut uv_loop_s,
w: *mut uv__async,
nevents:
::std::os::raw::c_uint)>;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_buf_t {
pub base: *mut ::std::os::raw::c_char,
pub len: usize,
}
#[test]
fn bindgen_test_layout_uv_buf_t() {
assert_eq!(::std::mem::size_of::<uv_buf_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( uv_buf_t ) ));
assert_eq! (::std::mem::align_of::<uv_buf_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_buf_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_buf_t ) ) . base as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_buf_t ) , "::" ,
stringify ! ( base ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_buf_t ) ) . len as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_buf_t ) , "::" ,
stringify ! ( len ) ));
}
impl Clone for uv_buf_t {
fn clone(&self) -> Self { *self }
}
pub type uv_file = ::std::os::raw::c_int;
pub type uv_os_sock_t = ::std::os::raw::c_int;
pub type uv_os_fd_t = ::std::os::raw::c_int;
pub type uv_once_t = pthread_once_t;
pub type uv_thread_t = pthread_t;
pub type uv_mutex_t = pthread_mutex_t;
pub type uv_rwlock_t = pthread_rwlock_t;
pub type uv_sem_t = sem_t;
pub type uv_cond_t = pthread_cond_t;
pub type uv_key_t = pthread_key_t;
pub type uv_barrier_t = pthread_barrier_t;
pub type uv_gid_t = gid_t;
pub type uv_uid_t = uid_t;
pub type uv__dirent_t = dirent;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_lib_t {
pub handle: *mut ::std::os::raw::c_void,
pub errmsg: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_uv_lib_t() {
assert_eq!(::std::mem::size_of::<uv_lib_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( uv_lib_t ) ));
assert_eq! (::std::mem::align_of::<uv_lib_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_lib_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_lib_t ) ) . handle as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_lib_t ) , "::" ,
stringify ! ( handle ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_lib_t ) ) . errmsg as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_lib_t ) , "::" ,
stringify ! ( errmsg ) ));
}
impl Clone for uv_lib_t {
fn clone(&self) -> Self { *self }
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_errno_t {
UV_E2BIG = -7,
UV_EACCES = -13,
UV_EADDRINUSE = -98,
UV_EADDRNOTAVAIL = -99,
UV_EAFNOSUPPORT = -97,
UV_EAGAIN = -11,
UV_EAI_ADDRFAMILY = -3000,
UV_EAI_AGAIN = -3001,
UV_EAI_BADFLAGS = -3002,
UV_EAI_BADHINTS = -3013,
UV_EAI_CANCELED = -3003,
UV_EAI_FAIL = -3004,
UV_EAI_FAMILY = -3005,
UV_EAI_MEMORY = -3006,
UV_EAI_NODATA = -3007,
UV_EAI_NONAME = -3008,
UV_EAI_OVERFLOW = -3009,
UV_EAI_PROTOCOL = -3014,
UV_EAI_SERVICE = -3010,
UV_EAI_SOCKTYPE = -3011,
UV_EALREADY = -114,
UV_EBADF = -9,
UV_EBUSY = -16,
UV_ECANCELED = -125,
UV_ECHARSET = -4080,
UV_ECONNABORTED = -103,
UV_ECONNREFUSED = -111,
UV_ECONNRESET = -104,
UV_EDESTADDRREQ = -89,
UV_EEXIST = -17,
UV_EFAULT = -14,
UV_EFBIG = -27,
UV_EHOSTUNREACH = -113,
UV_EINTR = -4,
UV_EINVAL = -22,
UV_EIO = -5,
UV_EISCONN = -106,
UV_EISDIR = -21,
UV_ELOOP = -40,
UV_EMFILE = -24,
UV_EMSGSIZE = -90,
UV_ENAMETOOLONG = -36,
UV_ENETDOWN = -100,
UV_ENETUNREACH = -101,
UV_ENFILE = -23,
UV_ENOBUFS = -105,
UV_ENODEV = -19,
UV_ENOENT = -2,
UV_ENOMEM = -12,
UV_ENONET = -64,
UV_ENOPROTOOPT = -92,
UV_ENOSPC = -28,
UV_ENOSYS = -38,
UV_ENOTCONN = -107,
UV_ENOTDIR = -20,
UV_ENOTEMPTY = -39,
UV_ENOTSOCK = -88,
UV_ENOTSUP = -95,
UV_EPERM = -1,
UV_EPIPE = -32,
UV_EPROTO = -71,
UV_EPROTONOSUPPORT = -93,
UV_EPROTOTYPE = -91,
UV_ERANGE = -34,
UV_EROFS = -30,
UV_ESHUTDOWN = -108,
UV_ESPIPE = -29,
UV_ESRCH = -3,
UV_ETIMEDOUT = -110,
UV_ETXTBSY = -26,
UV_EXDEV = -18,
UV_UNKNOWN = -4094,
UV_EOF = -4095,
UV_ENXIO = -6,
UV_EMLINK = -31,
UV_EHOSTDOWN = -112,
UV_ERRNO_MAX = -4096,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_handle_type {
UV_UNKNOWN_HANDLE = 0,
UV_ASYNC = 1,
UV_CHECK = 2,
UV_FS_EVENT = 3,
UV_FS_POLL = 4,
UV_HANDLE = 5,
UV_IDLE = 6,
UV_NAMED_PIPE = 7,
UV_POLL = 8,
UV_PREPARE = 9,
UV_PROCESS = 10,
UV_STREAM = 11,
UV_TCP = 12,
UV_TIMER = 13,
UV_TTY = 14,
UV_UDP = 15,
UV_SIGNAL = 16,
UV_FILE = 17,
UV_HANDLE_TYPE_MAX = 18,
UV_RAW_FD = 19,
UV_RAW_HANDLE = 20,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_req_type {
UV_UNKNOWN_REQ = 0,
UV_REQ = 1,
UV_CONNECT = 2,
UV_WRITE = 3,
UV_SHUTDOWN = 4,
UV_UDP_SEND = 5,
UV_FS = 6,
UV_WORK = 7,
UV_GETADDRINFO = 8,
UV_GETNAMEINFO = 9,
UV_REQ_TYPE_MAX = 10,
}
pub type uv_loop_t = uv_loop_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_handle_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_handle_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_handle_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_handle_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_handle_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_handle_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_handle_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_handle_s__bindgen_ty_1 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_handle_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s__bindgen_ty_1 ) ) . reserved
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_handle_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved )
));
}
impl Clone for uv_handle_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_handle_s() {
assert_eq!(::std::mem::size_of::<uv_handle_s>() , 96usize , concat ! (
"Size of: " , stringify ! ( uv_handle_s ) ));
assert_eq! (::std::mem::align_of::<uv_handle_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_handle_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_handle_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_handle_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_handle_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s ) ) . close_cb as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_handle_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s ) ) . handle_queue as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_handle_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s ) ) . u as * const _ as usize
} , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_handle_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s ) ) . next_closing as * const
_ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_handle_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_handle_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_handle_s ) , "::" ,
stringify ! ( flags ) ));
}
impl Clone for uv_handle_s {
fn clone(&self) -> Self { *self }
}
pub type uv_handle_t = uv_handle_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_stream_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_stream_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub write_queue_size: usize,
pub alloc_cb: uv_alloc_cb,
pub read_cb: uv_read_cb,
pub connect_req: *mut uv_connect_t,
pub shutdown_req: *mut uv_shutdown_t,
pub io_watcher: uv__io_t,
pub write_queue: [*mut ::std::os::raw::c_void; 2usize],
pub write_completed_queue: [*mut ::std::os::raw::c_void; 2usize],
pub connection_cb: uv_connection_cb,
pub delayed_error: ::std::os::raw::c_int,
pub accepted_fd: ::std::os::raw::c_int,
pub queued_fds: *mut ::std::os::raw::c_void,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_stream_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_stream_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_stream_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_stream_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_stream_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_stream_s__bindgen_ty_1 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_stream_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s__bindgen_ty_1 ) ) . reserved
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_stream_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved )
));
}
impl Clone for uv_stream_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_stream_s() {
assert_eq!(::std::mem::size_of::<uv_stream_s>() , 248usize , concat ! (
"Size of: " , stringify ! ( uv_stream_s ) ));
assert_eq! (::std::mem::align_of::<uv_stream_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_stream_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . close_cb as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . handle_queue as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . u as * const _ as usize
} , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . next_closing as * const
_ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . write_queue_size as *
const _ as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( write_queue_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . alloc_cb as * const _
as usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( alloc_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . read_cb as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( read_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . connect_req as * const
_ as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( connect_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . shutdown_req as * const
_ as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( shutdown_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . io_watcher as * const _
as usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( io_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . write_queue as * const
_ as usize } , 192usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( write_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . write_completed_queue
as * const _ as usize } , 208usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( write_completed_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . connection_cb as *
const _ as usize } , 224usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( connection_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . delayed_error as *
const _ as usize } , 232usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( delayed_error ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . accepted_fd as * const
_ as usize } , 236usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( accepted_fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stream_s ) ) . queued_fds as * const _
as usize } , 240usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stream_s ) , "::" ,
stringify ! ( queued_fds ) ));
}
impl Clone for uv_stream_s {
fn clone(&self) -> Self { *self }
}
pub type uv_stream_t = uv_stream_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_tcp_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_tcp_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub write_queue_size: usize,
pub alloc_cb: uv_alloc_cb,
pub read_cb: uv_read_cb,
pub connect_req: *mut uv_connect_t,
pub shutdown_req: *mut uv_shutdown_t,
pub io_watcher: uv__io_t,
pub write_queue: [*mut ::std::os::raw::c_void; 2usize],
pub write_completed_queue: [*mut ::std::os::raw::c_void; 2usize],
pub connection_cb: uv_connection_cb,
pub delayed_error: ::std::os::raw::c_int,
pub accepted_fd: ::std::os::raw::c_int,
pub queued_fds: *mut ::std::os::raw::c_void,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_tcp_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_tcp_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_tcp_s__bindgen_ty_1>() , 32usize ,
concat ! ( "Size of: " , stringify ! ( uv_tcp_s__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<uv_tcp_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_tcp_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s__bindgen_ty_1
) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s__bindgen_ty_1 ) ) . reserved as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s__bindgen_ty_1
) , "::" , stringify ! ( reserved ) ));
}
impl Clone for uv_tcp_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_tcp_s() {
assert_eq!(::std::mem::size_of::<uv_tcp_s>() , 248usize , concat ! (
"Size of: " , stringify ! ( uv_tcp_s ) ));
assert_eq! (::std::mem::align_of::<uv_tcp_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_tcp_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . data as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . close_cb as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . handle_queue as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . u as * const _ as usize }
, 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . next_closing as * const _
as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . write_queue_size as *
const _ as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( write_queue_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . alloc_cb as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( alloc_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . read_cb as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( read_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . connect_req as * const _
as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( connect_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . shutdown_req as * const _
as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( shutdown_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . io_watcher as * const _ as
usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( io_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . write_queue as * const _
as usize } , 192usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( write_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . write_completed_queue as *
const _ as usize } , 208usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( write_completed_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . connection_cb as * const _
as usize } , 224usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( connection_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . delayed_error as * const _
as usize } , 232usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( delayed_error ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . accepted_fd as * const _
as usize } , 236usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( accepted_fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tcp_s ) ) . queued_fds as * const _ as
usize } , 240usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tcp_s ) , "::" ,
stringify ! ( queued_fds ) ));
}
impl Clone for uv_tcp_s {
fn clone(&self) -> Self { *self }
}
pub type uv_tcp_t = uv_tcp_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_udp_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_udp_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub send_queue_size: usize,
pub send_queue_count: usize,
pub alloc_cb: uv_alloc_cb,
pub recv_cb: uv_udp_recv_cb,
pub io_watcher: uv__io_t,
pub write_queue: [*mut ::std::os::raw::c_void; 2usize],
pub write_completed_queue: [*mut ::std::os::raw::c_void; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_udp_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_udp_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_udp_s__bindgen_ty_1>() , 32usize ,
concat ! ( "Size of: " , stringify ! ( uv_udp_s__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<uv_udp_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_udp_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s__bindgen_ty_1
) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s__bindgen_ty_1 ) ) . reserved as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s__bindgen_ty_1
) , "::" , stringify ! ( reserved ) ));
}
impl Clone for uv_udp_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_udp_s() {
assert_eq!(::std::mem::size_of::<uv_udp_s>() , 216usize , concat ! (
"Size of: " , stringify ! ( uv_udp_s ) ));
assert_eq! (::std::mem::align_of::<uv_udp_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_udp_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . data as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . close_cb as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . handle_queue as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . u as * const _ as usize }
, 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . next_closing as * const _
as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . send_queue_size as * const
_ as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( send_queue_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . send_queue_count as *
const _ as usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( send_queue_count ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . alloc_cb as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( alloc_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . recv_cb as * const _ as
usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( recv_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . io_watcher as * const _ as
usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( io_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . write_queue as * const _
as usize } , 184usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( write_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_s ) ) . write_completed_queue as *
const _ as usize } , 200usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_s ) , "::" ,
stringify ! ( write_completed_queue ) ));
}
impl Clone for uv_udp_s {
fn clone(&self) -> Self { *self }
}
pub type uv_udp_t = uv_udp_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_pipe_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_pipe_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub write_queue_size: usize,
pub alloc_cb: uv_alloc_cb,
pub read_cb: uv_read_cb,
pub connect_req: *mut uv_connect_t,
pub shutdown_req: *mut uv_shutdown_t,
pub io_watcher: uv__io_t,
pub write_queue: [*mut ::std::os::raw::c_void; 2usize],
pub write_completed_queue: [*mut ::std::os::raw::c_void; 2usize],
pub connection_cb: uv_connection_cb,
pub delayed_error: ::std::os::raw::c_int,
pub accepted_fd: ::std::os::raw::c_int,
pub queued_fds: *mut ::std::os::raw::c_void,
pub pipe_fname: *const ::std::os::raw::c_char,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_pipe_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_pipe_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_pipe_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_pipe_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_pipe_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_pipe_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s__bindgen_ty_1
) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s__bindgen_ty_1 ) ) . reserved as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s__bindgen_ty_1
) , "::" , stringify ! ( reserved ) ));
}
impl Clone for uv_pipe_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_pipe_s() {
assert_eq!(::std::mem::size_of::<uv_pipe_s>() , 256usize , concat ! (
"Size of: " , stringify ! ( uv_pipe_s ) ));
assert_eq! (::std::mem::align_of::<uv_pipe_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_pipe_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . close_cb as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . handle_queue as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . u as * const _ as usize }
, 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . next_closing as * const _
as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . write_queue_size as *
const _ as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( write_queue_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . alloc_cb as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( alloc_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . read_cb as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( read_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . connect_req as * const _
as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( connect_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . shutdown_req as * const _
as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( shutdown_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . io_watcher as * const _
as usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( io_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . write_queue as * const _
as usize } , 192usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( write_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . write_completed_queue as
* const _ as usize } , 208usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( write_completed_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . connection_cb as * const
_ as usize } , 224usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( connection_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . delayed_error as * const
_ as usize } , 232usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( delayed_error ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . accepted_fd as * const _
as usize } , 236usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( accepted_fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . queued_fds as * const _
as usize } , 240usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( queued_fds ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_pipe_s ) ) . pipe_fname as * const _
as usize } , 248usize , concat ! (
"Alignment of field: " , stringify ! ( uv_pipe_s ) , "::" ,
stringify ! ( pipe_fname ) ));
}
impl Clone for uv_pipe_s {
fn clone(&self) -> Self { *self }
}
pub type uv_pipe_t = uv_pipe_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_tty_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_tty_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub write_queue_size: usize,
pub alloc_cb: uv_alloc_cb,
pub read_cb: uv_read_cb,
pub connect_req: *mut uv_connect_t,
pub shutdown_req: *mut uv_shutdown_t,
pub io_watcher: uv__io_t,
pub write_queue: [*mut ::std::os::raw::c_void; 2usize],
pub write_completed_queue: [*mut ::std::os::raw::c_void; 2usize],
pub connection_cb: uv_connection_cb,
pub delayed_error: ::std::os::raw::c_int,
pub accepted_fd: ::std::os::raw::c_int,
pub queued_fds: *mut ::std::os::raw::c_void,
pub orig_termios: termios,
pub mode: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_tty_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_tty_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_tty_s__bindgen_ty_1>() , 32usize ,
concat ! ( "Size of: " , stringify ! ( uv_tty_s__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<uv_tty_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_tty_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s__bindgen_ty_1
) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s__bindgen_ty_1 ) ) . reserved as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s__bindgen_ty_1
) , "::" , stringify ! ( reserved ) ));
}
impl Clone for uv_tty_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_tty_s() {
assert_eq!(::std::mem::size_of::<uv_tty_s>() , 312usize , concat ! (
"Size of: " , stringify ! ( uv_tty_s ) ));
assert_eq! (::std::mem::align_of::<uv_tty_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_tty_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . data as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . close_cb as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . handle_queue as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . u as * const _ as usize }
, 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . next_closing as * const _
as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . write_queue_size as *
const _ as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( write_queue_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . alloc_cb as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( alloc_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . read_cb as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( read_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . connect_req as * const _
as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( connect_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . shutdown_req as * const _
as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( shutdown_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . io_watcher as * const _ as
usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( io_watcher ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . write_queue as * const _
as usize } , 192usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( write_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . write_completed_queue as *
const _ as usize } , 208usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( write_completed_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . connection_cb as * const _
as usize } , 224usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( connection_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . delayed_error as * const _
as usize } , 232usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( delayed_error ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . accepted_fd as * const _
as usize } , 236usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( accepted_fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . queued_fds as * const _ as
usize } , 240usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( queued_fds ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . orig_termios as * const _
as usize } , 248usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( orig_termios ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_tty_s ) ) . mode as * const _ as usize
} , 308usize , concat ! (
"Alignment of field: " , stringify ! ( uv_tty_s ) , "::" ,
stringify ! ( mode ) ));
}
impl Clone for uv_tty_s {
fn clone(&self) -> Self { *self }
}
pub type uv_tty_t = uv_tty_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_poll_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_poll_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub poll_cb: uv_poll_cb,
pub io_watcher: uv__io_t,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_poll_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_poll_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_poll_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_poll_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_poll_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_poll_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s__bindgen_ty_1
) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s__bindgen_ty_1 ) ) . reserved as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s__bindgen_ty_1
) , "::" , stringify ! ( reserved ) ));
}
impl Clone for uv_poll_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_poll_s() {
assert_eq!(::std::mem::size_of::<uv_poll_s>() , 160usize , concat ! (
"Size of: " , stringify ! ( uv_poll_s ) ));
assert_eq! (::std::mem::align_of::<uv_poll_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_poll_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . close_cb as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . handle_queue as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . u as * const _ as usize }
, 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . next_closing as * const _
as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . poll_cb as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( poll_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_poll_s ) ) . io_watcher as * const _
as usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_poll_s ) , "::" ,
stringify ! ( io_watcher ) ));
}
impl Clone for uv_poll_s {
fn clone(&self) -> Self { *self }
}
pub type uv_poll_t = uv_poll_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_timer_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_timer_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub timer_cb: uv_timer_cb,
pub heap_node: [*mut ::std::os::raw::c_void; 3usize],
pub timeout: u64,
pub repeat: u64,
pub start_id: u64,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_timer_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_timer_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_timer_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_timer_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_timer_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_timer_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_timer_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s__bindgen_ty_1 ) ) . reserved
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_timer_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved )
));
}
impl Clone for uv_timer_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_timer_s() {
assert_eq!(::std::mem::size_of::<uv_timer_s>() , 152usize , concat ! (
"Size of: " , stringify ! ( uv_timer_s ) ));
assert_eq! (::std::mem::align_of::<uv_timer_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_timer_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . close_cb as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . handle_queue as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . u as * const _ as usize
} , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . next_closing as * const
_ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . timer_cb as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( timer_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . heap_node as * const _
as usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( heap_node ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . timeout as * const _ as
usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( timeout ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . repeat as * const _ as
usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( repeat ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timer_s ) ) . start_id as * const _ as
usize } , 144usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timer_s ) , "::" ,
stringify ! ( start_id ) ));
}
impl Clone for uv_timer_s {
fn clone(&self) -> Self { *self }
}
pub type uv_timer_t = uv_timer_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_prepare_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_prepare_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub prepare_cb: uv_prepare_cb,
pub queue: [*mut ::std::os::raw::c_void; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_prepare_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_prepare_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_prepare_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_prepare_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_prepare_s__bindgen_ty_1>() , 8usize
, concat ! (
"Alignment of " , stringify ! ( uv_prepare_s__bindgen_ty_1 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_prepare_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s__bindgen_ty_1 ) ) . reserved
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_prepare_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved )
));
}
impl Clone for uv_prepare_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_prepare_s() {
assert_eq!(::std::mem::size_of::<uv_prepare_s>() , 120usize , concat ! (
"Size of: " , stringify ! ( uv_prepare_s ) ));
assert_eq! (::std::mem::align_of::<uv_prepare_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_prepare_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . close_cb as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . handle_queue as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . u as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . next_closing as *
const _ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . prepare_cb as * const
_ as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( prepare_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_prepare_s ) ) . queue as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_prepare_s ) , "::" ,
stringify ! ( queue ) ));
}
impl Clone for uv_prepare_s {
fn clone(&self) -> Self { *self }
}
pub type uv_prepare_t = uv_prepare_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_check_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_check_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub check_cb: uv_check_cb,
pub queue: [*mut ::std::os::raw::c_void; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_check_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_check_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_check_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_check_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_check_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_check_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_check_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s__bindgen_ty_1 ) ) . reserved
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_check_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved )
));
}
impl Clone for uv_check_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_check_s() {
assert_eq!(::std::mem::size_of::<uv_check_s>() , 120usize , concat ! (
"Size of: " , stringify ! ( uv_check_s ) ));
assert_eq! (::std::mem::align_of::<uv_check_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_check_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . close_cb as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . handle_queue as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . u as * const _ as usize
} , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . next_closing as * const
_ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . check_cb as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( check_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_check_s ) ) . queue as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_check_s ) , "::" ,
stringify ! ( queue ) ));
}
impl Clone for uv_check_s {
fn clone(&self) -> Self { *self }
}
pub type uv_check_t = uv_check_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_idle_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_idle_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub idle_cb: uv_idle_cb,
pub queue: [*mut ::std::os::raw::c_void; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_idle_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_idle_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_idle_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_idle_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_idle_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_idle_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s__bindgen_ty_1
) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s__bindgen_ty_1 ) ) . reserved as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s__bindgen_ty_1
) , "::" , stringify ! ( reserved ) ));
}
impl Clone for uv_idle_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_idle_s() {
assert_eq!(::std::mem::size_of::<uv_idle_s>() , 120usize , concat ! (
"Size of: " , stringify ! ( uv_idle_s ) ));
assert_eq! (::std::mem::align_of::<uv_idle_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_idle_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . close_cb as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . handle_queue as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . u as * const _ as usize }
, 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . next_closing as * const _
as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . idle_cb as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( idle_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_idle_s ) ) . queue as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_idle_s ) , "::" ,
stringify ! ( queue ) ));
}
impl Clone for uv_idle_s {
fn clone(&self) -> Self { *self }
}
pub type uv_idle_t = uv_idle_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_async_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_async_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub async_cb: uv_async_cb,
pub queue: [*mut ::std::os::raw::c_void; 2usize],
pub pending: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_async_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_async_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_async_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_async_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_async_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_async_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_async_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s__bindgen_ty_1 ) ) . reserved
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_async_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved )
));
}
impl Clone for uv_async_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_async_s() {
assert_eq!(::std::mem::size_of::<uv_async_s>() , 128usize , concat ! (
"Size of: " , stringify ! ( uv_async_s ) ));
assert_eq! (::std::mem::align_of::<uv_async_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_async_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . close_cb as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . handle_queue as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . u as * const _ as usize
} , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . next_closing as * const
_ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . async_cb as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( async_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . queue as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_async_s ) ) . pending as * const _ as
usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_async_s ) , "::" ,
stringify ! ( pending ) ));
}
impl Clone for uv_async_s {
fn clone(&self) -> Self { *self }
}
pub type uv_async_t = uv_async_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_process_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_process_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub exit_cb: uv_exit_cb,
pub pid: ::std::os::raw::c_int,
pub queue: [*mut ::std::os::raw::c_void; 2usize],
pub status: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_process_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_process_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_process_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_process_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_process_s__bindgen_ty_1>() , 8usize
, concat ! (
"Alignment of " , stringify ! ( uv_process_s__bindgen_ty_1 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_process_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s__bindgen_ty_1 ) ) . reserved
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_process_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved )
));
}
impl Clone for uv_process_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_process_s() {
assert_eq!(::std::mem::size_of::<uv_process_s>() , 136usize , concat ! (
"Size of: " , stringify ! ( uv_process_s ) ));
assert_eq! (::std::mem::align_of::<uv_process_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_process_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . close_cb as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . handle_queue as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . u as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . next_closing as *
const _ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . exit_cb as * const _
as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( exit_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . pid as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( pid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . queue as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_s ) ) . status as * const _ as
usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_s ) , "::" ,
stringify ! ( status ) ));
}
impl Clone for uv_process_s {
fn clone(&self) -> Self { *self }
}
pub type uv_process_t = uv_process_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_fs_event_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_fs_event_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub path: *mut ::std::os::raw::c_char,
pub cb: uv_fs_event_cb,
pub watchers: [*mut ::std::os::raw::c_void; 2usize],
pub wd: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_fs_event_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_fs_event_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_fs_event_s__bindgen_ty_1>() , 32usize
, concat ! (
"Size of: " , stringify ! ( uv_fs_event_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_fs_event_s__bindgen_ty_1>() , 8usize
, concat ! (
"Alignment of " , stringify ! ( uv_fs_event_s__bindgen_ty_1 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_fs_event_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s__bindgen_ty_1 ) ) .
reserved as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_fs_event_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved
) ));
}
impl Clone for uv_fs_event_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_fs_event_s() {
assert_eq!(::std::mem::size_of::<uv_fs_event_s>() , 136usize , concat ! (
"Size of: " , stringify ! ( uv_fs_event_s ) ));
assert_eq! (::std::mem::align_of::<uv_fs_event_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_fs_event_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . close_cb as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . handle_queue as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . u as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . next_closing as *
const _ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . path as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( path ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . cb as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . watchers as * const _
as usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( watchers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_event_s ) ) . wd as * const _ as
usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_event_s ) , "::"
, stringify ! ( wd ) ));
}
impl Clone for uv_fs_event_s {
fn clone(&self) -> Self { *self }
}
pub type uv_fs_event_t = uv_fs_event_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_fs_poll_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_fs_poll_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub poll_ctx: *mut ::std::os::raw::c_void,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_fs_poll_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_fs_poll_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_fs_poll_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_fs_poll_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_fs_poll_s__bindgen_ty_1>() , 8usize
, concat ! (
"Alignment of " , stringify ! ( uv_fs_poll_s__bindgen_ty_1 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_fs_poll_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s__bindgen_ty_1 ) ) . reserved
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_fs_poll_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved )
));
}
impl Clone for uv_fs_poll_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_fs_poll_s() {
assert_eq!(::std::mem::size_of::<uv_fs_poll_s>() , 104usize , concat ! (
"Size of: " , stringify ! ( uv_fs_poll_s ) ));
assert_eq! (::std::mem::align_of::<uv_fs_poll_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_fs_poll_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_poll_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_poll_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_poll_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s ) ) . close_cb as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_poll_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s ) ) . handle_queue as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_poll_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s ) ) . u as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_poll_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s ) ) . next_closing as *
const _ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_poll_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_poll_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_poll_s ) ) . poll_ctx as * const _
as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_poll_s ) , "::" ,
stringify ! ( poll_ctx ) ));
}
impl Clone for uv_fs_poll_s {
fn clone(&self) -> Self { *self }
}
pub type uv_fs_poll_t = uv_fs_poll_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_signal_s {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub close_cb: uv_close_cb,
pub handle_queue: [*mut ::std::os::raw::c_void; 2usize],
pub u: uv_signal_s__bindgen_ty_1,
pub next_closing: *mut uv_handle_t,
pub flags: ::std::os::raw::c_uint,
pub signal_cb: uv_signal_cb,
pub signum: ::std::os::raw::c_int,
pub tree_entry: uv_signal_s__bindgen_ty_2,
pub caught_signals: ::std::os::raw::c_uint,
pub dispatched_signals: ::std::os::raw::c_uint,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_signal_s__bindgen_ty_1 {
pub fd: __BindgenUnionField<::std::os::raw::c_int>,
pub reserved: __BindgenUnionField<[*mut ::std::os::raw::c_void; 4usize]>,
pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_uv_signal_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_signal_s__bindgen_ty_1>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_signal_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_signal_s__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_signal_s__bindgen_ty_1 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s__bindgen_ty_1 ) ) . fd as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_signal_s__bindgen_ty_1 ) , "::" , stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s__bindgen_ty_1 ) ) . reserved
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_signal_s__bindgen_ty_1 ) , "::" , stringify ! ( reserved )
));
}
impl Clone for uv_signal_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_signal_s__bindgen_ty_2 {
pub rbe_left: *mut uv_signal_s,
pub rbe_right: *mut uv_signal_s,
pub rbe_parent: *mut uv_signal_s,
pub rbe_color: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_uv_signal_s__bindgen_ty_2() {
assert_eq!(::std::mem::size_of::<uv_signal_s__bindgen_ty_2>() , 32usize ,
concat ! (
"Size of: " , stringify ! ( uv_signal_s__bindgen_ty_2 ) ));
assert_eq! (::std::mem::align_of::<uv_signal_s__bindgen_ty_2>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_signal_s__bindgen_ty_2 )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s__bindgen_ty_2 ) ) . rbe_left
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_signal_s__bindgen_ty_2 ) , "::" , stringify ! ( rbe_left )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s__bindgen_ty_2 ) ) . rbe_right
as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
uv_signal_s__bindgen_ty_2 ) , "::" , stringify ! ( rbe_right )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s__bindgen_ty_2 ) ) .
rbe_parent as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! (
uv_signal_s__bindgen_ty_2 ) , "::" , stringify ! ( rbe_parent
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s__bindgen_ty_2 ) ) . rbe_color
as * const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! (
uv_signal_s__bindgen_ty_2 ) , "::" , stringify ! ( rbe_color )
));
}
impl Clone for uv_signal_s__bindgen_ty_2 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_signal_s() {
assert_eq!(::std::mem::size_of::<uv_signal_s>() , 152usize , concat ! (
"Size of: " , stringify ! ( uv_signal_s ) ));
assert_eq! (::std::mem::align_of::<uv_signal_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_signal_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . close_cb as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( close_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . handle_queue as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( handle_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . u as * const _ as usize
} , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( u ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . next_closing as * const
_ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( next_closing ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . flags as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . signal_cb as * const _
as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( signal_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . signum as * const _ as
usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( signum ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . tree_entry as * const _
as usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( tree_entry ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . caught_signals as *
const _ as usize } , 144usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( caught_signals ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_signal_s ) ) . dispatched_signals as *
const _ as usize } , 148usize , concat ! (
"Alignment of field: " , stringify ! ( uv_signal_s ) , "::" ,
stringify ! ( dispatched_signals ) ));
}
impl Clone for uv_signal_s {
fn clone(&self) -> Self { *self }
}
pub type uv_signal_t = uv_signal_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_req_s {
pub data: *mut ::std::os::raw::c_void,
pub type_: uv_req_type,
pub active_queue: [*mut ::std::os::raw::c_void; 2usize],
pub reserved: [*mut ::std::os::raw::c_void; 4usize],
}
#[test]
fn bindgen_test_layout_uv_req_s() {
assert_eq!(::std::mem::size_of::<uv_req_s>() , 64usize , concat ! (
"Size of: " , stringify ! ( uv_req_s ) ));
assert_eq! (::std::mem::align_of::<uv_req_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_req_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_req_s ) ) . data as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_req_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_req_s ) ) . type_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_req_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_req_s ) ) . active_queue as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_req_s ) , "::" ,
stringify ! ( active_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_req_s ) ) . reserved as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_req_s ) , "::" ,
stringify ! ( reserved ) ));
}
impl Clone for uv_req_s {
fn clone(&self) -> Self { *self }
}
pub type uv_req_t = uv_req_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_getaddrinfo_s {
pub data: *mut ::std::os::raw::c_void,
pub type_: uv_req_type,
pub active_queue: [*mut ::std::os::raw::c_void; 2usize],
pub reserved: [*mut ::std::os::raw::c_void; 4usize],
pub loop_: *mut uv_loop_t,
pub work_req: uv__work,
pub cb: uv_getaddrinfo_cb,
pub hints: *mut addrinfo,
pub hostname: *mut ::std::os::raw::c_char,
pub service: *mut ::std::os::raw::c_char,
pub addrinfo: *mut addrinfo,
pub retcode: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_uv_getaddrinfo_s() {
assert_eq!(::std::mem::size_of::<uv_getaddrinfo_s>() , 160usize , concat !
( "Size of: " , stringify ! ( uv_getaddrinfo_s ) ));
assert_eq! (::std::mem::align_of::<uv_getaddrinfo_s>() , 8usize , concat !
( "Alignment of " , stringify ! ( uv_getaddrinfo_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . data as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . type_ as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . active_queue as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( active_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . reserved as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( reserved ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . loop_ as * const _
as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . work_req as *
const _ as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( work_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . cb as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . hints as * const _
as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( hints ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . hostname as *
const _ as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( hostname ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . service as * const
_ as usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( service ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . addrinfo as *
const _ as usize } , 144usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( addrinfo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getaddrinfo_s ) ) . retcode as * const
_ as usize } , 152usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getaddrinfo_s ) ,
"::" , stringify ! ( retcode ) ));
}
impl Clone for uv_getaddrinfo_s {
fn clone(&self) -> Self { *self }
}
pub type uv_getaddrinfo_t = uv_getaddrinfo_s;
#[repr(C)]
pub struct uv_getnameinfo_s {
pub data: *mut ::std::os::raw::c_void,
pub type_: uv_req_type,
pub active_queue: [*mut ::std::os::raw::c_void; 2usize],
pub reserved: [*mut ::std::os::raw::c_void; 4usize],
pub loop_: *mut uv_loop_t,
pub work_req: uv__work,
pub getnameinfo_cb: uv_getnameinfo_cb,
pub storage: sockaddr_storage,
pub flags: ::std::os::raw::c_int,
pub host: [::std::os::raw::c_char; 1025usize],
pub service: [::std::os::raw::c_char; 32usize],
pub retcode: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_uv_getnameinfo_s() {
assert_eq!(::std::mem::size_of::<uv_getnameinfo_s>() , 1320usize , concat
! ( "Size of: " , stringify ! ( uv_getnameinfo_s ) ));
assert_eq! (::std::mem::align_of::<uv_getnameinfo_s>() , 8usize , concat !
( "Alignment of " , stringify ! ( uv_getnameinfo_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . data as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . type_ as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . active_queue as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( active_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . reserved as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( reserved ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . loop_ as * const _
as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . work_req as *
const _ as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( work_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . getnameinfo_cb as
* const _ as usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( getnameinfo_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . storage as * const
_ as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( storage ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . flags as * const _
as usize } , 248usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . host as * const _
as usize } , 252usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( host ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . service as * const
_ as usize } , 1277usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( service ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_getnameinfo_s ) ) . retcode as * const
_ as usize } , 1312usize , concat ! (
"Alignment of field: " , stringify ! ( uv_getnameinfo_s ) ,
"::" , stringify ! ( retcode ) ));
}
pub type uv_getnameinfo_t = uv_getnameinfo_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_shutdown_s {
pub data: *mut ::std::os::raw::c_void,
pub type_: uv_req_type,
pub active_queue: [*mut ::std::os::raw::c_void; 2usize],
pub reserved: [*mut ::std::os::raw::c_void; 4usize],
pub handle: *mut uv_stream_t,
pub cb: uv_shutdown_cb,
}
#[test]
fn bindgen_test_layout_uv_shutdown_s() {
assert_eq!(::std::mem::size_of::<uv_shutdown_s>() , 80usize , concat ! (
"Size of: " , stringify ! ( uv_shutdown_s ) ));
assert_eq! (::std::mem::align_of::<uv_shutdown_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_shutdown_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_shutdown_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_shutdown_s ) , "::"
, stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_shutdown_s ) ) . type_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_shutdown_s ) , "::"
, stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_shutdown_s ) ) . active_queue as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_shutdown_s ) , "::"
, stringify ! ( active_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_shutdown_s ) ) . reserved as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_shutdown_s ) , "::"
, stringify ! ( reserved ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_shutdown_s ) ) . handle as * const _
as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_shutdown_s ) , "::"
, stringify ! ( handle ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_shutdown_s ) ) . cb as * const _ as
usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_shutdown_s ) , "::"
, stringify ! ( cb ) ));
}
impl Clone for uv_shutdown_s {
fn clone(&self) -> Self { *self }
}
pub type uv_shutdown_t = uv_shutdown_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_write_s {
pub data: *mut ::std::os::raw::c_void,
pub type_: uv_req_type,
pub active_queue: [*mut ::std::os::raw::c_void; 2usize],
pub reserved: [*mut ::std::os::raw::c_void; 4usize],
pub cb: uv_write_cb,
pub send_handle: *mut uv_stream_t,
pub handle: *mut uv_stream_t,
pub queue: [*mut ::std::os::raw::c_void; 2usize],
pub write_index: ::std::os::raw::c_uint,
pub bufs: *mut uv_buf_t,
pub nbufs: ::std::os::raw::c_uint,
pub error: ::std::os::raw::c_int,
pub bufsml: [uv_buf_t; 4usize],
}
#[test]
fn bindgen_test_layout_uv_write_s() {
assert_eq!(::std::mem::size_of::<uv_write_s>() , 192usize , concat ! (
"Size of: " , stringify ! ( uv_write_s ) ));
assert_eq! (::std::mem::align_of::<uv_write_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_write_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . type_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . active_queue as * const
_ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( active_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . reserved as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( reserved ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . cb as * const _ as usize
} , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . send_handle as * const _
as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( send_handle ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . handle as * const _ as
usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( handle ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . queue as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . write_index as * const _
as usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( write_index ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . bufs as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( bufs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . nbufs as * const _ as
usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( nbufs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . error as * const _ as
usize } , 124usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( error ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_write_s ) ) . bufsml as * const _ as
usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_write_s ) , "::" ,
stringify ! ( bufsml ) ));
}
impl Clone for uv_write_s {
fn clone(&self) -> Self { *self }
}
pub type uv_write_t = uv_write_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_connect_s {
pub data: *mut ::std::os::raw::c_void,
pub type_: uv_req_type,
pub active_queue: [*mut ::std::os::raw::c_void; 2usize],
pub reserved: [*mut ::std::os::raw::c_void; 4usize],
pub cb: uv_connect_cb,
pub handle: *mut uv_stream_t,
pub queue: [*mut ::std::os::raw::c_void; 2usize],
}
#[test]
fn bindgen_test_layout_uv_connect_s() {
assert_eq!(::std::mem::size_of::<uv_connect_s>() , 96usize , concat ! (
"Size of: " , stringify ! ( uv_connect_s ) ));
assert_eq! (::std::mem::align_of::<uv_connect_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_connect_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_connect_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_connect_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_connect_s ) ) . type_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_connect_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_connect_s ) ) . active_queue as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_connect_s ) , "::" ,
stringify ! ( active_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_connect_s ) ) . reserved as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_connect_s ) , "::" ,
stringify ! ( reserved ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_connect_s ) ) . cb as * const _ as
usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_connect_s ) , "::" ,
stringify ! ( cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_connect_s ) ) . handle as * const _ as
usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_connect_s ) , "::" ,
stringify ! ( handle ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_connect_s ) ) . queue as * const _ as
usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_connect_s ) , "::" ,
stringify ! ( queue ) ));
}
impl Clone for uv_connect_s {
fn clone(&self) -> Self { *self }
}
pub type uv_connect_t = uv_connect_s;
#[repr(C)]
pub struct uv_udp_send_s {
pub data: *mut ::std::os::raw::c_void,
pub type_: uv_req_type,
pub active_queue: [*mut ::std::os::raw::c_void; 2usize],
pub reserved: [*mut ::std::os::raw::c_void; 4usize],
pub handle: *mut uv_udp_t,
pub cb: uv_udp_send_cb,
pub queue: [*mut ::std::os::raw::c_void; 2usize],
pub addr: sockaddr_storage,
pub nbufs: ::std::os::raw::c_uint,
pub bufs: *mut uv_buf_t,
pub status: isize,
pub send_cb: uv_udp_send_cb,
pub bufsml: [uv_buf_t; 4usize],
}
#[test]
fn bindgen_test_layout_uv_udp_send_s() {
assert_eq!(::std::mem::size_of::<uv_udp_send_s>() , 320usize , concat ! (
"Size of: " , stringify ! ( uv_udp_send_s ) ));
assert_eq! (::std::mem::align_of::<uv_udp_send_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_udp_send_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . type_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . active_queue as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( active_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . reserved as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( reserved ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . handle as * const _
as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( handle ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . cb as * const _ as
usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . queue as * const _ as
usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . addr as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . nbufs as * const _ as
usize } , 224usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( nbufs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . bufs as * const _ as
usize } , 232usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( bufs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . status as * const _
as usize } , 240usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( status ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . send_cb as * const _
as usize } , 248usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( send_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_udp_send_s ) ) . bufsml as * const _
as usize } , 256usize , concat ! (
"Alignment of field: " , stringify ! ( uv_udp_send_s ) , "::"
, stringify ! ( bufsml ) ));
}
pub type uv_udp_send_t = uv_udp_send_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_fs_s {
pub data: *mut ::std::os::raw::c_void,
pub type_: uv_req_type,
pub active_queue: [*mut ::std::os::raw::c_void; 2usize],
pub reserved: [*mut ::std::os::raw::c_void; 4usize],
pub fs_type: uv_fs_type,
pub loop_: *mut uv_loop_t,
pub cb: uv_fs_cb,
pub result: isize,
pub ptr: *mut ::std::os::raw::c_void,
pub path: *const ::std::os::raw::c_char,
pub statbuf: uv_stat_t,
pub new_path: *const ::std::os::raw::c_char,
pub file: uv_file,
pub flags: ::std::os::raw::c_int,
pub mode: mode_t,
pub nbufs: ::std::os::raw::c_uint,
pub bufs: *mut uv_buf_t,
pub off: off_t,
pub uid: uv_uid_t,
pub gid: uv_gid_t,
pub atime: f64,
pub mtime: f64,
pub work_req: uv__work,
pub bufsml: [uv_buf_t; 4usize],
}
#[test]
fn bindgen_test_layout_uv_fs_s() {
assert_eq!(::std::mem::size_of::<uv_fs_s>() , 440usize , concat ! (
"Size of: " , stringify ! ( uv_fs_s ) ));
assert_eq! (::std::mem::align_of::<uv_fs_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_fs_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . data as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . type_ as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . active_queue as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( active_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . reserved as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( reserved ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . fs_type as * const _ as
usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( fs_type ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . loop_ as * const _ as usize
} , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . cb as * const _ as usize }
, 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . result as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( result ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . ptr as * const _ as usize }
, 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( ptr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . path as * const _ as usize
} , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( path ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . statbuf as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( statbuf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . new_path as * const _ as
usize } , 272usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( new_path ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . file as * const _ as usize
} , 280usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( file ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . flags as * const _ as usize
} , 284usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . mode as * const _ as usize
} , 288usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( mode ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . nbufs as * const _ as usize
} , 292usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( nbufs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . bufs as * const _ as usize
} , 296usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( bufs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . off as * const _ as usize }
, 304usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( off ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . uid as * const _ as usize }
, 312usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( uid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . gid as * const _ as usize }
, 316usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( gid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . atime as * const _ as usize
} , 320usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( atime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . mtime as * const _ as usize
} , 328usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( mtime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . work_req as * const _ as
usize } , 336usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( work_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_fs_s ) ) . bufsml as * const _ as
usize } , 376usize , concat ! (
"Alignment of field: " , stringify ! ( uv_fs_s ) , "::" ,
stringify ! ( bufsml ) ));
}
impl Clone for uv_fs_s {
fn clone(&self) -> Self { *self }
}
pub type uv_fs_t = uv_fs_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_work_s {
pub data: *mut ::std::os::raw::c_void,
pub type_: uv_req_type,
pub active_queue: [*mut ::std::os::raw::c_void; 2usize],
pub reserved: [*mut ::std::os::raw::c_void; 4usize],
pub loop_: *mut uv_loop_t,
pub work_cb: uv_work_cb,
pub after_work_cb: uv_after_work_cb,
pub work_req: uv__work,
}
#[test]
fn bindgen_test_layout_uv_work_s() {
assert_eq!(::std::mem::size_of::<uv_work_s>() , 128usize , concat ! (
"Size of: " , stringify ! ( uv_work_s ) ));
assert_eq! (::std::mem::align_of::<uv_work_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_work_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_work_s ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_work_s ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_work_s ) ) . type_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_work_s ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_work_s ) ) . active_queue as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_work_s ) , "::" ,
stringify ! ( active_queue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_work_s ) ) . reserved as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_work_s ) , "::" ,
stringify ! ( reserved ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_work_s ) ) . loop_ as * const _ as
usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_work_s ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_work_s ) ) . work_cb as * const _ as
usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_work_s ) , "::" ,
stringify ! ( work_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_work_s ) ) . after_work_cb as * const
_ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_work_s ) , "::" ,
stringify ! ( after_work_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_work_s ) ) . work_req as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_work_s ) , "::" ,
stringify ! ( work_req ) ));
}
impl Clone for uv_work_s {
fn clone(&self) -> Self { *self }
}
pub type uv_work_t = uv_work_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_cpu_info_s {
pub model: *mut ::std::os::raw::c_char,
pub speed: ::std::os::raw::c_int,
pub cpu_times: uv_cpu_info_s_uv_cpu_times_s,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_cpu_info_s_uv_cpu_times_s {
pub user: u64,
pub nice: u64,
pub sys: u64,
pub idle: u64,
pub irq: u64,
}
#[test]
fn bindgen_test_layout_uv_cpu_info_s_uv_cpu_times_s() {
assert_eq!(::std::mem::size_of::<uv_cpu_info_s_uv_cpu_times_s>() , 40usize
, concat ! (
"Size of: " , stringify ! ( uv_cpu_info_s_uv_cpu_times_s ) ));
assert_eq! (::std::mem::align_of::<uv_cpu_info_s_uv_cpu_times_s>() ,
8usize , concat ! (
"Alignment of " , stringify ! ( uv_cpu_info_s_uv_cpu_times_s )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_cpu_info_s_uv_cpu_times_s ) ) . user
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_cpu_info_s_uv_cpu_times_s ) , "::" , stringify ! ( user )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_cpu_info_s_uv_cpu_times_s ) ) . nice
as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! (
uv_cpu_info_s_uv_cpu_times_s ) , "::" , stringify ! ( nice )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_cpu_info_s_uv_cpu_times_s ) ) . sys as
* const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! (
uv_cpu_info_s_uv_cpu_times_s ) , "::" , stringify ! ( sys )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_cpu_info_s_uv_cpu_times_s ) ) . idle
as * const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! (
uv_cpu_info_s_uv_cpu_times_s ) , "::" , stringify ! ( idle )
));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_cpu_info_s_uv_cpu_times_s ) ) . irq as
* const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! (
uv_cpu_info_s_uv_cpu_times_s ) , "::" , stringify ! ( irq )
));
}
impl Clone for uv_cpu_info_s_uv_cpu_times_s {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_cpu_info_s() {
assert_eq!(::std::mem::size_of::<uv_cpu_info_s>() , 56usize , concat ! (
"Size of: " , stringify ! ( uv_cpu_info_s ) ));
assert_eq! (::std::mem::align_of::<uv_cpu_info_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_cpu_info_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_cpu_info_s ) ) . model as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_cpu_info_s ) , "::"
, stringify ! ( model ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_cpu_info_s ) ) . speed as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_cpu_info_s ) , "::"
, stringify ! ( speed ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_cpu_info_s ) ) . cpu_times as * const
_ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_cpu_info_s ) , "::"
, stringify ! ( cpu_times ) ));
}
impl Clone for uv_cpu_info_s {
fn clone(&self) -> Self { *self }
}
pub type uv_cpu_info_t = uv_cpu_info_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_interface_address_s {
pub name: *mut ::std::os::raw::c_char,
pub phys_addr: [::std::os::raw::c_char; 6usize],
pub is_internal: ::std::os::raw::c_int,
pub address: uv_interface_address_s__bindgen_ty_1,
pub netmask: uv_interface_address_s__bindgen_ty_2,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_interface_address_s__bindgen_ty_1 {
pub address4: __BindgenUnionField<sockaddr_in>,
pub address6: __BindgenUnionField<sockaddr_in6>,
pub bindgen_union_field: [u32; 7usize],
}
#[test]
fn bindgen_test_layout_uv_interface_address_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_interface_address_s__bindgen_ty_1>() ,
28usize , concat ! (
"Size of: " , stringify ! (
uv_interface_address_s__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<uv_interface_address_s__bindgen_ty_1>()
, 4usize , concat ! (
"Alignment of " , stringify ! (
uv_interface_address_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_interface_address_s__bindgen_ty_1 ) )
. address4 as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_interface_address_s__bindgen_ty_1 ) , "::" , stringify ! (
address4 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_interface_address_s__bindgen_ty_1 ) )
. address6 as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_interface_address_s__bindgen_ty_1 ) , "::" , stringify ! (
address6 ) ));
}
impl Clone for uv_interface_address_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_interface_address_s__bindgen_ty_2 {
pub netmask4: __BindgenUnionField<sockaddr_in>,
pub netmask6: __BindgenUnionField<sockaddr_in6>,
pub bindgen_union_field: [u32; 7usize],
}
#[test]
fn bindgen_test_layout_uv_interface_address_s__bindgen_ty_2() {
assert_eq!(::std::mem::size_of::<uv_interface_address_s__bindgen_ty_2>() ,
28usize , concat ! (
"Size of: " , stringify ! (
uv_interface_address_s__bindgen_ty_2 ) ));
assert_eq! (::std::mem::align_of::<uv_interface_address_s__bindgen_ty_2>()
, 4usize , concat ! (
"Alignment of " , stringify ! (
uv_interface_address_s__bindgen_ty_2 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_interface_address_s__bindgen_ty_2 ) )
. netmask4 as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_interface_address_s__bindgen_ty_2 ) , "::" , stringify ! (
netmask4 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_interface_address_s__bindgen_ty_2 ) )
. netmask6 as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_interface_address_s__bindgen_ty_2 ) , "::" , stringify ! (
netmask6 ) ));
}
impl Clone for uv_interface_address_s__bindgen_ty_2 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_interface_address_s() {
assert_eq!(::std::mem::size_of::<uv_interface_address_s>() , 80usize ,
concat ! ( "Size of: " , stringify ! ( uv_interface_address_s )
));
assert_eq! (::std::mem::align_of::<uv_interface_address_s>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_interface_address_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_interface_address_s ) ) . name as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_interface_address_s
) , "::" , stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_interface_address_s ) ) . phys_addr as
* const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_interface_address_s
) , "::" , stringify ! ( phys_addr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_interface_address_s ) ) . is_internal
as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_interface_address_s
) , "::" , stringify ! ( is_internal ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_interface_address_s ) ) . address as *
const _ as usize } , 20usize , concat ! (
"Alignment of field: " , stringify ! ( uv_interface_address_s
) , "::" , stringify ! ( address ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_interface_address_s ) ) . netmask as *
const _ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_interface_address_s
) , "::" , stringify ! ( netmask ) ));
}
impl Clone for uv_interface_address_s {
fn clone(&self) -> Self { *self }
}
pub type uv_interface_address_t = uv_interface_address_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_dirent_s {
pub name: *const ::std::os::raw::c_char,
pub type_: uv_dirent_type_t,
}
#[test]
fn bindgen_test_layout_uv_dirent_s() {
assert_eq!(::std::mem::size_of::<uv_dirent_s>() , 16usize , concat ! (
"Size of: " , stringify ! ( uv_dirent_s ) ));
assert_eq! (::std::mem::align_of::<uv_dirent_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_dirent_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_dirent_s ) ) . name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_dirent_s ) , "::" ,
stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_dirent_s ) ) . type_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_dirent_s ) , "::" ,
stringify ! ( type_ ) ));
}
impl Clone for uv_dirent_s {
fn clone(&self) -> Self { *self }
}
pub type uv_dirent_t = uv_dirent_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_passwd_s {
pub username: *mut ::std::os::raw::c_char,
pub uid: ::std::os::raw::c_long,
pub gid: ::std::os::raw::c_long,
pub shell: *mut ::std::os::raw::c_char,
pub homedir: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_uv_passwd_s() {
assert_eq!(::std::mem::size_of::<uv_passwd_s>() , 40usize , concat ! (
"Size of: " , stringify ! ( uv_passwd_s ) ));
assert_eq! (::std::mem::align_of::<uv_passwd_s>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_passwd_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_passwd_s ) ) . username as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_passwd_s ) , "::" ,
stringify ! ( username ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_passwd_s ) ) . uid as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_passwd_s ) , "::" ,
stringify ! ( uid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_passwd_s ) ) . gid as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_passwd_s ) , "::" ,
stringify ! ( gid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_passwd_s ) ) . shell as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_passwd_s ) , "::" ,
stringify ! ( shell ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_passwd_s ) ) . homedir as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_passwd_s ) , "::" ,
stringify ! ( homedir ) ));
}
impl Clone for uv_passwd_s {
fn clone(&self) -> Self { *self }
}
pub type uv_passwd_t = uv_passwd_s;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_loop_option { UV_LOOP_BLOCK_SIGNAL = 0, }
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_run_mode {
UV_RUN_DEFAULT = 0,
UV_RUN_ONCE = 1,
UV_RUN_NOWAIT = 2,
}
extern "C" {
pub fn uv_version() -> ::std::os::raw::c_uint;
}
extern "C" {
pub fn uv_version_string() -> *const ::std::os::raw::c_char;
}
pub type uv_malloc_func =
::std::option::Option<unsafe extern "C" fn(size: usize)
-> *mut ::std::os::raw::c_void>;
pub type uv_realloc_func =
::std::option::Option<unsafe extern "C" fn(ptr:
*mut ::std::os::raw::c_void,
size: usize)
-> *mut ::std::os::raw::c_void>;
pub type uv_calloc_func =
::std::option::Option<unsafe extern "C" fn(count: usize, size: usize)
-> *mut ::std::os::raw::c_void>;
pub type uv_free_func =
::std::option::Option<unsafe extern "C" fn(ptr:
*mut ::std::os::raw::c_void)>;
extern "C" {
pub fn uv_replace_allocator(malloc_func: uv_malloc_func,
realloc_func: uv_realloc_func,
calloc_func: uv_calloc_func,
free_func: uv_free_func)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_default_loop() -> *mut uv_loop_t;
}
extern "C" {
pub fn uv_loop_init(loop_: *mut uv_loop_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_loop_close(loop_: *mut uv_loop_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_loop_new() -> *mut uv_loop_t;
}
extern "C" {
pub fn uv_loop_delete(arg1: *mut uv_loop_t);
}
extern "C" {
pub fn uv_loop_size() -> usize;
}
extern "C" {
pub fn uv_loop_alive(loop_: *const uv_loop_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_loop_configure(loop_: *mut uv_loop_t,
option: uv_loop_option, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_run(arg1: *mut uv_loop_t, mode: uv_run_mode)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_stop(arg1: *mut uv_loop_t);
}
extern "C" {
pub fn uv_ref(arg1: *mut uv_handle_t);
}
extern "C" {
pub fn uv_unref(arg1: *mut uv_handle_t);
}
extern "C" {
pub fn uv_has_ref(arg1: *const uv_handle_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_update_time(arg1: *mut uv_loop_t);
}
extern "C" {
pub fn uv_now(arg1: *const uv_loop_t) -> u64;
}
extern "C" {
pub fn uv_backend_fd(arg1: *const uv_loop_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_backend_timeout(arg1: *const uv_loop_t)
-> ::std::os::raw::c_int;
}
pub type uv_alloc_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_handle_t,
suggested_size: usize,
buf: *mut uv_buf_t)>;
pub type uv_read_cb =
::std::option::Option<unsafe extern "C" fn(stream: *mut uv_stream_t,
nread: isize,
buf: *const uv_buf_t)>;
pub type uv_write_cb =
::std::option::Option<unsafe extern "C" fn(req: *mut uv_write_t,
status:
::std::os::raw::c_int)>;
pub type uv_connect_cb =
::std::option::Option<unsafe extern "C" fn(req: *mut uv_connect_t,
status:
::std::os::raw::c_int)>;
pub type uv_shutdown_cb =
::std::option::Option<unsafe extern "C" fn(req: *mut uv_shutdown_t,
status:
::std::os::raw::c_int)>;
pub type uv_connection_cb =
::std::option::Option<unsafe extern "C" fn(server: *mut uv_stream_t,
status:
::std::os::raw::c_int)>;
pub type uv_close_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_handle_t)>;
pub type uv_poll_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_poll_t,
status: ::std::os::raw::c_int,
events:
::std::os::raw::c_int)>;
pub type uv_timer_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_timer_t)>;
pub type uv_async_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_async_t)>;
pub type uv_prepare_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_prepare_t)>;
pub type uv_check_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_check_t)>;
pub type uv_idle_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_idle_t)>;
pub type uv_exit_cb =
::std::option::Option<unsafe extern "C" fn(arg1: *mut uv_process_t,
exit_status: i64,
term_signal:
::std::os::raw::c_int)>;
pub type uv_walk_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_handle_t,
arg:
*mut ::std::os::raw::c_void)>;
pub type uv_fs_cb =
::std::option::Option<unsafe extern "C" fn(req: *mut uv_fs_t)>;
pub type uv_work_cb =
::std::option::Option<unsafe extern "C" fn(req: *mut uv_work_t)>;
pub type uv_after_work_cb =
::std::option::Option<unsafe extern "C" fn(req: *mut uv_work_t,
status:
::std::os::raw::c_int)>;
pub type uv_getaddrinfo_cb =
::std::option::Option<unsafe extern "C" fn(req: *mut uv_getaddrinfo_t,
status: ::std::os::raw::c_int,
res: *mut addrinfo)>;
pub type uv_getnameinfo_cb =
::std::option::Option<unsafe extern "C" fn(req: *mut uv_getnameinfo_t,
status: ::std::os::raw::c_int,
hostname:
*const ::std::os::raw::c_char,
service:
*const ::std::os::raw::c_char)>;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_timespec_t {
pub tv_sec: ::std::os::raw::c_long,
pub tv_nsec: ::std::os::raw::c_long,
}
#[test]
fn bindgen_test_layout_uv_timespec_t() {
assert_eq!(::std::mem::size_of::<uv_timespec_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( uv_timespec_t ) ));
assert_eq! (::std::mem::align_of::<uv_timespec_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_timespec_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timespec_t ) ) . tv_sec as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timespec_t ) , "::"
, stringify ! ( tv_sec ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timespec_t ) ) . tv_nsec as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timespec_t ) , "::"
, stringify ! ( tv_nsec ) ));
}
impl Clone for uv_timespec_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_stat_t {
pub st_dev: u64,
pub st_mode: u64,
pub st_nlink: u64,
pub st_uid: u64,
pub st_gid: u64,
pub st_rdev: u64,
pub st_ino: u64,
pub st_size: u64,
pub st_blksize: u64,
pub st_blocks: u64,
pub st_flags: u64,
pub st_gen: u64,
pub st_atim: uv_timespec_t,
pub st_mtim: uv_timespec_t,
pub st_ctim: uv_timespec_t,
pub st_birthtim: uv_timespec_t,
}
#[test]
fn bindgen_test_layout_uv_stat_t() {
assert_eq!(::std::mem::size_of::<uv_stat_t>() , 160usize , concat ! (
"Size of: " , stringify ! ( uv_stat_t ) ));
assert_eq! (::std::mem::align_of::<uv_stat_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_stat_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_dev as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_dev ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_mode as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_mode ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_nlink as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_nlink ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_uid as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_uid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_gid as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_gid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_rdev as * const _ as
usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_rdev ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_ino as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_ino ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_size as * const _ as
usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_blksize as * const _
as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_blksize ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_blocks as * const _ as
usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_blocks ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_flags as * const _ as
usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_gen as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_gen ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_atim as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_atim ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_mtim as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_mtim ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_ctim as * const _ as
usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_ctim ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stat_t ) ) . st_birthtim as * const _
as usize } , 144usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stat_t ) , "::" ,
stringify ! ( st_birthtim ) ));
}
impl Clone for uv_stat_t {
fn clone(&self) -> Self { *self }
}
pub type uv_fs_event_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_fs_event_t,
filename:
*const ::std::os::raw::c_char,
events: ::std::os::raw::c_int,
status:
::std::os::raw::c_int)>;
pub type uv_fs_poll_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_fs_poll_t,
status: ::std::os::raw::c_int,
prev: *const uv_stat_t,
curr: *const uv_stat_t)>;
pub type uv_signal_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_signal_t,
signum:
::std::os::raw::c_int)>;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_membership { UV_LEAVE_GROUP = 0, UV_JOIN_GROUP = 1, }
extern "C" {
pub fn uv_strerror(err: ::std::os::raw::c_int)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn uv_err_name(err: ::std::os::raw::c_int)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn uv_shutdown(req: *mut uv_shutdown_t, handle: *mut uv_stream_t,
cb: uv_shutdown_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_handle_size(type_: uv_handle_type) -> usize;
}
extern "C" {
pub fn uv_req_size(type_: uv_req_type) -> usize;
}
extern "C" {
pub fn uv_is_active(handle: *const uv_handle_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_walk(loop_: *mut uv_loop_t, walk_cb: uv_walk_cb,
arg: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn uv_print_all_handles(loop_: *mut uv_loop_t, stream: *mut FILE);
}
extern "C" {
pub fn uv_print_active_handles(loop_: *mut uv_loop_t, stream: *mut FILE);
}
extern "C" {
pub fn uv_close(handle: *mut uv_handle_t, close_cb: uv_close_cb);
}
extern "C" {
pub fn uv_send_buffer_size(handle: *mut uv_handle_t,
value: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_recv_buffer_size(handle: *mut uv_handle_t,
value: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fileno(handle: *const uv_handle_t, fd: *mut uv_os_fd_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_buf_init(base: *mut ::std::os::raw::c_char,
len: ::std::os::raw::c_uint) -> uv_buf_t;
}
extern "C" {
pub fn uv_listen(stream: *mut uv_stream_t, backlog: ::std::os::raw::c_int,
cb: uv_connection_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_accept(server: *mut uv_stream_t, client: *mut uv_stream_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_read_start(arg1: *mut uv_stream_t, alloc_cb: uv_alloc_cb,
read_cb: uv_read_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_read_stop(arg1: *mut uv_stream_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_write(req: *mut uv_write_t, handle: *mut uv_stream_t,
bufs: *const uv_buf_t, nbufs: ::std::os::raw::c_uint,
cb: uv_write_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_write2(req: *mut uv_write_t, handle: *mut uv_stream_t,
bufs: *const uv_buf_t, nbufs: ::std::os::raw::c_uint,
send_handle: *mut uv_stream_t, cb: uv_write_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_try_write(handle: *mut uv_stream_t, bufs: *const uv_buf_t,
nbufs: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_is_readable(handle: *const uv_stream_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_is_writable(handle: *const uv_stream_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_stream_set_blocking(handle: *mut uv_stream_t,
blocking: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_is_closing(handle: *const uv_handle_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tcp_init(arg1: *mut uv_loop_t, handle: *mut uv_tcp_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tcp_init_ex(arg1: *mut uv_loop_t, handle: *mut uv_tcp_t,
flags: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tcp_open(handle: *mut uv_tcp_t, sock: uv_os_sock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tcp_nodelay(handle: *mut uv_tcp_t,
enable: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tcp_keepalive(handle: *mut uv_tcp_t,
enable: ::std::os::raw::c_int,
delay: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tcp_simultaneous_accepts(handle: *mut uv_tcp_t,
enable: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_tcp_flags { UV_TCP_IPV6ONLY = 1, }
extern "C" {
pub fn uv_tcp_bind(handle: *mut uv_tcp_t, addr: *const sockaddr,
flags: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tcp_getsockname(handle: *const uv_tcp_t, name: *mut sockaddr,
namelen: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tcp_getpeername(handle: *const uv_tcp_t, name: *mut sockaddr,
namelen: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tcp_connect(req: *mut uv_connect_t, handle: *mut uv_tcp_t,
addr: *const sockaddr, cb: uv_connect_cb)
-> ::std::os::raw::c_int;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_udp_flags {
UV_UDP_IPV6ONLY = 1,
UV_UDP_PARTIAL = 2,
UV_UDP_REUSEADDR = 4,
}
pub type uv_udp_send_cb =
::std::option::Option<unsafe extern "C" fn(req: *mut uv_udp_send_t,
status:
::std::os::raw::c_int)>;
pub type uv_udp_recv_cb =
::std::option::Option<unsafe extern "C" fn(handle: *mut uv_udp_t,
nread: isize,
buf: *const uv_buf_t,
addr: *const sockaddr,
flags:
::std::os::raw::c_uint)>;
extern "C" {
pub fn uv_udp_init(arg1: *mut uv_loop_t, handle: *mut uv_udp_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_init_ex(arg1: *mut uv_loop_t, handle: *mut uv_udp_t,
flags: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_open(handle: *mut uv_udp_t, sock: uv_os_sock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_bind(handle: *mut uv_udp_t, addr: *const sockaddr,
flags: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_getsockname(handle: *const uv_udp_t, name: *mut sockaddr,
namelen: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_set_membership(handle: *mut uv_udp_t,
multicast_addr:
*const ::std::os::raw::c_char,
interface_addr:
*const ::std::os::raw::c_char,
membership: uv_membership)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_set_multicast_loop(handle: *mut uv_udp_t,
on: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_set_multicast_ttl(handle: *mut uv_udp_t,
ttl: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_set_multicast_interface(handle: *mut uv_udp_t,
interface_addr:
*const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_set_broadcast(handle: *mut uv_udp_t,
on: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_set_ttl(handle: *mut uv_udp_t, ttl: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_send(req: *mut uv_udp_send_t, handle: *mut uv_udp_t,
bufs: *const uv_buf_t, nbufs: ::std::os::raw::c_uint,
addr: *const sockaddr, send_cb: uv_udp_send_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_try_send(handle: *mut uv_udp_t, bufs: *const uv_buf_t,
nbufs: ::std::os::raw::c_uint,
addr: *const sockaddr) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_recv_start(handle: *mut uv_udp_t, alloc_cb: uv_alloc_cb,
recv_cb: uv_udp_recv_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_udp_recv_stop(handle: *mut uv_udp_t) -> ::std::os::raw::c_int;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_tty_mode_t {
UV_TTY_MODE_NORMAL = 0,
UV_TTY_MODE_RAW = 1,
UV_TTY_MODE_IO = 2,
}
extern "C" {
pub fn uv_tty_init(arg1: *mut uv_loop_t, arg2: *mut uv_tty_t, fd: uv_file,
readable: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tty_set_mode(arg1: *mut uv_tty_t, mode: uv_tty_mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tty_reset_mode() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_tty_get_winsize(arg1: *mut uv_tty_t,
width: *mut ::std::os::raw::c_int,
height: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_guess_handle(file: uv_file) -> uv_handle_type;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_pipe_flags {
UV_PIPE_IPC = 1,
UV_PIPE_SPAWN_SAFE = 2,
UV_PIPE_READABLE = 4,
UV_PIPE_WRITABLE = 8,
}
extern "C" {
pub fn uv_pipe_init(arg1: *mut uv_loop_t, handle: *mut uv_pipe_t,
flags: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_pipe_link(read: *mut uv_pipe_t, write: *mut uv_pipe_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_pipe_close_sync(pipe: *mut uv_pipe_t);
}
extern "C" {
pub fn uv_pipe_open(arg1: *mut uv_pipe_t, file: uv_file)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_pipe_bind(handle: *mut uv_pipe_t,
name: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_pipe_connect(req: *mut uv_connect_t, handle: *mut uv_pipe_t,
name: *const ::std::os::raw::c_char,
cb: uv_connect_cb);
}
extern "C" {
pub fn uv_pipe_getsockname(handle: *const uv_pipe_t,
buffer: *mut ::std::os::raw::c_char,
size: *mut usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_pipe_getpeername(handle: *const uv_pipe_t,
buffer: *mut ::std::os::raw::c_char,
size: *mut usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_pipe_pending_instances(handle: *mut uv_pipe_t,
count: ::std::os::raw::c_int);
}
extern "C" {
pub fn uv_pipe_pending_count(handle: *mut uv_pipe_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_pipe_pending_type(handle: *mut uv_pipe_t) -> uv_handle_type;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_poll_event {
UV_READABLE = 1,
UV_WRITABLE = 2,
UV_DISCONNECT = 4,
}
extern "C" {
pub fn uv_poll_init(loop_: *mut uv_loop_t, handle: *mut uv_poll_t,
fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_poll_init_socket(loop_: *mut uv_loop_t, handle: *mut uv_poll_t,
socket: uv_os_sock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_poll_start(handle: *mut uv_poll_t,
events: ::std::os::raw::c_int, cb: uv_poll_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_poll_stop(handle: *mut uv_poll_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_prepare_init(arg1: *mut uv_loop_t, prepare: *mut uv_prepare_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_prepare_start(prepare: *mut uv_prepare_t, cb: uv_prepare_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_prepare_stop(prepare: *mut uv_prepare_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_check_init(arg1: *mut uv_loop_t, check: *mut uv_check_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_check_start(check: *mut uv_check_t, cb: uv_check_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_check_stop(check: *mut uv_check_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_idle_init(arg1: *mut uv_loop_t, idle: *mut uv_idle_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_idle_start(idle: *mut uv_idle_t, cb: uv_idle_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_idle_stop(idle: *mut uv_idle_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_async_init(arg1: *mut uv_loop_t, async: *mut uv_async_t,
async_cb: uv_async_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_async_send(async: *mut uv_async_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_timer_init(arg1: *mut uv_loop_t, handle: *mut uv_timer_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_timer_start(handle: *mut uv_timer_t, cb: uv_timer_cb,
timeout: u64, repeat: u64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_timer_stop(handle: *mut uv_timer_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_timer_again(handle: *mut uv_timer_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_timer_set_repeat(handle: *mut uv_timer_t, repeat: u64);
}
extern "C" {
pub fn uv_timer_get_repeat(handle: *const uv_timer_t) -> u64;
}
extern "C" {
pub fn uv_getaddrinfo(loop_: *mut uv_loop_t, req: *mut uv_getaddrinfo_t,
getaddrinfo_cb: uv_getaddrinfo_cb,
node: *const ::std::os::raw::c_char,
service: *const ::std::os::raw::c_char,
hints: *const addrinfo) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_freeaddrinfo(ai: *mut addrinfo);
}
extern "C" {
pub fn uv_getnameinfo(loop_: *mut uv_loop_t, req: *mut uv_getnameinfo_t,
getnameinfo_cb: uv_getnameinfo_cb,
addr: *const sockaddr, flags: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_stdio_container_s {
pub type_: uv_handle_type,
pub data: uv_stdio_container_s__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_stdio_container_s__bindgen_ty_1 {
pub stream: __BindgenUnionField<*mut uv_stream_t>,
pub fd: __BindgenUnionField<uv_file>,
pub os_handle: __BindgenUnionField<uv_os_fd_t>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_uv_stdio_container_s__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<uv_stdio_container_s__bindgen_ty_1>() ,
8usize , concat ! (
"Size of: " , stringify ! ( uv_stdio_container_s__bindgen_ty_1
) ));
assert_eq! (::std::mem::align_of::<uv_stdio_container_s__bindgen_ty_1>() ,
8usize , concat ! (
"Alignment of " , stringify ! (
uv_stdio_container_s__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stdio_container_s__bindgen_ty_1 ) ) .
stream as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_stdio_container_s__bindgen_ty_1 ) , "::" , stringify ! (
stream ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stdio_container_s__bindgen_ty_1 ) ) .
fd as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_stdio_container_s__bindgen_ty_1 ) , "::" , stringify ! ( fd
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stdio_container_s__bindgen_ty_1 ) ) .
os_handle as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
uv_stdio_container_s__bindgen_ty_1 ) , "::" , stringify ! (
os_handle ) ));
}
impl Clone for uv_stdio_container_s__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_uv_stdio_container_s() {
assert_eq!(::std::mem::size_of::<uv_stdio_container_s>() , 16usize ,
concat ! ( "Size of: " , stringify ! ( uv_stdio_container_s )
));
assert_eq! (::std::mem::align_of::<uv_stdio_container_s>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_stdio_container_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stdio_container_s ) ) . type_ as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stdio_container_s )
, "::" , stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_stdio_container_s ) ) . data as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_stdio_container_s )
, "::" , stringify ! ( data ) ));
}
impl Clone for uv_stdio_container_s {
fn clone(&self) -> Self { *self }
}
pub type uv_stdio_container_t = uv_stdio_container_s;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_process_options_s {
pub exit_cb: uv_exit_cb,
pub file: *const ::std::os::raw::c_char,
pub args: *mut *mut ::std::os::raw::c_char,
pub env: *mut *mut ::std::os::raw::c_char,
pub cwd: *const ::std::os::raw::c_char,
pub flags: ::std::os::raw::c_uint,
pub stdio_count: ::std::os::raw::c_int,
pub stdio: *mut uv_stdio_container_t,
pub uid: uv_uid_t,
pub gid: uv_gid_t,
}
#[test]
fn bindgen_test_layout_uv_process_options_s() {
assert_eq!(::std::mem::size_of::<uv_process_options_s>() , 64usize ,
concat ! ( "Size of: " , stringify ! ( uv_process_options_s )
));
assert_eq! (::std::mem::align_of::<uv_process_options_s>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( uv_process_options_s ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . exit_cb as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( exit_cb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . file as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( file ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . args as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( args ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . env as * const
_ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( env ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . cwd as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( cwd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . flags as *
const _ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . stdio_count as
* const _ as usize } , 44usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( stdio_count ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . stdio as *
const _ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( stdio ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . uid as * const
_ as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( uid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_process_options_s ) ) . gid as * const
_ as usize } , 60usize , concat ! (
"Alignment of field: " , stringify ! ( uv_process_options_s )
, "::" , stringify ! ( gid ) ));
}
impl Clone for uv_process_options_s {
fn clone(&self) -> Self { *self }
}
pub type uv_process_options_t = uv_process_options_s;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_process_flags {
UV_PROCESS_SETUID = 1,
UV_PROCESS_SETGID = 2,
UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS = 4,
UV_PROCESS_DETACHED = 8,
UV_PROCESS_WINDOWS_HIDE = 16,
UV_PROCESS_RESET_SIGPIPE = 32,
}
extern "C" {
pub fn uv_spawn(loop_: *mut uv_loop_t, handle: *mut uv_process_t,
options: *const uv_process_options_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_process_kill(arg1: *mut uv_process_t,
signum: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_kill(pid: ::std::os::raw::c_int, signum: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_queue_work(loop_: *mut uv_loop_t, req: *mut uv_work_t,
work_cb: uv_work_cb, after_work_cb: uv_after_work_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_cancel(req: *mut uv_req_t) -> ::std::os::raw::c_int;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_dirent_type_t {
UV_DIRENT_UNKNOWN = 0,
UV_DIRENT_FILE = 1,
UV_DIRENT_DIR = 2,
UV_DIRENT_LINK = 3,
UV_DIRENT_FIFO = 4,
UV_DIRENT_SOCKET = 5,
UV_DIRENT_CHAR = 6,
UV_DIRENT_BLOCK = 7,
}
extern "C" {
pub fn uv_setup_args(argc: ::std::os::raw::c_int,
argv: *mut *mut ::std::os::raw::c_char)
-> *mut *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn uv_get_process_title(buffer: *mut ::std::os::raw::c_char,
size: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_set_process_title(title: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_resident_set_memory(rss: *mut usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_uptime(uptime: *mut f64) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_timeval_t {
pub tv_sec: ::std::os::raw::c_long,
pub tv_usec: ::std::os::raw::c_long,
}
#[test]
fn bindgen_test_layout_uv_timeval_t() {
assert_eq!(::std::mem::size_of::<uv_timeval_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( uv_timeval_t ) ));
assert_eq! (::std::mem::align_of::<uv_timeval_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_timeval_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timeval_t ) ) . tv_sec as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timeval_t ) , "::" ,
stringify ! ( tv_sec ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_timeval_t ) ) . tv_usec as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( uv_timeval_t ) , "::" ,
stringify ! ( tv_usec ) ));
}
impl Clone for uv_timeval_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct uv_rusage_t {
pub ru_utime: uv_timeval_t,
pub ru_stime: uv_timeval_t,
pub ru_maxrss: u64,
pub ru_ixrss: u64,
pub ru_idrss: u64,
pub ru_isrss: u64,
pub ru_minflt: u64,
pub ru_majflt: u64,
pub ru_nswap: u64,
pub ru_inblock: u64,
pub ru_oublock: u64,
pub ru_msgsnd: u64,
pub ru_msgrcv: u64,
pub ru_nsignals: u64,
pub ru_nvcsw: u64,
pub ru_nivcsw: u64,
}
#[test]
fn bindgen_test_layout_uv_rusage_t() {
assert_eq!(::std::mem::size_of::<uv_rusage_t>() , 144usize , concat ! (
"Size of: " , stringify ! ( uv_rusage_t ) ));
assert_eq! (::std::mem::align_of::<uv_rusage_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_rusage_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_utime as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_utime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_stime as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_stime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_maxrss as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_maxrss ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_ixrss as * const _
as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_ixrss ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_idrss as * const _
as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_idrss ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_isrss as * const _
as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_isrss ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_minflt as * const _
as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_minflt ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_majflt as * const _
as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_majflt ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_nswap as * const _
as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_nswap ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_inblock as * const _
as usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_inblock ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_oublock as * const _
as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_oublock ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_msgsnd as * const _
as usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_msgsnd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_msgrcv as * const _
as usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_msgrcv ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_nsignals as * const
_ as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_nsignals ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_nvcsw as * const _
as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_nvcsw ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_rusage_t ) ) . ru_nivcsw as * const _
as usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( uv_rusage_t ) , "::" ,
stringify ! ( ru_nivcsw ) ));
}
impl Clone for uv_rusage_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn uv_getrusage(rusage: *mut uv_rusage_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_os_homedir(buffer: *mut ::std::os::raw::c_char,
size: *mut usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_os_tmpdir(buffer: *mut ::std::os::raw::c_char, size: *mut usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_os_get_passwd(pwd: *mut uv_passwd_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_os_free_passwd(pwd: *mut uv_passwd_t);
}
extern "C" {
pub fn uv_cpu_info(cpu_infos: *mut *mut uv_cpu_info_t,
count: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_free_cpu_info(cpu_infos: *mut uv_cpu_info_t,
count: ::std::os::raw::c_int);
}
extern "C" {
pub fn uv_interface_addresses(addresses: *mut *mut uv_interface_address_t,
count: *mut ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_free_interface_addresses(addresses: *mut uv_interface_address_t,
count: ::std::os::raw::c_int);
}
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_fs_type {
UV_FS_UNKNOWN = -1,
UV_FS_CUSTOM = 0,
UV_FS_OPEN = 1,
UV_FS_CLOSE = 2,
UV_FS_READ = 3,
UV_FS_WRITE = 4,
UV_FS_SENDFILE = 5,
UV_FS_STAT = 6,
UV_FS_LSTAT = 7,
UV_FS_FSTAT = 8,
UV_FS_FTRUNCATE = 9,
UV_FS_UTIME = 10,
UV_FS_FUTIME = 11,
UV_FS_ACCESS = 12,
UV_FS_CHMOD = 13,
UV_FS_FCHMOD = 14,
UV_FS_FSYNC = 15,
UV_FS_FDATASYNC = 16,
UV_FS_UNLINK = 17,
UV_FS_RMDIR = 18,
UV_FS_MKDIR = 19,
UV_FS_MKDTEMP = 20,
UV_FS_RENAME = 21,
UV_FS_SCANDIR = 22,
UV_FS_LINK = 23,
UV_FS_SYMLINK = 24,
UV_FS_READLINK = 25,
UV_FS_CHOWN = 26,
UV_FS_FCHOWN = 27,
UV_FS_REALPATH = 28,
}
extern "C" {
pub fn uv_fs_req_cleanup(req: *mut uv_fs_t);
}
extern "C" {
pub fn uv_fs_close(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
file: uv_file, cb: uv_fs_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_open(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_int,
mode: ::std::os::raw::c_int, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_read(loop_: *mut uv_loop_t, req: *mut uv_fs_t, file: uv_file,
bufs: *const uv_buf_t, nbufs: ::std::os::raw::c_uint,
offset: i64, cb: uv_fs_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_unlink(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_write(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
file: uv_file, bufs: *const uv_buf_t,
nbufs: ::std::os::raw::c_uint, offset: i64,
cb: uv_fs_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_mkdir(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char,
mode: ::std::os::raw::c_int, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_mkdtemp(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
tpl: *const ::std::os::raw::c_char, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_rmdir(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_scandir(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_int, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_scandir_next(req: *mut uv_fs_t, ent: *mut uv_dirent_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_stat(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_fstat(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
file: uv_file, cb: uv_fs_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_rename(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char,
new_path: *const ::std::os::raw::c_char, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_fsync(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
file: uv_file, cb: uv_fs_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_fdatasync(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
file: uv_file, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_ftruncate(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
file: uv_file, offset: i64, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_sendfile(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
out_fd: uv_file, in_fd: uv_file, in_offset: i64,
length: usize, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_access(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char,
mode: ::std::os::raw::c_int, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_chmod(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char,
mode: ::std::os::raw::c_int, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_utime(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char, atime: f64,
mtime: f64, cb: uv_fs_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_futime(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
file: uv_file, atime: f64, mtime: f64, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_lstat(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_link(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char,
new_path: *const ::std::os::raw::c_char, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_symlink(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char,
new_path: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_int, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_readlink(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_realpath(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char, cb: uv_fs_cb)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_fchmod(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
file: uv_file, mode: ::std::os::raw::c_int,
cb: uv_fs_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_chown(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
path: *const ::std::os::raw::c_char, uid: uv_uid_t,
gid: uv_gid_t, cb: uv_fs_cb) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_fchown(loop_: *mut uv_loop_t, req: *mut uv_fs_t,
file: uv_file, uid: uv_uid_t, gid: uv_gid_t,
cb: uv_fs_cb) -> ::std::os::raw::c_int;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_fs_event { UV_RENAME = 1, UV_CHANGE = 2, }
extern "C" {
pub fn uv_fs_poll_init(loop_: *mut uv_loop_t, handle: *mut uv_fs_poll_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_poll_start(handle: *mut uv_fs_poll_t, poll_cb: uv_fs_poll_cb,
path: *const ::std::os::raw::c_char,
interval: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_poll_stop(handle: *mut uv_fs_poll_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_poll_getpath(handle: *mut uv_fs_poll_t,
buffer: *mut ::std::os::raw::c_char,
size: *mut usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_signal_init(loop_: *mut uv_loop_t, handle: *mut uv_signal_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_signal_start(handle: *mut uv_signal_t, signal_cb: uv_signal_cb,
signum: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_signal_stop(handle: *mut uv_signal_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_loadavg(avg: *mut f64);
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum uv_fs_event_flags {
UV_FS_EVENT_WATCH_ENTRY = 1,
UV_FS_EVENT_STAT = 2,
UV_FS_EVENT_RECURSIVE = 4,
}
extern "C" {
pub fn uv_fs_event_init(loop_: *mut uv_loop_t, handle: *mut uv_fs_event_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_event_start(handle: *mut uv_fs_event_t, cb: uv_fs_event_cb,
path: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_event_stop(handle: *mut uv_fs_event_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_fs_event_getpath(handle: *mut uv_fs_event_t,
buffer: *mut ::std::os::raw::c_char,
size: *mut usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_ip4_addr(ip: *const ::std::os::raw::c_char,
port: ::std::os::raw::c_int, addr: *mut sockaddr_in)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_ip6_addr(ip: *const ::std::os::raw::c_char,
port: ::std::os::raw::c_int, addr: *mut sockaddr_in6)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_ip4_name(src: *const sockaddr_in,
dst: *mut ::std::os::raw::c_char, size: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_ip6_name(src: *const sockaddr_in6,
dst: *mut ::std::os::raw::c_char, size: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_inet_ntop(af: ::std::os::raw::c_int,
src: *const ::std::os::raw::c_void,
dst: *mut ::std::os::raw::c_char, size: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_inet_pton(af: ::std::os::raw::c_int,
src: *const ::std::os::raw::c_char,
dst: *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_exepath(buffer: *mut ::std::os::raw::c_char, size: *mut usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_cwd(buffer: *mut ::std::os::raw::c_char, size: *mut usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_chdir(dir: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_get_free_memory() -> u64;
}
extern "C" {
pub fn uv_get_total_memory() -> u64;
}
extern "C" {
pub fn uv_hrtime() -> u64;
}
extern "C" {
pub fn uv_disable_stdio_inheritance();
}
extern "C" {
pub fn uv_dlopen(filename: *const ::std::os::raw::c_char,
lib: *mut uv_lib_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_dlclose(lib: *mut uv_lib_t);
}
extern "C" {
pub fn uv_dlsym(lib: *mut uv_lib_t, name: *const ::std::os::raw::c_char,
ptr: *mut *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_dlerror(lib: *const uv_lib_t) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn uv_mutex_init(handle: *mut uv_mutex_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_mutex_destroy(handle: *mut uv_mutex_t);
}
extern "C" {
pub fn uv_mutex_lock(handle: *mut uv_mutex_t);
}
extern "C" {
pub fn uv_mutex_trylock(handle: *mut uv_mutex_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_mutex_unlock(handle: *mut uv_mutex_t);
}
extern "C" {
pub fn uv_rwlock_init(rwlock: *mut uv_rwlock_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_rwlock_destroy(rwlock: *mut uv_rwlock_t);
}
extern "C" {
pub fn uv_rwlock_rdlock(rwlock: *mut uv_rwlock_t);
}
extern "C" {
pub fn uv_rwlock_tryrdlock(rwlock: *mut uv_rwlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_rwlock_rdunlock(rwlock: *mut uv_rwlock_t);
}
extern "C" {
pub fn uv_rwlock_wrlock(rwlock: *mut uv_rwlock_t);
}
extern "C" {
pub fn uv_rwlock_trywrlock(rwlock: *mut uv_rwlock_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_rwlock_wrunlock(rwlock: *mut uv_rwlock_t);
}
extern "C" {
pub fn uv_sem_init(sem: *mut uv_sem_t, value: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_sem_destroy(sem: *mut uv_sem_t);
}
extern "C" {
pub fn uv_sem_post(sem: *mut uv_sem_t);
}
extern "C" {
pub fn uv_sem_wait(sem: *mut uv_sem_t);
}
extern "C" {
pub fn uv_sem_trywait(sem: *mut uv_sem_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_cond_init(cond: *mut uv_cond_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_cond_destroy(cond: *mut uv_cond_t);
}
extern "C" {
pub fn uv_cond_signal(cond: *mut uv_cond_t);
}
extern "C" {
pub fn uv_cond_broadcast(cond: *mut uv_cond_t);
}
extern "C" {
pub fn uv_barrier_init(barrier: *mut uv_barrier_t,
count: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_barrier_destroy(barrier: *mut uv_barrier_t);
}
extern "C" {
pub fn uv_barrier_wait(barrier: *mut uv_barrier_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_cond_wait(cond: *mut uv_cond_t, mutex: *mut uv_mutex_t);
}
extern "C" {
pub fn uv_cond_timedwait(cond: *mut uv_cond_t, mutex: *mut uv_mutex_t,
timeout: u64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_once(guard: *mut uv_once_t,
callback: ::std::option::Option<unsafe extern "C" fn()>);
}
extern "C" {
pub fn uv_key_create(key: *mut uv_key_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_key_delete(key: *mut uv_key_t);
}
extern "C" {
pub fn uv_key_get(key: *mut uv_key_t) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn uv_key_set(key: *mut uv_key_t, value: *mut ::std::os::raw::c_void);
}
pub type uv_thread_cb =
::std::option::Option<unsafe extern "C" fn(arg:
*mut ::std::os::raw::c_void)>;
extern "C" {
pub fn uv_thread_create(tid: *mut uv_thread_t, entry: uv_thread_cb,
arg: *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_thread_setaffinity(tid: *mut uv_thread_t,
cpumask: *mut ::std::os::raw::c_char,
oldmask: *mut ::std::os::raw::c_char,
mask_size: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_thread_getaffinity(tid: *mut uv_thread_t,
cpumask: *mut ::std::os::raw::c_char,
mask_size: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_thread_detach(tid: *mut uv_thread_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_thread_self() -> uv_thread_t;
}
extern "C" {
pub fn uv_thread_join(tid: *mut uv_thread_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn uv_thread_equal(t1: *const uv_thread_t, t2: *const uv_thread_t)
-> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Copy)]
pub struct uv_any_handle {
pub async: __BindgenUnionField<uv_async_t>,
pub check: __BindgenUnionField<uv_check_t>,
pub fs_event: __BindgenUnionField<uv_fs_event_t>,
pub fs_poll: __BindgenUnionField<uv_fs_poll_t>,
pub handle: __BindgenUnionField<uv_handle_t>,
pub idle: __BindgenUnionField<uv_idle_t>,
pub pipe: __BindgenUnionField<uv_pipe_t>,
pub poll: __BindgenUnionField<uv_poll_t>,
pub prepare: __BindgenUnionField<uv_prepare_t>,
pub process: __BindgenUnionField<uv_process_t>,
pub stream: __BindgenUnionField<uv_stream_t>,
pub tcp: __BindgenUnionField<uv_tcp_t>,
pub timer: __BindgenUnionField<uv_timer_t>,
pub tty: __BindgenUnionField<uv_tty_t>,
pub udp: __BindgenUnionField<uv_udp_t>,
pub signal: __BindgenUnionField<uv_signal_t>,
pub bindgen_union_field: [u64; 39usize],
}
#[test]
fn bindgen_test_layout_uv_any_handle() {
assert_eq!(::std::mem::size_of::<uv_any_handle>() , 312usize , concat ! (
"Size of: " , stringify ! ( uv_any_handle ) ));
assert_eq! (::std::mem::align_of::<uv_any_handle>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_any_handle ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . async as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( async ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . check as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( check ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . fs_event as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( fs_event ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . fs_poll as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( fs_poll ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . handle as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( handle ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . idle as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( idle ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . pipe as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( pipe ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . poll as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( poll ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . prepare as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( prepare ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . process as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( process ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . stream as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( stream ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . tcp as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( tcp ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . timer as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( timer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . tty as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( tty ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . udp as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( udp ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_handle ) ) . signal as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_handle ) , "::"
, stringify ! ( signal ) ));
}
impl Clone for uv_any_handle {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Copy)]
pub struct uv_any_req {
pub req: __BindgenUnionField<uv_req_t>,
pub connect: __BindgenUnionField<uv_connect_t>,
pub write: __BindgenUnionField<uv_write_t>,
pub shutdown: __BindgenUnionField<uv_shutdown_t>,
pub udp_send: __BindgenUnionField<uv_udp_send_t>,
pub fs: __BindgenUnionField<uv_fs_t>,
pub work: __BindgenUnionField<uv_work_t>,
pub getaddrinfo: __BindgenUnionField<uv_getaddrinfo_t>,
pub getnameinfo: __BindgenUnionField<uv_getnameinfo_t>,
pub bindgen_union_field: [u64; 165usize],
}
#[test]
fn bindgen_test_layout_uv_any_req() {
assert_eq!(::std::mem::size_of::<uv_any_req>() , 1320usize , concat ! (
"Size of: " , stringify ! ( uv_any_req ) ));
assert_eq! (::std::mem::align_of::<uv_any_req>() , 8usize , concat ! (
"Alignment of " , stringify ! ( uv_any_req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_req ) ) . req as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_req ) , "::" ,
stringify ! ( req ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_req ) ) . connect as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_req ) , "::" ,
stringify ! ( connect ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_req ) ) . write as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_req ) , "::" ,
stringify ! ( write ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_req ) ) . shutdown as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_req ) , "::" ,
stringify ! ( shutdown ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_req ) ) . udp_send as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_req ) , "::" ,
stringify ! ( udp_send ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_req ) ) . fs as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_req ) , "::" ,
stringify ! ( fs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_req ) ) . work as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_req ) , "::" ,
stringify ! ( work ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_req ) ) . getaddrinfo as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_req ) , "::" ,
stringify ! ( getaddrinfo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const uv_any_req ) ) . getnameinfo as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( uv_any_req ) , "::" ,
stringify ! ( getnameinfo ) ));
}
impl Clone for uv_any_req {
fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum bufmode_t { bm_none = 19, bm_line = 20, bm_block = 21, bm_mem = 22, }
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum bufstate_t { bst_none = 0, bst_rd = 1, bst_wr = 2, }
#[repr(C)]
pub struct ios_t {
pub buf: *mut ::std::os::raw::c_char,
pub errcode: ::std::os::raw::c_int,
pub _pad_bm: ::std::os::raw::c_int,
pub bm: bufmode_t,
pub state: bufstate_t,
pub maxsize: i64,
pub size: i64,
pub bpos: i64,
pub ndirty: i64,
pub fpos: i64,
pub lineno: usize,
pub fd: ::std::os::raw::c_long,
pub _bitfield_1: u8,
pub userdata: i64,
pub local: [::std::os::raw::c_char; 54usize],
}
#[test]
fn bindgen_test_layout_ios_t() {
assert_eq!(::std::mem::size_of::<ios_t>() , 152usize , concat ! (
"Size of: " , stringify ! ( ios_t ) ));
assert_eq! (::std::mem::align_of::<ios_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( ios_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . buf as * const _ as usize } ,
0usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( buf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . errcode as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( errcode ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . _pad_bm as * const _ as usize
} , 12usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( _pad_bm ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . bm as * const _ as usize } ,
16usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( bm ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . state as * const _ as usize }
, 20usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( state ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . maxsize as * const _ as usize
} , 24usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( maxsize ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . size as * const _ as usize }
, 32usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . bpos as * const _ as usize }
, 40usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( bpos ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . ndirty as * const _ as usize
} , 48usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( ndirty ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . fpos as * const _ as usize }
, 56usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( fpos ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . lineno as * const _ as usize
} , 64usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( lineno ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . fd as * const _ as usize } ,
72usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( fd ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . userdata as * const _ as
usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( userdata ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const ios_t ) ) . local as * const _ as usize }
, 96usize , concat ! (
"Alignment of field: " , stringify ! ( ios_t ) , "::" ,
stringify ! ( local ) ));
}
impl ios_t {
#[inline]
pub fn readable(&self) -> ::std::os::raw::c_uchar {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 1u64 as u8;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_readable(&mut self, val: ::std::os::raw::c_uchar) {
let mask = 1u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn writable(&self) -> ::std::os::raw::c_uchar {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 2u64 as u8;
let val = (unit_field_val & mask) >> 1usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_writable(&mut self, val: ::std::os::raw::c_uchar) {
let mask = 2u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 1usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn ownbuf(&self) -> ::std::os::raw::c_uchar {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 4u64 as u8;
let val = (unit_field_val & mask) >> 2usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_ownbuf(&mut self, val: ::std::os::raw::c_uchar) {
let mask = 4u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 2usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn ownfd(&self) -> ::std::os::raw::c_uchar {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 8u64 as u8;
let val = (unit_field_val & mask) >> 3usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_ownfd(&mut self, val: ::std::os::raw::c_uchar) {
let mask = 8u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 3usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn _eof(&self) -> ::std::os::raw::c_uchar {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 16u64 as u8;
let val = (unit_field_val & mask) >> 4usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set__eof(&mut self, val: ::std::os::raw::c_uchar) {
let mask = 16u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 4usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn rereadable(&self) -> ::std::os::raw::c_uchar {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 32u64 as u8;
let val = (unit_field_val & mask) >> 5usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_rereadable(&mut self, val: ::std::os::raw::c_uchar) {
let mask = 32u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 5usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn new_bitfield_1(readable: ::std::os::raw::c_uchar,
writable: ::std::os::raw::c_uchar,
ownbuf: ::std::os::raw::c_uchar,
ownfd: ::std::os::raw::c_uchar,
_eof: ::std::os::raw::c_uchar,
rereadable: ::std::os::raw::c_uchar) -> u8 {
({
({
({
({
({
({ 0 } |
((readable as u8 as u8) << 0usize) &
(1u64 as u8))
} |
((writable as u8 as u8) << 1usize) &
(2u64 as u8))
} | ((ownbuf as u8 as u8) << 2usize) & (4u64 as u8))
} | ((ownfd as u8 as u8) << 3usize) & (8u64 as u8))
} | ((_eof as u8 as u8) << 4usize) & (16u64 as u8))
} | ((rereadable as u8 as u8) << 5usize) & (32u64 as u8))
}
}
extern "C" {
#[link_name = "ios_set_io_wait_func"]
pub static mut ios_set_io_wait_func:
::std::option::Option<unsafe extern "C" fn(arg1:
::std::os::raw::c_int)>;
}
extern "C" {
pub fn ios_read(s: *mut ios_t, dest: *mut ::std::os::raw::c_char,
n: usize) -> usize;
}
extern "C" {
pub fn ios_readall(s: *mut ios_t, dest: *mut ::std::os::raw::c_char,
n: usize) -> usize;
}
extern "C" {
pub fn ios_write(s: *mut ios_t, data: *const ::std::os::raw::c_char,
n: usize) -> usize;
}
extern "C" {
pub fn ios_seek(s: *mut ios_t, pos: i64) -> i64;
}
extern "C" {
pub fn ios_seek_end(s: *mut ios_t) -> i64;
}
extern "C" {
pub fn ios_skip(s: *mut ios_t, offs: i64) -> i64;
}
extern "C" {
pub fn ios_pos(s: *mut ios_t) -> i64;
}
extern "C" {
pub fn ios_trunc(s: *mut ios_t, size: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_eof(s: *mut ios_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_eof_blocking(s: *mut ios_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_flush(s: *mut ios_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_close(s: *mut ios_t);
}
extern "C" {
pub fn ios_isopen(s: *mut ios_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_take_buffer(s: *mut ios_t, psize: *mut usize)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ios_setbuf(s: *mut ios_t, buf: *mut ::std::os::raw::c_char,
size: usize, own: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_bufmode(s: *mut ios_t, mode: bufmode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_get_readable(s: *mut ios_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_get_writable(s: *mut ios_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_set_readonly(s: *mut ios_t);
}
extern "C" {
pub fn ios_copy(to: *mut ios_t, from: *mut ios_t, nbytes: usize) -> usize;
}
extern "C" {
pub fn ios_copyall(to: *mut ios_t, from: *mut ios_t) -> usize;
}
extern "C" {
pub fn ios_copyuntil(to: *mut ios_t, from: *mut ios_t,
delim: ::std::os::raw::c_char, chomp: u8) -> usize;
}
extern "C" {
pub fn ios_nchomp(from: *mut ios_t, ntowrite: usize) -> usize;
}
extern "C" {
pub fn ios_readprep(from: *mut ios_t, n: usize) -> usize;
}
extern "C" {
pub fn ios_file(s: *mut ios_t, fname: *const ::std::os::raw::c_char,
rd: ::std::os::raw::c_int, wr: ::std::os::raw::c_int,
create: ::std::os::raw::c_int,
trunc: ::std::os::raw::c_int) -> *mut ios_t;
}
extern "C" {
pub fn ios_mkstemp(f: *mut ios_t, fname: *mut ::std::os::raw::c_char)
-> *mut ios_t;
}
extern "C" {
pub fn ios_mem(s: *mut ios_t, initsize: usize) -> *mut ios_t;
}
extern "C" {
pub fn ios_str(s: *mut ios_t, str: *mut ::std::os::raw::c_char)
-> *mut ios_t;
}
extern "C" {
pub fn ios_static_buffer(s: *mut ios_t, buf: *mut ::std::os::raw::c_char,
sz: usize) -> *mut ios_t;
}
extern "C" {
pub fn ios_fd(s: *mut ios_t, fd: ::std::os::raw::c_long,
isfile: ::std::os::raw::c_int, own: ::std::os::raw::c_int)
-> *mut ios_t;
}
extern "C" {
#[link_name = "ios_stdin"]
pub static mut ios_stdin: *mut ios_t;
}
extern "C" {
#[link_name = "ios_stdout"]
pub static mut ios_stdout: *mut ios_t;
}
extern "C" {
#[link_name = "ios_stderr"]
pub static mut ios_stderr: *mut ios_t;
}
extern "C" {
pub fn ios_init_stdstreams();
}
extern "C" {
pub fn ios_pututf8(s: *mut ios_t, wc: u32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_printf(s: *mut ios_t,
format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_vprintf(s: *mut ios_t, format: *const ::std::os::raw::c_char,
args: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_getutf8(s: *mut ios_t, pwc: *mut u32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_peekutf8(s: *mut ios_t, pwc: *mut u32)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_readline(s: *mut ios_t) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ios_purge(s: *mut ios_t);
}
extern "C" {
pub fn ios_putc(c: ::std::os::raw::c_int, s: *mut ios_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_getc(s: *mut ios_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_peekc(s: *mut ios_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ios_ungetc(c: ::std::os::raw::c_int, s: *mut ios_t)
-> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_timeval {
pub sec: i64,
pub usec: i64,
}
#[test]
fn bindgen_test_layout_jl_timeval() {
assert_eq!(::std::mem::size_of::<jl_timeval>() , 16usize , concat ! (
"Size of: " , stringify ! ( jl_timeval ) ));
assert_eq! (::std::mem::align_of::<jl_timeval>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_timeval ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_timeval ) ) . sec as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_timeval ) , "::" ,
stringify ! ( sec ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_timeval ) ) . usec as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_timeval ) , "::" ,
stringify ! ( usec ) ));
}
impl Clone for jl_timeval {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn jl_gettimeofday(jtv: *mut jl_timeval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_clock_now() -> f64;
}
extern "C" {
pub fn sleep_ms(ms: ::std::os::raw::c_int);
}
extern "C" {
pub fn nextipow2(i: uint_t) -> uint_t;
}
extern "C" {
pub fn int32hash(a: u32) -> u32;
}
extern "C" {
pub fn int64hash(key: u64) -> u64;
}
extern "C" {
pub fn int64to32hash(key: u64) -> u32;
}
extern "C" {
pub fn memhash(buf: *const ::std::os::raw::c_char, n: usize) -> u64;
}
extern "C" {
pub fn memhash_seed(buf: *const ::std::os::raw::c_char, n: usize,
seed: u32) -> u64;
}
extern "C" {
pub fn memhash32(buf: *const ::std::os::raw::c_char, n: usize) -> u32;
}
extern "C" {
pub fn memhash32_seed(buf: *const ::std::os::raw::c_char, n: usize,
seed: u32) -> u32;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct htable_t {
pub size: usize,
pub table: *mut *mut ::std::os::raw::c_void,
pub _space: [*mut ::std::os::raw::c_void; 32usize],
}
#[test]
fn bindgen_test_layout_htable_t() {
assert_eq!(::std::mem::size_of::<htable_t>() , 272usize , concat ! (
"Size of: " , stringify ! ( htable_t ) ));
assert_eq! (::std::mem::align_of::<htable_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( htable_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const htable_t ) ) . size as * const _ as usize
} , 0usize , concat ! (
"Alignment of field: " , stringify ! ( htable_t ) , "::" ,
stringify ! ( size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const htable_t ) ) . table as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( htable_t ) , "::" ,
stringify ! ( table ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const htable_t ) ) . _space as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( htable_t ) , "::" ,
stringify ! ( _space ) ));
}
impl Clone for htable_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn htable_new(h: *mut htable_t, size: usize) -> *mut htable_t;
}
extern "C" {
pub fn htable_free(h: *mut htable_t);
}
extern "C" {
pub fn htable_reset(h: *mut htable_t, sz: usize);
}
extern "C" {
pub fn ptrhash_get(h: *mut htable_t, key: *mut ::std::os::raw::c_void)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn ptrhash_put(h: *mut htable_t, key: *mut ::std::os::raw::c_void,
val: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn ptrhash_adjoin(h: *mut htable_t, key: *mut ::std::os::raw::c_void,
val: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn ptrhash_has(h: *mut htable_t, key: *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn ptrhash_remove(h: *mut htable_t, key: *mut ::std::os::raw::c_void)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn ptrhash_bp(h: *mut htable_t, key: *mut ::std::os::raw::c_void)
-> *mut *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn bitvector_new(n: u64, initzero: ::std::os::raw::c_int) -> *mut u32;
}
extern "C" {
pub fn bitvector_resize(b: *mut u32, oldsz: u64, newsz: u64,
initzero: ::std::os::raw::c_int) -> *mut u32;
}
extern "C" {
pub fn bitvector_nwords(nbits: u64) -> usize;
}
extern "C" {
pub fn bitvector_set(b: *mut u32, n: u64, c: u32);
}
extern "C" {
pub fn bitvector_get(b: *mut u32, n: u64) -> u32;
}
extern "C" {
pub fn jl_strtod_c(nptr: *const ::std::os::raw::c_char,
endptr: *mut *mut ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn jl_strtof_c(nptr: *const ::std::os::raw::c_char,
endptr: *mut *mut ::std::os::raw::c_char) -> f32;
}
extern "C" {
pub fn jl_crc32c_init(force_sw: ::std::os::raw::c_int);
}
extern "C" {
pub fn jl_crc32c(crc: u32, buf: *const ::std::os::raw::c_void, len: usize)
-> u32;
}
extern "C" {
pub fn libsupport_init();
}
extern "C" {
pub fn memcpy(__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void, __n: usize)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memmove(__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void, __n: usize)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memccpy(__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int, __n: usize)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memset(__s: *mut ::std::os::raw::c_void,
__c: ::std::os::raw::c_int, __n: usize)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memcmp(__s1: *const ::std::os::raw::c_void,
__s2: *const ::std::os::raw::c_void, __n: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn memchr(__s: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int, __n: usize)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn strcpy(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strncpy(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char, __n: usize)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcat(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strncat(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char, __n: usize)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcmp(__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn strncmp(__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char, __n: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn strcoll(__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn strxfrm(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char, __n: usize)
-> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strcoll_l(__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char, __l: __locale_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn strxfrm_l(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char, __n: usize,
__l: __locale_t) -> usize;
}
extern "C" {
pub fn strdup(__s: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strndup(__string: *const ::std::os::raw::c_char, __n: usize)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strchr(__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strrchr(__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcspn(__s: *const ::std::os::raw::c_char,
__reject: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strspn(__s: *const ::std::os::raw::c_char,
__accept: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strpbrk(__s: *const ::std::os::raw::c_char,
__accept: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strstr(__haystack: *const ::std::os::raw::c_char,
__needle: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strtok(__s: *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __strtok_r(__s: *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
__save_ptr: *mut *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strtok_r(__s: *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
__save_ptr: *mut *mut ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strlen(__s: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strnlen(__string: *const ::std::os::raw::c_char, __maxlen: usize)
-> usize;
}
extern "C" {
pub fn strerror(__errnum: ::std::os::raw::c_int)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "__xpg_strerror_r"]
pub fn strerror_r(__errnum: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char, __buflen: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn strerror_l(__errnum: ::std::os::raw::c_int, __l: __locale_t)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __bzero(__s: *mut ::std::os::raw::c_void, __n: usize);
}
extern "C" {
pub fn bcopy(__src: *const ::std::os::raw::c_void,
__dest: *mut ::std::os::raw::c_void, __n: usize);
}
extern "C" {
pub fn bzero(__s: *mut ::std::os::raw::c_void, __n: usize);
}
extern "C" {
pub fn bcmp(__s1: *const ::std::os::raw::c_void,
__s2: *const ::std::os::raw::c_void, __n: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn index(__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn rindex(__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ffs(__i: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strcasecmp(__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn strncasecmp(__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char, __n: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn strsep(__stringp: *mut *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strsignal(__sig: ::std::os::raw::c_int)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __stpcpy(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn stpcpy(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __stpncpy(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char, __n: usize)
-> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn stpncpy(__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char, __n: usize)
-> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct arraylist_t {
pub len: usize,
pub max: usize,
pub items: *mut *mut ::std::os::raw::c_void,
pub _space: [*mut ::std::os::raw::c_void; 29usize],
}
#[test]
fn bindgen_test_layout_arraylist_t() {
assert_eq!(::std::mem::size_of::<arraylist_t>() , 256usize , concat ! (
"Size of: " , stringify ! ( arraylist_t ) ));
assert_eq! (::std::mem::align_of::<arraylist_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( arraylist_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const arraylist_t ) ) . len as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( arraylist_t ) , "::" ,
stringify ! ( len ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const arraylist_t ) ) . max as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( arraylist_t ) , "::" ,
stringify ! ( max ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const arraylist_t ) ) . items as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( arraylist_t ) , "::" ,
stringify ! ( items ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const arraylist_t ) ) . _space as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( arraylist_t ) , "::" ,
stringify ! ( _space ) ));
}
impl Clone for arraylist_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn arraylist_new(a: *mut arraylist_t, size: usize)
-> *mut arraylist_t;
}
extern "C" {
pub fn arraylist_free(a: *mut arraylist_t);
}
extern "C" {
pub fn arraylist_push(a: *mut arraylist_t,
elt: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn arraylist_pop(a: *mut arraylist_t) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn arraylist_grow(a: *mut arraylist_t, n: usize);
}
pub type jmp_buf = [__jmp_buf_tag; 1usize];
extern "C" {
pub fn setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int);
}
extern "C" {
pub fn _longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int);
}
pub type sigjmp_buf = [__jmp_buf_tag; 1usize];
extern "C" {
pub fn siglongjmp(__env: *mut __jmp_buf_tag,
__val: ::std::os::raw::c_int);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_taggedvalue_t {
pub __bindgen_anon_1: _jl_taggedvalue_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_taggedvalue_t__bindgen_ty_1 {
pub header: __BindgenUnionField<usize>,
pub next: __BindgenUnionField<*mut jl_taggedvalue_t>,
pub type_: __BindgenUnionField<*mut jl_value_t>,
pub bits: __BindgenUnionField<_jl_taggedvalue_bits>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout__jl_taggedvalue_t__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<_jl_taggedvalue_t__bindgen_ty_1>() ,
8usize , concat ! (
"Size of: " , stringify ! ( _jl_taggedvalue_t__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<_jl_taggedvalue_t__bindgen_ty_1>() ,
8usize , concat ! (
"Alignment of " , stringify ! (
_jl_taggedvalue_t__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_taggedvalue_t__bindgen_ty_1 ) ) .
header as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
_jl_taggedvalue_t__bindgen_ty_1 ) , "::" , stringify ! (
header ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_taggedvalue_t__bindgen_ty_1 ) ) .
next as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
_jl_taggedvalue_t__bindgen_ty_1 ) , "::" , stringify ! ( next
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_taggedvalue_t__bindgen_ty_1 ) ) .
type_ as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
_jl_taggedvalue_t__bindgen_ty_1 ) , "::" , stringify ! ( type_
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_taggedvalue_t__bindgen_ty_1 ) ) .
bits as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
_jl_taggedvalue_t__bindgen_ty_1 ) , "::" , stringify ! ( bits
) ));
}
impl Clone for _jl_taggedvalue_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout__jl_taggedvalue_t() {
assert_eq!(::std::mem::size_of::<_jl_taggedvalue_t>() , 8usize , concat !
( "Size of: " , stringify ! ( _jl_taggedvalue_t ) ));
assert_eq! (::std::mem::align_of::<_jl_taggedvalue_t>() , 8usize , concat
! ( "Alignment of " , stringify ! ( _jl_taggedvalue_t ) ));
}
impl Clone for _jl_taggedvalue_t {
fn clone(&self) -> Self { *self }
}
pub type jl_taggedvalue_t = _jl_taggedvalue_t;
pub type __m64 = [::std::os::raw::c_longlong; 1usize];
pub type __v2si = [::std::os::raw::c_int; 2usize];
pub type __v4hi = [::std::os::raw::c_short; 4usize];
pub type __v8qi = [::std::os::raw::c_char; 8usize];
pub type __v4si = [::std::os::raw::c_int; 4usize];
pub type __v4sf = [f32; 4usize];
pub type __m128 = [f32; 4usize];
pub type __m128d = [f64; 2usize];
pub type __m128i = [::std::os::raw::c_longlong; 2usize];
pub type __v2df = [f64; 2usize];
pub type __v2di = [::std::os::raw::c_longlong; 2usize];
pub type __v8hi = [::std::os::raw::c_short; 8usize];
pub type __v16qi = [::std::os::raw::c_char; 16usize];
pub type __v16qs = [::std::os::raw::c_schar; 16usize];
pub type __v4df = [f64; 4usize];
pub type __v8sf = [f32; 8usize];
pub type __v4di = [::std::os::raw::c_longlong; 4usize];
pub type __v8si = [::std::os::raw::c_int; 8usize];
pub type __v16hi = [::std::os::raw::c_short; 16usize];
pub type __v32qi = [::std::os::raw::c_char; 32usize];
pub type __v32qs = [::std::os::raw::c_schar; 32usize];
pub type __m256 = [f32; 8usize];
pub type __m256d = [f64; 4usize];
pub type __m256i = [::std::os::raw::c_longlong; 4usize];
pub type __v8df = [f64; 8usize];
pub type __v16sf = [f32; 16usize];
pub type __v8di = [::std::os::raw::c_longlong; 8usize];
pub type __v16si = [::std::os::raw::c_int; 16usize];
pub type __m512 = [f32; 16usize];
pub type __m512d = [f64; 8usize];
pub type __m512i = [::std::os::raw::c_longlong; 8usize];
pub type __mmask8 = ::std::os::raw::c_uchar;
pub type __mmask16 = ::std::os::raw::c_ushort;
pub type __mmask32 = ::std::os::raw::c_uint;
pub type __mmask64 = ::std::os::raw::c_ulonglong;
pub type __v64qi = [::std::os::raw::c_char; 64usize];
pub type __v32hi = [::std::os::raw::c_short; 32usize];
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_gc_pool_t {
pub freelist: *mut jl_taggedvalue_t,
pub newpages: *mut jl_taggedvalue_t,
pub osize: u16,
}
#[test]
fn bindgen_test_layout_jl_gc_pool_t() {
assert_eq!(::std::mem::size_of::<jl_gc_pool_t>() , 24usize , concat ! (
"Size of: " , stringify ! ( jl_gc_pool_t ) ));
assert_eq! (::std::mem::align_of::<jl_gc_pool_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_gc_pool_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_gc_pool_t ) ) . freelist as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_gc_pool_t ) , "::" ,
stringify ! ( freelist ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_gc_pool_t ) ) . newpages as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_gc_pool_t ) , "::" ,
stringify ! ( newpages ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_gc_pool_t ) ) . osize as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_gc_pool_t ) , "::" ,
stringify ! ( osize ) ));
}
impl Clone for jl_gc_pool_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct jl_thread_heap_t {
pub weak_refs: arraylist_t,
pub mallocarrays: *mut _mallocarray_t,
pub mafreelist: *mut _mallocarray_t,
pub big_objects: *mut _bigval_t,
pub rem_bindings: arraylist_t,
pub _remset: [arraylist_t; 2usize],
pub remset_nptr: ::std::os::raw::c_int,
pub remset: *mut arraylist_t,
pub last_remset: *mut arraylist_t,
pub norm_pools: [jl_gc_pool_t; 41usize],
}
#[test]
fn bindgen_test_layout_jl_thread_heap_t() {
assert_eq!(::std::mem::size_of::<jl_thread_heap_t>() , 2056usize , concat
! ( "Size of: " , stringify ! ( jl_thread_heap_t ) ));
assert_eq! (::std::mem::align_of::<jl_thread_heap_t>() , 8usize , concat !
( "Alignment of " , stringify ! ( jl_thread_heap_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . weak_refs as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( weak_refs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . mallocarrays as *
const _ as usize } , 256usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( mallocarrays ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . mafreelist as *
const _ as usize } , 264usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( mafreelist ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . big_objects as *
const _ as usize } , 272usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( big_objects ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . rem_bindings as *
const _ as usize } , 280usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( rem_bindings ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . _remset as * const
_ as usize } , 536usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( _remset ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . remset_nptr as *
const _ as usize } , 1048usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( remset_nptr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . remset as * const
_ as usize } , 1056usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( remset ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . last_remset as *
const _ as usize } , 1064usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( last_remset ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_thread_heap_t ) ) . norm_pools as *
const _ as usize } , 1072usize , concat ! (
"Alignment of field: " , stringify ! ( jl_thread_heap_t ) ,
"::" , stringify ! ( norm_pools ) ));
}
#[repr(C)]
pub struct jl_gc_mark_cache_t {
pub perm_scanned_bytes: usize,
pub scanned_bytes: usize,
pub nbig_obj: usize,
pub big_obj: [*mut ::std::os::raw::c_void; 1024usize],
}
#[test]
fn bindgen_test_layout_jl_gc_mark_cache_t() {
assert_eq!(::std::mem::size_of::<jl_gc_mark_cache_t>() , 8216usize ,
concat ! ( "Size of: " , stringify ! ( jl_gc_mark_cache_t ) ));
assert_eq! (::std::mem::align_of::<jl_gc_mark_cache_t>() , 8usize , concat
! ( "Alignment of " , stringify ! ( jl_gc_mark_cache_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_gc_mark_cache_t ) ) .
perm_scanned_bytes as * const _ as usize } , 0usize , concat !
(
"Alignment of field: " , stringify ! ( jl_gc_mark_cache_t ) ,
"::" , stringify ! ( perm_scanned_bytes ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_gc_mark_cache_t ) ) . scanned_bytes as
* const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_gc_mark_cache_t ) ,
"::" , stringify ! ( scanned_bytes ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_gc_mark_cache_t ) ) . nbig_obj as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_gc_mark_cache_t ) ,
"::" , stringify ! ( nbig_obj ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_gc_mark_cache_t ) ) . big_obj as *
const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( jl_gc_mark_cache_t ) ,
"::" , stringify ! ( big_obj ) ));
}
#[repr(C)]
pub struct _jl_tls_states_t {
pub pgcstack: *mut _jl_gcframe_t,
pub world_age: usize,
pub exception_in_transit: *mut _jl_value_t,
pub safepoint: *mut usize,
pub gc_state: i8,
pub in_finalizer: i8,
pub disable_gc: i8,
pub defer_signal: sig_atomic_t,
pub current_module: *mut _jl_module_t,
pub current_task: *mut _jl_task_t,
pub root_task: *mut _jl_task_t,
pub stackbase: *mut ::std::os::raw::c_void,
pub stack_lo: *mut ::std::os::raw::c_char,
pub stack_hi: *mut ::std::os::raw::c_char,
pub jmp_target: *mut sigjmp_buf,
pub base_ctx: sigjmp_buf,
pub safe_restore: *mut sigjmp_buf,
pub tid: i16,
pub bt_size: usize,
pub bt_data: *mut usize,
pub signal_request: sig_atomic_t,
pub io_wait: sig_atomic_t,
pub heap: jl_thread_heap_t,
pub system_id: pthread_t,
pub signal_stack: *mut ::std::os::raw::c_void,
pub in_pure_callback: ::std::os::raw::c_int,
pub finalizers_inhibited: ::std::os::raw::c_int,
pub finalizers: arraylist_t,
pub gc_cache: jl_gc_mark_cache_t,
}
#[test]
fn bindgen_test_layout__jl_tls_states_t() {
assert_eq!(::std::mem::size_of::<_jl_tls_states_t>() , 10888usize , concat
! ( "Size of: " , stringify ! ( _jl_tls_states_t ) ));
assert_eq! (::std::mem::align_of::<_jl_tls_states_t>() , 8usize , concat !
( "Alignment of " , stringify ! ( _jl_tls_states_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . pgcstack as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( pgcstack ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . world_age as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( world_age ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) .
exception_in_transit as * const _ as usize } , 16usize ,
concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( exception_in_transit ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . safepoint as *
const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( safepoint ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . gc_state as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( gc_state ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . in_finalizer as *
const _ as usize } , 33usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( in_finalizer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . disable_gc as *
const _ as usize } , 34usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( disable_gc ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . defer_signal as *
const _ as usize } , 36usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( defer_signal ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . current_module as
* const _ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( current_module ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . current_task as *
const _ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( current_task ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . root_task as *
const _ as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( root_task ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . stackbase as *
const _ as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( stackbase ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . stack_lo as *
const _ as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( stack_lo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . stack_hi as *
const _ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( stack_hi ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . jmp_target as *
const _ as usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( jmp_target ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . base_ctx as *
const _ as usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( base_ctx ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . safe_restore as *
const _ as usize } , 296usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( safe_restore ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . tid as * const _
as usize } , 304usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( tid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . bt_size as * const
_ as usize } , 312usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( bt_size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . bt_data as * const
_ as usize } , 320usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( bt_data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . signal_request as
* const _ as usize } , 328usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( signal_request ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . io_wait as * const
_ as usize } , 332usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( io_wait ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . heap as * const _
as usize } , 336usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( heap ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . system_id as *
const _ as usize } , 2392usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( system_id ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . signal_stack as *
const _ as usize } , 2400usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( signal_stack ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . in_pure_callback
as * const _ as usize } , 2408usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( in_pure_callback ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) .
finalizers_inhibited as * const _ as usize } , 2412usize ,
concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( finalizers_inhibited ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . finalizers as *
const _ as usize } , 2416usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( finalizers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_tls_states_t ) ) . gc_cache as *
const _ as usize } , 2672usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_tls_states_t ) ,
"::" , stringify ! ( gc_cache ) ));
}
pub type jl_tls_states_t = _jl_tls_states_t;
pub type jl_ptls_t = *mut jl_tls_states_t;
extern "C" {
pub fn jl_threadid() -> i16;
}
extern "C" {
pub fn jl_threadgroup() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn jl_threading_profile();
}
extern "C" {
pub fn jl_cpu_pause();
}
extern "C" {
pub fn jl_cpu_wake();
}
extern "C" {
pub fn jl_get_ptls_states() -> jl_ptls_t;
}
extern "C" {
#[link_name = "jl_tls_states"]
pub static mut jl_tls_states: jl_tls_states_t;
}
extern "C" {
pub fn jl_gc_safepoint();
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_mutex_t {
pub owner: ::std::os::raw::c_ulong,
pub count: u32,
}
#[test]
fn bindgen_test_layout_jl_mutex_t() {
assert_eq!(::std::mem::size_of::<jl_mutex_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( jl_mutex_t ) ));
assert_eq! (::std::mem::align_of::<jl_mutex_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_mutex_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_mutex_t ) ) . owner as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_mutex_t ) , "::" ,
stringify ! ( owner ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_mutex_t ) ) . count as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_mutex_t ) , "::" ,
stringify ! ( count ) ));
}
impl Clone for jl_mutex_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn jl_gc_enable_finalizers(ptls: jl_ptls_t,
on: ::std::os::raw::c_int);
}
pub type jl_value_t = _jl_value_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_taggedvalue_bits {
pub _bitfield_1: u8,
pub __bindgen_padding_0: [u8; 7usize],
pub __bindgen_align: [u64; 0usize],
}
#[test]
fn bindgen_test_layout__jl_taggedvalue_bits() {
assert_eq!(::std::mem::size_of::<_jl_taggedvalue_bits>() , 8usize , concat
! ( "Size of: " , stringify ! ( _jl_taggedvalue_bits ) ));
assert_eq! (::std::mem::align_of::<_jl_taggedvalue_bits>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( _jl_taggedvalue_bits ) ));
}
impl Clone for _jl_taggedvalue_bits {
fn clone(&self) -> Self { *self }
}
impl _jl_taggedvalue_bits {
#[inline]
pub fn gc(&self) -> usize {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 3u64 as u8;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u64) }
}
#[inline]
pub fn set_gc(&mut self, val: usize) {
let mask = 3u64 as u8;
let val = val as u64 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn new_bitfield_1(gc: usize) -> u8 {
({ 0 } | ((gc as u64 as u8) << 0usize) & (3u64 as u8))
}
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_sym_t {
pub left: *mut _jl_sym_t,
pub right: *mut _jl_sym_t,
pub hash: usize,
}
#[test]
fn bindgen_test_layout__jl_sym_t() {
assert_eq!(::std::mem::size_of::<_jl_sym_t>() , 24usize , concat ! (
"Size of: " , stringify ! ( _jl_sym_t ) ));
assert_eq! (::std::mem::align_of::<_jl_sym_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _jl_sym_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_sym_t ) ) . left as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_sym_t ) , "::" ,
stringify ! ( left ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_sym_t ) ) . right as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_sym_t ) , "::" ,
stringify ! ( right ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_sym_t ) ) . hash as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_sym_t ) , "::" ,
stringify ! ( hash ) ));
}
impl Clone for _jl_sym_t {
fn clone(&self) -> Self { *self }
}
pub type jl_sym_t = _jl_sym_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_ssavalue_t {
pub id: isize,
}
#[test]
fn bindgen_test_layout__jl_ssavalue_t() {
assert_eq!(::std::mem::size_of::<_jl_ssavalue_t>() , 8usize , concat ! (
"Size of: " , stringify ! ( _jl_ssavalue_t ) ));
assert_eq! (::std::mem::align_of::<_jl_ssavalue_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _jl_ssavalue_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_ssavalue_t ) ) . id as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_ssavalue_t ) , "::"
, stringify ! ( id ) ));
}
impl Clone for _jl_ssavalue_t {
fn clone(&self) -> Self { *self }
}
pub type jl_ssavalue_t = _jl_ssavalue_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_svec_t {
pub length: usize,
}
#[test]
fn bindgen_test_layout_jl_svec_t() {
assert_eq!(::std::mem::size_of::<jl_svec_t>() , 8usize , concat ! (
"Size of: " , stringify ! ( jl_svec_t ) ));
assert_eq! (::std::mem::align_of::<jl_svec_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_svec_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_svec_t ) ) . length as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_svec_t ) , "::" ,
stringify ! ( length ) ));
}
impl Clone for jl_svec_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_array_flags_t {
pub _bitfield_1: u16,
pub __bindgen_align: [u16; 0usize],
}
#[test]
fn bindgen_test_layout_jl_array_flags_t() {
assert_eq!(::std::mem::size_of::<jl_array_flags_t>() , 2usize , concat ! (
"Size of: " , stringify ! ( jl_array_flags_t ) ));
assert_eq! (::std::mem::align_of::<jl_array_flags_t>() , 2usize , concat !
( "Alignment of " , stringify ! ( jl_array_flags_t ) ));
}
impl Clone for jl_array_flags_t {
fn clone(&self) -> Self { *self }
}
impl jl_array_flags_t {
#[inline]
pub fn how(&self) -> u16 {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 3u64 as u16;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_how(&mut self, val: u16) {
let mask = 3u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn ndims(&self) -> u16 {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 4092u64 as u16;
let val = (unit_field_val & mask) >> 2usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_ndims(&mut self, val: u16) {
let mask = 4092u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 2usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn pooled(&self) -> u16 {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 4096u64 as u16;
let val = (unit_field_val & mask) >> 12usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_pooled(&mut self, val: u16) {
let mask = 4096u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 12usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn ptrarray(&self) -> u16 {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 8192u64 as u16;
let val = (unit_field_val & mask) >> 13usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_ptrarray(&mut self, val: u16) {
let mask = 8192u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 13usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn isshared(&self) -> u16 {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 16384u64 as u16;
let val = (unit_field_val & mask) >> 14usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_isshared(&mut self, val: u16) {
let mask = 16384u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 14usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn isaligned(&self) -> u16 {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 32768u64 as u16;
let val = (unit_field_val & mask) >> 15usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_isaligned(&mut self, val: u16) {
let mask = 32768u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 15usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn new_bitfield_1(how: u16, ndims: u16, pooled: u16, ptrarray: u16,
isshared: u16, isaligned: u16) -> u16 {
({
({
({
({
({
({ 0 } |
((how as u16 as u16) << 0usize) &
(3u64 as u16))
} |
((ndims as u16 as u16) << 2usize) &
(4092u64 as u16))
} |
((pooled as u16 as u16) << 12usize) &
(4096u64 as u16))
} |
((ptrarray as u16 as u16) << 13usize) &
(8192u64 as u16))
} | ((isshared as u16 as u16) << 14usize) & (16384u64 as u16))
} | ((isaligned as u16 as u16) << 15usize) & (32768u64 as u16))
}
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_array_t {
pub data: *mut ::std::os::raw::c_void,
pub length: usize,
pub flags: jl_array_flags_t,
pub elsize: u16,
pub offset: u32,
pub nrows: usize,
pub __bindgen_anon_1: jl_array_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_array_t__bindgen_ty_1 {
pub maxsize: __BindgenUnionField<usize>,
pub ncols: __BindgenUnionField<usize>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_jl_array_t__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<jl_array_t__bindgen_ty_1>() , 8usize ,
concat ! (
"Size of: " , stringify ! ( jl_array_t__bindgen_ty_1 ) ));
assert_eq! (::std::mem::align_of::<jl_array_t__bindgen_ty_1>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( jl_array_t__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_array_t__bindgen_ty_1 ) ) . maxsize as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
jl_array_t__bindgen_ty_1 ) , "::" , stringify ! ( maxsize )
));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_array_t__bindgen_ty_1 ) ) . ncols as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
jl_array_t__bindgen_ty_1 ) , "::" , stringify ! ( ncols ) ));
}
impl Clone for jl_array_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_jl_array_t() {
assert_eq!(::std::mem::size_of::<jl_array_t>() , 40usize , concat ! (
"Size of: " , stringify ! ( jl_array_t ) ));
assert_eq! (::std::mem::align_of::<jl_array_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_array_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_array_t ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_array_t ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_array_t ) ) . length as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_array_t ) , "::" ,
stringify ! ( length ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_array_t ) ) . flags as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_array_t ) , "::" ,
stringify ! ( flags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_array_t ) ) . elsize as * const _ as
usize } , 18usize , concat ! (
"Alignment of field: " , stringify ! ( jl_array_t ) , "::" ,
stringify ! ( elsize ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_array_t ) ) . offset as * const _ as
usize } , 20usize , concat ! (
"Alignment of field: " , stringify ! ( jl_array_t ) , "::" ,
stringify ! ( offset ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_array_t ) ) . nrows as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( jl_array_t ) , "::" ,
stringify ! ( nrows ) ));
}
impl Clone for jl_array_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_datatype_t {
pub name: *mut jl_typename_t,
pub super_: *mut _jl_datatype_t,
pub parameters: *mut jl_svec_t,
pub types: *mut jl_svec_t,
pub instance: *mut jl_value_t,
pub layout: *const jl_datatype_layout_t,
pub size: i32,
pub ninitialized: i32,
pub uid: u32,
pub abstract_: u8,
pub mutabl: u8,
pub struct_decl: *mut ::std::os::raw::c_void,
pub ditype: *mut ::std::os::raw::c_void,
pub depth: i32,
pub hasfreetypevars: i8,
pub isleaftype: i8,
}
#[test]
fn bindgen_test_layout__jl_datatype_t() {
assert_eq!(::std::mem::size_of::<_jl_datatype_t>() , 88usize , concat ! (
"Size of: " , stringify ! ( _jl_datatype_t ) ));
assert_eq! (::std::mem::align_of::<_jl_datatype_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _jl_datatype_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . super_ as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( super_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . parameters as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( parameters ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . types as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( types ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . instance as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( instance ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . layout as * const _
as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( layout ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . size as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( size ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . ninitialized as *
const _ as usize } , 52usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( ninitialized ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . uid as * const _ as
usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( uid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . abstract_ as * const
_ as usize } , 60usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( abstract_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . mutabl as * const _
as usize } , 61usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( mutabl ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . struct_decl as *
const _ as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( struct_decl ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . ditype as * const _
as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( ditype ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . depth as * const _
as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( depth ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . hasfreetypevars as *
const _ as usize } , 84usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( hasfreetypevars ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_datatype_t ) ) . isleaftype as *
const _ as usize } , 85usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_datatype_t ) , "::"
, stringify ! ( isleaftype ) ));
}
impl Clone for _jl_datatype_t {
fn clone(&self) -> Self { *self }
}
pub type jl_tupletype_t = _jl_datatype_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_method_instance_t {
pub specTypes: *mut jl_value_t,
pub rettype: *mut jl_value_t,
pub sparam_vals: *mut jl_svec_t,
pub backedges: *mut jl_array_t,
pub inferred: *mut jl_value_t,
pub inferred_const: *mut jl_value_t,
pub def: *mut jl_method_t,
pub min_world: usize,
pub max_world: usize,
pub inInference: u8,
pub jlcall_api: u8,
pub compile_traced: u8,
pub fptr: jl_fptr_t,
pub unspecialized_ducttape: jl_fptr_t,
pub functionObjectsDecls: jl_llvm_functions_t,
}
#[test]
fn bindgen_test_layout__jl_method_instance_t() {
assert_eq!(::std::mem::size_of::<_jl_method_instance_t>() , 112usize ,
concat ! ( "Size of: " , stringify ! ( _jl_method_instance_t )
));
assert_eq! (::std::mem::align_of::<_jl_method_instance_t>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( _jl_method_instance_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . specTypes as
* const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( specTypes ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . rettype as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( rettype ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . sparam_vals
as * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( sparam_vals ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . backedges as
* const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( backedges ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . inferred as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( inferred ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) .
inferred_const as * const _ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( inferred_const ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . def as *
const _ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( def ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . min_world as
* const _ as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( min_world ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . max_world as
* const _ as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( max_world ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . inInference
as * const _ as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( inInference ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . jlcall_api as
* const _ as usize } , 73usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( jlcall_api ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) .
compile_traced as * const _ as usize } , 74usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( compile_traced ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) . fptr as *
const _ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( fptr ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) .
unspecialized_ducttape as * const _ as usize } , 88usize ,
concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( unspecialized_ducttape ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_instance_t ) ) .
functionObjectsDecls as * const _ as usize } , 96usize ,
concat ! (
"Alignment of field: " , stringify ! ( _jl_method_instance_t )
, "::" , stringify ! ( functionObjectsDecls ) ));
}
impl Clone for _jl_method_instance_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_typemap_t {
pub node: __BindgenUnionField<*mut _jl_typemap_level_t>,
pub leaf: __BindgenUnionField<*mut _jl_typemap_entry_t>,
pub unknown: __BindgenUnionField<*mut _jl_value_t>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_jl_typemap_t() {
assert_eq!(::std::mem::size_of::<jl_typemap_t>() , 8usize , concat ! (
"Size of: " , stringify ! ( jl_typemap_t ) ));
assert_eq! (::std::mem::align_of::<jl_typemap_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_typemap_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typemap_t ) ) . node as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typemap_t ) , "::" ,
stringify ! ( node ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typemap_t ) ) . leaf as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typemap_t ) , "::" ,
stringify ! ( leaf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typemap_t ) ) . unknown as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typemap_t ) , "::" ,
stringify ! ( unknown ) ));
}
impl Clone for jl_typemap_t {
fn clone(&self) -> Self { *self }
}
pub type jl_fptr_t =
::std::option::Option<unsafe extern "C" fn(arg1: *mut jl_value_t,
arg2: *mut *mut jl_value_t,
arg3: u32) -> *mut jl_value_t>;
pub type jl_fptr_sparam_t =
::std::option::Option<unsafe extern "C" fn(arg1: *mut jl_svec_t,
arg2: *mut jl_value_t,
arg3: *mut *mut jl_value_t,
arg4: u32) -> *mut jl_value_t>;
pub type jl_fptr_linfo_t =
::std::option::Option<unsafe extern "C" fn(arg1:
*mut _jl_method_instance_t,
arg2: *mut *mut jl_value_t,
arg3: u32,
arg4: *mut jl_svec_t)
-> *mut jl_value_t>;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_generic_fptr_t {
pub __bindgen_anon_1: jl_generic_fptr_t__bindgen_ty_1,
pub jlcall_api: u8,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_generic_fptr_t__bindgen_ty_1 {
pub fptr: __BindgenUnionField<jl_fptr_t>,
pub fptr1: __BindgenUnionField<jl_fptr_t>,
pub fptr3: __BindgenUnionField<jl_fptr_sparam_t>,
pub fptr4: __BindgenUnionField<jl_fptr_linfo_t>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_jl_generic_fptr_t__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<jl_generic_fptr_t__bindgen_ty_1>() ,
8usize , concat ! (
"Size of: " , stringify ! ( jl_generic_fptr_t__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<jl_generic_fptr_t__bindgen_ty_1>() ,
8usize , concat ! (
"Alignment of " , stringify ! (
jl_generic_fptr_t__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_generic_fptr_t__bindgen_ty_1 ) ) .
fptr as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
jl_generic_fptr_t__bindgen_ty_1 ) , "::" , stringify ! ( fptr
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_generic_fptr_t__bindgen_ty_1 ) ) .
fptr1 as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
jl_generic_fptr_t__bindgen_ty_1 ) , "::" , stringify ! ( fptr1
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_generic_fptr_t__bindgen_ty_1 ) ) .
fptr3 as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
jl_generic_fptr_t__bindgen_ty_1 ) , "::" , stringify ! ( fptr3
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_generic_fptr_t__bindgen_ty_1 ) ) .
fptr4 as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
jl_generic_fptr_t__bindgen_ty_1 ) , "::" , stringify ! ( fptr4
) ));
}
impl Clone for jl_generic_fptr_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_jl_generic_fptr_t() {
assert_eq!(::std::mem::size_of::<jl_generic_fptr_t>() , 16usize , concat !
( "Size of: " , stringify ! ( jl_generic_fptr_t ) ));
assert_eq! (::std::mem::align_of::<jl_generic_fptr_t>() , 8usize , concat
! ( "Alignment of " , stringify ! ( jl_generic_fptr_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_generic_fptr_t ) ) . jlcall_api as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_generic_fptr_t ) ,
"::" , stringify ! ( jlcall_api ) ));
}
impl Clone for jl_generic_fptr_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_llvm_functions_t {
pub functionObject: *mut ::std::os::raw::c_void,
pub specFunctionObject: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout__jl_llvm_functions_t() {
assert_eq!(::std::mem::size_of::<_jl_llvm_functions_t>() , 16usize ,
concat ! ( "Size of: " , stringify ! ( _jl_llvm_functions_t )
));
assert_eq! (::std::mem::align_of::<_jl_llvm_functions_t>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( _jl_llvm_functions_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_llvm_functions_t ) ) . functionObject
as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_llvm_functions_t )
, "::" , stringify ! ( functionObject ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_llvm_functions_t ) ) .
specFunctionObject as * const _ as usize } , 8usize , concat !
(
"Alignment of field: " , stringify ! ( _jl_llvm_functions_t )
, "::" , stringify ! ( specFunctionObject ) ));
}
impl Clone for _jl_llvm_functions_t {
fn clone(&self) -> Self { *self }
}
pub type jl_llvm_functions_t = _jl_llvm_functions_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_code_info_t {
pub code: *mut jl_array_t,
pub slottypes: *mut jl_value_t,
pub ssavaluetypes: *mut jl_value_t,
pub slotflags: *mut jl_array_t,
pub slotnames: *mut jl_array_t,
pub inferred: u8,
pub inlineable: u8,
pub propagate_inbounds: u8,
pub pure_: u8,
}
#[test]
fn bindgen_test_layout__jl_code_info_t() {
assert_eq!(::std::mem::size_of::<_jl_code_info_t>() , 48usize , concat ! (
"Size of: " , stringify ! ( _jl_code_info_t ) ));
assert_eq! (::std::mem::align_of::<_jl_code_info_t>() , 8usize , concat !
( "Alignment of " , stringify ! ( _jl_code_info_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_code_info_t ) ) . code as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_code_info_t ) ,
"::" , stringify ! ( code ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_code_info_t ) ) . slottypes as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_code_info_t ) ,
"::" , stringify ! ( slottypes ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_code_info_t ) ) . ssavaluetypes as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_code_info_t ) ,
"::" , stringify ! ( ssavaluetypes ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_code_info_t ) ) . slotflags as *
const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_code_info_t ) ,
"::" , stringify ! ( slotflags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_code_info_t ) ) . slotnames as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_code_info_t ) ,
"::" , stringify ! ( slotnames ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_code_info_t ) ) . inferred as * const
_ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_code_info_t ) ,
"::" , stringify ! ( inferred ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_code_info_t ) ) . inlineable as *
const _ as usize } , 41usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_code_info_t ) ,
"::" , stringify ! ( inlineable ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_code_info_t ) ) . propagate_inbounds
as * const _ as usize } , 42usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_code_info_t ) ,
"::" , stringify ! ( propagate_inbounds ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_code_info_t ) ) . pure_ as * const _
as usize } , 43usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_code_info_t ) ,
"::" , stringify ! ( pure_ ) ));
}
impl Clone for _jl_code_info_t {
fn clone(&self) -> Self { *self }
}
pub type jl_code_info_t = _jl_code_info_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_method_t {
pub name: *mut jl_sym_t,
pub module: *mut _jl_module_t,
pub file: *mut jl_sym_t,
pub line: i32,
pub sig: *mut jl_value_t,
pub min_world: usize,
pub ambig: *mut jl_value_t,
pub specializations: jl_typemap_t,
pub sparam_syms: *mut jl_svec_t,
pub source: *mut jl_value_t,
pub unspecialized: *mut _jl_method_instance_t,
pub generator: *mut _jl_method_instance_t,
pub roots: *mut jl_array_t,
pub invokes: jl_typemap_t,
pub nargs: i32,
pub called: i32,
pub isva: u8,
pub isstaged: u8,
pub pure_: u8,
pub traced: u8,
pub writelock: jl_mutex_t,
}
#[test]
fn bindgen_test_layout__jl_method_t() {
assert_eq!(::std::mem::size_of::<_jl_method_t>() , 144usize , concat ! (
"Size of: " , stringify ! ( _jl_method_t ) ));
assert_eq! (::std::mem::align_of::<_jl_method_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _jl_method_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . module as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( module ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . file as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( file ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . line as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( line ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . sig as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( sig ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . min_world as * const _
as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( min_world ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . ambig as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( ambig ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . specializations as *
const _ as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( specializations ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . sparam_syms as * const
_ as usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( sparam_syms ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . source as * const _ as
usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( source ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . unspecialized as *
const _ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( unspecialized ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . generator as * const _
as usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( generator ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . roots as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( roots ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . invokes as * const _
as usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( invokes ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . nargs as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( nargs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . called as * const _ as
usize } , 116usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( called ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . isva as * const _ as
usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( isva ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . isstaged as * const _
as usize } , 121usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( isstaged ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . pure_ as * const _ as
usize } , 122usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( pure_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . traced as * const _ as
usize } , 123usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( traced ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_method_t ) ) . writelock as * const _
as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_method_t ) , "::" ,
stringify ! ( writelock ) ));
}
impl Clone for _jl_method_t {
fn clone(&self) -> Self { *self }
}
pub type jl_method_t = _jl_method_t;
pub type jl_method_instance_t = _jl_method_instance_t;
pub type jl_function_t = jl_value_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_tvar_t {
pub name: *mut jl_sym_t,
pub lb: *mut jl_value_t,
pub ub: *mut jl_value_t,
}
#[test]
fn bindgen_test_layout_jl_tvar_t() {
assert_eq!(::std::mem::size_of::<jl_tvar_t>() , 24usize , concat ! (
"Size of: " , stringify ! ( jl_tvar_t ) ));
assert_eq! (::std::mem::align_of::<jl_tvar_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_tvar_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_tvar_t ) ) . name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_tvar_t ) , "::" ,
stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_tvar_t ) ) . lb as * const _ as usize
} , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_tvar_t ) , "::" ,
stringify ! ( lb ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_tvar_t ) ) . ub as * const _ as usize
} , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_tvar_t ) , "::" ,
stringify ! ( ub ) ));
}
impl Clone for jl_tvar_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_unionall_t {
pub var: *mut jl_tvar_t,
pub body: *mut jl_value_t,
}
#[test]
fn bindgen_test_layout_jl_unionall_t() {
assert_eq!(::std::mem::size_of::<jl_unionall_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( jl_unionall_t ) ));
assert_eq! (::std::mem::align_of::<jl_unionall_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_unionall_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_unionall_t ) ) . var as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_unionall_t ) , "::"
, stringify ! ( var ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_unionall_t ) ) . body as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_unionall_t ) , "::"
, stringify ! ( body ) ));
}
impl Clone for jl_unionall_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_typename_t {
pub name: *mut jl_sym_t,
pub module: *mut _jl_module_t,
pub names: *mut jl_svec_t,
pub wrapper: *mut jl_value_t,
pub cache: *mut jl_svec_t,
pub linearcache: *mut jl_svec_t,
pub hash: isize,
pub mt: *mut _jl_methtable_t,
}
#[test]
fn bindgen_test_layout_jl_typename_t() {
assert_eq!(::std::mem::size_of::<jl_typename_t>() , 64usize , concat ! (
"Size of: " , stringify ! ( jl_typename_t ) ));
assert_eq! (::std::mem::align_of::<jl_typename_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_typename_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typename_t ) ) . name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typename_t ) , "::"
, stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typename_t ) ) . module as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typename_t ) , "::"
, stringify ! ( module ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typename_t ) ) . names as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typename_t ) , "::"
, stringify ! ( names ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typename_t ) ) . wrapper as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typename_t ) , "::"
, stringify ! ( wrapper ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typename_t ) ) . cache as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typename_t ) , "::"
, stringify ! ( cache ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typename_t ) ) . linearcache as *
const _ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typename_t ) , "::"
, stringify ! ( linearcache ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typename_t ) ) . hash as * const _ as
usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typename_t ) , "::"
, stringify ! ( hash ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_typename_t ) ) . mt as * const _ as
usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( jl_typename_t ) , "::"
, stringify ! ( mt ) ));
}
impl Clone for jl_typename_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_uniontype_t {
pub a: *mut jl_value_t,
pub b: *mut jl_value_t,
}
#[test]
fn bindgen_test_layout_jl_uniontype_t() {
assert_eq!(::std::mem::size_of::<jl_uniontype_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( jl_uniontype_t ) ));
assert_eq! (::std::mem::align_of::<jl_uniontype_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_uniontype_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_uniontype_t ) ) . a as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_uniontype_t ) , "::"
, stringify ! ( a ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_uniontype_t ) ) . b as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_uniontype_t ) , "::"
, stringify ! ( b ) ));
}
impl Clone for jl_uniontype_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_fielddesc8_t {
pub _bitfield_1: u8,
pub offset: u8,
}
#[test]
fn bindgen_test_layout_jl_fielddesc8_t() {
assert_eq!(::std::mem::size_of::<jl_fielddesc8_t>() , 2usize , concat ! (
"Size of: " , stringify ! ( jl_fielddesc8_t ) ));
assert_eq! (::std::mem::align_of::<jl_fielddesc8_t>() , 1usize , concat !
( "Alignment of " , stringify ! ( jl_fielddesc8_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_fielddesc8_t ) ) . offset as * const _
as usize } , 1usize , concat ! (
"Alignment of field: " , stringify ! ( jl_fielddesc8_t ) ,
"::" , stringify ! ( offset ) ));
}
impl Clone for jl_fielddesc8_t {
fn clone(&self) -> Self { *self }
}
impl jl_fielddesc8_t {
#[inline]
pub fn isptr(&self) -> u8 {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 1u64 as u8;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_isptr(&mut self, val: u8) {
let mask = 1u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn size(&self) -> u8 {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 254u64 as u8;
let val = (unit_field_val & mask) >> 1usize;
unsafe { ::std::mem::transmute(val as u8) }
}
#[inline]
pub fn set_size(&mut self, val: u8) {
let mask = 254u64 as u8;
let val = val as u8 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 1usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn new_bitfield_1(isptr: u8, size: u8) -> u8 {
({ ({ 0 } | ((isptr as u8 as u8) << 0usize) & (1u64 as u8)) } |
((size as u8 as u8) << 1usize) & (254u64 as u8))
}
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_fielddesc16_t {
pub _bitfield_1: u16,
pub offset: u16,
}
#[test]
fn bindgen_test_layout_jl_fielddesc16_t() {
assert_eq!(::std::mem::size_of::<jl_fielddesc16_t>() , 4usize , concat ! (
"Size of: " , stringify ! ( jl_fielddesc16_t ) ));
assert_eq! (::std::mem::align_of::<jl_fielddesc16_t>() , 2usize , concat !
( "Alignment of " , stringify ! ( jl_fielddesc16_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_fielddesc16_t ) ) . offset as * const
_ as usize } , 2usize , concat ! (
"Alignment of field: " , stringify ! ( jl_fielddesc16_t ) ,
"::" , stringify ! ( offset ) ));
}
impl Clone for jl_fielddesc16_t {
fn clone(&self) -> Self { *self }
}
impl jl_fielddesc16_t {
#[inline]
pub fn isptr(&self) -> u16 {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 1u64 as u16;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_isptr(&mut self, val: u16) {
let mask = 1u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn size(&self) -> u16 {
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
let mask = 65534u64 as u16;
let val = (unit_field_val & mask) >> 1usize;
unsafe { ::std::mem::transmute(val as u16) }
}
#[inline]
pub fn set_size(&mut self, val: u16) {
let mask = 65534u64 as u16;
let val = val as u16 as u16;
let mut unit_field_val: u16 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u16 as
*mut u8,
::std::mem::size_of::<u16>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 1usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u16>());
}
}
#[inline]
pub fn new_bitfield_1(isptr: u16, size: u16) -> u16 {
({ ({ 0 } | ((isptr as u16 as u16) << 0usize) & (1u64 as u16)) } |
((size as u16 as u16) << 1usize) & (65534u64 as u16))
}
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_fielddesc32_t {
pub _bitfield_1: u32,
pub offset: u32,
}
#[test]
fn bindgen_test_layout_jl_fielddesc32_t() {
assert_eq!(::std::mem::size_of::<jl_fielddesc32_t>() , 8usize , concat ! (
"Size of: " , stringify ! ( jl_fielddesc32_t ) ));
assert_eq! (::std::mem::align_of::<jl_fielddesc32_t>() , 4usize , concat !
( "Alignment of " , stringify ! ( jl_fielddesc32_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_fielddesc32_t ) ) . offset as * const
_ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( jl_fielddesc32_t ) ,
"::" , stringify ! ( offset ) ));
}
impl Clone for jl_fielddesc32_t {
fn clone(&self) -> Self { *self }
}
impl jl_fielddesc32_t {
#[inline]
pub fn isptr(&self) -> u32 {
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
let mask = 1u64 as u32;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_isptr(&mut self, val: u32) {
let mask = 1u64 as u32;
let val = val as u32 as u32;
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u32>());
}
}
#[inline]
pub fn size(&self) -> u32 {
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
let mask = 4294967294u64 as u32;
let val = (unit_field_val & mask) >> 1usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_size(&mut self, val: u32) {
let mask = 4294967294u64 as u32;
let val = val as u32 as u32;
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 1usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u32>());
}
}
#[inline]
pub fn new_bitfield_1(isptr: u32, size: u32) -> u32 {
({ ({ 0 } | ((isptr as u32 as u32) << 0usize) & (1u64 as u32)) } |
((size as u32 as u32) << 1usize) & (4294967294u64 as u32))
}
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_datatype_layout_t {
pub nfields: u32,
pub _bitfield_1: u32,
}
#[test]
fn bindgen_test_layout_jl_datatype_layout_t() {
assert_eq!(::std::mem::size_of::<jl_datatype_layout_t>() , 8usize , concat
! ( "Size of: " , stringify ! ( jl_datatype_layout_t ) ));
assert_eq! (::std::mem::align_of::<jl_datatype_layout_t>() , 4usize ,
concat ! (
"Alignment of " , stringify ! ( jl_datatype_layout_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_datatype_layout_t ) ) . nfields as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_datatype_layout_t )
, "::" , stringify ! ( nfields ) ));
}
impl Clone for jl_datatype_layout_t {
fn clone(&self) -> Self { *self }
}
impl jl_datatype_layout_t {
#[inline]
pub fn alignment(&self) -> u32 {
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
let mask = 511u64 as u32;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_alignment(&mut self, val: u32) {
let mask = 511u64 as u32;
let val = val as u32 as u32;
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u32>());
}
}
#[inline]
pub fn haspadding(&self) -> u32 {
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
let mask = 512u64 as u32;
let val = (unit_field_val & mask) >> 9usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_haspadding(&mut self, val: u32) {
let mask = 512u64 as u32;
let val = val as u32 as u32;
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 9usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u32>());
}
}
#[inline]
pub fn npointers(&self) -> u32 {
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
let mask = 1073740800u64 as u32;
let val = (unit_field_val & mask) >> 10usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_npointers(&mut self, val: u32) {
let mask = 1073740800u64 as u32;
let val = val as u32 as u32;
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 10usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u32>());
}
}
#[inline]
pub fn fielddesc_type(&self) -> u32 {
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
let mask = 3221225472u64 as u32;
let val = (unit_field_val & mask) >> 30usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_fielddesc_type(&mut self, val: u32) {
let mask = 3221225472u64 as u32;
let val = val as u32 as u32;
let mut unit_field_val: u32 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u32 as
*mut u8,
::std::mem::size_of::<u32>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 30usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u32>());
}
}
#[inline]
pub fn new_bitfield_1(alignment: u32, haspadding: u32, npointers: u32,
fielddesc_type: u32) -> u32 {
({
({
({
({ 0 } |
((alignment as u32 as u32) << 0usize) &
(511u64 as u32))
} |
((haspadding as u32 as u32) << 9usize) &
(512u64 as u32))
} |
((npointers as u32 as u32) << 10usize) &
(1073740800u64 as u32))
} |
((fielddesc_type as u32 as u32) << 30usize) &
(3221225472u64 as u32))
}
}
pub type jl_datatype_t = _jl_datatype_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_weakref_t {
pub value: *mut jl_value_t,
}
#[test]
fn bindgen_test_layout_jl_weakref_t() {
assert_eq!(::std::mem::size_of::<jl_weakref_t>() , 8usize , concat ! (
"Size of: " , stringify ! ( jl_weakref_t ) ));
assert_eq! (::std::mem::align_of::<jl_weakref_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_weakref_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_weakref_t ) ) . value as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_weakref_t ) , "::" ,
stringify ! ( value ) ));
}
impl Clone for jl_weakref_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_binding_t {
pub name: *mut jl_sym_t,
pub value: *mut jl_value_t,
pub globalref: *mut jl_value_t,
pub owner: *mut _jl_module_t,
pub _bitfield_1: u8,
pub __bindgen_padding_0: [u8; 7usize],
}
#[test]
fn bindgen_test_layout_jl_binding_t() {
assert_eq!(::std::mem::size_of::<jl_binding_t>() , 40usize , concat ! (
"Size of: " , stringify ! ( jl_binding_t ) ));
assert_eq! (::std::mem::align_of::<jl_binding_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_binding_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_binding_t ) ) . name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_binding_t ) , "::" ,
stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_binding_t ) ) . value as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_binding_t ) , "::" ,
stringify ! ( value ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_binding_t ) ) . globalref as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_binding_t ) , "::" ,
stringify ! ( globalref ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_binding_t ) ) . owner as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( jl_binding_t ) , "::" ,
stringify ! ( owner ) ));
}
impl Clone for jl_binding_t {
fn clone(&self) -> Self { *self }
}
impl jl_binding_t {
#[inline]
pub fn constp(&self) -> ::std::os::raw::c_uint {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 1u64 as u8;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_constp(&mut self, val: ::std::os::raw::c_uint) {
let mask = 1u64 as u8;
let val = val as u32 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn exportp(&self) -> ::std::os::raw::c_uint {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 2u64 as u8;
let val = (unit_field_val & mask) >> 1usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_exportp(&mut self, val: ::std::os::raw::c_uint) {
let mask = 2u64 as u8;
let val = val as u32 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 1usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn imported(&self) -> ::std::os::raw::c_uint {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 4u64 as u8;
let val = (unit_field_val & mask) >> 2usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_imported(&mut self, val: ::std::os::raw::c_uint) {
let mask = 4u64 as u8;
let val = val as u32 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 2usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn deprecated(&self) -> ::std::os::raw::c_uint {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 8u64 as u8;
let val = (unit_field_val & mask) >> 3usize;
unsafe { ::std::mem::transmute(val as u32) }
}
#[inline]
pub fn set_deprecated(&mut self, val: ::std::os::raw::c_uint) {
let mask = 8u64 as u8;
let val = val as u32 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 3usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn new_bitfield_1(constp: ::std::os::raw::c_uint,
exportp: ::std::os::raw::c_uint,
imported: ::std::os::raw::c_uint,
deprecated: ::std::os::raw::c_uint) -> u8 {
({
({
({
({ 0 } |
((constp as u32 as u8) << 0usize) & (1u64 as u8))
} | ((exportp as u32 as u8) << 1usize) & (2u64 as u8))
} | ((imported as u32 as u8) << 2usize) & (4u64 as u8))
} | ((deprecated as u32 as u8) << 3usize) & (8u64 as u8))
}
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_module_t {
pub name: *mut jl_sym_t,
pub parent: *mut _jl_module_t,
pub bindings: htable_t,
pub usings: arraylist_t,
pub istopmod: u8,
pub uuid: u64,
pub primary_world: usize,
pub counter: u32,
}
#[test]
fn bindgen_test_layout__jl_module_t() {
assert_eq!(::std::mem::size_of::<_jl_module_t>() , 576usize , concat ! (
"Size of: " , stringify ! ( _jl_module_t ) ));
assert_eq! (::std::mem::align_of::<_jl_module_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _jl_module_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_module_t ) ) . name as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_module_t ) , "::" ,
stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_module_t ) ) . parent as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_module_t ) , "::" ,
stringify ! ( parent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_module_t ) ) . bindings as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_module_t ) , "::" ,
stringify ! ( bindings ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_module_t ) ) . usings as * const _ as
usize } , 288usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_module_t ) , "::" ,
stringify ! ( usings ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_module_t ) ) . istopmod as * const _
as usize } , 544usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_module_t ) , "::" ,
stringify ! ( istopmod ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_module_t ) ) . uuid as * const _ as
usize } , 552usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_module_t ) , "::" ,
stringify ! ( uuid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_module_t ) ) . primary_world as *
const _ as usize } , 560usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_module_t ) , "::" ,
stringify ! ( primary_world ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_module_t ) ) . counter as * const _
as usize } , 568usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_module_t ) , "::" ,
stringify ! ( counter ) ));
}
impl Clone for _jl_module_t {
fn clone(&self) -> Self { *self }
}
pub type jl_module_t = _jl_module_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_typemap_entry_t {
pub next: *mut _jl_typemap_entry_t,
pub sig: *mut jl_tupletype_t,
pub simplesig: *mut jl_tupletype_t,
pub guardsigs: *mut jl_svec_t,
pub min_world: usize,
pub max_world: usize,
pub func: _jl_typemap_entry_t__bindgen_ty_1,
pub isleafsig: i8,
pub issimplesig: i8,
pub va: i8,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_typemap_entry_t__bindgen_ty_1 {
pub value: __BindgenUnionField<*mut jl_value_t>,
pub linfo: __BindgenUnionField<*mut jl_method_instance_t>,
pub method: __BindgenUnionField<*mut jl_method_t>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout__jl_typemap_entry_t__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<_jl_typemap_entry_t__bindgen_ty_1>() ,
8usize , concat ! (
"Size of: " , stringify ! ( _jl_typemap_entry_t__bindgen_ty_1 )
));
assert_eq! (::std::mem::align_of::<_jl_typemap_entry_t__bindgen_ty_1>() ,
8usize , concat ! (
"Alignment of " , stringify ! (
_jl_typemap_entry_t__bindgen_ty_1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t__bindgen_ty_1 ) ) .
value as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
_jl_typemap_entry_t__bindgen_ty_1 ) , "::" , stringify ! (
value ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t__bindgen_ty_1 ) ) .
linfo as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
_jl_typemap_entry_t__bindgen_ty_1 ) , "::" , stringify ! (
linfo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t__bindgen_ty_1 ) ) .
method as * const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! (
_jl_typemap_entry_t__bindgen_ty_1 ) , "::" , stringify ! (
method ) ));
}
impl Clone for _jl_typemap_entry_t__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout__jl_typemap_entry_t() {
assert_eq!(::std::mem::size_of::<_jl_typemap_entry_t>() , 64usize , concat
! ( "Size of: " , stringify ! ( _jl_typemap_entry_t ) ));
assert_eq! (::std::mem::align_of::<_jl_typemap_entry_t>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( _jl_typemap_entry_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . next as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( next ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . sig as * const
_ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( sig ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . simplesig as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( simplesig ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . guardsigs as *
const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( guardsigs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . min_world as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( min_world ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . max_world as *
const _ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( max_world ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . func as * const
_ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( func ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . isleafsig as *
const _ as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( isleafsig ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . issimplesig as
* const _ as usize } , 57usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( issimplesig ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_entry_t ) ) . va as * const _
as usize } , 58usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_entry_t ) ,
"::" , stringify ! ( va ) ));
}
impl Clone for _jl_typemap_entry_t {
fn clone(&self) -> Self { *self }
}
pub type jl_typemap_entry_t = _jl_typemap_entry_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_ordereddict_t {
pub indexes: *mut jl_array_t,
pub values: *mut jl_array_t,
}
#[test]
fn bindgen_test_layout_jl_ordereddict_t() {
assert_eq!(::std::mem::size_of::<jl_ordereddict_t>() , 16usize , concat !
( "Size of: " , stringify ! ( jl_ordereddict_t ) ));
assert_eq! (::std::mem::align_of::<jl_ordereddict_t>() , 8usize , concat !
( "Alignment of " , stringify ! ( jl_ordereddict_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_ordereddict_t ) ) . indexes as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_ordereddict_t ) ,
"::" , stringify ! ( indexes ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_ordereddict_t ) ) . values as * const
_ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_ordereddict_t ) ,
"::" , stringify ! ( values ) ));
}
impl Clone for jl_ordereddict_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_typemap_level_t {
pub arg1: jl_ordereddict_t,
pub targ: jl_ordereddict_t,
pub linear: *mut jl_typemap_entry_t,
pub any: jl_typemap_t,
pub key: *mut jl_value_t,
}
#[test]
fn bindgen_test_layout__jl_typemap_level_t() {
assert_eq!(::std::mem::size_of::<_jl_typemap_level_t>() , 56usize , concat
! ( "Size of: " , stringify ! ( _jl_typemap_level_t ) ));
assert_eq! (::std::mem::align_of::<_jl_typemap_level_t>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( _jl_typemap_level_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_level_t ) ) . arg1 as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_level_t ) ,
"::" , stringify ! ( arg1 ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_level_t ) ) . targ as * const
_ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_level_t ) ,
"::" , stringify ! ( targ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_level_t ) ) . linear as *
const _ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_level_t ) ,
"::" , stringify ! ( linear ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_level_t ) ) . any as * const
_ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_level_t ) ,
"::" , stringify ! ( any ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_typemap_level_t ) ) . key as * const
_ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_typemap_level_t ) ,
"::" , stringify ! ( key ) ));
}
impl Clone for _jl_typemap_level_t {
fn clone(&self) -> Self { *self }
}
pub type jl_typemap_level_t = _jl_typemap_level_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_methtable_t {
pub name: *mut jl_sym_t,
pub defs: jl_typemap_t,
pub cache: jl_typemap_t,
pub max_args: isize,
pub kwsorter: *mut jl_value_t,
pub module: *mut jl_module_t,
pub backedges: *mut jl_array_t,
pub writelock: jl_mutex_t,
}
#[test]
fn bindgen_test_layout__jl_methtable_t() {
assert_eq!(::std::mem::size_of::<_jl_methtable_t>() , 72usize , concat ! (
"Size of: " , stringify ! ( _jl_methtable_t ) ));
assert_eq! (::std::mem::align_of::<_jl_methtable_t>() , 8usize , concat !
( "Alignment of " , stringify ! ( _jl_methtable_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_methtable_t ) ) . name as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_methtable_t ) ,
"::" , stringify ! ( name ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_methtable_t ) ) . defs as * const _
as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_methtable_t ) ,
"::" , stringify ! ( defs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_methtable_t ) ) . cache as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_methtable_t ) ,
"::" , stringify ! ( cache ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_methtable_t ) ) . max_args as * const
_ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_methtable_t ) ,
"::" , stringify ! ( max_args ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_methtable_t ) ) . kwsorter as * const
_ as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_methtable_t ) ,
"::" , stringify ! ( kwsorter ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_methtable_t ) ) . module as * const _
as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_methtable_t ) ,
"::" , stringify ! ( module ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_methtable_t ) ) . backedges as *
const _ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_methtable_t ) ,
"::" , stringify ! ( backedges ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_methtable_t ) ) . writelock as *
const _ as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_methtable_t ) ,
"::" , stringify ! ( writelock ) ));
}
impl Clone for _jl_methtable_t {
fn clone(&self) -> Self { *self }
}
pub type jl_methtable_t = _jl_methtable_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_expr_t {
pub head: *mut jl_sym_t,
pub args: *mut jl_array_t,
pub etype: *mut jl_value_t,
}
#[test]
fn bindgen_test_layout_jl_expr_t() {
assert_eq!(::std::mem::size_of::<jl_expr_t>() , 24usize , concat ! (
"Size of: " , stringify ! ( jl_expr_t ) ));
assert_eq! (::std::mem::align_of::<jl_expr_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_expr_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_expr_t ) ) . head as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_expr_t ) , "::" ,
stringify ! ( head ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_expr_t ) ) . args as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_expr_t ) , "::" ,
stringify ! ( args ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_expr_t ) ) . etype as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_expr_t ) , "::" ,
stringify ! ( etype ) ));
}
impl Clone for jl_expr_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
#[link_name = "jl_typeofbottom_type"]
pub static mut jl_typeofbottom_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_datatype_type"]
pub static mut jl_datatype_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_uniontype_type"]
pub static mut jl_uniontype_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_unionall_type"]
pub static mut jl_unionall_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_tvar_type"]
pub static mut jl_tvar_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_any_type"]
pub static mut jl_any_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_type_type"]
pub static mut jl_type_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_typetype_type"]
pub static mut jl_typetype_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_ANY_flag"]
pub static mut jl_ANY_flag: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_typename_type"]
pub static mut jl_typename_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_type_typename"]
pub static mut jl_type_typename: *mut jl_typename_t;
}
extern "C" {
#[link_name = "jl_sym_type"]
pub static mut jl_sym_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_symbol_type"]
pub static mut jl_symbol_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_ssavalue_type"]
pub static mut jl_ssavalue_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_abstractslot_type"]
pub static mut jl_abstractslot_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_slotnumber_type"]
pub static mut jl_slotnumber_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_typedslot_type"]
pub static mut jl_typedslot_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_simplevector_type"]
pub static mut jl_simplevector_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_tuple_typename"]
pub static mut jl_tuple_typename: *mut jl_typename_t;
}
extern "C" {
#[link_name = "jl_vecelement_typename"]
pub static mut jl_vecelement_typename: *mut jl_typename_t;
}
extern "C" {
#[link_name = "jl_anytuple_type"]
pub static mut jl_anytuple_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_emptytuple_type"]
pub static mut jl_emptytuple_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_anytuple_type_type"]
pub static mut jl_anytuple_type_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_vararg_type"]
pub static mut jl_vararg_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_vararg_typename"]
pub static mut jl_vararg_typename: *mut jl_typename_t;
}
extern "C" {
#[link_name = "jl_task_type"]
pub static mut jl_task_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_function_type"]
pub static mut jl_function_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_builtin_type"]
pub static mut jl_builtin_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_bottom_type"]
pub static mut jl_bottom_type: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_method_instance_type"]
pub static mut jl_method_instance_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_code_info_type"]
pub static mut jl_code_info_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_method_type"]
pub static mut jl_method_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_module_type"]
pub static mut jl_module_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_abstractarray_type"]
pub static mut jl_abstractarray_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_densearray_type"]
pub static mut jl_densearray_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_array_type"]
pub static mut jl_array_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_array_typename"]
pub static mut jl_array_typename: *mut jl_typename_t;
}
extern "C" {
#[link_name = "jl_weakref_type"]
pub static mut jl_weakref_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_abstractstring_type"]
pub static mut jl_abstractstring_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_string_type"]
pub static mut jl_string_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_errorexception_type"]
pub static mut jl_errorexception_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_argumenterror_type"]
pub static mut jl_argumenterror_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_loaderror_type"]
pub static mut jl_loaderror_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_initerror_type"]
pub static mut jl_initerror_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_typeerror_type"]
pub static mut jl_typeerror_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_methoderror_type"]
pub static mut jl_methoderror_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_undefvarerror_type"]
pub static mut jl_undefvarerror_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_stackovf_exception"]
pub static mut jl_stackovf_exception: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_memory_exception"]
pub static mut jl_memory_exception: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_readonlymemory_exception"]
pub static mut jl_readonlymemory_exception: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_diverror_exception"]
pub static mut jl_diverror_exception: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_domain_exception"]
pub static mut jl_domain_exception: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_overflow_exception"]
pub static mut jl_overflow_exception: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_inexact_exception"]
pub static mut jl_inexact_exception: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_undefref_exception"]
pub static mut jl_undefref_exception: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_interrupt_exception"]
pub static mut jl_interrupt_exception: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_boundserror_type"]
pub static mut jl_boundserror_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_an_empty_vec_any"]
pub static mut jl_an_empty_vec_any: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_bool_type"]
pub static mut jl_bool_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_char_type"]
pub static mut jl_char_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_int8_type"]
pub static mut jl_int8_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_uint8_type"]
pub static mut jl_uint8_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_int16_type"]
pub static mut jl_int16_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_uint16_type"]
pub static mut jl_uint16_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_int32_type"]
pub static mut jl_int32_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_uint32_type"]
pub static mut jl_uint32_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_int64_type"]
pub static mut jl_int64_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_uint64_type"]
pub static mut jl_uint64_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_float16_type"]
pub static mut jl_float16_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_float32_type"]
pub static mut jl_float32_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_float64_type"]
pub static mut jl_float64_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_floatingpoint_type"]
pub static mut jl_floatingpoint_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_number_type"]
pub static mut jl_number_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_void_type"]
pub static mut jl_void_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_complex_type"]
pub static mut jl_complex_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_signed_type"]
pub static mut jl_signed_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_voidpointer_type"]
pub static mut jl_voidpointer_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_pointer_type"]
pub static mut jl_pointer_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_ref_type"]
pub static mut jl_ref_type: *mut jl_unionall_t;
}
extern "C" {
#[link_name = "jl_pointer_typename"]
pub static mut jl_pointer_typename: *mut jl_typename_t;
}
extern "C" {
#[link_name = "jl_array_uint8_type"]
pub static mut jl_array_uint8_type: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_array_any_type"]
pub static mut jl_array_any_type: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_array_symbol_type"]
pub static mut jl_array_symbol_type: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_expr_type"]
pub static mut jl_expr_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_globalref_type"]
pub static mut jl_globalref_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_linenumbernode_type"]
pub static mut jl_linenumbernode_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_labelnode_type"]
pub static mut jl_labelnode_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_gotonode_type"]
pub static mut jl_gotonode_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_quotenode_type"]
pub static mut jl_quotenode_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_newvarnode_type"]
pub static mut jl_newvarnode_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_intrinsic_type"]
pub static mut jl_intrinsic_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_methtable_type"]
pub static mut jl_methtable_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_typemap_level_type"]
pub static mut jl_typemap_level_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_typemap_entry_type"]
pub static mut jl_typemap_entry_type: *mut jl_datatype_t;
}
extern "C" {
#[link_name = "jl_emptysvec"]
pub static mut jl_emptysvec: *mut jl_svec_t;
}
extern "C" {
#[link_name = "jl_emptytuple"]
pub static mut jl_emptytuple: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_true"]
pub static mut jl_true: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_false"]
pub static mut jl_false: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_nothing"]
pub static mut jl_nothing: *mut jl_value_t;
}
extern "C" {
#[link_name = "jl_incomplete_sym"]
pub static mut jl_incomplete_sym: *mut jl_sym_t;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_gcframe_t {
pub nroots: usize,
pub prev: *mut _jl_gcframe_t,
}
#[test]
fn bindgen_test_layout__jl_gcframe_t() {
assert_eq!(::std::mem::size_of::<_jl_gcframe_t>() , 16usize , concat ! (
"Size of: " , stringify ! ( _jl_gcframe_t ) ));
assert_eq! (::std::mem::align_of::<_jl_gcframe_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _jl_gcframe_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_gcframe_t ) ) . nroots as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_gcframe_t ) , "::"
, stringify ! ( nroots ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_gcframe_t ) ) . prev as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_gcframe_t ) , "::"
, stringify ! ( prev ) ));
}
impl Clone for _jl_gcframe_t {
fn clone(&self) -> Self { *self }
}
pub type jl_gcframe_t = _jl_gcframe_t;
extern "C" {
pub fn jl_gc_enable(on: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_gc_is_enabled() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_gc_total_bytes() -> i64;
}
extern "C" {
pub fn jl_gc_total_hrtime() -> u64;
}
extern "C" {
pub fn jl_gc_diff_total_bytes() -> i64;
}
extern "C" {
pub fn jl_gc_collect(arg1: ::std::os::raw::c_int);
}
extern "C" {
pub fn jl_gc_add_finalizer(v: *mut jl_value_t, f: *mut jl_function_t);
}
extern "C" {
pub fn jl_finalize(o: *mut jl_value_t);
}
extern "C" {
pub fn jl_gc_new_weakref(value: *mut jl_value_t) -> *mut jl_weakref_t;
}
extern "C" {
pub fn jl_gc_alloc_0w() -> *mut jl_value_t;
}
extern "C" {
pub fn jl_gc_alloc_1w() -> *mut jl_value_t;
}
extern "C" {
pub fn jl_gc_alloc_2w() -> *mut jl_value_t;
}
extern "C" {
pub fn jl_gc_alloc_3w() -> *mut jl_value_t;
}
extern "C" {
pub fn jl_gc_allocobj(sz: usize) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_clear_malloc_data();
}
extern "C" {
pub fn jl_gc_queue_root(root: *mut jl_value_t);
}
extern "C" {
pub fn jl_gc_managed_malloc(sz: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn jl_gc_managed_realloc(d: *mut ::std::os::raw::c_void, sz: usize,
oldsz: usize,
isaligned: ::std::os::raw::c_int,
owner: *mut jl_value_t)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn jl_subtype(a: *mut jl_value_t, b: *mut jl_value_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_egal(a: *mut jl_value_t, b: *mut jl_value_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_object_id(v: *mut jl_value_t) -> usize;
}
extern "C" {
pub fn jl_is_leaf_type(v: *mut jl_value_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_has_free_typevars(v: *mut jl_value_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_has_typevar(t: *mut jl_value_t, v: *mut jl_tvar_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_has_typevar_from_unionall(t: *mut jl_value_t,
ua: *mut jl_unionall_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_subtype_env_size(t: *mut jl_value_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_subtype_env(x: *mut jl_value_t, y: *mut jl_value_t,
env: *mut *mut jl_value_t,
envsz: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_isa(a: *mut jl_value_t, t: *mut jl_value_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_types_equal(a: *mut jl_value_t, b: *mut jl_value_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_type_union(ts: *mut *mut jl_value_t, n: usize)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_type_intersection(a: *mut jl_value_t, b: *mut jl_value_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_has_empty_intersection(x: *mut jl_value_t, y: *mut jl_value_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_type_unionall(v: *mut jl_tvar_t, body: *mut jl_value_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_typename_str(v: *mut jl_value_t)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn jl_typeof_str(v: *mut jl_value_t) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn jl_type_morespecific(a: *mut jl_value_t, b: *mut jl_value_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_unwrap_unionall(v: *mut jl_value_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_rewrap_unionall(t: *mut jl_value_t, u: *mut jl_value_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_new_typename(name: *mut jl_sym_t) -> *mut jl_typename_t;
}
extern "C" {
pub fn jl_new_typevar(name: *mut jl_sym_t, lb: *mut jl_value_t,
ub: *mut jl_value_t) -> *mut jl_tvar_t;
}
extern "C" {
pub fn jl_instantiate_unionall(u: *mut jl_unionall_t, p: *mut jl_value_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_apply_type(tc: *mut jl_value_t, params: *mut *mut jl_value_t,
n: usize) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_apply_type1(tc: *mut jl_value_t, p1: *mut jl_value_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_apply_type2(tc: *mut jl_value_t, p1: *mut jl_value_t,
p2: *mut jl_value_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_apply_tuple_type(params: *mut jl_svec_t) -> *mut jl_tupletype_t;
}
extern "C" {
pub fn jl_apply_tuple_type_v(p: *mut *mut jl_value_t, np: usize)
-> *mut jl_tupletype_t;
}
extern "C" {
pub fn jl_new_datatype(name: *mut jl_sym_t, super_: *mut jl_datatype_t,
parameters: *mut jl_svec_t, fnames: *mut jl_svec_t,
ftypes: *mut jl_svec_t,
abstract_: ::std::os::raw::c_int,
mutabl: ::std::os::raw::c_int,
ninitialized: ::std::os::raw::c_int)
-> *mut jl_datatype_t;
}
extern "C" {
pub fn jl_new_primitivetype(name: *mut jl_value_t,
super_: *mut jl_datatype_t,
parameters: *mut jl_svec_t, nbits: usize)
-> *mut jl_datatype_t;
}
extern "C" {
pub fn jl_new_bits(bt: *mut jl_value_t, data: *mut ::std::os::raw::c_void)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_new_struct(type_: *mut jl_datatype_t, ...) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_new_structv(type_: *mut jl_datatype_t,
args: *mut *mut jl_value_t, na: u32)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_new_struct_uninit(type_: *mut jl_datatype_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_new_method_instance_uninit() -> *mut jl_method_instance_t;
}
extern "C" {
pub fn jl_svec(n: usize, ...) -> *mut jl_svec_t;
}
extern "C" {
pub fn jl_svec1(a: *mut ::std::os::raw::c_void) -> *mut jl_svec_t;
}
extern "C" {
pub fn jl_svec2(a: *mut ::std::os::raw::c_void,
b: *mut ::std::os::raw::c_void) -> *mut jl_svec_t;
}
extern "C" {
pub fn jl_alloc_svec(n: usize) -> *mut jl_svec_t;
}
extern "C" {
pub fn jl_alloc_svec_uninit(n: usize) -> *mut jl_svec_t;
}
extern "C" {
pub fn jl_svec_copy(a: *mut jl_svec_t) -> *mut jl_svec_t;
}
extern "C" {
pub fn jl_svec_fill(n: usize, x: *mut jl_value_t) -> *mut jl_svec_t;
}
extern "C" {
pub fn jl_tupletype_fill(n: usize, v: *mut jl_value_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_symbol(str: *const ::std::os::raw::c_char) -> *mut jl_sym_t;
}
extern "C" {
pub fn jl_symbol_lookup(str: *const ::std::os::raw::c_char)
-> *mut jl_sym_t;
}
extern "C" {
pub fn jl_symbol_n(str: *const ::std::os::raw::c_char, len: usize)
-> *mut jl_sym_t;
}
extern "C" {
pub fn jl_gensym() -> *mut jl_sym_t;
}
extern "C" {
pub fn jl_tagged_gensym(str: *const ::std::os::raw::c_char, len: i32)
-> *mut jl_sym_t;
}
extern "C" {
pub fn jl_get_root_symbol() -> *mut jl_sym_t;
}
extern "C" {
pub fn jl_generic_function_def(name: *mut jl_sym_t,
bp: *mut *mut jl_value_t,
bp_owner: *mut jl_value_t,
bnd: *mut jl_binding_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_method_def(argdata: *mut jl_svec_t, f: *mut jl_code_info_t,
isstaged: *mut jl_value_t);
}
extern "C" {
pub fn jl_code_for_staged(linfo: *mut jl_method_instance_t)
-> *mut jl_code_info_t;
}
extern "C" {
pub fn jl_copy_code_info(src: *mut jl_code_info_t) -> *mut jl_code_info_t;
}
extern "C" {
pub fn jl_get_world_counter() -> usize;
}
extern "C" {
pub fn jl_get_kwsorter(ty: *mut jl_value_t) -> *mut jl_function_t;
}
extern "C" {
pub fn jl_box_bool(x: i8) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_int8(x: i8) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_uint8(x: u8) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_int16(x: i16) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_uint16(x: u16) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_int32(x: i32) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_uint32(x: u32) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_char(x: u32) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_int64(x: i64) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_uint64(x: u64) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_float32(x: f32) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_float64(x: f64) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_voidpointer(x: *mut ::std::os::raw::c_void)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_ssavalue(x: usize) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box_slotnumber(x: usize) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box8(t: *mut jl_datatype_t, x: i8) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box16(t: *mut jl_datatype_t, x: i16) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box32(t: *mut jl_datatype_t, x: i32) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_box64(t: *mut jl_datatype_t, x: i64) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_unbox_bool(v: *mut jl_value_t) -> i8;
}
extern "C" {
pub fn jl_unbox_int8(v: *mut jl_value_t) -> i8;
}
extern "C" {
pub fn jl_unbox_uint8(v: *mut jl_value_t) -> u8;
}
extern "C" {
pub fn jl_unbox_int16(v: *mut jl_value_t) -> i16;
}
extern "C" {
pub fn jl_unbox_uint16(v: *mut jl_value_t) -> u16;
}
extern "C" {
pub fn jl_unbox_int32(v: *mut jl_value_t) -> i32;
}
extern "C" {
pub fn jl_unbox_uint32(v: *mut jl_value_t) -> u32;
}
extern "C" {
pub fn jl_unbox_int64(v: *mut jl_value_t) -> i64;
}
extern "C" {
pub fn jl_unbox_uint64(v: *mut jl_value_t) -> u64;
}
extern "C" {
pub fn jl_unbox_float32(v: *mut jl_value_t) -> f32;
}
extern "C" {
pub fn jl_unbox_float64(v: *mut jl_value_t) -> f64;
}
extern "C" {
pub fn jl_unbox_voidpointer(v: *mut jl_value_t)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn jl_get_size(val: *mut jl_value_t, pnt: *mut usize)
-> ::std::os::raw::c_int;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum jl_vararg_kind_t {
JL_VARARG_NONE = 0,
JL_VARARG_INT = 1,
JL_VARARG_BOUND = 2,
JL_VARARG_UNBOUND = 3,
}
extern "C" {
pub fn jl_field_index(t: *mut jl_datatype_t, fld: *mut jl_sym_t,
err: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_get_nth_field(v: *mut jl_value_t, i: usize) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_get_nth_field_checked(v: *mut jl_value_t, i: usize)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_set_nth_field(v: *mut jl_value_t, i: usize,
rhs: *mut jl_value_t);
}
extern "C" {
pub fn jl_field_isdefined(v: *mut jl_value_t, i: usize)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_get_field(o: *mut jl_value_t,
fld: *const ::std::os::raw::c_char)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_value_ptr(a: *mut jl_value_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_new_array(atype: *mut jl_value_t, dims: *mut jl_value_t)
-> *mut jl_array_t;
}
extern "C" {
pub fn jl_reshape_array(atype: *mut jl_value_t, data: *mut jl_array_t,
dims: *mut jl_value_t) -> *mut jl_array_t;
}
extern "C" {
pub fn jl_ptr_to_array_1d(atype: *mut jl_value_t,
data: *mut ::std::os::raw::c_void, nel: usize,
own_buffer: ::std::os::raw::c_int)
-> *mut jl_array_t;
}
extern "C" {
pub fn jl_ptr_to_array(atype: *mut jl_value_t,
data: *mut ::std::os::raw::c_void,
dims: *mut jl_value_t,
own_buffer: ::std::os::raw::c_int)
-> *mut jl_array_t;
}
extern "C" {
pub fn jl_alloc_array_1d(atype: *mut jl_value_t, nr: usize)
-> *mut jl_array_t;
}
extern "C" {
pub fn jl_alloc_array_2d(atype: *mut jl_value_t, nr: usize, nc: usize)
-> *mut jl_array_t;
}
extern "C" {
pub fn jl_alloc_array_3d(atype: *mut jl_value_t, nr: usize, nc: usize,
z: usize) -> *mut jl_array_t;
}
extern "C" {
pub fn jl_pchar_to_array(str: *const ::std::os::raw::c_char, len: usize)
-> *mut jl_array_t;
}
extern "C" {
pub fn jl_pchar_to_string(str: *const ::std::os::raw::c_char, len: usize)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_cstr_to_string(str: *const ::std::os::raw::c_char)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_alloc_string(len: usize) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_array_to_string(a: *mut jl_array_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_alloc_vec_any(n: usize) -> *mut jl_array_t;
}
extern "C" {
pub fn jl_arrayref(a: *mut jl_array_t, i: usize) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_arrayset(a: *mut jl_array_t, v: *mut jl_value_t, i: usize);
}
extern "C" {
pub fn jl_arrayunset(a: *mut jl_array_t, i: usize);
}
extern "C" {
pub fn jl_array_grow_end(a: *mut jl_array_t, inc: usize);
}
extern "C" {
pub fn jl_array_del_end(a: *mut jl_array_t, dec: usize);
}
extern "C" {
pub fn jl_array_grow_beg(a: *mut jl_array_t, inc: usize);
}
extern "C" {
pub fn jl_array_del_beg(a: *mut jl_array_t, dec: usize);
}
extern "C" {
pub fn jl_array_sizehint(a: *mut jl_array_t, sz: usize);
}
extern "C" {
pub fn jl_array_ptr_1d_push(a: *mut jl_array_t, item: *mut jl_value_t);
}
extern "C" {
pub fn jl_array_ptr_1d_push2(a: *mut jl_array_t, b: *mut jl_value_t,
c: *mut jl_value_t);
}
extern "C" {
pub fn jl_array_ptr_1d_append(a: *mut jl_array_t, a2: *mut jl_array_t);
}
extern "C" {
pub fn jl_apply_array_type(type_: *mut jl_value_t, dim: usize)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_array_ptr(a: *mut jl_array_t) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn jl_array_eltype(a: *mut jl_value_t) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn jl_array_rank(a: *mut jl_value_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_array_size(a: *mut jl_value_t, d: ::std::os::raw::c_int)
-> usize;
}
extern "C" {
pub fn jl_string_ptr(s: *mut jl_value_t) -> *const ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "jl_main_module"]
pub static mut jl_main_module: *mut jl_module_t;
}
extern "C" {
#[link_name = "jl_internal_main_module"]
pub static mut jl_internal_main_module: *mut jl_module_t;
}
extern "C" {
#[link_name = "jl_core_module"]
pub static mut jl_core_module: *mut jl_module_t;
}
extern "C" {
#[link_name = "jl_base_module"]
pub static mut jl_base_module: *mut jl_module_t;
}
extern "C" {
#[link_name = "jl_top_module"]
pub static mut jl_top_module: *mut jl_module_t;
}
extern "C" {
pub fn jl_new_module(name: *mut jl_sym_t) -> *mut jl_module_t;
}
extern "C" {
pub fn jl_get_binding(m: *mut jl_module_t, var: *mut jl_sym_t)
-> *mut jl_binding_t;
}
extern "C" {
pub fn jl_get_binding_or_error(m: *mut jl_module_t, var: *mut jl_sym_t)
-> *mut jl_binding_t;
}
extern "C" {
pub fn jl_module_globalref(m: *mut jl_module_t, var: *mut jl_sym_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_get_binding_wr(m: *mut jl_module_t, var: *mut jl_sym_t)
-> *mut jl_binding_t;
}
extern "C" {
pub fn jl_get_binding_for_method_def(m: *mut jl_module_t,
var: *mut jl_sym_t)
-> *mut jl_binding_t;
}
extern "C" {
pub fn jl_boundp(m: *mut jl_module_t, var: *mut jl_sym_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_defines_or_exports_p(m: *mut jl_module_t, var: *mut jl_sym_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_binding_resolved_p(m: *mut jl_module_t, var: *mut jl_sym_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_is_const(m: *mut jl_module_t, var: *mut jl_sym_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_get_global(m: *mut jl_module_t, var: *mut jl_sym_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_set_global(m: *mut jl_module_t, var: *mut jl_sym_t,
val: *mut jl_value_t);
}
extern "C" {
pub fn jl_set_const(m: *mut jl_module_t, var: *mut jl_sym_t,
val: *mut jl_value_t);
}
extern "C" {
pub fn jl_checked_assignment(b: *mut jl_binding_t, rhs: *mut jl_value_t);
}
extern "C" {
pub fn jl_declare_constant(b: *mut jl_binding_t);
}
extern "C" {
pub fn jl_module_using(to: *mut jl_module_t, from: *mut jl_module_t);
}
extern "C" {
pub fn jl_module_use(to: *mut jl_module_t, from: *mut jl_module_t,
s: *mut jl_sym_t);
}
extern "C" {
pub fn jl_module_import(to: *mut jl_module_t, from: *mut jl_module_t,
s: *mut jl_sym_t);
}
extern "C" {
pub fn jl_module_importall(to: *mut jl_module_t, from: *mut jl_module_t);
}
extern "C" {
pub fn jl_module_export(from: *mut jl_module_t, s: *mut jl_sym_t);
}
extern "C" {
pub fn jl_is_imported(m: *mut jl_module_t, s: *mut jl_sym_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_module_exports_p(m: *mut jl_module_t, var: *mut jl_sym_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_new_main_module() -> *mut jl_module_t;
}
extern "C" {
pub fn jl_add_standard_imports(m: *mut jl_module_t);
}
extern "C" {
pub fn jl_is_submodule(child: *mut jl_module_t, parent: *mut jl_module_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_eqtable_put(h: *mut jl_array_t,
key: *mut ::std::os::raw::c_void,
val: *mut ::std::os::raw::c_void)
-> *mut jl_array_t;
}
extern "C" {
pub fn jl_eqtable_get(h: *mut jl_array_t,
key: *mut ::std::os::raw::c_void,
deflt: *mut jl_value_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_errno() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_set_errno(e: ::std::os::raw::c_int);
}
extern "C" {
pub fn jl_stat(path: *const ::std::os::raw::c_char,
statbuf: *mut ::std::os::raw::c_char) -> i32;
}
extern "C" {
pub fn jl_cpu_cores() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_getpagesize() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn jl_getallocationgranularity() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn jl_is_debugbuild() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_get_UNAME() -> *mut jl_sym_t;
}
extern "C" {
pub fn jl_get_ARCH() -> *mut jl_sym_t;
}
extern "C" {
pub fn jl_cpuid_tag() -> u64;
}
extern "C" {
pub fn jl_uses_cpuid_tag() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_environ(i: ::std::os::raw::c_int) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_error(str: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn jl_errorf(fmt: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn jl_exceptionf(ty: *mut jl_datatype_t,
fmt: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn jl_too_few_args(fname: *const ::std::os::raw::c_char,
min: ::std::os::raw::c_int);
}
extern "C" {
pub fn jl_too_many_args(fname: *const ::std::os::raw::c_char,
max: ::std::os::raw::c_int);
}
extern "C" {
pub fn jl_type_error(fname: *const ::std::os::raw::c_char,
expected: *mut jl_value_t, got: *mut jl_value_t);
}
extern "C" {
pub fn jl_type_error_rt(fname: *const ::std::os::raw::c_char,
context: *const ::std::os::raw::c_char,
ty: *mut jl_value_t, got: *mut jl_value_t);
}
extern "C" {
pub fn jl_undefined_var_error(var: *mut jl_sym_t);
}
extern "C" {
pub fn jl_bounds_error(v: *mut jl_value_t, t: *mut jl_value_t);
}
extern "C" {
pub fn jl_bounds_error_v(v: *mut jl_value_t, idxs: *mut *mut jl_value_t,
nidxs: usize);
}
extern "C" {
pub fn jl_bounds_error_int(v: *mut jl_value_t, i: usize);
}
extern "C" {
pub fn jl_bounds_error_tuple_int(v: *mut *mut jl_value_t, nv: usize,
i: usize);
}
extern "C" {
pub fn jl_bounds_error_unboxed_int(v: *mut ::std::os::raw::c_void,
vt: *mut jl_value_t, i: usize);
}
extern "C" {
pub fn jl_bounds_error_ints(v: *mut jl_value_t, idxs: *mut usize,
nidxs: usize);
}
extern "C" {
pub fn jl_eof_error();
}
extern "C" {
pub fn jl_exception_occurred() -> *mut jl_value_t;
}
extern "C" {
pub fn jl_exception_clear();
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum JL_IMAGE_SEARCH { JL_IMAGE_CWD = 0, JL_IMAGE_JULIA_HOME = 1, }
extern "C" {
pub fn julia_init(rel: JL_IMAGE_SEARCH);
}
extern "C" {
pub fn jl_init();
}
extern "C" {
pub fn jl_init_with_image(julia_home_dir: *const ::std::os::raw::c_char,
image_relative_path:
*const ::std::os::raw::c_char);
}
extern "C" {
pub fn jl_get_default_sysimg_path() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn jl_is_initialized() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_atexit_hook(status: ::std::os::raw::c_int);
}
extern "C" {
pub fn jl_exit(status: ::std::os::raw::c_int);
}
extern "C" {
pub fn jl_pathname_for_handle(handle: *mut ::std::os::raw::c_void)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn jl_deserialize_verify_header(s: *mut ios_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_preload_sysimg_so(fname: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn jl_set_sysimg_so(handle: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn jl_create_system_image() -> *mut ios_t;
}
extern "C" {
pub fn jl_save_system_image(fname: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn jl_restore_system_image(fname: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn jl_restore_system_image_data(buf: *const ::std::os::raw::c_char,
len: usize);
}
extern "C" {
pub fn jl_save_incremental(fname: *const ::std::os::raw::c_char,
worklist: *mut jl_array_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_restore_incremental(fname: *const ::std::os::raw::c_char)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_restore_incremental_from_buf(buf: *const ::std::os::raw::c_char,
sz: usize) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_parse_input_line(str: *const ::std::os::raw::c_char, len: usize,
filename: *const ::std::os::raw::c_char,
filename_len: usize) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_parse_string(str: *const ::std::os::raw::c_char, len: usize,
pos0: ::std::os::raw::c_int,
greedy: ::std::os::raw::c_int) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_parse_depwarn(warn: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_load_file_string(text: *const ::std::os::raw::c_char,
len: usize,
filename: *mut ::std::os::raw::c_char)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_expand(expr: *mut jl_value_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_eval_string(str: *const ::std::os::raw::c_char)
-> *mut jl_value_t;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum JL_RTLD_CONSTANT {
JL_RTLD_LOCAL = 1,
JL_RTLD_GLOBAL = 2,
JL_RTLD_LAZY = 4,
JL_RTLD_NOW = 8,
JL_RTLD_NODELETE = 16,
JL_RTLD_NOLOAD = 32,
JL_RTLD_DEEPBIND = 64,
JL_RTLD_FIRST = 128,
}
pub type jl_uv_libhandle = *mut ::std::os::raw::c_void;
extern "C" {
pub fn jl_load_dynamic_library(fname: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_uint)
-> jl_uv_libhandle;
}
extern "C" {
pub fn jl_load_dynamic_library_e(fname: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_uint)
-> jl_uv_libhandle;
}
extern "C" {
pub fn jl_dlopen(filename: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_uint) -> jl_uv_libhandle;
}
extern "C" {
pub fn jl_dlclose(handle: jl_uv_libhandle) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_dlsym_e(handle: jl_uv_libhandle,
symbol: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn jl_dlsym(handle: jl_uv_libhandle,
symbol: *const ::std::os::raw::c_char)
-> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn jl_lookup_soname(pfx: *const ::std::os::raw::c_char, n: usize)
-> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn jl_toplevel_eval(v: *mut jl_value_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_toplevel_eval_in(m: *mut jl_module_t, ex: *mut jl_value_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_load(fname: *const ::std::os::raw::c_char) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_base_relative_to(m: *mut jl_module_t) -> *mut jl_module_t;
}
extern "C" {
pub fn jl_trace_method(m: *mut jl_method_t);
}
extern "C" {
pub fn jl_untrace_method(m: *mut jl_method_t);
}
extern "C" {
pub fn jl_trace_linfo(linfo: *mut jl_method_instance_t);
}
extern "C" {
pub fn jl_untrace_linfo(linfo: *mut jl_method_instance_t);
}
extern "C" {
pub fn jl_register_linfo_tracer(callback:
::std::option::Option<unsafe extern "C" fn(tracee:
*mut jl_method_instance_t)>);
}
extern "C" {
pub fn jl_register_method_tracer(callback:
::std::option::Option<unsafe extern "C" fn(tracee:
*mut jl_method_instance_t)>);
}
extern "C" {
pub fn jl_register_newmeth_tracer(callback:
::std::option::Option<unsafe extern "C" fn(tracee:
*mut jl_method_t)>);
}
extern "C" {
pub fn jl_copy_ast(expr: *mut jl_value_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_compress_ast(m: *mut jl_method_t, code: *mut jl_code_info_t)
-> *mut jl_array_t;
}
extern "C" {
pub fn jl_uncompress_ast(m: *mut jl_method_t, data: *mut jl_array_t)
-> *mut jl_code_info_t;
}
extern "C" {
pub fn jl_ast_flag_inferred(data: *mut jl_array_t) -> u8;
}
extern "C" {
pub fn jl_ast_flag_inlineable(data: *mut jl_array_t) -> u8;
}
extern "C" {
pub fn jl_ast_flag_pure(data: *mut jl_array_t) -> u8;
}
extern "C" {
pub fn jl_fill_argnames(data: *mut jl_array_t, names: *mut jl_array_t);
}
extern "C" {
pub fn jl_is_operator(sym: *mut ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_operator_precedence(sym: *mut ::std::os::raw::c_char)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_apply_generic(args: *mut *mut jl_value_t, nargs: u32)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_invoke(meth: *mut jl_method_instance_t,
args: *mut *mut jl_value_t, nargs: u32)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_call(f: *mut jl_function_t, args: *mut *mut jl_value_t,
nargs: i32) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_call0(f: *mut jl_function_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_call1(f: *mut jl_function_t, a: *mut jl_value_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_call2(f: *mut jl_function_t, a: *mut jl_value_t,
b: *mut jl_value_t) -> *mut jl_value_t;
}
extern "C" {
pub fn jl_call3(f: *mut jl_function_t, a: *mut jl_value_t,
b: *mut jl_value_t, c: *mut jl_value_t)
-> *mut jl_value_t;
}
extern "C" {
pub fn jl_yield();
}
extern "C" {
pub fn jl_install_sigint_handler();
}
extern "C" {
pub fn jl_sigatomic_begin();
}
extern "C" {
pub fn jl_sigatomic_end();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _jl_timing_block_t {
_unused: [u8; 0],
}
pub type jl_timing_block_t = _jl_timing_block_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_handler_t {
pub eh_ctx: sigjmp_buf,
pub gcstack: *mut jl_gcframe_t,
pub prev: *mut _jl_handler_t,
pub gc_state: i8,
pub defer_signal: sig_atomic_t,
pub finalizers_inhibited: ::std::os::raw::c_int,
pub timing_stack: *mut jl_timing_block_t,
pub world_age: usize,
}
#[test]
fn bindgen_test_layout__jl_handler_t() {
assert_eq!(::std::mem::size_of::<_jl_handler_t>() , 248usize , concat ! (
"Size of: " , stringify ! ( _jl_handler_t ) ));
assert_eq! (::std::mem::align_of::<_jl_handler_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _jl_handler_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_handler_t ) ) . eh_ctx as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_handler_t ) , "::"
, stringify ! ( eh_ctx ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_handler_t ) ) . gcstack as * const _
as usize } , 200usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_handler_t ) , "::"
, stringify ! ( gcstack ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_handler_t ) ) . prev as * const _ as
usize } , 208usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_handler_t ) , "::"
, stringify ! ( prev ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_handler_t ) ) . gc_state as * const _
as usize } , 216usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_handler_t ) , "::"
, stringify ! ( gc_state ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_handler_t ) ) . defer_signal as *
const _ as usize } , 220usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_handler_t ) , "::"
, stringify ! ( defer_signal ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_handler_t ) ) . finalizers_inhibited
as * const _ as usize } , 224usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_handler_t ) , "::"
, stringify ! ( finalizers_inhibited ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_handler_t ) ) . timing_stack as *
const _ as usize } , 232usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_handler_t ) , "::"
, stringify ! ( timing_stack ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_handler_t ) ) . world_age as * const
_ as usize } , 240usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_handler_t ) , "::"
, stringify ! ( world_age ) ));
}
impl Clone for _jl_handler_t {
fn clone(&self) -> Self { *self }
}
pub type jl_handler_t = _jl_handler_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_task_t {
pub parent: *mut _jl_task_t,
pub tls: *mut jl_value_t,
pub state: *mut jl_sym_t,
pub consumers: *mut jl_value_t,
pub donenotify: *mut jl_value_t,
pub result: *mut jl_value_t,
pub exception: *mut jl_value_t,
pub backtrace: *mut jl_value_t,
pub start: *mut jl_function_t,
pub ctx: sigjmp_buf,
pub bufsz: usize,
pub stkbuf: *mut ::std::os::raw::c_void,
pub ssize: usize,
pub _bitfield_1: u8,
pub eh: *mut jl_handler_t,
pub gcstack: *mut jl_gcframe_t,
pub current_module: *mut jl_module_t,
pub world_age: usize,
pub tid: i16,
pub timing_stack: *mut jl_timing_block_t,
}
#[test]
fn bindgen_test_layout__jl_task_t() {
assert_eq!(::std::mem::size_of::<_jl_task_t>() , 352usize , concat ! (
"Size of: " , stringify ! ( _jl_task_t ) ));
assert_eq! (::std::mem::align_of::<_jl_task_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( _jl_task_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . parent as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( parent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . tls as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( tls ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . state as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( state ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . consumers as * const _
as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( consumers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . donenotify as * const _
as usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( donenotify ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . result as * const _ as
usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( result ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . exception as * const _
as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( exception ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . backtrace as * const _
as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( backtrace ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . start as * const _ as
usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( start ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . ctx as * const _ as
usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( ctx ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . bufsz as * const _ as
usize } , 272usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( bufsz ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . stkbuf as * const _ as
usize } , 280usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( stkbuf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . ssize as * const _ as
usize } , 288usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( ssize ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . eh as * const _ as usize
} , 304usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( eh ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . gcstack as * const _ as
usize } , 312usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( gcstack ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . current_module as *
const _ as usize } , 320usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( current_module ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . world_age as * const _
as usize } , 328usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( world_age ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . tid as * const _ as
usize } , 336usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( tid ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const _jl_task_t ) ) . timing_stack as * const
_ as usize } , 344usize , concat ! (
"Alignment of field: " , stringify ! ( _jl_task_t ) , "::" ,
stringify ! ( timing_stack ) ));
}
impl Clone for _jl_task_t {
fn clone(&self) -> Self { *self }
}
impl _jl_task_t {
#[inline]
pub fn started(&self) -> usize {
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
let mask = 1u64 as u8;
let val = (unit_field_val & mask) >> 0usize;
unsafe { ::std::mem::transmute(val as u64) }
}
#[inline]
pub fn set_started(&mut self, val: usize) {
let mask = 1u64 as u8;
let val = val as u64 as u8;
let mut unit_field_val: u8 = unsafe { ::std::mem::uninitialized() };
unsafe {
::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ as
*const u8,
&mut unit_field_val as *mut u8 as
*mut u8,
::std::mem::size_of::<u8>())
};
unit_field_val &= !mask;
unit_field_val |= (val << 0usize) & mask;
unsafe {
::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as
*const u8,
&mut self._bitfield_1 as *mut _ as
*mut u8,
::std::mem::size_of::<u8>());
}
}
#[inline]
pub fn new_bitfield_1(started: usize) -> u8 {
({ 0 } | ((started as u64 as u8) << 0usize) & (1u64 as u8))
}
}
pub type jl_task_t = _jl_task_t;
extern "C" {
pub fn jl_new_task(start: *mut jl_function_t, ssize: usize)
-> *mut jl_task_t;
}
extern "C" {
pub fn jl_switchto(t: *mut jl_task_t);
}
extern "C" {
pub fn jl_throw(e: *mut jl_value_t);
}
extern "C" {
pub fn jl_rethrow();
}
extern "C" {
pub fn jl_rethrow_other(e: *mut jl_value_t);
}
extern "C" {
pub fn jl_no_exc_handler(e: *mut jl_value_t);
}
extern "C" {
pub fn jl_enter_handler(eh: *mut jl_handler_t);
}
extern "C" {
pub fn jl_pop_handler(n: ::std::os::raw::c_int);
}
extern "C" {
pub fn jl_run_event_loop(loop_: *mut uv_loop_t);
}
extern "C" {
pub fn jl_run_once(loop_: *mut uv_loop_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_process_events(loop_: *mut uv_loop_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_global_event_loop() -> *mut uv_loop_t;
}
extern "C" {
pub fn jl_close_uv(handle: *mut uv_handle_t);
}
extern "C" {
pub fn jl_tcp_bind(handle: *mut uv_tcp_t, port: u16, host: u32,
flags: ::std::os::raw::c_uint)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_sizeof_ios_t() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_take_buffer(s: *mut ios_t) -> *mut jl_array_t;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_uv_file_t {
pub data: *mut ::std::os::raw::c_void,
pub loop_: *mut uv_loop_t,
pub type_: uv_handle_type,
pub file: uv_file,
}
#[test]
fn bindgen_test_layout_jl_uv_file_t() {
assert_eq!(::std::mem::size_of::<jl_uv_file_t>() , 24usize , concat ! (
"Size of: " , stringify ! ( jl_uv_file_t ) ));
assert_eq! (::std::mem::align_of::<jl_uv_file_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_uv_file_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_uv_file_t ) ) . data as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_uv_file_t ) , "::" ,
stringify ! ( data ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_uv_file_t ) ) . loop_ as * const _ as
usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_uv_file_t ) , "::" ,
stringify ! ( loop_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_uv_file_t ) ) . type_ as * const _ as
usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_uv_file_t ) , "::" ,
stringify ! ( type_ ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_uv_file_t ) ) . file as * const _ as
usize } , 20usize , concat ! (
"Alignment of field: " , stringify ! ( jl_uv_file_t ) , "::" ,
stringify ! ( file ) ));
}
impl Clone for jl_uv_file_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
pub fn jl_uv_puts(stream: *mut uv_stream_t,
str: *const ::std::os::raw::c_char, n: usize);
}
extern "C" {
pub fn jl_printf(s: *mut uv_stream_t,
format: *const ::std::os::raw::c_char, ...)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_vprintf(s: *mut uv_stream_t,
format: *const ::std::os::raw::c_char,
args: *mut __va_list_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_safe_printf(str: *const ::std::os::raw::c_char, ...);
}
extern "C" {
#[link_name = "jl_uv_stdin"]
pub static mut jl_uv_stdin: *mut uv_stream_t;
}
extern "C" {
#[link_name = "jl_uv_stdout"]
pub static mut jl_uv_stdout: *mut uv_stream_t;
}
extern "C" {
#[link_name = "jl_uv_stderr"]
pub static mut jl_uv_stderr: *mut uv_stream_t;
}
extern "C" {
pub fn jl_stdout_stream() -> *mut uv_stream_t;
}
extern "C" {
pub fn jl_stdin_stream() -> *mut uv_stream_t;
}
extern "C" {
pub fn jl_stderr_stream() -> *mut uv_stream_t;
}
extern "C" {
pub fn jl_flush_cstdio();
}
extern "C" {
pub fn jl_stdout_obj() -> *mut jl_value_t;
}
extern "C" {
pub fn jl_stderr_obj() -> *mut jl_value_t;
}
extern "C" {
pub fn jl_static_show(out: *mut uv_stream_t, v: *mut jl_value_t) -> usize;
}
extern "C" {
pub fn jl_static_show_func_sig(s: *mut uv_stream_t,
type_: *mut jl_value_t) -> usize;
}
extern "C" {
pub fn jlbacktrace();
}
extern "C" {
pub fn jl_(jl_value: *mut ::std::os::raw::c_void);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_options_t {
pub quiet: i8,
pub julia_home: *const ::std::os::raw::c_char,
pub julia_bin: *const ::std::os::raw::c_char,
pub eval: *const ::std::os::raw::c_char,
pub print: *const ::std::os::raw::c_char,
pub load: *const ::std::os::raw::c_char,
pub image_file: *const ::std::os::raw::c_char,
pub cpu_target: *const ::std::os::raw::c_char,
pub nprocs: i32,
pub machinefile: *const ::std::os::raw::c_char,
pub isinteractive: i8,
pub color: i8,
pub historyfile: i8,
pub startupfile: i8,
pub compile_enabled: i8,
pub code_coverage: i8,
pub malloc_log: i8,
pub opt_level: i8,
pub debug_level: i8,
pub check_bounds: i8,
pub depwarn: i8,
pub can_inline: i8,
pub polly: i8,
pub fast_math: i8,
pub worker: *const ::std::os::raw::c_char,
pub handle_signals: i8,
pub use_precompiled: i8,
pub use_compilecache: i8,
pub bindto: *const ::std::os::raw::c_char,
pub outputbc: *const ::std::os::raw::c_char,
pub outputo: *const ::std::os::raw::c_char,
pub outputji: *const ::std::os::raw::c_char,
pub incremental: i8,
pub image_file_specified: i8,
}
#[test]
fn bindgen_test_layout_jl_options_t() {
assert_eq!(::std::mem::size_of::<jl_options_t>() , 152usize , concat ! (
"Size of: " , stringify ! ( jl_options_t ) ));
assert_eq! (::std::mem::align_of::<jl_options_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_options_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . quiet as * const _ as
usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( quiet ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . julia_home as * const
_ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( julia_home ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . julia_bin as * const _
as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( julia_bin ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . eval as * const _ as
usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( eval ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . print as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( print ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . load as * const _ as
usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( load ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . image_file as * const
_ as usize } , 48usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( image_file ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . cpu_target as * const
_ as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( cpu_target ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . nprocs as * const _ as
usize } , 64usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( nprocs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . machinefile as * const
_ as usize } , 72usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( machinefile ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . isinteractive as *
const _ as usize } , 80usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( isinteractive ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . color as * const _ as
usize } , 81usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( color ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . historyfile as * const
_ as usize } , 82usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( historyfile ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . startupfile as * const
_ as usize } , 83usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( startupfile ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . compile_enabled as *
const _ as usize } , 84usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( compile_enabled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . code_coverage as *
const _ as usize } , 85usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( code_coverage ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . malloc_log as * const
_ as usize } , 86usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( malloc_log ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . opt_level as * const _
as usize } , 87usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( opt_level ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . debug_level as * const
_ as usize } , 88usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( debug_level ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . check_bounds as *
const _ as usize } , 89usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( check_bounds ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . depwarn as * const _
as usize } , 90usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( depwarn ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . can_inline as * const
_ as usize } , 91usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( can_inline ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . polly as * const _ as
usize } , 92usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( polly ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . fast_math as * const _
as usize } , 93usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( fast_math ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . worker as * const _ as
usize } , 96usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( worker ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . handle_signals as *
const _ as usize } , 104usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( handle_signals ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . use_precompiled as *
const _ as usize } , 105usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( use_precompiled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . use_compilecache as *
const _ as usize } , 106usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( use_compilecache ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . bindto as * const _ as
usize } , 112usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( bindto ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . outputbc as * const _
as usize } , 120usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( outputbc ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . outputo as * const _
as usize } , 128usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( outputo ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . outputji as * const _
as usize } , 136usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( outputji ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . incremental as * const
_ as usize } , 144usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( incremental ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_options_t ) ) . image_file_specified
as * const _ as usize } , 145usize , concat ! (
"Alignment of field: " , stringify ! ( jl_options_t ) , "::" ,
stringify ! ( image_file_specified ) ));
}
impl Clone for jl_options_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
#[link_name = "jl_options"]
pub static mut jl_options: jl_options_t;
}
extern "C" {
pub fn jl_parse_opts(argcp: *mut ::std::os::raw::c_int,
argvp: *mut *mut *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn jl_set_ARGS(argc: ::std::os::raw::c_int,
argv: *mut *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn jl_generating_output() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_ver_major() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_ver_minor() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_ver_patch() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_ver_is_release() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jl_ver_string() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn jl_git_branch() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn jl_git_commit() -> *const ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_nullable_float64_t {
pub hasvalue: u8,
pub value: f64,
}
#[test]
fn bindgen_test_layout_jl_nullable_float64_t() {
assert_eq!(::std::mem::size_of::<jl_nullable_float64_t>() , 16usize ,
concat ! ( "Size of: " , stringify ! ( jl_nullable_float64_t )
));
assert_eq! (::std::mem::align_of::<jl_nullable_float64_t>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( jl_nullable_float64_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_nullable_float64_t ) ) . hasvalue as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_nullable_float64_t )
, "::" , stringify ! ( hasvalue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_nullable_float64_t ) ) . value as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_nullable_float64_t )
, "::" , stringify ! ( value ) ));
}
impl Clone for jl_nullable_float64_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_nullable_float32_t {
pub hasvalue: u8,
pub value: f32,
}
#[test]
fn bindgen_test_layout_jl_nullable_float32_t() {
assert_eq!(::std::mem::size_of::<jl_nullable_float32_t>() , 8usize ,
concat ! ( "Size of: " , stringify ! ( jl_nullable_float32_t )
));
assert_eq! (::std::mem::align_of::<jl_nullable_float32_t>() , 4usize ,
concat ! (
"Alignment of " , stringify ! ( jl_nullable_float32_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_nullable_float32_t ) ) . hasvalue as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_nullable_float32_t )
, "::" , stringify ! ( hasvalue ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_nullable_float32_t ) ) . value as *
const _ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( jl_nullable_float32_t )
, "::" , stringify ! ( value ) ));
}
impl Clone for jl_nullable_float32_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_cghooks_t {
pub module_setup: *mut jl_value_t,
pub module_activation: *mut jl_value_t,
pub raise_exception: *mut jl_value_t,
}
#[test]
fn bindgen_test_layout_jl_cghooks_t() {
assert_eq!(::std::mem::size_of::<jl_cghooks_t>() , 24usize , concat ! (
"Size of: " , stringify ! ( jl_cghooks_t ) ));
assert_eq! (::std::mem::align_of::<jl_cghooks_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_cghooks_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cghooks_t ) ) . module_setup as *
const _ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cghooks_t ) , "::" ,
stringify ! ( module_setup ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cghooks_t ) ) . module_activation as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cghooks_t ) , "::" ,
stringify ! ( module_activation ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cghooks_t ) ) . raise_exception as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cghooks_t ) , "::" ,
stringify ! ( raise_exception ) ));
}
impl Clone for jl_cghooks_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct jl_cgparams_t {
pub cached: ::std::os::raw::c_int,
pub runtime: ::std::os::raw::c_int,
pub exceptions: ::std::os::raw::c_int,
pub track_allocations: ::std::os::raw::c_int,
pub code_coverage: ::std::os::raw::c_int,
pub static_alloc: ::std::os::raw::c_int,
pub dynamic_alloc: ::std::os::raw::c_int,
pub hooks: jl_cghooks_t,
}
#[test]
fn bindgen_test_layout_jl_cgparams_t() {
assert_eq!(::std::mem::size_of::<jl_cgparams_t>() , 56usize , concat ! (
"Size of: " , stringify ! ( jl_cgparams_t ) ));
assert_eq! (::std::mem::align_of::<jl_cgparams_t>() , 8usize , concat ! (
"Alignment of " , stringify ! ( jl_cgparams_t ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cgparams_t ) ) . cached as * const _
as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cgparams_t ) , "::"
, stringify ! ( cached ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cgparams_t ) ) . runtime as * const _
as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cgparams_t ) , "::"
, stringify ! ( runtime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cgparams_t ) ) . exceptions as * const
_ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cgparams_t ) , "::"
, stringify ! ( exceptions ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cgparams_t ) ) . track_allocations as
* const _ as usize } , 12usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cgparams_t ) , "::"
, stringify ! ( track_allocations ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cgparams_t ) ) . code_coverage as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cgparams_t ) , "::"
, stringify ! ( code_coverage ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cgparams_t ) ) . static_alloc as *
const _ as usize } , 20usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cgparams_t ) , "::"
, stringify ! ( static_alloc ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cgparams_t ) ) . dynamic_alloc as *
const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cgparams_t ) , "::"
, stringify ! ( dynamic_alloc ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const jl_cgparams_t ) ) . hooks as * const _ as
usize } , 32usize , concat ! (
"Alignment of field: " , stringify ! ( jl_cgparams_t ) , "::"
, stringify ! ( hooks ) ));
}
impl Clone for jl_cgparams_t {
fn clone(&self) -> Self { *self }
}
extern "C" {
#[link_name = "jl_default_cgparams"]
pub static mut jl_default_cgparams: jl_cgparams_t;
}
pub type __builtin_va_list = [__va_list_tag; 1usize];
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __va_list_tag {
pub gp_offset: ::std::os::raw::c_uint,
pub fp_offset: ::std::os::raw::c_uint,
pub overflow_arg_area: *mut ::std::os::raw::c_void,
pub reg_save_area: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout___va_list_tag() {
assert_eq!(::std::mem::size_of::<__va_list_tag>() , 24usize , concat ! (
"Size of: " , stringify ! ( __va_list_tag ) ));
assert_eq! (::std::mem::align_of::<__va_list_tag>() , 8usize , concat ! (
"Alignment of " , stringify ! ( __va_list_tag ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __va_list_tag ) ) . gp_offset as * const
_ as usize } , 0usize , concat ! (
"Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
, stringify ! ( gp_offset ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __va_list_tag ) ) . fp_offset as * const
_ as usize } , 4usize , concat ! (
"Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
, stringify ! ( fp_offset ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __va_list_tag ) ) . overflow_arg_area as
* const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
, stringify ! ( overflow_arg_area ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const __va_list_tag ) ) . reg_save_area as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
, stringify ! ( reg_save_area ) ));
}
impl Clone for __va_list_tag {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __locale_data {
pub _address: u8,
}
impl Clone for __locale_data {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _mallocarray_t {
pub _address: u8,
}
impl Clone for _mallocarray_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _bigval_t {
pub _address: u8,
}
impl Clone for _bigval_t {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _jl_value_t {
pub _address: u8,
}
impl Clone for _jl_value_t {
fn clone(&self) -> Self { *self }
}