nappgui-sys 0.2.0

Rust raw bindings to NAppGUI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
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
/* automatically generated by rust-bindgen 0.71.1 */

pub const _VCRT_COMPILER_PREPROCESSOR: u32 = 1;
pub const _SAL_VERSION: u32 = 20;
pub const __SAL_H_VERSION: u32 = 180000000;
pub const _USE_DECLSPECS_FOR_SAL: u32 = 0;
pub const _USE_ATTRIBUTES_FOR_SAL: u32 = 0;
pub const _CRT_PACKING: u32 = 8;
pub const _HAS_EXCEPTIONS: u32 = 1;
pub const _STL_LANG: u32 = 0;
pub const _HAS_CXX17: u32 = 0;
pub const _HAS_CXX20: u32 = 0;
pub const _HAS_CXX23: u32 = 0;
pub const _HAS_CXX26: u32 = 0;
pub const _HAS_NODISCARD: u32 = 0;
pub const WCHAR_MIN: u32 = 0;
pub const WCHAR_MAX: u32 = 65535;
pub const WINT_MIN: u32 = 0;
pub const WINT_MAX: u32 = 65535;
pub const _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE: u32 = 1;
pub const _CRT_BUILD_DESKTOP_APP: u32 = 1;
pub const _ARGMAX: u32 = 100;
pub const _CRT_INT_MAX: u32 = 2147483647;
pub const _CRT_FUNCTIONS_REQUIRED: u32 = 1;
pub const _CRT_HAS_CXX17: u32 = 0;
pub const _CRT_HAS_C11: u32 = 1;
pub const _CRT_INTERNAL_NONSTDC_NAMES: u32 = 1;
pub const __STDC_SECURE_LIB__: u32 = 200411;
pub const __GOT_SECURE_LIB__: u32 = 200411;
pub const __STDC_WANT_SECURE_LIB__: u32 = 1;
pub const _SECURECRT_FILL_BUFFER_PATTERN: u32 = 254;
pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES: u32 = 0;
pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT: u32 = 0;
pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES: u32 = 1;
pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY: u32 = 0;
pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY: u32 = 0;
pub const REAL32_MAX: f64 = 100000000000000000000.0;
pub const REAL64_MAX: f64 = 100000000000000000000000000000000000000.0;
pub const REAL32_MIN: f64 = 0.00000000000000000001;
pub const REAL64_MIN: f64 = 0.00000000000000000000000000000000000001;
pub const PRIu64: &[u8; 4] = b"llu\0";
pub const PRId64: &[u8; 4] = b"lld\0";
pub const DIR_SEPARATOR: u8 = 92u8;
pub const kKEY_MAX: u32 = 112;
pub const HEAPARR: &[u8; 6] = b"::arr\0";
pub const ARRST: &[u8; 8] = b"ArrSt::\0";
pub const ARRPT: &[u8; 8] = b"ArrPt::\0";
pub const SETST: &[u8; 8] = b"SetSt::\0";
pub const SETPT: &[u8; 8] = b"SetPt::\0";
pub const GUI_CONTEXT_NUM_COMPONENTS: u32 = 17;
pub const kTEXTFILTER_SIZE: u32 = 4096;
pub type va_list = *mut ::libc::c_char;
pub type __vcrt_bool = bool;
pub type wchar_t = ::libc::c_ushort;
unsafe extern "C" {
    pub static mut __security_cookie: usize;
}
pub type int_least8_t = ::libc::c_schar;
pub type int_least16_t = ::libc::c_short;
pub type int_least32_t = ::libc::c_int;
pub type int_least64_t = ::libc::c_longlong;
pub type uint_least8_t = ::libc::c_uchar;
pub type uint_least16_t = ::libc::c_ushort;
pub type uint_least32_t = ::libc::c_uint;
pub type uint_least64_t = ::libc::c_ulonglong;
pub type int_fast8_t = ::libc::c_schar;
pub type int_fast16_t = ::libc::c_int;
pub type int_fast32_t = ::libc::c_int;
pub type int_fast64_t = ::libc::c_longlong;
pub type uint_fast8_t = ::libc::c_uchar;
pub type uint_fast16_t = ::libc::c_uint;
pub type uint_fast32_t = ::libc::c_uint;
pub type uint_fast64_t = ::libc::c_ulonglong;
pub type intmax_t = ::libc::c_longlong;
pub type uintmax_t = ::libc::c_ulonglong;
pub type __crt_bool = bool;
pub type errno_t = ::libc::c_int;
pub type wint_t = ::libc::c_ushort;
pub type wctype_t = ::libc::c_ushort;
pub type __time32_t = ::libc::c_long;
pub type __time64_t = ::libc::c_longlong;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __crt_locale_data_public {
    pub _locale_pctype: *const ::libc::c_ushort,
    pub _locale_mb_cur_max: ::libc::c_int,
    pub _locale_lc_codepage: ::libc::c_uint,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __crt_locale_pointers {
    pub locinfo: *mut __crt_locale_data,
    pub mbcinfo: *mut __crt_multibyte_data,
}
pub type _locale_t = *mut __crt_locale_pointers;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _Mbstatet {
    pub _Wchar: ::libc::c_ulong,
    pub _Byte: ::libc::c_ushort,
    pub _State: ::libc::c_ushort,
}
pub type mbstate_t = _Mbstatet;
pub type time_t = __time64_t;
pub type rsize_t = usize;
pub type char_t = ::libc::c_char;
pub type byte_t = ::libc::c_uchar;
pub type bool_t = ::libc::c_char;
pub type real32_t = f32;
pub type real64_t = f64;
pub const _enum_t_ekENUM_GENERIC_VALUE: _enum_t = 0;
pub type _enum_t = ::libc::c_int;
pub use self::_enum_t as enum_t;
pub const _unicode_t_ekUTF8: _unicode_t = 0;
pub const _unicode_t_ekUTF16: _unicode_t = 1;
pub const _unicode_t_ekUTF32: _unicode_t = 2;
pub type _unicode_t = ::libc::c_int;
pub use self::_unicode_t as unicode_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _renv_t {
    _unused: [u8; 0],
}
pub type REnv = _renv_t;
pub type FPtr_destroy =
    ::core::option::Option<unsafe extern "C" fn(item: *mut *mut ::libc::c_void)>;
pub type FPtr_copy = ::core::option::Option<
    unsafe extern "C" fn(item: *const ::libc::c_void) -> *mut ::libc::c_void,
>;
pub type FPtr_scopy = ::core::option::Option<
    unsafe extern "C" fn(dest: *mut ::libc::c_void, src: *const ::libc::c_void),
>;
pub type FPtr_compare = ::core::option::Option<
    unsafe extern "C" fn(
        item1: *const ::libc::c_void,
        item2: *const ::libc::c_void,
    ) -> ::libc::c_int,
>;
pub type FPtr_compare_ex = ::core::option::Option<
    unsafe extern "C" fn(
        item1: *const ::libc::c_void,
        item2: *const ::libc::c_void,
        data: *const ::libc::c_void,
    ) -> ::libc::c_int,
>;
pub type FPtr_assert = ::core::option::Option<
    unsafe extern "C" fn(
        item: *mut ::libc::c_void,
        group: u32,
        caption: *const char_t,
        detail: *const char_t,
        file: *const char_t,
        line: u32,
    ),
>;
pub const _platform_t_ekWINDOWS: _platform_t = 1;
pub const _platform_t_ekMACOS: _platform_t = 2;
pub const _platform_t_ekLINUX: _platform_t = 3;
pub const _platform_t_ekIOS: _platform_t = 4;
pub type _platform_t = ::libc::c_int;
pub use self::_platform_t as platform_t;
pub const _device_t_ekDESKTOP: _device_t = 1;
pub const _device_t_ekPHONE: _device_t = 2;
pub const _device_t_ekTABLET: _device_t = 3;
pub type _device_t = ::libc::c_int;
pub use self::_device_t as device_t;
pub const _win_t_ekWIN_9x: _win_t = 1;
pub const _win_t_ekWIN_NT4: _win_t = 2;
pub const _win_t_ekWIN_2K: _win_t = 3;
pub const _win_t_ekWIN_XP: _win_t = 4;
pub const _win_t_ekWIN_XP1: _win_t = 5;
pub const _win_t_ekWIN_XP2: _win_t = 6;
pub const _win_t_ekWIN_XP3: _win_t = 7;
pub const _win_t_ekWIN_VI: _win_t = 8;
pub const _win_t_ekWIN_VI1: _win_t = 9;
pub const _win_t_ekWIN_VI2: _win_t = 10;
pub const _win_t_ekWIN_7: _win_t = 11;
pub const _win_t_ekWIN_71: _win_t = 12;
pub const _win_t_ekWIN_8: _win_t = 13;
pub const _win_t_ekWIN_81: _win_t = 14;
pub const _win_t_ekWIN_10: _win_t = 15;
pub const _win_t_ekWIN_NO: _win_t = 16;
pub type _win_t = ::libc::c_int;
pub use self::_win_t as win_t;
pub const _endian_t_ekLITEND: _endian_t = 1;
pub const _endian_t_ekBIGEND: _endian_t = 2;
pub type _endian_t = ::libc::c_int;
pub use self::_endian_t as endian_t;
pub const _week_day_t_ekSUNDAY: _week_day_t = 0;
pub const _week_day_t_ekMONDAY: _week_day_t = 1;
pub const _week_day_t_ekTUESDAY: _week_day_t = 2;
pub const _week_day_t_ekWEDNESDAY: _week_day_t = 3;
pub const _week_day_t_ekTHURSDAY: _week_day_t = 4;
pub const _week_day_t_ekFRIDAY: _week_day_t = 5;
pub const _week_day_t_ekSATURDAY: _week_day_t = 6;
pub type _week_day_t = ::libc::c_int;
pub use self::_week_day_t as week_day_t;
pub const _month_t_ekJANUARY: _month_t = 1;
pub const _month_t_ekFEBRUARY: _month_t = 2;
pub const _month_t_ekMARCH: _month_t = 3;
pub const _month_t_ekAPRIL: _month_t = 4;
pub const _month_t_ekMAY: _month_t = 5;
pub const _month_t_ekJUNE: _month_t = 6;
pub const _month_t_ekJULY: _month_t = 7;
pub const _month_t_ekAUGUST: _month_t = 8;
pub const _month_t_ekSEPTEMBER: _month_t = 9;
pub const _month_t_ekOCTOBER: _month_t = 10;
pub const _month_t_ekNOVEMBER: _month_t = 11;
pub const _month_t_ekDECEMBER: _month_t = 12;
pub type _month_t = ::libc::c_int;
pub use self::_month_t as month_t;
pub const _file_type_t_ekARCHIVE: _file_type_t = 1;
pub const _file_type_t_ekDIRECTORY: _file_type_t = 2;
pub const _file_type_t_ekOTHERFILE: _file_type_t = 3;
pub type _file_type_t = ::libc::c_int;
pub use self::_file_type_t as file_type_t;
pub const _file_mode_t_ekREAD: _file_mode_t = 1;
pub const _file_mode_t_ekWRITE: _file_mode_t = 2;
pub const _file_mode_t_ekAPPEND: _file_mode_t = 3;
pub type _file_mode_t = ::libc::c_int;
pub use self::_file_mode_t as file_mode_t;
pub const _file_seek_t_ekSEEKSET: _file_seek_t = 1;
pub const _file_seek_t_ekSEEKCUR: _file_seek_t = 2;
pub const _file_seek_t_ekSEEKEND: _file_seek_t = 3;
pub type _file_seek_t = ::libc::c_int;
pub use self::_file_seek_t as file_seek_t;
pub const _ferror_t_ekFEXISTS: _ferror_t = 1;
pub const _ferror_t_ekFNOPATH: _ferror_t = 2;
pub const _ferror_t_ekFNOFILE: _ferror_t = 3;
pub const _ferror_t_ekFBIGNAME: _ferror_t = 4;
pub const _ferror_t_ekFNOFILES: _ferror_t = 5;
pub const _ferror_t_ekFNOEMPTY: _ferror_t = 6;
pub const _ferror_t_ekFNOACCESS: _ferror_t = 7;
pub const _ferror_t_ekFLOCK: _ferror_t = 8;
pub const _ferror_t_ekFBIG: _ferror_t = 9;
pub const _ferror_t_ekFSEEKNEG: _ferror_t = 10;
pub const _ferror_t_ekFUNDEF: _ferror_t = 11;
pub const _ferror_t_ekFOK: _ferror_t = 12;
pub type _ferror_t = ::libc::c_int;
pub use self::_ferror_t as ferror_t;
pub const _perror_t_ekPPIPE: _perror_t = 1;
pub const _perror_t_ekPEXEC: _perror_t = 2;
pub const _perror_t_ekPOK: _perror_t = 3;
pub type _perror_t = ::libc::c_int;
pub use self::_perror_t as perror_t;
pub const _serror_t_ekSNONET: _serror_t = 1;
pub const _serror_t_ekSNOHOST: _serror_t = 2;
pub const _serror_t_ekSTIMEOUT: _serror_t = 3;
pub const _serror_t_ekSSTREAM: _serror_t = 4;
pub const _serror_t_ekSUNDEF: _serror_t = 5;
pub const _serror_t_ekSOK: _serror_t = 6;
pub type _serror_t = ::libc::c_int;
pub use self::_serror_t as serror_t;
pub type Date = _date_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _dir_t {
    _unused: [u8; 0],
}
pub type Dir = _dir_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _file_t {
    _unused: [u8; 0],
}
pub type File = _file_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _mutex_t {
    _unused: [u8; 0],
}
pub type Mutex = _mutex_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _process_t {
    _unused: [u8; 0],
}
pub type Proc = _process_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _dlib_t {
    _unused: [u8; 0],
}
pub type DLib = _dlib_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _thread_t {
    _unused: [u8; 0],
}
pub type Thread = _thread_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _socket_t {
    _unused: [u8; 0],
}
pub type Socket = _socket_t;
pub type FPtr_thread_main =
    ::core::option::Option<unsafe extern "C" fn(data: *mut ::libc::c_void) -> u32>;
pub type FPtr_libproc = ::core::option::Option<unsafe extern "C" fn()>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _date_t {
    pub year: i16,
    pub month: u8,
    pub wday: u8,
    pub mday: u8,
    pub hour: u8,
    pub minute: u8,
    pub second: u8,
}
pub const _core_event_t_ekEASSERT: _core_event_t = 256;
pub const _core_event_t_ekEFILE: _core_event_t = 257;
pub const _core_event_t_ekEENTRY: _core_event_t = 258;
pub const _core_event_t_ekEEXIT: _core_event_t = 259;
pub type _core_event_t = ::libc::c_int;
pub use self::_core_event_t as core_event_t;
pub const _sstate_t_ekSTOK: _sstate_t = 0;
pub const _sstate_t_ekSTEND: _sstate_t = 1;
pub const _sstate_t_ekSTCORRUPT: _sstate_t = 2;
pub const _sstate_t_ekSTBROKEN: _sstate_t = 3;
pub type _sstate_t = ::libc::c_int;
pub use self::_sstate_t as sstate_t;
pub const _key_t_ekKEY_UNDEF: _key_t = 0;
pub const _key_t_ekKEY_A: _key_t = 1;
pub const _key_t_ekKEY_S: _key_t = 2;
pub const _key_t_ekKEY_D: _key_t = 3;
pub const _key_t_ekKEY_F: _key_t = 4;
pub const _key_t_ekKEY_H: _key_t = 5;
pub const _key_t_ekKEY_G: _key_t = 6;
pub const _key_t_ekKEY_Z: _key_t = 7;
pub const _key_t_ekKEY_X: _key_t = 8;
pub const _key_t_ekKEY_C: _key_t = 9;
pub const _key_t_ekKEY_V: _key_t = 10;
pub const _key_t_ekKEY_BSLASH: _key_t = 11;
pub const _key_t_ekKEY_B: _key_t = 12;
pub const _key_t_ekKEY_Q: _key_t = 13;
pub const _key_t_ekKEY_W: _key_t = 14;
pub const _key_t_ekKEY_E: _key_t = 15;
pub const _key_t_ekKEY_R: _key_t = 16;
pub const _key_t_ekKEY_Y: _key_t = 17;
pub const _key_t_ekKEY_T: _key_t = 18;
pub const _key_t_ekKEY_1: _key_t = 19;
pub const _key_t_ekKEY_2: _key_t = 20;
pub const _key_t_ekKEY_3: _key_t = 21;
pub const _key_t_ekKEY_4: _key_t = 22;
pub const _key_t_ekKEY_6: _key_t = 23;
pub const _key_t_ekKEY_5: _key_t = 24;
pub const _key_t_ekKEY_9: _key_t = 25;
pub const _key_t_ekKEY_7: _key_t = 26;
pub const _key_t_ekKEY_8: _key_t = 27;
pub const _key_t_ekKEY_0: _key_t = 28;
pub const _key_t_ekKEY_RCURLY: _key_t = 29;
pub const _key_t_ekKEY_O: _key_t = 30;
pub const _key_t_ekKEY_U: _key_t = 31;
pub const _key_t_ekKEY_LCURLY: _key_t = 32;
pub const _key_t_ekKEY_I: _key_t = 33;
pub const _key_t_ekKEY_P: _key_t = 34;
pub const _key_t_ekKEY_RETURN: _key_t = 35;
pub const _key_t_ekKEY_L: _key_t = 36;
pub const _key_t_ekKEY_J: _key_t = 37;
pub const _key_t_ekKEY_SEMICOLON: _key_t = 38;
pub const _key_t_ekKEY_K: _key_t = 39;
pub const _key_t_ekKEY_QUEST: _key_t = 40;
pub const _key_t_ekKEY_COMMA: _key_t = 41;
pub const _key_t_ekKEY_MINUS: _key_t = 42;
pub const _key_t_ekKEY_N: _key_t = 43;
pub const _key_t_ekKEY_M: _key_t = 44;
pub const _key_t_ekKEY_PERIOD: _key_t = 45;
pub const _key_t_ekKEY_TAB: _key_t = 46;
pub const _key_t_ekKEY_SPACE: _key_t = 47;
pub const _key_t_ekKEY_GTLT: _key_t = 48;
pub const _key_t_ekKEY_BACK: _key_t = 49;
pub const _key_t_ekKEY_ESCAPE: _key_t = 50;
pub const _key_t_ekKEY_F17: _key_t = 51;
pub const _key_t_ekKEY_NUMDECIMAL: _key_t = 52;
pub const _key_t_ekKEY_NUMMULT: _key_t = 53;
pub const _key_t_ekKEY_NUMADD: _key_t = 54;
pub const _key_t_ekKEY_NUMLOCK: _key_t = 55;
pub const _key_t_ekKEY_NUMDIV: _key_t = 56;
pub const _key_t_ekKEY_NUMRET: _key_t = 57;
pub const _key_t_ekKEY_NUMMINUS: _key_t = 58;
pub const _key_t_ekKEY_F18: _key_t = 59;
pub const _key_t_ekKEY_F19: _key_t = 60;
pub const _key_t_ekKEY_NUMEQUAL: _key_t = 61;
pub const _key_t_ekKEY_NUM0: _key_t = 62;
pub const _key_t_ekKEY_NUM1: _key_t = 63;
pub const _key_t_ekKEY_NUM2: _key_t = 64;
pub const _key_t_ekKEY_NUM3: _key_t = 65;
pub const _key_t_ekKEY_NUM4: _key_t = 66;
pub const _key_t_ekKEY_NUM5: _key_t = 67;
pub const _key_t_ekKEY_NUM6: _key_t = 68;
pub const _key_t_ekKEY_NUM7: _key_t = 69;
pub const _key_t_ekKEY_NUM8: _key_t = 70;
pub const _key_t_ekKEY_NUM9: _key_t = 71;
pub const _key_t_ekKEY_F5: _key_t = 72;
pub const _key_t_ekKEY_F6: _key_t = 73;
pub const _key_t_ekKEY_F7: _key_t = 74;
pub const _key_t_ekKEY_F3: _key_t = 75;
pub const _key_t_ekKEY_F8: _key_t = 76;
pub const _key_t_ekKEY_F9: _key_t = 77;
pub const _key_t_ekKEY_F11: _key_t = 78;
pub const _key_t_ekKEY_F13: _key_t = 79;
pub const _key_t_ekKEY_F16: _key_t = 80;
pub const _key_t_ekKEY_F14: _key_t = 81;
pub const _key_t_ekKEY_F10: _key_t = 82;
pub const _key_t_ekKEY_F12: _key_t = 83;
pub const _key_t_ekKEY_F15: _key_t = 84;
pub const _key_t_ekKEY_PAGEUP: _key_t = 85;
pub const _key_t_ekKEY_HOME: _key_t = 86;
pub const _key_t_ekKEY_SUPR: _key_t = 87;
pub const _key_t_ekKEY_F4: _key_t = 88;
pub const _key_t_ekKEY_PAGEDOWN: _key_t = 89;
pub const _key_t_ekKEY_F2: _key_t = 90;
pub const _key_t_ekKEY_END: _key_t = 91;
pub const _key_t_ekKEY_F1: _key_t = 92;
pub const _key_t_ekKEY_LEFT: _key_t = 93;
pub const _key_t_ekKEY_RIGHT: _key_t = 94;
pub const _key_t_ekKEY_DOWN: _key_t = 95;
pub const _key_t_ekKEY_UP: _key_t = 96;
pub const _key_t_ekKEY_LSHIFT: _key_t = 97;
pub const _key_t_ekKEY_RSHIFT: _key_t = 98;
pub const _key_t_ekKEY_LCTRL: _key_t = 99;
pub const _key_t_ekKEY_RCTRL: _key_t = 100;
pub const _key_t_ekKEY_LALT: _key_t = 101;
pub const _key_t_ekKEY_RALT: _key_t = 102;
pub const _key_t_ekKEY_INSERT: _key_t = 103;
pub const _key_t_ekKEY_EXCLAM: _key_t = 104;
pub const _key_t_ekKEY_MENU: _key_t = 105;
pub const _key_t_ekKEY_LWIN: _key_t = 106;
pub const _key_t_ekKEY_RWIN: _key_t = 107;
pub const _key_t_ekKEY_CAPS: _key_t = 108;
pub const _key_t_ekKEY_TILDE: _key_t = 109;
pub const _key_t_ekKEY_GRAVE: _key_t = 110;
pub const _key_t_ekKEY_PLUS: _key_t = 111;
pub type _key_t = ::libc::c_int;
pub use self::_key_t as vkey_t;
pub const _mkey_t_ekMKEY_NONE: _mkey_t = 0;
pub const _mkey_t_ekMKEY_SHIFT: _mkey_t = 1;
pub const _mkey_t_ekMKEY_CONTROL: _mkey_t = 2;
pub const _mkey_t_ekMKEY_ALT: _mkey_t = 4;
pub const _mkey_t_ekMKEY_COMMAND: _mkey_t = 8;
pub type _mkey_t = ::libc::c_int;
pub use self::_mkey_t as mkey_t;
pub const _token_t_ekTSLCOM: _token_t = 1;
pub const _token_t_ekTMLCOM: _token_t = 2;
pub const _token_t_ekTSPACE: _token_t = 3;
pub const _token_t_ekTEOL: _token_t = 4;
pub const _token_t_ekTLESS: _token_t = 5;
pub const _token_t_ekTGREAT: _token_t = 6;
pub const _token_t_ekTCOMMA: _token_t = 7;
pub const _token_t_ekTPERIOD: _token_t = 8;
pub const _token_t_ekTSCOLON: _token_t = 9;
pub const _token_t_ekTCOLON: _token_t = 10;
pub const _token_t_ekTOPENPAR: _token_t = 11;
pub const _token_t_ekTCLOSPAR: _token_t = 12;
pub const _token_t_ekTOPENBRAC: _token_t = 13;
pub const _token_t_ekTCLOSBRAC: _token_t = 14;
pub const _token_t_ekTOPENCURL: _token_t = 15;
pub const _token_t_ekTCLOSCURL: _token_t = 16;
pub const _token_t_ekTPLUS: _token_t = 17;
pub const _token_t_ekTMINUS: _token_t = 18;
pub const _token_t_ekTASTERK: _token_t = 19;
pub const _token_t_ekTEQUALS: _token_t = 20;
pub const _token_t_ekTDOLLAR: _token_t = 21;
pub const _token_t_ekTPERCENT: _token_t = 22;
pub const _token_t_ekTPOUND: _token_t = 23;
pub const _token_t_ekTAMPER: _token_t = 24;
pub const _token_t_ekTAPOST: _token_t = 25;
pub const _token_t_ekTQUOTE: _token_t = 26;
pub const _token_t_ekTCIRCUM: _token_t = 27;
pub const _token_t_ekTTILDE: _token_t = 28;
pub const _token_t_ekTEXCLA: _token_t = 29;
pub const _token_t_ekTQUEST: _token_t = 30;
pub const _token_t_ekTVLINE: _token_t = 31;
pub const _token_t_ekTSLASH: _token_t = 32;
pub const _token_t_ekTBSLASH: _token_t = 33;
pub const _token_t_ekTAT: _token_t = 34;
pub const _token_t_ekTINTEGER: _token_t = 35;
pub const _token_t_ekTOCTAL: _token_t = 36;
pub const _token_t_ekTHEX: _token_t = 37;
pub const _token_t_ekTREAL: _token_t = 38;
pub const _token_t_ekTSTRING: _token_t = 39;
pub const _token_t_ekTIDENT: _token_t = 40;
pub const _token_t_ekTUNDEF: _token_t = 41;
pub const _token_t_ekTCORRUP: _token_t = 42;
pub const _token_t_ekTEOF: _token_t = 43;
pub const _token_t_ekTRESERVED: _token_t = 44;
pub type _token_t = ::libc::c_int;
pub use self::_token_t as ltoken_t;
pub const _dbindst_t_ekDBIND_OK: _dbindst_t = 0;
pub const _dbindst_t_ekDBIND_MEMBER_EXISTS: _dbindst_t = 1;
pub const _dbindst_t_ekDBIND_TYPE_EXISTS: _dbindst_t = 2;
pub const _dbindst_t_ekDBIND_TYPE_UNKNOWN: _dbindst_t = 3;
pub const _dbindst_t_ekDBIND_TYPE_USED: _dbindst_t = 4;
pub const _dbindst_t_ekDBIND_ALIAS_SIZE: _dbindst_t = 5;
pub type _dbindst_t = ::libc::c_int;
pub use self::_dbindst_t as dbindst_t;
pub type Buffer = _buffer_t;
pub type String = _string_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _stream_t {
    _unused: [u8; 0],
}
pub type Stream = _stream_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _array_t {
    _unused: [u8; 0],
}
pub type Array = _array_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _rbtree_t {
    _unused: [u8; 0],
}
pub type RBTree = _rbtree_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _regex {
    _unused: [u8; 0],
}
pub type RegEx = _regex;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _event_t {
    _unused: [u8; 0],
}
pub type Event = _event_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _keybuf_t {
    _unused: [u8; 0],
}
pub type KeyBuf = _keybuf_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _listener_t {
    _unused: [u8; 0],
}
pub type Listener = _listener_t;
pub type DirEntry = _direntry_t;
pub type EvFileDir = _evfiledir_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _respack {
    _unused: [u8; 0],
}
pub type ResPack = _respack;
pub type ResId = *const char_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _clock_t {
    _unused: [u8; 0],
}
pub type Clock = _clock_t;
pub type Object = _object_t;
pub type FPtr_remove = ::core::option::Option<unsafe extern "C" fn(obj: *mut ::libc::c_void)>;
pub type FPtr_event_handler =
    ::core::option::Option<unsafe extern "C" fn(obj: *mut ::libc::c_void, event: *mut Event)>;
pub type FPtr_read =
    ::core::option::Option<unsafe extern "C" fn(stream: *mut Stream) -> *mut ::libc::c_void>;
pub type FPtr_read_init =
    ::core::option::Option<unsafe extern "C" fn(stream: *mut Stream, obj: *mut ::libc::c_void)>;
pub type FPtr_write =
    ::core::option::Option<unsafe extern "C" fn(stream: *mut Stream, obj: *const ::libc::c_void)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _buffer_t {
    pub size: u32,
    pub data: [::libc::c_char; 512usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _object_t {
    pub count: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _string_t {
    pub size: u32,
    pub data: [::libc::c_char; 512usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _direntry_t {
    pub name: *mut String,
    pub type_: file_type_t,
    pub size: u64,
    pub date: Date,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evfiledir_t {
    pub filename: *const char_t,
    pub pathname: *const char_t,
    pub depth: u32,
}
unsafe extern "C" {
    pub fn array_create(esize: u16, type_: *const char_t) -> *mut Array;
}
unsafe extern "C" {
    pub fn array_copy(
        array: *const Array,
        func_copy: FPtr_scopy,
        type_: *const char_t,
    ) -> *mut Array;
}
unsafe extern "C" {
    pub fn array_copy_ptr(
        array: *const Array,
        func_copy: FPtr_copy,
        type_: *const char_t,
    ) -> *mut Array;
}
unsafe extern "C" {
    pub fn array_read(
        stream: *mut Stream,
        esize: u16,
        func_read_init: FPtr_read_init,
        type_: *const char_t,
    ) -> *mut Array;
}
unsafe extern "C" {
    pub fn array_read_ptr(
        stream: *mut Stream,
        func_read: FPtr_read,
        type_: *const char_t,
    ) -> *mut Array;
}
unsafe extern "C" {
    pub fn array_destroy(array: *mut *mut Array, func_remove: FPtr_remove, type_: *const char_t);
}
unsafe extern "C" {
    pub fn array_destopt(array: *mut *mut Array, func_remove: FPtr_remove, type_: *const char_t);
}
unsafe extern "C" {
    pub fn array_destroy_ptr(
        array: *mut *mut Array,
        func_destroy: FPtr_destroy,
        type_: *const char_t,
    );
}
unsafe extern "C" {
    pub fn array_destopt_ptr(
        array: *mut *mut Array,
        func_destroy: FPtr_destroy,
        type_: *const char_t,
    );
}
unsafe extern "C" {
    pub fn array_clear(array: *mut Array, func_remove: FPtr_remove);
}
unsafe extern "C" {
    pub fn array_clear_ptr(array: *mut Array, func_destroy: FPtr_destroy);
}
unsafe extern "C" {
    pub fn array_write(stream: *mut Stream, array: *const Array, func_write: FPtr_write);
}
unsafe extern "C" {
    pub fn array_write_ptr(stream: *mut Stream, array: *const Array, func_write: FPtr_write);
}
unsafe extern "C" {
    pub fn array_size(array: *const Array) -> u32;
}
unsafe extern "C" {
    pub fn array_esize(array: *const Array) -> u32;
}
unsafe extern "C" {
    pub fn array_get(array: *const Array, pos: u32) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn array_get_last(array: *const Array) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn array_all(array: *const Array) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn array_insert(array: *mut Array, pos: u32, n: u32) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn array_insert0(array: *mut Array, pos: u32, n: u32) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn array_join(dest: *mut Array, src: *const Array, func_copy: FPtr_scopy);
}
unsafe extern "C" {
    pub fn array_join_ptr(dest: *mut Array, src: *const Array, func_copy: FPtr_copy);
}
unsafe extern "C" {
    pub fn array_delete(array: *mut Array, pos: u32, n: u32, func_remove: FPtr_remove);
}
unsafe extern "C" {
    pub fn array_delete_ptr(array: *mut Array, pos: u32, n: u32, func_destroy: FPtr_destroy);
}
unsafe extern "C" {
    pub fn array_pop(array: *mut Array, func_remove: FPtr_remove);
}
unsafe extern "C" {
    pub fn array_pop_ptr(array: *mut Array, func_destroy: FPtr_destroy);
}
unsafe extern "C" {
    pub fn array_sort(array: *mut Array, func_compare: FPtr_compare);
}
unsafe extern "C" {
    pub fn array_sort_ex(
        array: *mut Array,
        func_compare: FPtr_compare_ex,
        data: *mut ::libc::c_void,
    );
}
unsafe extern "C" {
    pub fn array_sort_ptr(array: *mut Array, func_compare: FPtr_compare);
}
unsafe extern "C" {
    pub fn array_sort_ptr_ex(
        array: *mut Array,
        func_compare: FPtr_compare_ex,
        data: *mut ::libc::c_void,
    );
}
unsafe extern "C" {
    pub fn array_find_ptr(array: *const Array, elem: *const ::libc::c_void) -> u32;
}
unsafe extern "C" {
    pub fn array_search(
        array: *const Array,
        func_compare: FPtr_compare,
        key: *const ::libc::c_void,
        pos: *mut u32,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn array_search_ptr(
        array: *const Array,
        func_compare: FPtr_compare,
        key: *const ::libc::c_void,
        pos: *mut u32,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn array_bsearch(
        array: *const Array,
        func_compare: FPtr_compare,
        key: *const ::libc::c_void,
        pos: *mut u32,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn array_bsearch_ptr(
        array: *const Array,
        func_compare: FPtr_compare,
        key: *const ::libc::c_void,
        pos: *mut u32,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_create(
        func_compare: FPtr_compare,
        esize: u16,
        ksize: u16,
        type_: *const char_t,
        ktype: *const char_t,
    ) -> *mut RBTree;
}
unsafe extern "C" {
    pub fn rbtree_destroy(
        tree: *mut *mut RBTree,
        func_remove: FPtr_remove,
        func_destroy_key: FPtr_destroy,
        type_: *const char_t,
    );
}
unsafe extern "C" {
    pub fn rbtree_destroy_ptr(
        tree: *mut *mut RBTree,
        func_destroy: FPtr_destroy,
        func_destroy_key: FPtr_destroy,
        type_: *const char_t,
    );
}
unsafe extern "C" {
    pub fn rbtree_size(tree: *const RBTree) -> u32;
}
unsafe extern "C" {
    pub fn rbtree_get(
        tree: *const RBTree,
        key: *const ::libc::c_void,
        isptr: bool_t,
        ktype: *const char_t,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_insert(
        tree: *mut RBTree,
        key: *const ::libc::c_void,
        func_key_copy: FPtr_copy,
        ktype: *const char_t,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_insert_ptr(
        tree: *mut RBTree,
        key: *const ::libc::c_void,
        ptr: *mut ::libc::c_void,
        ktype: *const char_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn rbtree_delete(
        tree: *mut RBTree,
        key: *const ::libc::c_void,
        func_remove: FPtr_remove,
        func_destroy_key: FPtr_destroy,
        ktype: *const char_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn rbtree_delete_ptr(
        tree: *mut RBTree,
        key: *const ::libc::c_void,
        func_destroy: FPtr_destroy,
        func_destroy_key: FPtr_destroy,
        ktype: *const char_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn rbtree_first(tree: *mut RBTree) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_last(tree: *mut RBTree) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_next(tree: *mut RBTree) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_prev(tree: *mut RBTree) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_first_ptr(tree: *mut RBTree) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_last_ptr(tree: *mut RBTree) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_next_ptr(tree: *mut RBTree) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_prev_ptr(tree: *mut RBTree) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn rbtree_get_key(tree: *const RBTree) -> *const char_t;
}
unsafe extern "C" {
    pub fn rbtree_check(tree: *const RBTree) -> bool_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bool_tData {
    pub elem: [bool_t; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStbool_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut bool_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStbool_t {
    pub rb: u32,
    pub left: *mut NodeStbool_t,
    pub right: *mut NodeStbool_t,
    pub data: bool_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStbool_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStbool_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendbool_t_t {
    _unused: [u8; 0],
}
pub type arrstendbool_t = _arrstendbool_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendbool_t_t {
    _unused: [u8; 0],
}
pub type setstendbool_t = _setstendbool_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct int8_tData {
    pub elem: [i8; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStint8_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut int8_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStint8_t {
    pub rb: u32,
    pub left: *mut NodeStint8_t,
    pub right: *mut NodeStint8_t,
    pub data: i8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStint8_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStint8_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendint8_t_t {
    _unused: [u8; 0],
}
pub type arrstendint8_t = _arrstendint8_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendint8_t_t {
    _unused: [u8; 0],
}
pub type setstendint8_t = _setstendint8_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct int16_tData {
    pub elem: [i16; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStint16_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut int16_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStint16_t {
    pub rb: u32,
    pub left: *mut NodeStint16_t,
    pub right: *mut NodeStint16_t,
    pub data: i16,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStint16_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStint16_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendint16_t_t {
    _unused: [u8; 0],
}
pub type arrstendint16_t = _arrstendint16_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendint16_t_t {
    _unused: [u8; 0],
}
pub type setstendint16_t = _setstendint16_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct int32_tData {
    pub elem: [i32; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStint32_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut int32_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStint32_t {
    pub rb: u32,
    pub left: *mut NodeStint32_t,
    pub right: *mut NodeStint32_t,
    pub data: i32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStint32_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStint32_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendint32_t_t {
    _unused: [u8; 0],
}
pub type arrstendint32_t = _arrstendint32_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendint32_t_t {
    _unused: [u8; 0],
}
pub type setstendint32_t = _setstendint32_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct int64_tData {
    pub elem: [i64; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStint64_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut int64_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStint64_t {
    pub rb: u32,
    pub left: *mut NodeStint64_t,
    pub right: *mut NodeStint64_t,
    pub data: i64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStint64_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStint64_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendint64_t_t {
    _unused: [u8; 0],
}
pub type arrstendint64_t = _arrstendint64_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendint64_t_t {
    _unused: [u8; 0],
}
pub type setstendint64_t = _setstendint64_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct uint8_tData {
    pub elem: [u8; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStuint8_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut uint8_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStuint8_t {
    pub rb: u32,
    pub left: *mut NodeStuint8_t,
    pub right: *mut NodeStuint8_t,
    pub data: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStuint8_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStuint8_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstenduint8_t_t {
    _unused: [u8; 0],
}
pub type arrstenduint8_t = _arrstenduint8_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstenduint8_t_t {
    _unused: [u8; 0],
}
pub type setstenduint8_t = _setstenduint8_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct uint16_tData {
    pub elem: [u16; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStuint16_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut uint16_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStuint16_t {
    pub rb: u32,
    pub left: *mut NodeStuint16_t,
    pub right: *mut NodeStuint16_t,
    pub data: u16,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStuint16_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStuint16_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstenduint16_t_t {
    _unused: [u8; 0],
}
pub type arrstenduint16_t = _arrstenduint16_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstenduint16_t_t {
    _unused: [u8; 0],
}
pub type setstenduint16_t = _setstenduint16_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct uint32_tData {
    pub elem: [u32; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStuint32_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut uint32_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStuint32_t {
    pub rb: u32,
    pub left: *mut NodeStuint32_t,
    pub right: *mut NodeStuint32_t,
    pub data: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStuint32_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStuint32_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstenduint32_t_t {
    _unused: [u8; 0],
}
pub type arrstenduint32_t = _arrstenduint32_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstenduint32_t_t {
    _unused: [u8; 0],
}
pub type setstenduint32_t = _setstenduint32_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct uint64_tData {
    pub elem: [u64; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStuint64_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut uint64_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStuint64_t {
    pub rb: u32,
    pub left: *mut NodeStuint64_t,
    pub right: *mut NodeStuint64_t,
    pub data: u64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStuint64_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStuint64_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstenduint64_t_t {
    _unused: [u8; 0],
}
pub type arrstenduint64_t = _arrstenduint64_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstenduint64_t_t {
    _unused: [u8; 0],
}
pub type setstenduint64_t = _setstenduint64_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct real32_tData {
    pub elem: [real32_t; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStreal32_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut real32_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStreal32_t {
    pub rb: u32,
    pub left: *mut NodeStreal32_t,
    pub right: *mut NodeStreal32_t,
    pub data: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStreal32_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStreal32_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendreal32_t_t {
    _unused: [u8; 0],
}
pub type arrstendreal32_t = _arrstendreal32_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendreal32_t_t {
    _unused: [u8; 0],
}
pub type setstendreal32_t = _setstendreal32_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct real64_tData {
    pub elem: [real64_t; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStreal64_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut real64_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStreal64_t {
    pub rb: u32,
    pub left: *mut NodeStreal64_t,
    pub right: *mut NodeStreal64_t,
    pub data: real64_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStreal64_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStreal64_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendreal64_t_t {
    _unused: [u8; 0],
}
pub type arrstendreal64_t = _arrstendreal64_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendreal64_t_t {
    _unused: [u8; 0],
}
pub type setstendreal64_t = _setstendreal64_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct StringPtData {
    pub elem: [*mut String; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrPtString {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut StringPtData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodePtString {
    pub rb: u32,
    pub left: *mut NodePtString,
    pub right: *mut NodePtString,
    pub data: *mut String,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetPtString {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodePtString,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrptendString_t {
    _unused: [u8; 0],
}
pub type arrptendString = _arrptendString_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setptendString_t {
    _unused: [u8; 0],
}
pub type setptendString = _setptendString_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct DirEntryData {
    pub elem: [DirEntry; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStDirEntry {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut DirEntryData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStDirEntry {
    pub rb: u32,
    pub left: *mut NodeStDirEntry,
    pub right: *mut NodeStDirEntry,
    pub data: DirEntry,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStDirEntry {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStDirEntry,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendDirEntry_t {
    _unused: [u8; 0],
}
pub type arrstendDirEntry = _arrstendDirEntry_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendDirEntry_t {
    _unused: [u8; 0],
}
pub type setstendDirEntry = _setstendDirEntry_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ResPackPtData {
    pub elem: [*mut ResPack; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrPtResPack {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut ResPackPtData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodePtResPack {
    pub rb: u32,
    pub left: *mut NodePtResPack,
    pub right: *mut NodePtResPack,
    pub data: *mut ResPack,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetPtResPack {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodePtResPack,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrptendResPack_t {
    _unused: [u8; 0],
}
pub type arrptendResPack = _arrptendResPack_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setptendResPack_t {
    _unused: [u8; 0],
}
pub type setptendResPack = _setptendResPack_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct RegExPtData {
    pub elem: [*mut RegEx; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrPtRegEx {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut RegExPtData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodePtRegEx {
    pub rb: u32,
    pub left: *mut NodePtRegEx,
    pub right: *mut NodePtRegEx,
    pub data: *mut RegEx,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetPtRegEx {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodePtRegEx,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrptendRegEx_t {
    _unused: [u8; 0],
}
pub type arrptendRegEx = _arrptendRegEx_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setptendRegEx_t {
    _unused: [u8; 0],
}
pub type setptendRegEx = _setptendRegEx_t;
pub type V2Df = _v2df_t;
pub type V2Dd = _v2dd_t;
pub type S2Df = _s2df_t;
pub type S2Dd = _s2dd_t;
pub type R2Df = _r2df_t;
pub type R2Dd = _r2dd_t;
pub type T2Df = _t2df_t;
pub type T2Dd = _t2dd_t;
pub type Seg2Df = _seg2df_t;
pub type Seg2Dd = _seg2dd_t;
pub type Cir2Df = _cir2df_t;
pub type Cir2Dd = _cir2dd_t;
pub type Box2Df = _box2df_t;
pub type Box2Dd = _box2dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _obb2df_t {
    _unused: [u8; 0],
}
pub type OBB2Df = _obb2df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _obb2dd_t {
    _unused: [u8; 0],
}
pub type OBB2Dd = _obb2dd_t;
pub type Tri2Df = _tri2df_t;
pub type Tri2Dd = _tri2dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _pol2df_t {
    _unused: [u8; 0],
}
pub type Pol2Df = _pol2df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _pol2dd_t {
    _unused: [u8; 0],
}
pub type Pol2Dd = _pol2dd_t;
pub type Col2Df = _col2df_t;
pub type Col2Dd = _col2dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _v2df_t {
    pub x: real32_t,
    pub y: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _v2dd_t {
    pub x: real64_t,
    pub y: real64_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _s2df_t {
    pub width: real32_t,
    pub height: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _s2dd_t {
    pub width: real64_t,
    pub height: real64_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _r2df_t {
    pub pos: V2Df,
    pub size: S2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _r2dd_t {
    pub pos: V2Dd,
    pub size: S2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _t2df_t {
    pub i: V2Df,
    pub j: V2Df,
    pub p: V2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _t2dd_t {
    pub i: V2Dd,
    pub j: V2Dd,
    pub p: V2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _seg2df_t {
    pub p0: V2Df,
    pub p1: V2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _seg2dd_t {
    pub p0: V2Dd,
    pub p1: V2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _cir2df_t {
    pub c: V2Df,
    pub r: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _cir2dd_t {
    pub c: V2Dd,
    pub r: real64_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _box2df_t {
    pub min: V2Df,
    pub max: V2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _box2dd_t {
    pub min: V2Dd,
    pub max: V2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _tri2df_t {
    pub p0: V2Df,
    pub p1: V2Df,
    pub p2: V2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _tri2dd_t {
    pub p0: V2Dd,
    pub p1: V2Dd,
    pub p2: V2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _col2df_t {
    pub p: V2Df,
    pub n: V2Df,
    pub d: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _col2dd_t {
    pub p: V2Dd,
    pub n: V2Dd,
    pub d: real64_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct V2DfData {
    pub elem: [V2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStV2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut V2DfData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStV2Df {
    pub rb: u32,
    pub left: *mut NodeStV2Df,
    pub right: *mut NodeStV2Df,
    pub data: V2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStV2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStV2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendV2Df_t {
    _unused: [u8; 0],
}
pub type arrstendV2Df = _arrstendV2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendV2Df_t {
    _unused: [u8; 0],
}
pub type setstendV2Df = _setstendV2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct V2DdData {
    pub elem: [V2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStV2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut V2DdData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStV2Dd {
    pub rb: u32,
    pub left: *mut NodeStV2Dd,
    pub right: *mut NodeStV2Dd,
    pub data: V2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStV2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStV2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendV2Dd_t {
    _unused: [u8; 0],
}
pub type arrstendV2Dd = _arrstendV2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendV2Dd_t {
    _unused: [u8; 0],
}
pub type setstendV2Dd = _setstendV2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct S2DfData {
    pub elem: [S2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStS2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut S2DfData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStS2Df {
    pub rb: u32,
    pub left: *mut NodeStS2Df,
    pub right: *mut NodeStS2Df,
    pub data: S2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStS2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStS2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendS2Df_t {
    _unused: [u8; 0],
}
pub type arrstendS2Df = _arrstendS2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendS2Df_t {
    _unused: [u8; 0],
}
pub type setstendS2Df = _setstendS2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct S2DdData {
    pub elem: [S2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStS2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut S2DdData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStS2Dd {
    pub rb: u32,
    pub left: *mut NodeStS2Dd,
    pub right: *mut NodeStS2Dd,
    pub data: S2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStS2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStS2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendS2Dd_t {
    _unused: [u8; 0],
}
pub type arrstendS2Dd = _arrstendS2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendS2Dd_t {
    _unused: [u8; 0],
}
pub type setstendS2Dd = _setstendS2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct R2DfData {
    pub elem: [R2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStR2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut R2DfData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStR2Df {
    pub rb: u32,
    pub left: *mut NodeStR2Df,
    pub right: *mut NodeStR2Df,
    pub data: R2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStR2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStR2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendR2Df_t {
    _unused: [u8; 0],
}
pub type arrstendR2Df = _arrstendR2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendR2Df_t {
    _unused: [u8; 0],
}
pub type setstendR2Df = _setstendR2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct R2DdData {
    pub elem: [R2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStR2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut R2DdData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStR2Dd {
    pub rb: u32,
    pub left: *mut NodeStR2Dd,
    pub right: *mut NodeStR2Dd,
    pub data: R2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStR2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStR2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendR2Dd_t {
    _unused: [u8; 0],
}
pub type arrstendR2Dd = _arrstendR2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendR2Dd_t {
    _unused: [u8; 0],
}
pub type setstendR2Dd = _setstendR2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct T2DfData {
    pub elem: [T2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStT2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut T2DfData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStT2Df {
    pub rb: u32,
    pub left: *mut NodeStT2Df,
    pub right: *mut NodeStT2Df,
    pub data: T2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStT2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStT2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendT2Df_t {
    _unused: [u8; 0],
}
pub type arrstendT2Df = _arrstendT2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendT2Df_t {
    _unused: [u8; 0],
}
pub type setstendT2Df = _setstendT2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct T2DdData {
    pub elem: [T2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStT2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut T2DdData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStT2Dd {
    pub rb: u32,
    pub left: *mut NodeStT2Dd,
    pub right: *mut NodeStT2Dd,
    pub data: T2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStT2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStT2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendT2Dd_t {
    _unused: [u8; 0],
}
pub type arrstendT2Dd = _arrstendT2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendT2Dd_t {
    _unused: [u8; 0],
}
pub type setstendT2Dd = _setstendT2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Seg2DfData {
    pub elem: [Seg2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStSeg2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Seg2DfData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStSeg2Df {
    pub rb: u32,
    pub left: *mut NodeStSeg2Df,
    pub right: *mut NodeStSeg2Df,
    pub data: Seg2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStSeg2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStSeg2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendSeg2Df_t {
    _unused: [u8; 0],
}
pub type arrstendSeg2Df = _arrstendSeg2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendSeg2Df_t {
    _unused: [u8; 0],
}
pub type setstendSeg2Df = _setstendSeg2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Seg2DdData {
    pub elem: [Seg2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStSeg2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Seg2DdData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStSeg2Dd {
    pub rb: u32,
    pub left: *mut NodeStSeg2Dd,
    pub right: *mut NodeStSeg2Dd,
    pub data: Seg2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStSeg2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStSeg2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendSeg2Dd_t {
    _unused: [u8; 0],
}
pub type arrstendSeg2Dd = _arrstendSeg2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendSeg2Dd_t {
    _unused: [u8; 0],
}
pub type setstendSeg2Dd = _setstendSeg2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Cir2DfData {
    pub elem: [Cir2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStCir2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Cir2DfData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStCir2Df {
    pub rb: u32,
    pub left: *mut NodeStCir2Df,
    pub right: *mut NodeStCir2Df,
    pub data: Cir2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStCir2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStCir2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendCir2Df_t {
    _unused: [u8; 0],
}
pub type arrstendCir2Df = _arrstendCir2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendCir2Df_t {
    _unused: [u8; 0],
}
pub type setstendCir2Df = _setstendCir2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Cir2DdData {
    pub elem: [Cir2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStCir2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Cir2DdData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStCir2Dd {
    pub rb: u32,
    pub left: *mut NodeStCir2Dd,
    pub right: *mut NodeStCir2Dd,
    pub data: Cir2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStCir2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStCir2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendCir2Dd_t {
    _unused: [u8; 0],
}
pub type arrstendCir2Dd = _arrstendCir2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendCir2Dd_t {
    _unused: [u8; 0],
}
pub type setstendCir2Dd = _setstendCir2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Box2DfData {
    pub elem: [Box2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStBox2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Box2DfData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStBox2Df {
    pub rb: u32,
    pub left: *mut NodeStBox2Df,
    pub right: *mut NodeStBox2Df,
    pub data: Box2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStBox2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStBox2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendBox2Df_t {
    _unused: [u8; 0],
}
pub type arrstendBox2Df = _arrstendBox2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendBox2Df_t {
    _unused: [u8; 0],
}
pub type setstendBox2Df = _setstendBox2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Box2DdData {
    pub elem: [Box2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStBox2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Box2DdData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStBox2Dd {
    pub rb: u32,
    pub left: *mut NodeStBox2Dd,
    pub right: *mut NodeStBox2Dd,
    pub data: Box2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStBox2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStBox2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendBox2Dd_t {
    _unused: [u8; 0],
}
pub type arrstendBox2Dd = _arrstendBox2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendBox2Dd_t {
    _unused: [u8; 0],
}
pub type setstendBox2Dd = _setstendBox2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Tri2DfData {
    pub elem: [Tri2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStTri2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Tri2DfData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStTri2Df {
    pub rb: u32,
    pub left: *mut NodeStTri2Df,
    pub right: *mut NodeStTri2Df,
    pub data: Tri2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStTri2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStTri2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendTri2Df_t {
    _unused: [u8; 0],
}
pub type arrstendTri2Df = _arrstendTri2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendTri2Df_t {
    _unused: [u8; 0],
}
pub type setstendTri2Df = _setstendTri2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Tri2DdData {
    pub elem: [Tri2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStTri2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Tri2DdData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStTri2Dd {
    pub rb: u32,
    pub left: *mut NodeStTri2Dd,
    pub right: *mut NodeStTri2Dd,
    pub data: Tri2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStTri2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStTri2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendTri2Dd_t {
    _unused: [u8; 0],
}
pub type arrstendTri2Dd = _arrstendTri2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendTri2Dd_t {
    _unused: [u8; 0],
}
pub type setstendTri2Dd = _setstendTri2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Pol2DfPtData {
    pub elem: [*mut Pol2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrPtPol2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Pol2DfPtData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodePtPol2Df {
    pub rb: u32,
    pub left: *mut NodePtPol2Df,
    pub right: *mut NodePtPol2Df,
    pub data: *mut Pol2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetPtPol2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodePtPol2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrptendPol2Df_t {
    _unused: [u8; 0],
}
pub type arrptendPol2Df = _arrptendPol2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setptendPol2Df_t {
    _unused: [u8; 0],
}
pub type setptendPol2Df = _setptendPol2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Pol2DdPtData {
    pub elem: [*mut Pol2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrPtPol2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Pol2DdPtData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodePtPol2Dd {
    pub rb: u32,
    pub left: *mut NodePtPol2Dd,
    pub right: *mut NodePtPol2Dd,
    pub data: *mut Pol2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetPtPol2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodePtPol2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrptendPol2Dd_t {
    _unused: [u8; 0],
}
pub type arrptendPol2Dd = _arrptendPol2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setptendPol2Dd_t {
    _unused: [u8; 0],
}
pub type setptendPol2Dd = _setptendPol2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Col2DfData {
    pub elem: [Col2Df; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStCol2Df {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Col2DfData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStCol2Df {
    pub rb: u32,
    pub left: *mut NodeStCol2Df,
    pub right: *mut NodeStCol2Df,
    pub data: Col2Df,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStCol2Df {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStCol2Df,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendCol2Df_t {
    _unused: [u8; 0],
}
pub type arrstendCol2Df = _arrstendCol2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendCol2Df_t {
    _unused: [u8; 0],
}
pub type setstendCol2Df = _setstendCol2Df_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Col2DdData {
    pub elem: [Col2Dd; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStCol2Dd {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut Col2DdData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStCol2Dd {
    pub rb: u32,
    pub left: *mut NodeStCol2Dd,
    pub right: *mut NodeStCol2Dd,
    pub data: Col2Dd,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStCol2Dd {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStCol2Dd,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendCol2Dd_t {
    _unused: [u8; 0],
}
pub type arrstendCol2Dd = _arrstendCol2Dd_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendCol2Dd_t {
    _unused: [u8; 0],
}
pub type setstendCol2Dd = _setstendCol2Dd_t;
pub const _pixformat_t_ekINDEX1: _pixformat_t = 0;
pub const _pixformat_t_ekINDEX2: _pixformat_t = 1;
pub const _pixformat_t_ekINDEX4: _pixformat_t = 2;
pub const _pixformat_t_ekINDEX8: _pixformat_t = 3;
pub const _pixformat_t_ekGRAY8: _pixformat_t = 4;
pub const _pixformat_t_ekRGB24: _pixformat_t = 5;
pub const _pixformat_t_ekRGBA32: _pixformat_t = 6;
pub const _pixformat_t_ekFIMAGE: _pixformat_t = 7;
pub type _pixformat_t = ::libc::c_int;
pub use self::_pixformat_t as pixformat_t;
pub const _codec_t_ekJPG: _codec_t = 1;
pub const _codec_t_ekPNG: _codec_t = 2;
pub const _codec_t_ekBMP: _codec_t = 3;
pub const _codec_t_ekGIF: _codec_t = 4;
pub type _codec_t = ::libc::c_int;
pub use self::_codec_t as codec_t;
pub const _fstyle_t_ekFNORMAL: _fstyle_t = 0;
pub const _fstyle_t_ekFBOLD: _fstyle_t = 1;
pub const _fstyle_t_ekFITALIC: _fstyle_t = 2;
pub const _fstyle_t_ekFSTRIKEOUT: _fstyle_t = 4;
pub const _fstyle_t_ekFUNDERLINE: _fstyle_t = 8;
pub const _fstyle_t_ekFSUBSCRIPT: _fstyle_t = 16;
pub const _fstyle_t_ekFSUPSCRIPT: _fstyle_t = 32;
pub const _fstyle_t_ekFPIXELS: _fstyle_t = 0;
pub const _fstyle_t_ekFPOINTS: _fstyle_t = 64;
pub const _fstyle_t_ekFCELL: _fstyle_t = 128;
pub type _fstyle_t = ::libc::c_int;
pub use self::_fstyle_t as fstyle_t;
pub const _linecap_t_ekLCFLAT: _linecap_t = 0;
pub const _linecap_t_ekLCSQUARE: _linecap_t = 1;
pub const _linecap_t_ekLCROUND: _linecap_t = 2;
pub type _linecap_t = ::libc::c_int;
pub use self::_linecap_t as linecap_t;
pub const _linejoin_t_ekLJMITER: _linejoin_t = 0;
pub const _linejoin_t_ekLJROUND: _linejoin_t = 1;
pub const _linejoin_t_ekLJBEVEL: _linejoin_t = 2;
pub type _linejoin_t = ::libc::c_int;
pub use self::_linejoin_t as linejoin_t;
pub const _fillwrap_t_ekFCLAMP: _fillwrap_t = 0;
pub const _fillwrap_t_ekFTILE: _fillwrap_t = 1;
pub const _fillwrap_t_ekFFLIP: _fillwrap_t = 2;
pub type _fillwrap_t = ::libc::c_int;
pub use self::_fillwrap_t as fillwrap_t;
pub const _drawop_t_ekSTROKE: _drawop_t = 1;
pub const _drawop_t_ekFILL: _drawop_t = 2;
pub const _drawop_t_ekSKFILL: _drawop_t = 3;
pub const _drawop_t_ekFILLSK: _drawop_t = 4;
pub type _drawop_t = ::libc::c_int;
pub use self::_drawop_t as drawop_t;
pub const _align_t_ekLEFT: _align_t = 1;
pub const _align_t_ekTOP: _align_t = 1;
pub const _align_t_ekCENTER: _align_t = 2;
pub const _align_t_ekRIGHT: _align_t = 3;
pub const _align_t_ekBOTTOM: _align_t = 3;
pub const _align_t_ekJUSTIFY: _align_t = 4;
pub type _align_t = ::libc::c_int;
pub use self::_align_t as align_t;
pub const _ellipsis_t_ekELLIPNONE: _ellipsis_t = 1;
pub const _ellipsis_t_ekELLIPBEGIN: _ellipsis_t = 2;
pub const _ellipsis_t_ekELLIPMIDDLE: _ellipsis_t = 3;
pub const _ellipsis_t_ekELLIPEND: _ellipsis_t = 4;
pub const _ellipsis_t_ekELLIPMLINE: _ellipsis_t = 5;
pub type _ellipsis_t = ::libc::c_int;
pub use self::_ellipsis_t as ellipsis_t;
pub const _indicator_t_ekINDNONE: _indicator_t = 0;
pub const _indicator_t_ekINDUP_ARROW: _indicator_t = 1;
pub const _indicator_t_ekINDDOWN_ARROW: _indicator_t = 2;
pub type _indicator_t = ::libc::c_int;
pub use self::_indicator_t as indicator_t;
pub type color_t = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _dctx_t {
    _unused: [u8; 0],
}
pub type DCtx = _dctx_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _palette_t {
    _unused: [u8; 0],
}
pub type Palette = _palette_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _pixbuf_t {
    _unused: [u8; 0],
}
pub type Pixbuf = _pixbuf_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _image_t {
    _unused: [u8; 0],
}
pub type Image = _image_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _font_t {
    _unused: [u8; 0],
}
pub type Font = _font_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct color_tData {
    pub elem: [color_t; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStcolor_t {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut color_tData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStcolor_t {
    pub rb: u32,
    pub left: *mut NodeStcolor_t,
    pub right: *mut NodeStcolor_t,
    pub data: color_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStcolor_t {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStcolor_t,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendcolor_t_t {
    _unused: [u8; 0],
}
pub type arrstendcolor_t = _arrstendcolor_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendcolor_t_t {
    _unused: [u8; 0],
}
pub type setstendcolor_t = _setstendcolor_t_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ImagePtData {
    pub elem: [*mut Image; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrPtImage {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut ImagePtData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodePtImage {
    pub rb: u32,
    pub left: *mut NodePtImage,
    pub right: *mut NodePtImage,
    pub data: *mut Image,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetPtImage {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodePtImage,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrptendImage_t {
    _unused: [u8; 0],
}
pub type arrptendImage = _arrptendImage_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setptendImage_t {
    _unused: [u8; 0],
}
pub type setptendImage = _setptendImage_t;
pub const _gui_orient_t_ekGUI_HORIZONTAL: _gui_orient_t = 1;
pub const _gui_orient_t_ekGUI_VERTICAL: _gui_orient_t = 2;
pub type _gui_orient_t = ::libc::c_int;
pub use self::_gui_orient_t as gui_orient_t;
pub const _gui_state_t_ekGUI_OFF: _gui_state_t = 0;
pub const _gui_state_t_ekGUI_ON: _gui_state_t = 1;
pub const _gui_state_t_ekGUI_MIXED: _gui_state_t = 2;
pub type _gui_state_t = ::libc::c_int;
pub use self::_gui_state_t as gui_state_t;
pub const _gui_mouse_t_ekGUI_MOUSE_LEFT: _gui_mouse_t = 1;
pub const _gui_mouse_t_ekGUI_MOUSE_RIGHT: _gui_mouse_t = 2;
pub const _gui_mouse_t_ekGUI_MOUSE_MIDDLE: _gui_mouse_t = 3;
pub type _gui_mouse_t = ::libc::c_int;
pub use self::_gui_mouse_t as gui_mouse_t;
pub const _gui_cursor_t_ekGUI_CURSOR_ARROW: _gui_cursor_t = 1;
pub const _gui_cursor_t_ekGUI_CURSOR_HAND: _gui_cursor_t = 2;
pub const _gui_cursor_t_ekGUI_CURSOR_IBEAM: _gui_cursor_t = 3;
pub const _gui_cursor_t_ekGUI_CURSOR_CROSS: _gui_cursor_t = 4;
pub const _gui_cursor_t_ekGUI_CURSOR_SIZEWE: _gui_cursor_t = 5;
pub const _gui_cursor_t_ekGUI_CURSOR_SIZENS: _gui_cursor_t = 6;
pub const _gui_cursor_t_ekGUI_CURSOR_USER: _gui_cursor_t = 7;
pub type _gui_cursor_t = ::libc::c_int;
pub use self::_gui_cursor_t as gui_cursor_t;
pub const _gui_close_t_ekGUI_CLOSE_ESC: _gui_close_t = 1;
pub const _gui_close_t_ekGUI_CLOSE_INTRO: _gui_close_t = 2;
pub const _gui_close_t_ekGUI_CLOSE_BUTTON: _gui_close_t = 3;
pub const _gui_close_t_ekGUI_CLOSE_DEACT: _gui_close_t = 4;
pub type _gui_close_t = ::libc::c_int;
pub use self::_gui_close_t as gui_close_t;
pub const _gui_scale_t_ekGUI_SCALE_NONE: _gui_scale_t = 1;
pub const _gui_scale_t_ekGUI_SCALE_AUTO: _gui_scale_t = 2;
pub const _gui_scale_t_ekGUI_SCALE_ASPECT: _gui_scale_t = 3;
pub const _gui_scale_t_ekGUI_SCALE_ASPECTDW: _gui_scale_t = 4;
pub const _gui_scale_t_ekGUI_SCALE_ADJUST: _gui_scale_t = 5;
pub type _gui_scale_t = ::libc::c_int;
pub use self::_gui_scale_t as gui_scale_t;
pub const _gui_scroll_t_ekGUI_SCROLL_BEGIN: _gui_scroll_t = 1;
pub const _gui_scroll_t_ekGUI_SCROLL_END: _gui_scroll_t = 2;
pub const _gui_scroll_t_ekGUI_SCROLL_STEP_LEFT: _gui_scroll_t = 3;
pub const _gui_scroll_t_ekGUI_SCROLL_STEP_RIGHT: _gui_scroll_t = 4;
pub const _gui_scroll_t_ekGUI_SCROLL_PAGE_LEFT: _gui_scroll_t = 5;
pub const _gui_scroll_t_ekGUI_SCROLL_PAGE_RIGHT: _gui_scroll_t = 6;
pub const _gui_scroll_t_ekGUI_SCROLL_THUMB: _gui_scroll_t = 7;
pub type _gui_scroll_t = ::libc::c_int;
pub use self::_gui_scroll_t as gui_scroll_t;
pub const _gui_focus_t_ekGUI_FOCUS_CHANGED: _gui_focus_t = 1;
pub const _gui_focus_t_ekGUI_FOCUS_KEEP: _gui_focus_t = 2;
pub const _gui_focus_t_ekGUI_FOCUS_NO_NEXT: _gui_focus_t = 3;
pub const _gui_focus_t_ekGUI_FOCUS_NO_RESIGN: _gui_focus_t = 4;
pub const _gui_focus_t_ekGUI_FOCUS_NO_ACCEPT: _gui_focus_t = 5;
pub type _gui_focus_t = ::libc::c_int;
pub use self::_gui_focus_t as gui_focus_t;
pub const _gui_tab_t_ekGUI_TAB_KEY: _gui_tab_t = 1;
pub const _gui_tab_t_ekGUI_TAB_BACKKEY: _gui_tab_t = 2;
pub const _gui_tab_t_ekGUI_TAB_NEXT: _gui_tab_t = 3;
pub const _gui_tab_t_ekGUI_TAB_PREV: _gui_tab_t = 4;
pub const _gui_tab_t_ekGUI_TAB_MOVE: _gui_tab_t = 5;
pub const _gui_tab_t_ekGUI_TAB_CLICK: _gui_tab_t = 6;
pub type _gui_tab_t = ::libc::c_int;
pub use self::_gui_tab_t as gui_tab_t;
pub const _gui_event_t_ekGUI_EVENT_LABEL: _gui_event_t = 1024;
pub const _gui_event_t_ekGUI_EVENT_BUTTON: _gui_event_t = 1025;
pub const _gui_event_t_ekGUI_EVENT_POPUP: _gui_event_t = 1026;
pub const _gui_event_t_ekGUI_EVENT_LISTBOX: _gui_event_t = 1027;
pub const _gui_event_t_ekGUI_EVENT_SLIDER: _gui_event_t = 1028;
pub const _gui_event_t_ekGUI_EVENT_UPDOWN: _gui_event_t = 1029;
pub const _gui_event_t_ekGUI_EVENT_TXTFILTER: _gui_event_t = 1030;
pub const _gui_event_t_ekGUI_EVENT_TXTCHANGE: _gui_event_t = 1031;
pub const _gui_event_t_ekGUI_EVENT_FOCUS_RESIGN: _gui_event_t = 1032;
pub const _gui_event_t_ekGUI_EVENT_FOCUS_ACCEPT: _gui_event_t = 1033;
pub const _gui_event_t_ekGUI_EVENT_FOCUS: _gui_event_t = 1034;
pub const _gui_event_t_ekGUI_EVENT_MENU: _gui_event_t = 1035;
pub const _gui_event_t_ekGUI_EVENT_DRAW: _gui_event_t = 1036;
pub const _gui_event_t_ekGUI_EVENT_OVERLAY: _gui_event_t = 1037;
pub const _gui_event_t_ekGUI_EVENT_RESIZE: _gui_event_t = 1038;
pub const _gui_event_t_ekGUI_EVENT_ENTER: _gui_event_t = 1039;
pub const _gui_event_t_ekGUI_EVENT_EXIT: _gui_event_t = 1040;
pub const _gui_event_t_ekGUI_EVENT_MOVED: _gui_event_t = 1041;
pub const _gui_event_t_ekGUI_EVENT_DOWN: _gui_event_t = 1042;
pub const _gui_event_t_ekGUI_EVENT_UP: _gui_event_t = 1043;
pub const _gui_event_t_ekGUI_EVENT_CLICK: _gui_event_t = 1044;
pub const _gui_event_t_ekGUI_EVENT_DRAG: _gui_event_t = 1045;
pub const _gui_event_t_ekGUI_EVENT_WHEEL: _gui_event_t = 1046;
pub const _gui_event_t_ekGUI_EVENT_KEYDOWN: _gui_event_t = 1047;
pub const _gui_event_t_ekGUI_EVENT_KEYUP: _gui_event_t = 1048;
pub const _gui_event_t_ekGUI_EVENT_SCROLL: _gui_event_t = 1049;
pub const _gui_event_t_ekGUI_EVENT_WND_MOVED: _gui_event_t = 1050;
pub const _gui_event_t_ekGUI_EVENT_WND_SIZING: _gui_event_t = 1051;
pub const _gui_event_t_ekGUI_EVENT_WND_SIZE: _gui_event_t = 1052;
pub const _gui_event_t_ekGUI_EVENT_WND_CLOSE: _gui_event_t = 1053;
pub const _gui_event_t_ekGUI_EVENT_COLOR: _gui_event_t = 1054;
pub const _gui_event_t_ekGUI_EVENT_THEME: _gui_event_t = 1055;
pub const _gui_event_t_ekGUI_EVENT_OBJCHANGE: _gui_event_t = 1056;
pub const _gui_event_t_ekGUI_EVENT_TBL_NROWS: _gui_event_t = 1057;
pub const _gui_event_t_ekGUI_EVENT_TBL_BEGIN: _gui_event_t = 1058;
pub const _gui_event_t_ekGUI_EVENT_TBL_END: _gui_event_t = 1059;
pub const _gui_event_t_ekGUI_EVENT_TBL_CELL: _gui_event_t = 1060;
pub const _gui_event_t_ekGUI_EVENT_TBL_SEL: _gui_event_t = 1061;
pub const _gui_event_t_ekGUI_EVENT_TBL_HEADCLICK: _gui_event_t = 1062;
pub const _gui_event_t_ekGUI_EVENT_TBL_ROWCLICK: _gui_event_t = 1063;
pub const _gui_event_t_ekGUI_EVENT_IDLE: _gui_event_t = 1064;
pub type _gui_event_t = ::libc::c_int;
pub use self::_gui_event_t as gui_event_t;
pub const _gui_type_t_ekGUI_TYPE_LABEL: _gui_type_t = 0;
pub const _gui_type_t_ekGUI_TYPE_BUTTON: _gui_type_t = 1;
pub const _gui_type_t_ekGUI_TYPE_POPUP: _gui_type_t = 2;
pub const _gui_type_t_ekGUI_TYPE_EDITBOX: _gui_type_t = 3;
pub const _gui_type_t_ekGUI_TYPE_COMBOBOX: _gui_type_t = 4;
pub const _gui_type_t_ekGUI_TYPE_SLIDER: _gui_type_t = 5;
pub const _gui_type_t_ekGUI_TYPE_UPDOWN: _gui_type_t = 6;
pub const _gui_type_t_ekGUI_TYPE_PROGRESS: _gui_type_t = 7;
pub const _gui_type_t_ekGUI_TYPE_TEXTVIEW: _gui_type_t = 8;
pub const _gui_type_t_ekGUI_TYPE_WEBVIEW: _gui_type_t = 9;
pub const _gui_type_t_ekGUI_TYPE_TREEVIEW: _gui_type_t = 10;
pub const _gui_type_t_ekGUI_TYPE_BOXVIEW: _gui_type_t = 11;
pub const _gui_type_t_ekGUI_TYPE_SPLITVIEW: _gui_type_t = 12;
pub const _gui_type_t_ekGUI_TYPE_CUSTOMVIEW: _gui_type_t = 13;
pub const _gui_type_t_ekGUI_TYPE_PANEL: _gui_type_t = 14;
pub const _gui_type_t_ekGUI_TYPE_LINE: _gui_type_t = 15;
pub const _gui_type_t_ekGUI_TYPE_HEADER: _gui_type_t = 16;
pub const _gui_type_t_ekGUI_TYPE_WINDOW: _gui_type_t = 17;
pub const _gui_type_t_ekGUI_TYPE_TOOLBAR: _gui_type_t = 18;
pub type _gui_type_t = ::libc::c_int;
pub use self::_gui_type_t as gui_type_t;
pub const _gui_size_t_ekGUI_SIZE_MINI: _gui_size_t = 1;
pub const _gui_size_t_ekGUI_SIZE_SMALL: _gui_size_t = 2;
pub const _gui_size_t_ekGUI_SIZE_REGULAR: _gui_size_t = 3;
pub type _gui_size_t = ::libc::c_int;
pub use self::_gui_size_t as gui_size_t;
pub const _gui_role_t_ekGUI_ROLE_MAIN: _gui_role_t = 0;
pub const _gui_role_t_ekGUI_ROLE_OVERLAY: _gui_role_t = 1;
pub const _gui_role_t_ekGUI_ROLE_MODAL: _gui_role_t = 2;
pub const _gui_role_t_ekGUI_ROLE_MANAGED: _gui_role_t = 3;
pub type _gui_role_t = ::libc::c_int;
pub use self::_gui_role_t as gui_role_t;
pub const _gui_prop_t_ekGUI_PROP_CHILDREN: _gui_prop_t = 0;
pub type _gui_prop_t = ::libc::c_int;
pub use self::_gui_prop_t as gui_prop_t;
pub const _gui_text_t_ekGUI_TEXT_FAMILY: _gui_text_t = 0;
pub const _gui_text_t_ekGUI_TEXT_UNITS: _gui_text_t = 1;
pub const _gui_text_t_ekGUI_TEXT_SIZE: _gui_text_t = 2;
pub const _gui_text_t_ekGUI_TEXT_STYLE: _gui_text_t = 3;
pub const _gui_text_t_ekGUI_TEXT_COLOR: _gui_text_t = 4;
pub const _gui_text_t_ekGUI_TEXT_BGCOLOR: _gui_text_t = 5;
pub const _gui_text_t_ekGUI_TEXT_PGCOLOR: _gui_text_t = 6;
pub const _gui_text_t_ekGUI_TEXT_PARALIGN: _gui_text_t = 7;
pub const _gui_text_t_ekGUI_TEXT_LSPACING: _gui_text_t = 8;
pub const _gui_text_t_ekGUI_TEXT_BFPARSPACE: _gui_text_t = 9;
pub const _gui_text_t_ekGUI_TEXT_AFPARSPACE: _gui_text_t = 10;
pub const _gui_text_t_ekGUI_TEXT_APPLY_ALL: _gui_text_t = 11;
pub const _gui_text_t_ekGUI_TEXT_APPLY_SEL: _gui_text_t = 12;
pub const _gui_text_t_ekGUI_TEXT_SELECT: _gui_text_t = 13;
pub const _gui_text_t_ekGUI_TEXT_SHOW_SELECT: _gui_text_t = 14;
pub const _gui_text_t_ekGUI_TEXT_SCROLL: _gui_text_t = 15;
pub const _gui_text_t_ekGUI_TEXT_WRAP_MODE: _gui_text_t = 16;
pub type _gui_text_t = ::libc::c_int;
pub use self::_gui_text_t as gui_text_t;
pub const _gui_web_t_ekGUI_WEB_NAVIGATE: _gui_web_t = 1;
pub const _gui_web_t_ekGUI_WEB_BACK: _gui_web_t = 2;
pub const _gui_web_t_ekGUI_WEB_FORWARD: _gui_web_t = 3;
pub type _gui_web_t = ::libc::c_int;
pub use self::_gui_web_t as gui_web_t;
pub const _clipboard_t_ekCLIPBOARD_COPY: _clipboard_t = 0;
pub const _clipboard_t_ekCLIPBOARD_CUT: _clipboard_t = 1;
pub const _clipboard_t_ekCLIPBOARD_PASTE: _clipboard_t = 2;
pub type _clipboard_t = ::libc::c_int;
pub use self::_clipboard_t as clipboard_t;
pub const _label_flag_t_ekLABEL_FLAG: _label_flag_t = 0;
pub const _label_flag_t_ekLABEL_SINGLE: _label_flag_t = 0;
pub const _label_flag_t_ekLABEL_MULTI: _label_flag_t = 1;
pub const _label_flag_t_ekLABEL_TYPE: _label_flag_t = 1;
pub type _label_flag_t = ::libc::c_int;
pub use self::_label_flag_t as label_flag_t;
pub const _button_flag_t_ekBUTTON_FLAG: _button_flag_t = 0;
pub const _button_flag_t_ekBUTTON_PUSH: _button_flag_t = 0;
pub const _button_flag_t_ekBUTTON_CHECK2: _button_flag_t = 1;
pub const _button_flag_t_ekBUTTON_CHECK3: _button_flag_t = 2;
pub const _button_flag_t_ekBUTTON_RADIO: _button_flag_t = 3;
pub const _button_flag_t_ekBUTTON_FLAT: _button_flag_t = 4;
pub const _button_flag_t_ekBUTTON_FLATGLE: _button_flag_t = 5;
pub const _button_flag_t_ekBUTTON_TYPE: _button_flag_t = 7;
pub type _button_flag_t = ::libc::c_int;
pub use self::_button_flag_t as button_flag_t;
pub const _popup_flag_t_ekPOPUP_FLAG: _popup_flag_t = 0;
pub type _popup_flag_t = ::libc::c_int;
pub use self::_popup_flag_t as popup_flag_t;
pub const _edit_flag_t_ekEDIT_FLAG: _edit_flag_t = 0;
pub const _edit_flag_t_ekEDIT_SINGLE: _edit_flag_t = 0;
pub const _edit_flag_t_ekEDIT_MULTI: _edit_flag_t = 1;
pub const _edit_flag_t_ekEDIT_TYPE: _edit_flag_t = 1;
pub const _edit_flag_t_ekEDIT_AUTOSEL: _edit_flag_t = 4;
pub type _edit_flag_t = ::libc::c_int;
pub use self::_edit_flag_t as edit_flag_t;
pub const _combo_flag_t_ekCOMBO_FLAG: _combo_flag_t = 0;
pub type _combo_flag_t = ::libc::c_int;
pub use self::_combo_flag_t as combo_flag_t;
pub const _slider_flag_t_ekSLIDER_FLAG: _slider_flag_t = 0;
pub const _slider_flag_t_ekSLIDER_HORZ: _slider_flag_t = 0;
pub const _slider_flag_t_ekSLIDER_VERT: _slider_flag_t = 1;
pub const _slider_flag_t_ekSLIDER_TYPE: _slider_flag_t = 1;
pub type _slider_flag_t = ::libc::c_int;
pub use self::_slider_flag_t as slider_flag_t;
pub const _updown_flag_t_ekUPDOWN_FLAG: _updown_flag_t = 0;
pub type _updown_flag_t = ::libc::c_int;
pub use self::_updown_flag_t as updown_flag_t;
pub const _progress_flag_t_ekPROGRESS_FLAG: _progress_flag_t = 0;
pub const _progress_flag_t_ekPROGRESS_HORZ: _progress_flag_t = 0;
pub const _progress_flag_t_ekPROGRESS_VERT: _progress_flag_t = 1;
pub const _progress_flag_t_ekPROGRESS_TYPE: _progress_flag_t = 1;
pub type _progress_flag_t = ::libc::c_int;
pub use self::_progress_flag_t as progress_flag_t;
pub const _view_flag_t_ekVIEW_OPENGL: _view_flag_t = 1;
pub const _view_flag_t_ekVIEW_HSCROLL: _view_flag_t = 2;
pub const _view_flag_t_ekVIEW_VSCROLL: _view_flag_t = 4;
pub const _view_flag_t_ekVIEW_BORDER: _view_flag_t = 8;
pub const _view_flag_t_ekVIEW_NOERASE: _view_flag_t = 32;
pub const _view_flag_t_ekVIEW_CONTROL: _view_flag_t = 64;
pub type _view_flag_t = ::libc::c_int;
pub use self::_view_flag_t as view_flag_t;
pub const _text_flag_t_ekTEXT_FLAG: _text_flag_t = 0;
pub type _text_flag_t = ::libc::c_int;
pub use self::_text_flag_t as text_flag_t;
pub const _table_flag_t_ekTABLE_FLAG: _table_flag_t = 0;
pub const _table_flag_t_ekTABLE_TEXT: _table_flag_t = 1;
pub const _table_flag_t_ekTABLE_ICON16: _table_flag_t = 2;
pub const _table_flag_t_ekTABLE_EDIT: _table_flag_t = 4;
pub const _table_flag_t_ekTABLE_COMBO: _table_flag_t = 8;
pub const _table_flag_t_ekTABLE_POPUP: _table_flag_t = 16;
pub const _table_flag_t_ekTABLE_RADIO: _table_flag_t = 32;
pub const _table_flag_t_ekTABLE_CHECK: _table_flag_t = 64;
pub const _table_flag_t_ekTABLE_TOOLTIP: _table_flag_t = 128;
pub const _table_flag_t_ekTABLE_BGCOLOR: _table_flag_t = 256;
pub const _table_flag_t_ekTABLE_ROWALT: _table_flag_t = 512;
pub const _table_flag_t_ekTABLE_ROWPRESEL: _table_flag_t = 1024;
pub type _table_flag_t = ::libc::c_int;
pub use self::_table_flag_t as table_flag_t;
pub const _split_flag_t_ekSPLIT_FLAG: _split_flag_t = 0;
pub const _split_flag_t_ekSPLIT_VERT: _split_flag_t = 0;
pub const _split_flag_t_ekSPLIT_HORZ: _split_flag_t = 1;
pub const _split_flag_t_ekSPLIT_TYPE: _split_flag_t = 1;
pub type _split_flag_t = ::libc::c_int;
pub use self::_split_flag_t as split_flag_t;
pub const _split_mode_t_ekSPLIT_NORMAL: _split_mode_t = 1;
pub const _split_mode_t_ekSPLIT_FIXED0: _split_mode_t = 2;
pub const _split_mode_t_ekSPLIT_FIXED1: _split_mode_t = 3;
pub type _split_mode_t = ::libc::c_int;
pub use self::_split_mode_t as split_mode_t;
pub const _window_flag_t_ekWINDOW_FLAG: _window_flag_t = 0;
pub const _window_flag_t_ekWINDOW_EDGE: _window_flag_t = 1;
pub const _window_flag_t_ekWINDOW_TITLE: _window_flag_t = 2;
pub const _window_flag_t_ekWINDOW_MAX: _window_flag_t = 4;
pub const _window_flag_t_ekWINDOW_MIN: _window_flag_t = 8;
pub const _window_flag_t_ekWINDOW_CLOSE: _window_flag_t = 16;
pub const _window_flag_t_ekWINDOW_RESIZE: _window_flag_t = 32;
pub const _window_flag_t_ekWINDOW_RETURN: _window_flag_t = 64;
pub const _window_flag_t_ekWINDOW_ESC: _window_flag_t = 128;
pub const _window_flag_t_ekWINDOW_OFFSCREEN: _window_flag_t = 256;
pub const _window_flag_t_ekWINDOW_MODAL_NOHIDE: _window_flag_t = 512;
pub const _window_flag_t_ekWINDOW_STD: _window_flag_t = 26;
pub const _window_flag_t_ekWINDOW_STDRES: _window_flag_t = 62;
pub type _window_flag_t = ::libc::c_int;
pub use self::_window_flag_t as window_flag_t;
pub const _menu_flag_t_ekMENU_FLAG: _menu_flag_t = 0;
pub const _menu_flag_t_ekMENU_ITEM: _menu_flag_t = 1;
pub const _menu_flag_t_ekMENU_SEPARATOR: _menu_flag_t = 2;
pub type _menu_flag_t = ::libc::c_int;
pub use self::_menu_flag_t as menu_flag_t;
pub const _ctrl_state_t_ekCTRL_STATE_NORMAL: _ctrl_state_t = 0;
pub const _ctrl_state_t_ekCTRL_STATE_HOT: _ctrl_state_t = 1;
pub const _ctrl_state_t_ekCTRL_STATE_PRESSED: _ctrl_state_t = 2;
pub const _ctrl_state_t_ekCTRL_STATE_BKNORMAL: _ctrl_state_t = 3;
pub const _ctrl_state_t_ekCTRL_STATE_BKHOT: _ctrl_state_t = 4;
pub const _ctrl_state_t_ekCTRL_STATE_BKPRESSED: _ctrl_state_t = 5;
pub const _ctrl_state_t_ekCTRL_STATE_DISABLED: _ctrl_state_t = 6;
pub type _ctrl_state_t = ::libc::c_int;
pub use self::_ctrl_state_t as ctrl_state_t;
pub const _ctrl_msel_t_ekCTRL_MSEL_NO: _ctrl_msel_t = 0;
pub const _ctrl_msel_t_ekCTRL_MSEL_SINGLE: _ctrl_msel_t = 1;
pub const _ctrl_msel_t_ekCTRL_MSEL_BURST: _ctrl_msel_t = 2;
pub type _ctrl_msel_t = ::libc::c_int;
pub use self::_ctrl_msel_t as ctrl_msel_t;
pub const _ctrl_op_t_ekCTRL_OP_ADD: _ctrl_op_t = 1;
pub const _ctrl_op_t_ekCTRL_OP_DEL: _ctrl_op_t = 2;
pub const _ctrl_op_t_ekCTRL_OP_INS: _ctrl_op_t = 3;
pub const _ctrl_op_t_ekCTRL_OP_SET: _ctrl_op_t = 4;
pub type _ctrl_op_t = ::libc::c_int;
pub use self::_ctrl_op_t as ctrl_op_t;
pub const _syscolor_t_ekSYSCOLOR_DARKMODE: _syscolor_t = 0;
pub const _syscolor_t_ekSYSCOLOR_LABEL: _syscolor_t = 1;
pub const _syscolor_t_ekSYSCOLOR_VIEW: _syscolor_t = 2;
pub const _syscolor_t_ekSYSCOLOR_LINE: _syscolor_t = 3;
pub const _syscolor_t_ekSYSCOLOR_LINK: _syscolor_t = 4;
pub const _syscolor_t_ekSYSCOLOR_BORDER: _syscolor_t = 5;
pub type _syscolor_t = ::libc::c_int;
pub use self::_syscolor_t as syscolor_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _ccursor_t {
    _unused: [u8; 0],
}
pub type Cursor = _ccursor_t;
pub type GuiCtx = _guictx_t;
pub type EvButton = _evbutton_t;
pub type EvSlider = _evslider_t;
pub type EvText = _evtext_t;
pub type EvTextFilter = _evtextfilter_t;
pub type EvDraw = _evdraw_t;
pub type EvMouse = _evmouse_t;
pub type EvWheel = _evwheel_t;
pub type EvKey = _evkey_t;
pub type EvPos = _evpos_t;
pub type EvSize = _evsize_t;
pub type EvWinClose = _evwinclose_t;
pub type EvMenu = _evmenu_t;
pub type EvScroll = _evscroll_t;
pub type EvTbPos = _evtbpos_t;
pub type EvTbRow = _evtbrow_t;
pub type EvTbRect = _evtbrect_t;
pub type EvTbSel = _evtbsel_t;
pub type EvTbCell = _evtbcell_t;
pub type FPtr_gctx_create =
    ::core::option::Option<unsafe extern "C" fn(flags: u32) -> *mut ::libc::c_void>;
pub type FPtr_gctx_create2 =
    ::core::option::Option<unsafe extern "C" fn(arg1: *mut ::libc::c_void) -> *mut ::libc::c_void>;
pub type FPtr_gctx_destroy =
    ::core::option::Option<unsafe extern "C" fn(item: *mut *mut ::libc::c_void)>;
pub type FPtr_gctx_set_text =
    ::core::option::Option<unsafe extern "C" fn(item: *mut ::libc::c_void, text: *const char_t)>;
pub type FPtr_gctx_set_ptr = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, ptr: *mut ::libc::c_void),
>;
pub type FPtr_gctx_set_ptr2 = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, ptr: *mut ::libc::c_void) -> u32,
>;
pub type FPtr_gctx_set_ptr3 = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, ptr: *mut ::libc::c_void) -> enum_t,
>;
pub type FPtr_gctx_set_cptr = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, ptr: *const ::libc::c_void),
>;
pub type FPtr_gctx_set_listener = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, listener: *mut Listener),
>;
pub type FPtr_gctx_set_bool =
    ::core::option::Option<unsafe extern "C" fn(item: *mut ::libc::c_void, value: bool_t)>;
pub type FPtr_gctx_set_uint32 =
    ::core::option::Option<unsafe extern "C" fn(item: *mut ::libc::c_void, value: u32)>;
pub type FPtr_gctx_set_real32 =
    ::core::option::Option<unsafe extern "C" fn(item: *mut ::libc::c_void, value: real32_t)>;
pub type FPtr_gctx_set_enum =
    ::core::option::Option<unsafe extern "C" fn(item: *mut ::libc::c_void, value: enum_t)>;
pub type FPtr_gctx_set_enum2 =
    ::core::option::Option<unsafe extern "C" fn(item: *mut ::libc::c_void, arg1: bool_t) -> enum_t>;
pub type FPtr_gctx_set_elem = ::core::option::Option<
    unsafe extern "C" fn(
        item: *mut ::libc::c_void,
        op: ctrl_op_t,
        index: u32,
        text: *const char_t,
        data: *const Image,
    ),
>;
pub type FPtr_gctx_set_property = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, prop: enum_t, value: *const ::libc::c_void),
>;
pub type FPtr_gctx_set_key = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, key: vkey_t, modifiers: u32),
>;
pub type FPtr_gctx_set_hotkey = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, arg1: vkey_t, arg2: u32, arg3: *mut Listener),
>;
pub type FPtr_gctx_set_area = ::core::option::Option<
    unsafe extern "C" fn(
        item: *mut ::libc::c_void,
        obj: *mut ::libc::c_void,
        bgcolor: color_t,
        skcolor: color_t,
        x: real32_t,
        y: real32_t,
        width: real32_t,
        height: real32_t,
    ),
>;
pub type FPtr_gctx_set2_bool = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, value1: bool_t, value2: bool_t),
>;
pub type FPtr_gctx_set2_int32 = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, value1: i32, value2: i32),
>;
pub type FPtr_gctx_set2_real32 = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, value1: real32_t, value2: real32_t),
>;
pub type FPtr_gctx_set2_real64 = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, value1: real64_t, value2: real64_t),
>;
pub type FPtr_gctx_set4_real32 = ::core::option::Option<
    unsafe extern "C" fn(
        item: *mut ::libc::c_void,
        value1: real32_t,
        value2: real32_t,
        value3: real32_t,
        value4: real32_t,
    ),
>;
pub type FPtr_gctx_get_text =
    ::core::option::Option<unsafe extern "C" fn(item: *const ::libc::c_void) -> *const char_t>;
pub type FPtr_gctx_get_ptr = ::core::option::Option<
    unsafe extern "C" fn(item: *const ::libc::c_void) -> *mut ::libc::c_void,
>;
pub type FPtr_gctx_get_bool =
    ::core::option::Option<unsafe extern "C" fn(item: *const ::libc::c_void) -> bool_t>;
pub type FPtr_gctx_get_uint32 =
    ::core::option::Option<unsafe extern "C" fn(item: *const ::libc::c_void) -> u32>;
pub type FPtr_gctx_get_real32 =
    ::core::option::Option<unsafe extern "C" fn(item: *const ::libc::c_void) -> real32_t>;
pub type FPtr_gctx_get_enum =
    ::core::option::Option<unsafe extern "C" fn(item: *const ::libc::c_void) -> enum_t>;
pub type FPtr_gctx_get_enum2 = ::core::option::Option<
    unsafe extern "C" fn(item: *const ::libc::c_void, arg1: enum_t) -> enum_t,
>;
pub type FPtr_gctx_get_enum3 = ::core::option::Option<
    unsafe extern "C" fn(item: *const ::libc::c_void, ptr: *mut *mut ::libc::c_void) -> enum_t,
>;
pub type FPtr_gctx_get_real32e = ::core::option::Option<
    unsafe extern "C" fn(item: *const ::libc::c_void, value: enum_t) -> real32_t,
>;
pub type FPtr_gctx_get2_real32 = ::core::option::Option<
    unsafe extern "C" fn(item: *const ::libc::c_void, value1: *mut real32_t, value2: *mut real32_t),
>;
pub type FPtr_gctx_get_indexed =
    ::core::option::Option<unsafe extern "C" fn(arg1: u32, arg2: *mut ::libc::c_void)>;
pub type FPtr_gctx_call = ::core::option::Option<unsafe extern "C" fn(item: *mut ::libc::c_void)>;
pub type FPtr_gctx_bounds1 = ::core::option::Option<
    unsafe extern "C" fn(
        item: *const ::libc::c_void,
        text: *const char_t,
        refwidth: real32_t,
        width: *mut real32_t,
        height: *mut real32_t,
    ),
>;
pub type FPtr_gctx_bounds2 = ::core::option::Option<
    unsafe extern "C" fn(
        item: *const ::libc::c_void,
        text: *const char_t,
        refwidth: real32_t,
        refheight: real32_t,
        width: *mut real32_t,
        height: *mut real32_t,
    ),
>;
pub type FPtr_gctx_bounds3 = ::core::option::Option<
    unsafe extern "C" fn(
        item: *const ::libc::c_void,
        text: *const char_t,
        width: *mut real32_t,
        height: *mut real32_t,
    ),
>;
pub type FPtr_gctx_bounds4 = ::core::option::Option<
    unsafe extern "C" fn(
        item: *const ::libc::c_void,
        refwidth: real32_t,
        lines: u32,
        width: *mut real32_t,
        height: *mut real32_t,
    ),
>;
pub type FPtr_gctx_bounds5 = ::core::option::Option<
    unsafe extern "C" fn(
        item: *const ::libc::c_void,
        refwidth: real32_t,
        width: *mut real32_t,
        height: *mut real32_t,
    ),
>;
pub type FPtr_gctx_bounds6 = ::core::option::Option<
    unsafe extern "C" fn(
        item: *const ::libc::c_void,
        length: real32_t,
        size: gui_size_t,
        width: *mut real32_t,
        height: *mut real32_t,
    ),
>;
pub type FPtr_gctx_tickmarks = ::core::option::Option<
    unsafe extern "C" fn(
        item: *mut ::libc::c_void,
        num_tickmarks: u32,
        tickmarks_at_left_top: bool_t,
    ),
>;
pub type FPtr_gctx_insert = ::core::option::Option<
    unsafe extern "C" fn(item: *mut ::libc::c_void, pos: u32, child: *mut ::libc::c_void),
>;
pub type FPtr_gctx_menu = ::core::option::Option<
    unsafe extern "C" fn(
        item: *mut ::libc::c_void,
        window: *mut ::libc::c_void,
        x: real32_t,
        y: real32_t,
    ),
>;
pub type FPtr_gctx_win_file = ::core::option::Option<
    unsafe extern "C" fn(
        parent: *mut ::libc::c_void,
        ftypes: *mut *const char_t,
        size: u32,
        start_dir: *const char_t,
        open: bool_t,
    ) -> *const char_t,
>;
pub type FPtr_gctx_win_color = ::core::option::Option<
    unsafe extern "C" fn(
        parent: *mut ::libc::c_void,
        title: *const char_t,
        x: real32_t,
        y: real32_t,
        halign: align_t,
        valign: align_t,
        current: color_t,
        colors: *mut color_t,
        n: u32,
        OnChange: *mut Listener,
    ),
>;
pub type FPtr_gctx_cursor = ::core::option::Option<
    unsafe extern "C" fn(
        arg1: enum_t,
        arg2: *const Image,
        arg3: real32_t,
        arg4: real32_t,
    ) -> *mut Cursor,
>;
pub type FPtr_gctx_draw_rect = ::core::option::Option<
    unsafe extern "C" fn(
        arg1: *mut ::libc::c_void,
        arg2: i32,
        arg3: i32,
        arg4: u32,
        arg5: u32,
        arg6: enum_t,
    ),
>;
pub type FPtr_gctx_draw_line = ::core::option::Option<
    unsafe extern "C" fn(arg1: *mut ::libc::c_void, arg2: i32, arg3: i32, arg4: i32, arg5: i32),
>;
pub type FPtr_gctx_draw_text = ::core::option::Option<
    unsafe extern "C" fn(
        arg1: *mut ::libc::c_void,
        arg2: *const char_t,
        arg3: i32,
        arg4: i32,
        arg5: enum_t,
    ),
>;
pub type FPtr_gctx_draw_image = ::core::option::Option<
    unsafe extern "C" fn(
        arg1: *mut ::libc::c_void,
        arg2: *const Image,
        arg3: i32,
        arg4: i32,
        arg5: enum_t,
    ),
>;
pub type FPtr_gctx_clipboard =
    ::core::option::Option<unsafe extern "C" fn(arg1: *mut ::libc::c_void, arg2: clipboard_t)>;
pub type FPtr_gctx_command = ::core::option::Option<
    unsafe extern "C" fn(
        arg1: *mut ::libc::c_void,
        arg2: enum_t,
        arg3: *const ::libc::c_void,
        arg4: *mut ::libc::c_void,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _guictx_t {
    pub retain_count: u32,
    pub func_create: [FPtr_gctx_create; 17usize],
    pub func_destroy: [FPtr_gctx_destroy; 17usize],
    pub func_set_tooltip: [FPtr_gctx_set_text; 17usize],
    pub func_attach_to_panel: [FPtr_gctx_set_ptr; 17usize],
    pub func_detach_from_panel: [FPtr_gctx_set_ptr; 17usize],
    pub func_set_visible: [FPtr_gctx_set_bool; 17usize],
    pub func_set_enabled: [FPtr_gctx_set_bool; 17usize],
    pub func_get_size: [FPtr_gctx_get2_real32; 17usize],
    pub func_get_origin: [FPtr_gctx_get2_real32; 17usize],
    pub func_set_frame: [FPtr_gctx_set4_real32; 17usize],
    pub func_label_OnClick: FPtr_gctx_set_listener,
    pub func_label_OnMouseEnter: FPtr_gctx_set_listener,
    pub func_label_OnMouseExit: FPtr_gctx_set_listener,
    pub func_label_set_text: FPtr_gctx_set_text,
    pub func_label_set_font: FPtr_gctx_set_cptr,
    pub func_label_set_flags: FPtr_gctx_set_uint32,
    pub func_label_set_align: FPtr_gctx_set_enum,
    pub func_label_set_ellipsis: FPtr_gctx_set_enum,
    pub func_label_set_text_color: FPtr_gctx_set_uint32,
    pub func_label_set_bg_color: FPtr_gctx_set_uint32,
    pub func_label_bounds: FPtr_gctx_bounds1,
    pub func_button_OnClick: FPtr_gctx_set_listener,
    pub func_button_set_text: FPtr_gctx_set_text,
    pub func_button_set_font: FPtr_gctx_set_cptr,
    pub func_button_set_align: FPtr_gctx_set_enum,
    pub func_button_set_image: FPtr_gctx_set_cptr,
    pub func_button_set_state: FPtr_gctx_set_enum,
    pub func_button_get_state: FPtr_gctx_get_enum,
    pub func_button_set_vpadding: FPtr_gctx_set_real32,
    pub func_button_bounds: FPtr_gctx_bounds2,
    pub func_popup_OnSelect: FPtr_gctx_set_listener,
    pub func_popup_set_elem: FPtr_gctx_set_elem,
    pub func_popup_set_font: FPtr_gctx_set_cptr,
    pub func_popup_list_height: FPtr_gctx_set_uint32,
    pub func_popup_set_selected: FPtr_gctx_set_uint32,
    pub func_popup_get_selected: FPtr_gctx_get_uint32,
    pub func_popup_bounds: FPtr_gctx_bounds3,
    pub func_edit_OnFilter: FPtr_gctx_set_listener,
    pub func_edit_OnChange: FPtr_gctx_set_listener,
    pub func_edit_OnFocus: FPtr_gctx_set_listener,
    pub func_edit_set_text: FPtr_gctx_set_text,
    pub func_edit_set_font: FPtr_gctx_set_cptr,
    pub func_edit_set_align: FPtr_gctx_set_enum,
    pub func_edit_set_passmode: FPtr_gctx_set_bool,
    pub func_edit_set_editable: FPtr_gctx_set_bool,
    pub func_edit_set_autoselect: FPtr_gctx_set_bool,
    pub func_edit_set_select: FPtr_gctx_set2_int32,
    pub func_edit_set_text_color: FPtr_gctx_set_uint32,
    pub func_edit_set_bg_color: FPtr_gctx_set_uint32,
    pub func_edit_set_vpadding: FPtr_gctx_set_real32,
    pub func_edit_bounds: FPtr_gctx_bounds4,
    pub func_edit_clipboard: FPtr_gctx_clipboard,
    pub func_combo_OnFilter: FPtr_gctx_set_listener,
    pub func_combo_OnChange: FPtr_gctx_set_listener,
    pub func_combo_OnFocus: FPtr_gctx_set_listener,
    pub func_combo_OnSelect: FPtr_gctx_set_listener,
    pub func_combo_set_text: FPtr_gctx_set_text,
    pub func_combo_set_font: FPtr_gctx_set_cptr,
    pub func_combo_set_align: FPtr_gctx_set_enum,
    pub func_combo_set_passmode: FPtr_gctx_set_bool,
    pub func_combo_set_text_color: FPtr_gctx_set_uint32,
    pub func_combo_set_bg_color: FPtr_gctx_set_uint32,
    pub func_combo_set_elem: FPtr_gctx_set_elem,
    pub func_combo_set_selected: FPtr_gctx_set_uint32,
    pub func_combo_get_selected: FPtr_gctx_get_uint32,
    pub func_combo_bounds: FPtr_gctx_bounds5,
    pub func_slider_OnMoved: FPtr_gctx_set_listener,
    pub func_slider_set_tickmarks: FPtr_gctx_tickmarks,
    pub func_slider_get_position: FPtr_gctx_get_real32,
    pub func_slider_set_position: FPtr_gctx_set_real32,
    pub func_slider_bounds: FPtr_gctx_bounds6,
    pub func_updown_OnClick: FPtr_gctx_set_listener,
    pub func_progress_set_position: FPtr_gctx_set_real32,
    pub func_progress_get_thickness: FPtr_gctx_get_real32e,
    pub func_text_OnFilter: FPtr_gctx_set_listener,
    pub func_text_OnFocus: FPtr_gctx_set_listener,
    pub func_text_set_text: FPtr_gctx_set_text,
    pub func_text_add_text: FPtr_gctx_set_text,
    pub func_text_ins_text: FPtr_gctx_set_text,
    pub func_text_set_rtf: FPtr_gctx_set_ptr,
    pub func_text_set_prop: FPtr_gctx_set_property,
    pub func_text_set_editable: FPtr_gctx_set_bool,
    pub func_text_get_text: FPtr_gctx_get_text,
    pub func_text_scroller_visible: FPtr_gctx_set2_bool,
    pub func_text_set_need_display: FPtr_gctx_call,
    pub func_text_clipboard: FPtr_gctx_clipboard,
    pub func_web_OnFocus: FPtr_gctx_set_listener,
    pub func_web_command: FPtr_gctx_command,
    pub func_web_scroller_visible: FPtr_gctx_set2_bool,
    pub func_web_set_need_display: FPtr_gctx_call,
    pub func_web_clipboard: FPtr_gctx_clipboard,
    pub func_split_attach_control: FPtr_gctx_set_ptr,
    pub func_split_detach_control: FPtr_gctx_set_ptr,
    pub func_split_OnDrag: FPtr_gctx_set_listener,
    pub func_split_track_area: FPtr_gctx_set4_real32,
    pub func_view_OnDraw: FPtr_gctx_set_listener,
    pub func_view_OnOverlay: FPtr_gctx_set_listener,
    pub func_view_OnEnter: FPtr_gctx_set_listener,
    pub func_view_OnExit: FPtr_gctx_set_listener,
    pub func_view_OnMoved: FPtr_gctx_set_listener,
    pub func_view_OnDown: FPtr_gctx_set_listener,
    pub func_view_OnUp: FPtr_gctx_set_listener,
    pub func_view_OnClick: FPtr_gctx_set_listener,
    pub func_view_OnDrag: FPtr_gctx_set_listener,
    pub func_view_OnWheel: FPtr_gctx_set_listener,
    pub func_view_OnKeyDown: FPtr_gctx_set_listener,
    pub func_view_OnKeyUp: FPtr_gctx_set_listener,
    pub func_view_OnFocus: FPtr_gctx_set_listener,
    pub func_view_OnResignFocus: FPtr_gctx_set_listener,
    pub func_view_OnAcceptFocus: FPtr_gctx_set_listener,
    pub func_view_OnScroll: FPtr_gctx_set_listener,
    pub func_view_OnTouchTap: FPtr_gctx_set_listener,
    pub func_view_OnTouchStartDrag: FPtr_gctx_set_listener,
    pub func_view_OnTouchDragging: FPtr_gctx_set_listener,
    pub func_view_OnTouchEndDrag: FPtr_gctx_set_listener,
    pub func_view_OnTouchStartPinch: FPtr_gctx_set_listener,
    pub func_view_OnTouchPinching: FPtr_gctx_set_listener,
    pub func_view_OnTouchEndPinch: FPtr_gctx_set_listener,
    pub func_view_allow_key: FPtr_gctx_set_key,
    pub func_view_scroll: FPtr_gctx_set2_real32,
    pub func_view_scroll_get: FPtr_gctx_get2_real32,
    pub func_view_scroller_size: FPtr_gctx_get2_real32,
    pub func_view_scroller_visible: FPtr_gctx_set2_bool,
    pub func_view_content_size: FPtr_gctx_set4_real32,
    pub func_view_scale_factor: FPtr_gctx_get_real32,
    pub func_view_set_need_display: FPtr_gctx_call,
    pub func_view_set_drawable: FPtr_gctx_set_bool,
    pub func_view_get_native_view: FPtr_gctx_get_ptr,
    pub func_panel_area: FPtr_gctx_set_area,
    pub func_panel_scroller_size: FPtr_gctx_get2_real32,
    pub func_panel_content_size: FPtr_gctx_set4_real32,
    pub func_panel_set_need_display: FPtr_gctx_call,
    pub func_menu_create: FPtr_gctx_create,
    pub func_menu_destroy: FPtr_gctx_destroy,
    pub func_menu_insert_item: FPtr_gctx_insert,
    pub func_menu_delete_item: FPtr_gctx_set_ptr,
    pub func_menu_launch_popup: FPtr_gctx_menu,
    pub func_menu_hide_popup: FPtr_gctx_call,
    pub func_menu_is_menubar: FPtr_gctx_get_bool,
    pub func_menuitem_create: FPtr_gctx_create,
    pub func_menuitem_destroy: FPtr_gctx_destroy,
    pub func_menuitem_OnClick: FPtr_gctx_set_listener,
    pub func_menuitem_set_enabled: FPtr_gctx_set_bool,
    pub func_menuitem_set_visible: FPtr_gctx_set_bool,
    pub func_menuitem_set_text: FPtr_gctx_set_text,
    pub func_menuitem_set_image: FPtr_gctx_set_cptr,
    pub func_menuitem_set_key_equivalent: FPtr_gctx_set_key,
    pub func_menuitem_set_state: FPtr_gctx_set_enum,
    pub func_attach_menu_to_menu_item: FPtr_gctx_set_ptr,
    pub func_detach_menu_from_menu_item: FPtr_gctx_set_ptr,
    pub func_window_create: FPtr_gctx_create,
    pub func_window_managed: FPtr_gctx_create2,
    pub func_window_destroy: FPtr_gctx_destroy,
    pub func_window_OnMoved: FPtr_gctx_set_listener,
    pub func_window_OnResize: FPtr_gctx_set_listener,
    pub func_window_OnClose: FPtr_gctx_set_listener,
    pub func_window_set_title: FPtr_gctx_set_text,
    pub func_window_set_edited: FPtr_gctx_set_bool,
    pub func_window_set_movable: FPtr_gctx_set_bool,
    pub func_window_set_z_order: FPtr_gctx_set_ptr,
    pub func_window_set_alpha: FPtr_gctx_set_real32,
    pub func_window_enable_mouse_events: FPtr_gctx_set_bool,
    pub func_window_hotkey: FPtr_gctx_set_hotkey,
    pub func_window_set_taborder: FPtr_gctx_set_ptr,
    pub func_window_tabcycle: FPtr_gctx_set_bool,
    pub func_window_tabstop: FPtr_gctx_set_enum2,
    pub func_window_set_focus: FPtr_gctx_set_ptr3,
    pub func_window_get_focus: FPtr_gctx_get_ptr,
    pub func_window_info_focus: FPtr_gctx_get_enum3,
    pub func_attach_main_panel_to_window: FPtr_gctx_set_ptr,
    pub func_detach_main_panel_from_window: FPtr_gctx_set_ptr,
    pub func_attach_window_to_window: FPtr_gctx_set_ptr,
    pub func_detach_window_from_window: FPtr_gctx_set_ptr,
    pub func_window_launch: FPtr_gctx_set_ptr,
    pub func_window_hide: FPtr_gctx_set_ptr,
    pub func_window_launch_modal: FPtr_gctx_set_ptr2,
    pub func_window_stop_modal: FPtr_gctx_set_uint32,
    pub func_window_get_origin_in_screen_coordinates: FPtr_gctx_get2_real32,
    pub func_window_set_origin_in_screen_coordinates: FPtr_gctx_set2_real32,
    pub func_window_get_size: FPtr_gctx_get2_real32,
    pub func_window_set_size: FPtr_gctx_set2_real32,
    pub func_window_set_default_pushbutton: FPtr_gctx_set_ptr,
    pub func_window_set_cursor: FPtr_gctx_set_ptr,
    pub func_window_set_property: FPtr_gctx_set_property,
    pub func_comwin_file: FPtr_gctx_win_file,
    pub func_comwin_color: FPtr_gctx_win_color,
    pub func_globals_device: FPtr_gctx_get_enum,
    pub func_globals_color: FPtr_gctx_get_enum,
    pub func_globals_resolution: FPtr_gctx_get2_real32,
    pub func_globals_mouse_position: FPtr_gctx_get2_real32,
    pub func_globals_cursor: FPtr_gctx_cursor,
    pub func_globals_cursor_destroy: FPtr_gctx_destroy,
    pub func_globals_value: FPtr_gctx_get_indexed,
    pub func_globals_transitions: FPtr_gctx_set2_real64,
    pub func_globals_OnIdle: FPtr_gctx_set_listener,
    pub func_drawctrl_font: FPtr_gctx_get_ptr,
    pub func_drawctrl_row_padding: FPtr_gctx_get_uint32,
    pub func_drawctrl_check_width: FPtr_gctx_get_uint32,
    pub func_drawctrl_check_height: FPtr_gctx_get_uint32,
    pub func_drawctrl_multisel: FPtr_gctx_get_enum2,
    pub func_drawctrl_clear: FPtr_gctx_draw_rect,
    pub func_drawctrl_header: FPtr_gctx_draw_rect,
    pub func_drawctrl_indicator: FPtr_gctx_draw_rect,
    pub func_drawctrl_fill: FPtr_gctx_draw_rect,
    pub func_drawctrl_focus: FPtr_gctx_draw_rect,
    pub func_drawctrl_line: FPtr_gctx_draw_line,
    pub func_drawctrl_text: FPtr_gctx_draw_text,
    pub func_drawctrl_image: FPtr_gctx_draw_image,
    pub func_drawctrl_checkbox: FPtr_gctx_draw_rect,
    pub func_drawctrl_uncheckbox: FPtr_gctx_draw_rect,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evbutton_t {
    pub index: u32,
    pub state: gui_state_t,
    pub text: *const char_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evslider_t {
    pub pos: real32_t,
    pub incr: real32_t,
    pub step: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evtext_t {
    pub text: *const char_t,
    pub cpos: u32,
    pub len: i32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evtextfilter_t {
    pub apply: bool_t,
    pub text: [char_t; 4096usize],
    pub cpos: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evdraw_t {
    pub ctx: *mut DCtx,
    pub x: real32_t,
    pub y: real32_t,
    pub width: real32_t,
    pub height: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evmouse_t {
    pub x: real32_t,
    pub y: real32_t,
    pub lx: real32_t,
    pub ly: real32_t,
    pub button: gui_mouse_t,
    pub count: u32,
    pub modifiers: u32,
    pub tag: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evwheel_t {
    pub x: real32_t,
    pub y: real32_t,
    pub dx: real32_t,
    pub dy: real32_t,
    pub dz: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evkey_t {
    pub key: vkey_t,
    pub modifiers: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evpos_t {
    pub x: real32_t,
    pub y: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evsize_t {
    pub width: real32_t,
    pub height: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evwinclose_t {
    pub origin: gui_close_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evmenu_t {
    pub index: u32,
    pub state: gui_state_t,
    pub text: *const char_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evscroll_t {
    pub orient: gui_orient_t,
    pub scroll: gui_scroll_t,
    pub cpos: real32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evtbpos_t {
    pub col: u32,
    pub row: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evtbrow_t {
    pub sel: bool_t,
    pub row: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evtbrect_t {
    pub stcol: u32,
    pub edcol: u32,
    pub strow: u32,
    pub edrow: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evtbsel_t {
    pub sel: *mut ArrStuint32_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _evtbcell_t {
    pub text: *const char_t,
    pub align: align_t,
}
pub const _gui_notif_t_ekGUI_NOTIF_LANGUAGE: _gui_notif_t = 1;
pub const _gui_notif_t_ekGUI_NOTIF_WIN_DESTROY: _gui_notif_t = 2;
pub const _gui_notif_t_ekGUI_NOTIF_MENU_DESTROY: _gui_notif_t = 3;
pub type _gui_notif_t = ::libc::c_int;
pub use self::_gui_notif_t as gui_notif_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _guicontrol_t {
    _unused: [u8; 0],
}
pub type GuiControl = _guicontrol_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _label_t {
    _unused: [u8; 0],
}
pub type Label = _label_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _button_t {
    _unused: [u8; 0],
}
pub type Button = _button_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _popup_t {
    _unused: [u8; 0],
}
pub type PopUp = _popup_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _edit_t {
    _unused: [u8; 0],
}
pub type Edit = _edit_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _combo_t {
    _unused: [u8; 0],
}
pub type Combo = _combo_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _listbox_t {
    _unused: [u8; 0],
}
pub type ListBox = _listbox_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _updown_t {
    _unused: [u8; 0],
}
pub type UpDown = _updown_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _slider_t {
    _unused: [u8; 0],
}
pub type Slider = _slider_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _progress_t {
    _unused: [u8; 0],
}
pub type Progress = _progress_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _view_t {
    _unused: [u8; 0],
}
pub type View = _view_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _textview_t {
    _unused: [u8; 0],
}
pub type TextView = _textview_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _webview_t {
    _unused: [u8; 0],
}
pub type WebView = _webview_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _imageview_t {
    _unused: [u8; 0],
}
pub type ImageView = _imageview_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _tableview_t {
    _unused: [u8; 0],
}
pub type TableView = _tableview_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _splitview_t {
    _unused: [u8; 0],
}
pub type SplitView = _splitview_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _layout_t {
    _unused: [u8; 0],
}
pub type Layout = _layout_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _cell_t {
    _unused: [u8; 0],
}
pub type Cell = _cell_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _panel_t {
    _unused: [u8; 0],
}
pub type Panel = _panel_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _window_t {
    _unused: [u8; 0],
}
pub type Window = _window_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _menu_t {
    _unused: [u8; 0],
}
pub type Menu = _menu_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _menu_item_t {
    _unused: [u8; 0],
}
pub type MenuItem = _menu_item_t;
pub type FocusInfo = _focus_info_t;
pub type FPtr_respack =
    ::core::option::Option<unsafe extern "C" fn(locale: *const char_t) -> *mut ResPack>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _focus_info_t {
    pub action: gui_tab_t,
    pub next: *mut GuiControl,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct FPtr_respackData {
    pub elem: [FPtr_respack; 1024usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ArrStFPtr_respack {
    pub reserved: u32,
    pub size: u32,
    pub elem_sizeof: u16,
    pub content: *mut FPtr_respackData,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NodeStFPtr_respack {
    pub rb: u32,
    pub left: *mut NodeStFPtr_respack,
    pub right: *mut NodeStFPtr_respack,
    pub data: FPtr_respack,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SetStFPtr_respack {
    pub elems: u32,
    pub esize: u16,
    pub ksize: u16,
    pub root: *mut NodeStFPtr_respack,
    pub func_compare: FPtr_compare,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arrstendFPtr_respack_t {
    _unused: [u8; 0],
}
pub type arrstendFPtr_respack = _arrstendFPtr_respack_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _setstendFPtr_respack_t {
    _unused: [u8; 0],
}
pub type setstendFPtr_respack = _setstendFPtr_respack_t;
pub type FPtr_task_main =
    ::core::option::Option<unsafe extern "C" fn(data: *mut ::libc::c_void) -> u32>;
pub type FPtr_task_update = ::core::option::Option<unsafe extern "C" fn(data: *mut ::libc::c_void)>;
pub type FPtr_task_end =
    ::core::option::Option<unsafe extern "C" fn(data: *mut ::libc::c_void, rvalue: u32)>;
unsafe extern "C" {
    pub fn osapp_finish();
}
unsafe extern "C" {
    pub fn osapp_argc() -> u32;
}
unsafe extern "C" {
    pub fn osapp_argv(index: u32, argv: *mut char_t, size: u32) -> u32;
}
unsafe extern "C" {
    pub fn osapp_task_imp(
        data: *mut ::libc::c_void,
        updtime: real32_t,
        func_task_main: FPtr_task_main,
        func_task_update: FPtr_task_update,
        func_task_end: FPtr_task_end,
    );
}
unsafe extern "C" {
    pub fn osapp_menubar(menu: *mut Menu, window: *mut Window);
}
unsafe extern "C" {
    pub fn osapp_open_url(url: *const char_t);
}
unsafe extern "C" {
    pub fn button_push() -> *mut Button;
}
unsafe extern "C" {
    pub fn button_check() -> *mut Button;
}
unsafe extern "C" {
    pub fn button_check3() -> *mut Button;
}
unsafe extern "C" {
    pub fn button_radio() -> *mut Button;
}
unsafe extern "C" {
    pub fn button_flat() -> *mut Button;
}
unsafe extern "C" {
    pub fn button_flatgle() -> *mut Button;
}
unsafe extern "C" {
    pub fn button_OnClick(button: *mut Button, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn button_min_width(button: *mut Button, width: real32_t);
}
unsafe extern "C" {
    pub fn button_text(button: *mut Button, text: *const char_t);
}
unsafe extern "C" {
    pub fn button_text_alt(button: *mut Button, text: *const char_t);
}
unsafe extern "C" {
    pub fn button_tooltip(button: *mut Button, text: *const char_t);
}
unsafe extern "C" {
    pub fn button_font(button: *mut Button, font: *const Font);
}
unsafe extern "C" {
    pub fn button_get_font(button: *const Button) -> *const Font;
}
unsafe extern "C" {
    pub fn button_image(button: *mut Button, image: *const Image);
}
unsafe extern "C" {
    pub fn button_image_alt(button: *mut Button, image: *const Image);
}
unsafe extern "C" {
    pub fn button_state(button: *mut Button, state: gui_state_t);
}
unsafe extern "C" {
    pub fn button_tag(button: *mut Button, tag: u32);
}
unsafe extern "C" {
    pub fn button_vpadding(button: *mut Button, padding: real32_t);
}
unsafe extern "C" {
    pub fn button_get_state(button: *const Button) -> gui_state_t;
}
unsafe extern "C" {
    pub fn button_get_tag(button: *const Button) -> u32;
}
unsafe extern "C" {
    pub fn button_get_height(button: *const Button) -> real32_t;
}
unsafe extern "C" {
    pub fn cell_empty(cell: *mut Cell) -> bool_t;
}
unsafe extern "C" {
    pub fn cell_control(cell: *mut Cell) -> *mut GuiControl;
}
unsafe extern "C" {
    pub fn cell_label(cell: *mut Cell) -> *mut Label;
}
unsafe extern "C" {
    pub fn cell_button(cell: *mut Cell) -> *mut Button;
}
unsafe extern "C" {
    pub fn cell_popup(cell: *mut Cell) -> *mut PopUp;
}
unsafe extern "C" {
    pub fn cell_edit(cell: *mut Cell) -> *mut Edit;
}
unsafe extern "C" {
    pub fn cell_combo(cell: *mut Cell) -> *mut Combo;
}
unsafe extern "C" {
    pub fn cell_listbox(cell: *mut Cell) -> *mut ListBox;
}
unsafe extern "C" {
    pub fn cell_updown(cell: *mut Cell) -> *mut UpDown;
}
unsafe extern "C" {
    pub fn cell_slider(cell: *mut Cell) -> *mut Slider;
}
unsafe extern "C" {
    pub fn cell_progress(cell: *mut Cell) -> *mut Progress;
}
unsafe extern "C" {
    pub fn cell_view(cell: *mut Cell) -> *mut View;
}
unsafe extern "C" {
    pub fn cell_textview(cell: *mut Cell) -> *mut TextView;
}
unsafe extern "C" {
    pub fn cell_webview(cell: *mut Cell) -> *mut WebView;
}
unsafe extern "C" {
    pub fn cell_imageview(cell: *mut Cell) -> *mut ImageView;
}
unsafe extern "C" {
    pub fn cell_tableview(cell: *mut Cell) -> *mut TableView;
}
unsafe extern "C" {
    pub fn cell_splitview(cell: *mut Cell) -> *mut SplitView;
}
unsafe extern "C" {
    pub fn cell_panel(cell: *mut Cell) -> *mut Panel;
}
unsafe extern "C" {
    pub fn cell_layout(cell: *mut Cell) -> *mut Layout;
}
unsafe extern "C" {
    pub fn cell_enabled(cell: *mut Cell, enabled: bool_t);
}
unsafe extern "C" {
    pub fn cell_visible(cell: *mut Cell, visible: bool_t);
}
unsafe extern "C" {
    pub fn cell_padding(cell: *mut Cell, pall: real32_t);
}
unsafe extern "C" {
    pub fn cell_padding2(cell: *mut Cell, ptb: real32_t, plr: real32_t);
}
unsafe extern "C" {
    pub fn cell_padding4(cell: *mut Cell, pt: real32_t, pr: real32_t, pb: real32_t, pl: real32_t);
}
unsafe extern "C" {
    pub fn cell_dbind_imp(
        cell: *mut Cell,
        type_: *const char_t,
        size: u16,
        mname: *const char_t,
        mtype: *const char_t,
        moffset: u16,
        msize: u16,
    );
}
unsafe extern "C" {
    pub fn combo_create() -> *mut Combo;
}
unsafe extern "C" {
    pub fn combo_OnFilter(combo: *mut Combo, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn combo_OnChange(combo: *mut Combo, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn combo_text(combo: *mut Combo, text: *const char_t);
}
unsafe extern "C" {
    pub fn combo_align(combo: *mut Combo, align: align_t);
}
unsafe extern "C" {
    pub fn combo_tooltip(combo: *mut Combo, text: *const char_t);
}
unsafe extern "C" {
    pub fn combo_color(combo: *mut Combo, color: color_t);
}
unsafe extern "C" {
    pub fn combo_color_focus(combo: *mut Combo, color: color_t);
}
unsafe extern "C" {
    pub fn combo_bgcolor(combo: *mut Combo, color: color_t);
}
unsafe extern "C" {
    pub fn combo_bgcolor_focus(combo: *mut Combo, color: color_t);
}
unsafe extern "C" {
    pub fn combo_phtext(combo: *mut Combo, text: *const char_t);
}
unsafe extern "C" {
    pub fn combo_phcolor(combo: *mut Combo, color: color_t);
}
unsafe extern "C" {
    pub fn combo_phstyle(combo: *mut Combo, fstyle: u32);
}
unsafe extern "C" {
    pub fn combo_get_text(combo: *const Combo, index: u32) -> *const char_t;
}
unsafe extern "C" {
    pub fn combo_count(combo: *const Combo) -> u32;
}
unsafe extern "C" {
    pub fn combo_add_elem(combo: *mut Combo, text: *const char_t, image: *const Image);
}
unsafe extern "C" {
    pub fn combo_set_elem(combo: *mut Combo, index: u32, text: *const char_t, image: *const Image);
}
unsafe extern "C" {
    pub fn combo_ins_elem(combo: *mut Combo, index: u32, text: *const char_t, image: *const Image);
}
unsafe extern "C" {
    pub fn combo_del_elem(combo: *mut Combo, index: u32);
}
unsafe extern "C" {
    pub fn combo_duplicates(combo: *mut Combo, duplicates: bool_t);
}
unsafe extern "C" {
    pub fn comwin_open_file(
        parent: *mut Window,
        ftypes: *mut *const char_t,
        size: u32,
        start_dir: *const char_t,
    ) -> *const char_t;
}
unsafe extern "C" {
    pub fn comwin_save_file(
        parent: *mut Window,
        ftypes: *mut *const char_t,
        size: u32,
        start_dir: *const char_t,
    ) -> *const char_t;
}
unsafe extern "C" {
    pub fn comwin_color(
        parent: *mut Window,
        title: *const char_t,
        x: real32_t,
        y: real32_t,
        halign: align_t,
        valign: align_t,
        current: color_t,
        colors: *mut color_t,
        n: u32,
        OnChange: *mut Listener,
    );
}
unsafe extern "C" {
    pub fn edit_create() -> *mut Edit;
}
unsafe extern "C" {
    pub fn edit_multiline() -> *mut Edit;
}
unsafe extern "C" {
    pub fn edit_OnFilter(edit: *mut Edit, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn edit_OnChange(edit: *mut Edit, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn edit_OnFocus(edit: *mut Edit, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn edit_min_width(edit: *mut Edit, width: real32_t);
}
unsafe extern "C" {
    pub fn edit_min_height(edit: *mut Edit, height: real32_t);
}
unsafe extern "C" {
    pub fn edit_text(edit: *mut Edit, text: *const char_t);
}
unsafe extern "C" {
    pub fn edit_font(edit: *mut Edit, font: *const Font);
}
unsafe extern "C" {
    pub fn edit_align(edit: *mut Edit, align: align_t);
}
unsafe extern "C" {
    pub fn edit_passmode(edit: *mut Edit, passmode: bool_t);
}
unsafe extern "C" {
    pub fn edit_editable(edit: *mut Edit, is_editable: bool_t);
}
unsafe extern "C" {
    pub fn edit_autoselect(edit: *mut Edit, autoselect: bool_t);
}
unsafe extern "C" {
    pub fn edit_select(edit: *mut Edit, start: i32, end: i32);
}
unsafe extern "C" {
    pub fn edit_tooltip(edit: *mut Edit, text: *const char_t);
}
unsafe extern "C" {
    pub fn edit_color(edit: *mut Edit, color: color_t);
}
unsafe extern "C" {
    pub fn edit_color_focus(edit: *mut Edit, color: color_t);
}
unsafe extern "C" {
    pub fn edit_bgcolor(edit: *mut Edit, color: color_t);
}
unsafe extern "C" {
    pub fn edit_bgcolor_focus(edit: *mut Edit, color: color_t);
}
unsafe extern "C" {
    pub fn edit_phtext(edit: *mut Edit, text: *const char_t);
}
unsafe extern "C" {
    pub fn edit_phcolor(edit: *mut Edit, color: color_t);
}
unsafe extern "C" {
    pub fn edit_phstyle(edit: *mut Edit, fstyle: u32);
}
unsafe extern "C" {
    pub fn edit_vpadding(edit: *mut Edit, padding: real32_t);
}
unsafe extern "C" {
    pub fn edit_get_text(edit: *const Edit) -> *const char_t;
}
unsafe extern "C" {
    pub fn edit_get_height(edit: *const Edit) -> real32_t;
}
unsafe extern "C" {
    pub fn edit_copy(edit: *const Edit);
}
unsafe extern "C" {
    pub fn edit_cut(edit: *mut Edit);
}
unsafe extern "C" {
    pub fn edit_paste(edit: *mut Edit);
}
unsafe extern "C" {
    pub fn globals_device() -> device_t;
}
unsafe extern "C" {
    pub fn globals_resolution(resolution: *mut S2Df);
}
unsafe extern "C" {
    pub fn globals_mouse_position() -> V2Df;
}
unsafe extern "C" {
    pub fn gui_start();
}
unsafe extern "C" {
    pub fn gui_finish();
}
unsafe extern "C" {
    pub fn gui_respack(func_respack: FPtr_respack);
}
unsafe extern "C" {
    pub fn gui_language(lang: *const char_t);
}
unsafe extern "C" {
    pub fn gui_text(id: ResId) -> *const char_t;
}
unsafe extern "C" {
    pub fn gui_image(id: ResId) -> *const Image;
}
unsafe extern "C" {
    pub fn gui_file(id: ResId, size: *mut u32) -> *const byte_t;
}
unsafe extern "C" {
    pub fn gui_dark_mode() -> bool_t;
}
unsafe extern "C" {
    pub fn gui_alt_color(light_color: color_t, dark_color: color_t) -> color_t;
}
unsafe extern "C" {
    pub fn gui_label_color() -> color_t;
}
unsafe extern "C" {
    pub fn gui_view_color() -> color_t;
}
unsafe extern "C" {
    pub fn gui_line_color() -> color_t;
}
unsafe extern "C" {
    pub fn gui_link_color() -> color_t;
}
unsafe extern "C" {
    pub fn gui_border_color() -> color_t;
}
unsafe extern "C" {
    pub fn gui_resolution() -> S2Df;
}
unsafe extern "C" {
    pub fn gui_mouse_pos() -> V2Df;
}
unsafe extern "C" {
    pub fn gui_update();
}
unsafe extern "C" {
    pub fn gui_OnThemeChanged(listener: *mut Listener);
}
unsafe extern "C" {
    pub fn gui_update_transitions(prtime: real64_t, crtime: real64_t);
}
unsafe extern "C" {
    pub fn gui_OnNotification(listener: *mut Listener);
}
unsafe extern "C" {
    pub fn gui_OnIdle(listener: *mut Listener);
}
unsafe extern "C" {
    pub fn gui_info_window(
        fatal: bool_t,
        msg: *const char_t,
        caption: *const char_t,
        detail: *const char_t,
        file: *const char_t,
        line: u32,
        buttons: *const ArrPtString,
        defindex: u32,
    ) -> u32;
}
unsafe extern "C" {
    pub fn evbind_object_imp(e: *mut Event, type_: *const char_t) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn evbind_modify_imp(
        e: *mut Event,
        type_: *const char_t,
        size: u16,
        mname: *const char_t,
        mtype: *const char_t,
        moffset: u16,
        msize: u16,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn guicontrol_label(control: *mut GuiControl) -> *mut Label;
}
unsafe extern "C" {
    pub fn guicontrol_button(control: *mut GuiControl) -> *mut Button;
}
unsafe extern "C" {
    pub fn guicontrol_popup(control: *mut GuiControl) -> *mut PopUp;
}
unsafe extern "C" {
    pub fn guicontrol_edit(control: *mut GuiControl) -> *mut Edit;
}
unsafe extern "C" {
    pub fn guicontrol_combo(control: *mut GuiControl) -> *mut Combo;
}
unsafe extern "C" {
    pub fn guicontrol_listbox(control: *mut GuiControl) -> *mut ListBox;
}
unsafe extern "C" {
    pub fn guicontrol_updown(control: *mut GuiControl) -> *mut UpDown;
}
unsafe extern "C" {
    pub fn guicontrol_slider(control: *mut GuiControl) -> *mut Slider;
}
unsafe extern "C" {
    pub fn guicontrol_progress(control: *mut GuiControl) -> *mut Progress;
}
unsafe extern "C" {
    pub fn guicontrol_view(control: *mut GuiControl) -> *mut View;
}
unsafe extern "C" {
    pub fn guicontrol_textview(control: *mut GuiControl) -> *mut TextView;
}
unsafe extern "C" {
    pub fn guicontrol_webview(control: *mut GuiControl) -> *mut WebView;
}
unsafe extern "C" {
    pub fn guicontrol_imageview(control: *mut GuiControl) -> *mut ImageView;
}
unsafe extern "C" {
    pub fn guicontrol_tableview(control: *mut GuiControl) -> *mut TableView;
}
unsafe extern "C" {
    pub fn guicontrol_splitview(control: *mut GuiControl) -> *mut SplitView;
}
unsafe extern "C" {
    pub fn guicontrol_panel(control: *mut GuiControl) -> *mut Panel;
}
unsafe extern "C" {
    pub fn guicontrol_tag(control: *mut GuiControl, tag: u32);
}
unsafe extern "C" {
    pub fn guicontrol_get_tag(control: *const GuiControl) -> u32;
}
unsafe extern "C" {
    pub fn imageview_create() -> *mut ImageView;
}
unsafe extern "C" {
    pub fn imageview_size(view: *mut ImageView, size: S2Df);
}
unsafe extern "C" {
    pub fn imageview_scale(view: *mut ImageView, scale: gui_scale_t);
}
unsafe extern "C" {
    pub fn imageview_image(view: *mut ImageView, image: *const Image);
}
unsafe extern "C" {
    pub fn imageview_OnClick(view: *mut ImageView, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn imageview_OnOverDraw(view: *mut ImageView, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn label_create() -> *mut Label;
}
unsafe extern "C" {
    pub fn label_OnClick(label: *mut Label, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn label_min_width(label: *mut Label, width: real32_t);
}
unsafe extern "C" {
    pub fn label_text(label: *mut Label, text: *const char_t);
}
unsafe extern "C" {
    pub fn label_size_text(label: *mut Label, text: *const char_t);
}
unsafe extern "C" {
    pub fn label_font(label: *mut Label, font: *const Font);
}
unsafe extern "C" {
    pub fn label_get_font(label: *const Label) -> *const Font;
}
unsafe extern "C" {
    pub fn label_style_over(label: *mut Label, fstyle: u32);
}
unsafe extern "C" {
    pub fn label_multiline(label: *mut Label, multiline: bool_t);
}
unsafe extern "C" {
    pub fn label_align(label: *mut Label, align: align_t);
}
unsafe extern "C" {
    pub fn label_color(label: *mut Label, color: color_t);
}
unsafe extern "C" {
    pub fn label_color_over(label: *mut Label, color: color_t);
}
unsafe extern "C" {
    pub fn label_bgcolor(label: *mut Label, color: color_t);
}
unsafe extern "C" {
    pub fn label_bgcolor_over(label: *mut Label, color: color_t);
}
unsafe extern "C" {
    pub fn layout_create(ncols: u32, nrows: u32) -> *mut Layout;
}
unsafe extern "C" {
    pub fn layout_cell(layout: *mut Layout, col: u32, row: u32) -> *mut Cell;
}
unsafe extern "C" {
    pub fn layout_control(layout: *mut Layout, col: u32, row: u32) -> *mut GuiControl;
}
unsafe extern "C" {
    pub fn layout_label(layout: *mut Layout, label: *mut Label, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_button(layout: *mut Layout, button: *mut Button, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_popup(layout: *mut Layout, popup: *mut PopUp, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_edit(layout: *mut Layout, edit: *mut Edit, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_combo(layout: *mut Layout, combo: *mut Combo, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_listbox(layout: *mut Layout, list: *mut ListBox, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_updown(layout: *mut Layout, updown: *mut UpDown, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_slider(layout: *mut Layout, slider: *mut Slider, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_progress(layout: *mut Layout, progress: *mut Progress, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_view(layout: *mut Layout, view: *mut View, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_textview(layout: *mut Layout, view: *mut TextView, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_webview(layout: *mut Layout, view: *mut WebView, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_imageview(layout: *mut Layout, view: *mut ImageView, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_tableview(layout: *mut Layout, view: *mut TableView, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_splitview(layout: *mut Layout, view: *mut SplitView, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_panel(layout: *mut Layout, panel: *mut Panel, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_panel_replace(layout: *mut Layout, panel: *mut Panel, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_layout(layout: *mut Layout, sublayout: *mut Layout, col: u32, row: u32);
}
unsafe extern "C" {
    pub fn layout_get_label(layout: *mut Layout, col: u32, row: u32) -> *mut Label;
}
unsafe extern "C" {
    pub fn layout_get_button(layout: *mut Layout, col: u32, row: u32) -> *mut Button;
}
unsafe extern "C" {
    pub fn layout_get_popup(layout: *mut Layout, col: u32, row: u32) -> *mut PopUp;
}
unsafe extern "C" {
    pub fn layout_get_edit(layout: *mut Layout, col: u32, row: u32) -> *mut Edit;
}
unsafe extern "C" {
    pub fn layout_get_combo(layout: *mut Layout, col: u32, row: u32) -> *mut Combo;
}
unsafe extern "C" {
    pub fn layout_get_listbox(layout: *mut Layout, col: u32, row: u32) -> *mut ListBox;
}
unsafe extern "C" {
    pub fn layout_get_updown(layout: *mut Layout, col: u32, row: u32) -> *mut UpDown;
}
unsafe extern "C" {
    pub fn layout_get_slider(layout: *mut Layout, col: u32, row: u32) -> *mut Slider;
}
unsafe extern "C" {
    pub fn layout_get_progress(layout: *mut Layout, col: u32, row: u32) -> *mut Progress;
}
unsafe extern "C" {
    pub fn layout_get_view(layout: *mut Layout, col: u32, row: u32) -> *mut View;
}
unsafe extern "C" {
    pub fn layout_get_textview(layout: *mut Layout, col: u32, row: u32) -> *mut TextView;
}
unsafe extern "C" {
    pub fn layout_get_webview(layout: *mut Layout, col: u32, row: u32) -> *mut WebView;
}
unsafe extern "C" {
    pub fn layout_get_imageview(layout: *mut Layout, col: u32, row: u32) -> *mut ImageView;
}
unsafe extern "C" {
    pub fn layout_get_tableview(layout: *mut Layout, col: u32, row: u32) -> *mut TableView;
}
unsafe extern "C" {
    pub fn layout_get_splitview(layout: *mut Layout, col: u32, row: u32) -> *mut SplitView;
}
unsafe extern "C" {
    pub fn layout_get_panel(layout: *mut Layout, col: u32, row: u32) -> *mut Panel;
}
unsafe extern "C" {
    pub fn layout_get_layout(layout: *mut Layout, col: u32, row: u32) -> *mut Layout;
}
unsafe extern "C" {
    pub fn layout_ncols(layout: *const Layout) -> u32;
}
unsafe extern "C" {
    pub fn layout_nrows(layout: *const Layout) -> u32;
}
unsafe extern "C" {
    pub fn layout_insert_col(layout: *mut Layout, col: u32);
}
unsafe extern "C" {
    pub fn layout_insert_row(layout: *mut Layout, row: u32);
}
unsafe extern "C" {
    pub fn layout_remove_col(layout: *mut Layout, col: u32);
}
unsafe extern "C" {
    pub fn layout_remove_row(layout: *mut Layout, row: u32);
}
unsafe extern "C" {
    pub fn layout_taborder(layout: *mut Layout, order: gui_orient_t);
}
unsafe extern "C" {
    pub fn layout_tabstop(layout: *mut Layout, col: u32, row: u32, tabstop: bool_t);
}
unsafe extern "C" {
    pub fn layout_hsize(layout: *mut Layout, col: u32, width: real32_t);
}
unsafe extern "C" {
    pub fn layout_vsize(layout: *mut Layout, row: u32, height: real32_t);
}
unsafe extern "C" {
    pub fn layout_hmargin(layout: *mut Layout, col: u32, margin: real32_t);
}
unsafe extern "C" {
    pub fn layout_vmargin(layout: *mut Layout, row: u32, margin: real32_t);
}
unsafe extern "C" {
    pub fn layout_hexpand(layout: *mut Layout, col: u32);
}
unsafe extern "C" {
    pub fn layout_hexpand2(layout: *mut Layout, col1: u32, col2: u32, exp: real32_t);
}
unsafe extern "C" {
    pub fn layout_hexpand3(
        layout: *mut Layout,
        col1: u32,
        col2: u32,
        col3: u32,
        exp1: real32_t,
        exp2: real32_t,
    );
}
unsafe extern "C" {
    pub fn layout_vexpand(layout: *mut Layout, row: u32);
}
unsafe extern "C" {
    pub fn layout_vexpand2(layout: *mut Layout, row1: u32, row2: u32, exp: real32_t);
}
unsafe extern "C" {
    pub fn layout_vexpand3(
        layout: *mut Layout,
        row1: u32,
        row2: u32,
        row3: u32,
        exp1: real32_t,
        exp2: real32_t,
    );
}
unsafe extern "C" {
    pub fn layout_halign(layout: *mut Layout, col: u32, row: u32, align: align_t);
}
unsafe extern "C" {
    pub fn layout_valign(layout: *mut Layout, col: u32, row: u32, align: align_t);
}
unsafe extern "C" {
    pub fn layout_show_col(layout: *mut Layout, col: u32, visible: bool_t);
}
unsafe extern "C" {
    pub fn layout_show_row(layout: *mut Layout, row: u32, visible: bool_t);
}
unsafe extern "C" {
    pub fn layout_margin(layout: *mut Layout, mall: real32_t);
}
unsafe extern "C" {
    pub fn layout_margin2(layout: *mut Layout, mtb: real32_t, mlr: real32_t);
}
unsafe extern "C" {
    pub fn layout_margin4(
        layout: *mut Layout,
        mt: real32_t,
        mr: real32_t,
        mb: real32_t,
        ml: real32_t,
    );
}
unsafe extern "C" {
    pub fn layout_bgcolor(layout: *mut Layout, color: color_t);
}
unsafe extern "C" {
    pub fn layout_skcolor(layout: *mut Layout, color: color_t);
}
unsafe extern "C" {
    pub fn layout_update(layout: *const Layout);
}
unsafe extern "C" {
    pub fn layout_dbind_imp(
        layout: *mut Layout,
        listener: *mut Listener,
        type_: *const char_t,
        size: u16,
    );
}
unsafe extern "C" {
    pub fn layout_dbind_obj_imp(
        layout: *mut Layout,
        obj: *mut ::libc::c_void,
        type_: *const char_t,
    );
}
unsafe extern "C" {
    pub fn layout_dbind_get_obj_imp(
        layout: *mut Layout,
        type_: *const char_t,
    ) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn layout_dbind_update_imp(
        layout: *mut Layout,
        type_: *const char_t,
        size: u16,
        mname: *const char_t,
        mtype: *const char_t,
        moffset: u16,
        msize: u16,
    );
}
unsafe extern "C" {
    pub fn listbox_create() -> *mut ListBox;
}
unsafe extern "C" {
    pub fn listbox_OnDown(listbox: *mut ListBox, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn listbox_OnSelect(listbox: *mut ListBox, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn listbox_size(listbox: *mut ListBox, size: S2Df);
}
unsafe extern "C" {
    pub fn listbox_checkbox(listbox: *mut ListBox, show: bool_t);
}
unsafe extern "C" {
    pub fn listbox_multisel(listbox: *mut ListBox, multisel: bool_t);
}
unsafe extern "C" {
    pub fn listbox_add_elem(listbox: *mut ListBox, text: *const char_t, image: *const Image);
}
unsafe extern "C" {
    pub fn listbox_set_elem(
        listbox: *mut ListBox,
        index: u32,
        text: *const char_t,
        image: *const Image,
    );
}
unsafe extern "C" {
    pub fn listbox_del_elem(listbox: *mut ListBox, index: u32);
}
unsafe extern "C" {
    pub fn listbox_font(listbox: *mut ListBox, font: *const Font);
}
unsafe extern "C" {
    pub fn listbox_clear(listbox: *mut ListBox);
}
unsafe extern "C" {
    pub fn listbox_color(listbox: *mut ListBox, index: u32, color: color_t);
}
unsafe extern "C" {
    pub fn listbox_select(listbox: *mut ListBox, index: u32, select: bool_t);
}
unsafe extern "C" {
    pub fn listbox_check(listbox: *mut ListBox, index: u32, check: bool_t);
}
unsafe extern "C" {
    pub fn listbox_count(listbox: *const ListBox) -> u32;
}
unsafe extern "C" {
    pub fn listbox_text(listbox: *const ListBox, index: u32) -> *const char_t;
}
unsafe extern "C" {
    pub fn listbox_selected(listbox: *const ListBox, index: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn listbox_checked(listbox: *const ListBox, index: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn listbox_get_selected(listbox: *const ListBox) -> u32;
}
unsafe extern "C" {
    pub fn listbox_get_row_height(listbox: *const ListBox) -> real32_t;
}
unsafe extern "C" {
    pub fn menu_create() -> *mut Menu;
}
unsafe extern "C" {
    pub fn menu_destroy(menu: *mut *mut Menu);
}
unsafe extern "C" {
    pub fn menu_add_item(menu: *mut Menu, item: *mut MenuItem);
}
unsafe extern "C" {
    pub fn menu_ins_item(menu: *mut Menu, pos: u32, item: *mut MenuItem);
}
unsafe extern "C" {
    pub fn menu_del_item(menu: *mut Menu, pos: u32);
}
unsafe extern "C" {
    pub fn menu_launch(menu: *mut Menu, window: *mut Window, position: V2Df);
}
unsafe extern "C" {
    pub fn menu_off_items(menu: *mut Menu);
}
unsafe extern "C" {
    pub fn menu_count(menu: *const Menu) -> u32;
}
unsafe extern "C" {
    pub fn menu_get_item(menu: *mut Menu, index: u32) -> *mut MenuItem;
}
unsafe extern "C" {
    pub fn menu_get_citem(menu: *const Menu, index: u32) -> *const MenuItem;
}
unsafe extern "C" {
    pub fn menu_is_menubar(menu: *const Menu) -> bool_t;
}
unsafe extern "C" {
    pub fn menu_imp(menu: *const Menu) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn menuitem_create() -> *mut MenuItem;
}
unsafe extern "C" {
    pub fn menuitem_separator() -> *mut MenuItem;
}
unsafe extern "C" {
    pub fn menuitem_OnClick(item: *mut MenuItem, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn menuitem_enabled(item: *mut MenuItem, enabled: bool_t);
}
unsafe extern "C" {
    pub fn menuitem_visible(item: *mut MenuItem, visible: bool_t);
}
unsafe extern "C" {
    pub fn menuitem_state(item: *mut MenuItem, state: gui_state_t);
}
unsafe extern "C" {
    pub fn menuitem_text(item: *mut MenuItem, text: *const char_t);
}
unsafe extern "C" {
    pub fn menuitem_image(item: *mut MenuItem, image: *const Image);
}
unsafe extern "C" {
    pub fn menuitem_key(item: *mut MenuItem, key: vkey_t, modifiers: u32);
}
unsafe extern "C" {
    pub fn menuitem_submenu(item: *mut MenuItem, submenu: *mut *mut Menu);
}
unsafe extern "C" {
    pub fn menuitem_get_text(item: *const MenuItem) -> *const char_t;
}
unsafe extern "C" {
    pub fn menuitem_get_image(item: *const MenuItem) -> *const Image;
}
unsafe extern "C" {
    pub fn menuitem_get_separator(item: *const MenuItem) -> bool_t;
}
unsafe extern "C" {
    pub fn menuitem_get_enabled(item: *const MenuItem) -> bool_t;
}
unsafe extern "C" {
    pub fn menuitem_get_visible(item: *const MenuItem) -> bool_t;
}
unsafe extern "C" {
    pub fn menuitem_get_state(item: *const MenuItem) -> gui_state_t;
}
unsafe extern "C" {
    pub fn menuitem_get_submenu(item: *const MenuItem) -> *mut Menu;
}
unsafe extern "C" {
    pub fn panel_create() -> *mut Panel;
}
unsafe extern "C" {
    pub fn panel_scroll(hscroll: bool_t, vscroll: bool_t) -> *mut Panel;
}
unsafe extern "C" {
    pub fn panel_custom(hscroll: bool_t, vscroll: bool_t, border: bool_t) -> *mut Panel;
}
unsafe extern "C" {
    pub fn panel_data_imp(
        panel: *mut Panel,
        data: *mut *mut ::libc::c_void,
        func_destroy_data: FPtr_destroy,
    );
}
unsafe extern "C" {
    pub fn panel_get_data_imp(panel: *const Panel) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn panel_size(panel: *mut Panel, size: S2Df);
}
unsafe extern "C" {
    pub fn panel_layout(panel: *mut Panel, layout: *mut Layout) -> u32;
}
unsafe extern "C" {
    pub fn panel_get_layout(panel: *mut Panel, index: u32) -> *mut Layout;
}
unsafe extern "C" {
    pub fn panel_visible_layout(panel: *mut Panel, index: u32);
}
unsafe extern "C" {
    pub fn panel_update(panel: *mut Panel);
}
unsafe extern "C" {
    pub fn panel_scroll_width(panel: *const Panel) -> real32_t;
}
unsafe extern "C" {
    pub fn panel_scroll_height(panel: *const Panel) -> real32_t;
}
unsafe extern "C" {
    pub fn popup_create() -> *mut PopUp;
}
unsafe extern "C" {
    pub fn popup_OnSelect(popup: *mut PopUp, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn popup_tooltip(popup: *mut PopUp, text: *const char_t);
}
unsafe extern "C" {
    pub fn popup_add_elem(popup: *mut PopUp, text: *const char_t, image: *const Image);
}
unsafe extern "C" {
    pub fn popup_set_elem(popup: *mut PopUp, index: u32, text: *const char_t, image: *const Image);
}
unsafe extern "C" {
    pub fn popup_clear(popup: *mut PopUp);
}
unsafe extern "C" {
    pub fn popup_count(popup: *const PopUp) -> u32;
}
unsafe extern "C" {
    pub fn popup_list_height(popup: *mut PopUp, elems: u32);
}
unsafe extern "C" {
    pub fn popup_selected(popup: *mut PopUp, index: u32);
}
unsafe extern "C" {
    pub fn popup_get_selected(popup: *const PopUp) -> u32;
}
unsafe extern "C" {
    pub fn popup_get_text(popup: *const PopUp, index: u32) -> *const char_t;
}
unsafe extern "C" {
    pub fn progress_create() -> *mut Progress;
}
unsafe extern "C" {
    pub fn progress_min_width(progress: *mut Progress, width: real32_t);
}
unsafe extern "C" {
    pub fn progress_undefined(progress: *mut Progress, running: bool_t);
}
unsafe extern "C" {
    pub fn progress_value(progress: *mut Progress, value: real32_t);
}
unsafe extern "C" {
    pub fn slider_create() -> *mut Slider;
}
unsafe extern "C" {
    pub fn slider_vertical() -> *mut Slider;
}
unsafe extern "C" {
    pub fn slider_OnMoved(slider: *mut Slider, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn slider_min_width(slider: *mut Slider, width: real32_t);
}
unsafe extern "C" {
    pub fn slider_tooltip(slider: *mut Slider, text: *const char_t);
}
unsafe extern "C" {
    pub fn slider_steps(slider: *mut Slider, steps: u32);
}
unsafe extern "C" {
    pub fn slider_value(slider: *mut Slider, value: real32_t);
}
unsafe extern "C" {
    pub fn slider_get_value(slider: *const Slider) -> real32_t;
}
unsafe extern "C" {
    pub fn splitview_horizontal() -> *mut SplitView;
}
unsafe extern "C" {
    pub fn splitview_vertical() -> *mut SplitView;
}
unsafe extern "C" {
    pub fn splitview_view(split: *mut SplitView, view: *mut View, tabstop: bool_t);
}
unsafe extern "C" {
    pub fn splitview_textview(split: *mut SplitView, view: *mut TextView, tabstop: bool_t);
}
unsafe extern "C" {
    pub fn splitview_webview(split: *mut SplitView, view: *mut WebView, tabstop: bool_t);
}
unsafe extern "C" {
    pub fn splitview_tableview(split: *mut SplitView, view: *mut TableView, tabstop: bool_t);
}
unsafe extern "C" {
    pub fn splitview_splitview(split: *mut SplitView, view: *mut SplitView);
}
unsafe extern "C" {
    pub fn splitview_panel(split: *mut SplitView, panel: *mut Panel);
}
unsafe extern "C" {
    pub fn splitview_pos(split: *mut SplitView, mode: split_mode_t, pos: real32_t);
}
unsafe extern "C" {
    pub fn splitview_get_pos(split: *const SplitView, mode: split_mode_t) -> real32_t;
}
unsafe extern "C" {
    pub fn splitview_visible0(split: *mut SplitView, visible: bool_t);
}
unsafe extern "C" {
    pub fn splitview_visible1(split: *mut SplitView, visible: bool_t);
}
unsafe extern "C" {
    pub fn splitview_minsize0(split: *mut SplitView, size: real32_t);
}
unsafe extern "C" {
    pub fn splitview_minsize1(split: *mut SplitView, size: real32_t);
}
unsafe extern "C" {
    pub fn tableview_create() -> *mut TableView;
}
unsafe extern "C" {
    pub fn tableview_OnData(view: *mut TableView, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn tableview_OnSelect(view: *mut TableView, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn tableview_OnRowClick(view: *mut TableView, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn tableview_OnHeaderClick(view: *mut TableView, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn tableview_font(view: *mut TableView, font: *const Font);
}
unsafe extern "C" {
    pub fn tableview_size(view: *mut TableView, size: S2Df);
}
unsafe extern "C" {
    pub fn tableview_new_column_text(view: *mut TableView) -> u32;
}
unsafe extern "C" {
    pub fn tableview_column_width(view: *mut TableView, column_id: u32, width: real32_t);
}
unsafe extern "C" {
    pub fn tableview_column_limits(
        view: *mut TableView,
        column_id: u32,
        min: real32_t,
        max: real32_t,
    );
}
unsafe extern "C" {
    pub fn tableview_column_align(view: *mut TableView, column_id: u32, align: align_t);
}
unsafe extern "C" {
    pub fn tableview_column_resizable(view: *mut TableView, column_id: u32, resizable: bool_t);
}
unsafe extern "C" {
    pub fn tableview_column_freeze(view: *mut TableView, last_column_id: u32);
}
unsafe extern "C" {
    pub fn tableview_header_title(view: *mut TableView, column_id: u32, text: *const char_t);
}
unsafe extern "C" {
    pub fn tableview_header_align(view: *mut TableView, column_id: u32, align: align_t);
}
unsafe extern "C" {
    pub fn tableview_header_indicator(view: *mut TableView, column_id: u32, indicator: u32);
}
unsafe extern "C" {
    pub fn tableview_header_visible(view: *mut TableView, visible: bool_t);
}
unsafe extern "C" {
    pub fn tableview_header_clickable(view: *mut TableView, clickable: bool_t);
}
unsafe extern "C" {
    pub fn tableview_header_resizable(view: *mut TableView, resizable: bool_t);
}
unsafe extern "C" {
    pub fn tableview_header_height(view: *mut TableView, height: real32_t);
}
unsafe extern "C" {
    pub fn tableview_row_height(view: *mut TableView, height: real32_t);
}
unsafe extern "C" {
    pub fn tableview_hkey_scroll(view: *mut TableView, force_column: bool_t, scroll: real32_t);
}
unsafe extern "C" {
    pub fn tableview_multisel(view: *mut TableView, multisel: bool_t, preserve: bool_t);
}
unsafe extern "C" {
    pub fn tableview_grid(view: *mut TableView, hlines: bool_t, vlines: bool_t);
}
unsafe extern "C" {
    pub fn tableview_update(view: *mut TableView);
}
unsafe extern "C" {
    pub fn tableview_select(view: *mut TableView, rows: *const u32, n: u32);
}
unsafe extern "C" {
    pub fn tableview_deselect(view: *mut TableView, rows: *const u32, n: u32);
}
unsafe extern "C" {
    pub fn tableview_deselect_all(view: *mut TableView);
}
unsafe extern "C" {
    pub fn tableview_selected(view: *const TableView) -> *const ArrStuint32_t;
}
unsafe extern "C" {
    pub fn tableview_focus_row(view: *mut TableView, row: u32, align: align_t);
}
unsafe extern "C" {
    pub fn tableview_get_focus_row(view: *const TableView) -> u32;
}
unsafe extern "C" {
    pub fn tableview_scroll_visible(view: *mut TableView, horizontal: bool_t, vertical: bool_t);
}
unsafe extern "C" {
    pub fn textview_create() -> *mut TextView;
}
unsafe extern "C" {
    pub fn textview_OnFilter(view: *mut TextView, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn textview_OnFocus(view: *mut TextView, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn textview_size(view: *mut TextView, size: S2Df);
}
unsafe extern "C" {
    pub fn textview_clear(view: *mut TextView);
}
unsafe extern "C" {
    pub fn textview_printf(view: *mut TextView, format: *const char_t, ...) -> u32;
}
unsafe extern "C" {
    pub fn textview_writef(view: *mut TextView, text: *const char_t);
}
unsafe extern "C" {
    pub fn textview_cpos_printf(view: *mut TextView, format: *const char_t, ...) -> u32;
}
unsafe extern "C" {
    pub fn textview_cpos_writef(view: *mut TextView, text: *const char_t);
}
unsafe extern "C" {
    pub fn textview_rtf(view: *mut TextView, rtf_in: *mut Stream);
}
unsafe extern "C" {
    pub fn textview_units(view: *mut TextView, units: u32);
}
unsafe extern "C" {
    pub fn textview_family(view: *mut TextView, family: *const char_t);
}
unsafe extern "C" {
    pub fn textview_fsize(view: *mut TextView, size: real32_t);
}
unsafe extern "C" {
    pub fn textview_fstyle(view: *mut TextView, fstyle: u32);
}
unsafe extern "C" {
    pub fn textview_color(view: *mut TextView, color: color_t);
}
unsafe extern "C" {
    pub fn textview_bgcolor(view: *mut TextView, color: color_t);
}
unsafe extern "C" {
    pub fn textview_pgcolor(view: *mut TextView, color: color_t);
}
unsafe extern "C" {
    pub fn textview_halign(view: *mut TextView, align: align_t);
}
unsafe extern "C" {
    pub fn textview_lspacing(view: *mut TextView, scale: real32_t);
}
unsafe extern "C" {
    pub fn textview_bfspace(view: *mut TextView, space: real32_t);
}
unsafe extern "C" {
    pub fn textview_afspace(view: *mut TextView, space: real32_t);
}
unsafe extern "C" {
    pub fn textview_apply_all(view: *mut TextView);
}
unsafe extern "C" {
    pub fn textview_apply_select(view: *mut TextView);
}
unsafe extern "C" {
    pub fn textview_scroll_visible(view: *mut TextView, horizontal: bool_t, vertical: bool_t);
}
unsafe extern "C" {
    pub fn textview_editable(view: *mut TextView, is_editable: bool_t);
}
unsafe extern "C" {
    pub fn textview_select(view: *mut TextView, start: i32, end: i32);
}
unsafe extern "C" {
    pub fn textview_show_select(view: *mut TextView, show: bool_t);
}
unsafe extern "C" {
    pub fn textview_del_select(view: *mut TextView);
}
unsafe extern "C" {
    pub fn textview_scroll_caret(view: *mut TextView);
}
unsafe extern "C" {
    pub fn textview_get_text(view: *const TextView) -> *const char_t;
}
unsafe extern "C" {
    pub fn textview_copy(view: *const TextView);
}
unsafe extern "C" {
    pub fn textview_cut(view: *mut TextView);
}
unsafe extern "C" {
    pub fn textview_paste(view: *mut TextView);
}
unsafe extern "C" {
    pub fn textview_wrap(view: *mut TextView, wrap: bool_t);
}
unsafe extern "C" {
    pub fn webview_create() -> *mut WebView;
}
unsafe extern "C" {
    pub fn webview_OnFocus(view: *mut WebView, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn webview_size(view: *mut WebView, size: S2Df);
}
unsafe extern "C" {
    pub fn webview_navigate(view: *mut WebView, url: *const char_t);
}
unsafe extern "C" {
    pub fn webview_back(view: *mut WebView);
}
unsafe extern "C" {
    pub fn webview_forward(view: *mut WebView);
}
unsafe extern "C" {
    pub fn updown_create() -> *mut UpDown;
}
unsafe extern "C" {
    pub fn updown_OnClick(updown: *mut UpDown, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn updown_tooltip(updown: *mut UpDown, text: *const char_t);
}
unsafe extern "C" {
    pub fn view_create() -> *mut View;
}
unsafe extern "C" {
    pub fn view_scroll() -> *mut View;
}
unsafe extern "C" {
    pub fn view_custom(scroll: bool_t, border: bool_t) -> *mut View;
}
unsafe extern "C" {
    pub fn view_data_imp(
        view: *mut View,
        data: *mut *mut ::libc::c_void,
        func_destroy_data: FPtr_destroy,
    );
}
unsafe extern "C" {
    pub fn view_get_data_imp(view: *const View) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn view_size(view: *mut View, size: S2Df);
}
unsafe extern "C" {
    pub fn view_OnDraw(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnOverlay(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnSize(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnEnter(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnExit(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnMove(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnDown(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnUp(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnClick(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnDrag(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnWheel(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnKeyDown(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnKeyUp(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnFocus(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnResignFocus(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnAcceptFocus(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_OnScroll(view: *mut View, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn view_allow_tab(view: *mut View, allow: bool_t);
}
unsafe extern "C" {
    pub fn view_keybuf(view: *mut View, buffer: *mut KeyBuf);
}
unsafe extern "C" {
    pub fn view_get_size(view: *const View, size: *mut S2Df);
}
unsafe extern "C" {
    pub fn view_content_size(view: *mut View, size: S2Df, line: S2Df);
}
unsafe extern "C" {
    pub fn view_scroll_x(view: *mut View, pos: real32_t);
}
unsafe extern "C" {
    pub fn view_scroll_y(view: *mut View, pos: real32_t);
}
unsafe extern "C" {
    pub fn view_scroll_size(view: *const View, width: *mut real32_t, height: *mut real32_t);
}
unsafe extern "C" {
    pub fn view_scroll_visible(view: *mut View, horizontal: bool_t, vertical: bool_t);
}
unsafe extern "C" {
    pub fn view_viewport(view: *const View, pos: *mut V2Df, size: *mut S2Df);
}
unsafe extern "C" {
    pub fn view_point_scale(view: *const View, scale: *mut real32_t);
}
unsafe extern "C" {
    pub fn view_update(view: *mut View);
}
unsafe extern "C" {
    pub fn view_native(view: *mut View) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn window_create(flags: u32) -> *mut Window;
}
unsafe extern "C" {
    pub fn window_destroy(window: *mut *mut Window);
}
unsafe extern "C" {
    pub fn window_panel(window: *mut Window, panel: *mut Panel);
}
unsafe extern "C" {
    pub fn window_OnClose(window: *mut Window, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn window_OnMoved(window: *mut Window, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn window_OnResize(window: *mut Window, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn window_title(window: *mut Window, text: *const char_t);
}
unsafe extern "C" {
    pub fn window_show(window: *mut Window);
}
unsafe extern "C" {
    pub fn window_hide(window: *mut Window);
}
unsafe extern "C" {
    pub fn window_overlay(window: *mut Window, parent: *mut Window);
}
unsafe extern "C" {
    pub fn window_modal(window: *mut Window, parent: *mut Window) -> u32;
}
unsafe extern "C" {
    pub fn window_stop_modal(window: *mut Window, return_value: u32);
}
unsafe extern "C" {
    pub fn window_is_visible(window: *const Window) -> bool_t;
}
unsafe extern "C" {
    pub fn window_hotkey(window: *mut Window, key: vkey_t, modifiers: u32, listener: *mut Listener);
}
unsafe extern "C" {
    pub fn window_clear_hotkeys(window: *mut Window);
}
unsafe extern "C" {
    pub fn window_cycle_tabstop(window: *mut Window, cycle: bool_t);
}
unsafe extern "C" {
    pub fn window_next_tabstop(window: *mut Window) -> gui_focus_t;
}
unsafe extern "C" {
    pub fn window_previous_tabstop(window: *mut Window) -> gui_focus_t;
}
unsafe extern "C" {
    pub fn window_focus(window: *mut Window, control: *mut GuiControl) -> gui_focus_t;
}
unsafe extern "C" {
    pub fn window_get_focus(window: *mut Window) -> *mut GuiControl;
}
unsafe extern "C" {
    pub fn window_focus_info(window: *const Window, info: *mut FocusInfo);
}
unsafe extern "C" {
    pub fn window_update(window: *mut Window);
}
unsafe extern "C" {
    pub fn window_origin(window: *mut Window, origin: V2Df);
}
unsafe extern "C" {
    pub fn window_size(window: *mut Window, size: S2Df);
}
unsafe extern "C" {
    pub fn window_get_origin(window: *const Window) -> V2Df;
}
unsafe extern "C" {
    pub fn window_get_size(window: *const Window) -> S2Df;
}
unsafe extern "C" {
    pub fn window_get_client_size(window: *const Window) -> S2Df;
}
unsafe extern "C" {
    pub fn window_control_frame(window: *const Window, control: *const GuiControl) -> R2Df;
}
unsafe extern "C" {
    pub fn window_client_to_screen(window: *const Window, point: V2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn window_defbutton(window: *mut Window, button: *mut Button);
}
unsafe extern "C" {
    pub fn window_cursor(
        window: *mut Window,
        cursor: gui_cursor_t,
        image: *const Image,
        hot_x: real32_t,
        hot_y: real32_t,
    );
}
unsafe extern "C" {
    pub fn window_imp(window: *const Window) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn color_rgb(r: u8, g: u8, b: u8) -> color_t;
}
unsafe extern "C" {
    pub fn color_rgba(r: u8, g: u8, b: u8, a: u8) -> color_t;
}
unsafe extern "C" {
    pub fn color_rgbaf(r: real32_t, g: real32_t, b: real32_t, a: real32_t) -> color_t;
}
unsafe extern "C" {
    pub fn color_hsbf(hue: real32_t, sat: real32_t, bright: real32_t) -> color_t;
}
unsafe extern "C" {
    pub fn color_red(r: u8) -> color_t;
}
unsafe extern "C" {
    pub fn color_green(g: u8) -> color_t;
}
unsafe extern "C" {
    pub fn color_blue(b: u8) -> color_t;
}
unsafe extern "C" {
    pub fn color_gray(l: u8) -> color_t;
}
unsafe extern "C" {
    pub fn color_bgr(bgr: u32) -> color_t;
}
unsafe extern "C" {
    pub fn color_html(html: *const char_t) -> color_t;
}
unsafe extern "C" {
    pub fn color_indexed(index: u16, color: color_t) -> color_t;
}
unsafe extern "C" {
    pub fn color_to_hsbf(
        color: color_t,
        hue: *mut real32_t,
        sat: *mut real32_t,
        bright: *mut real32_t,
    );
}
unsafe extern "C" {
    pub fn color_to_html(color: color_t, html: *mut char_t, size: u32);
}
unsafe extern "C" {
    pub fn color_get_rgb(color: color_t, r: *mut u8, g: *mut u8, b: *mut u8);
}
unsafe extern "C" {
    pub fn color_get_rgbf(color: color_t, r: *mut real32_t, g: *mut real32_t, b: *mut real32_t);
}
unsafe extern "C" {
    pub fn color_get_rgba(color: color_t, r: *mut u8, g: *mut u8, b: *mut u8, a: *mut u8);
}
unsafe extern "C" {
    pub fn color_get_rgbaf(
        color: color_t,
        r: *mut real32_t,
        g: *mut real32_t,
        b: *mut real32_t,
        a: *mut real32_t,
    );
}
unsafe extern "C" {
    pub fn color_get_alpha(color: color_t) -> u8;
}
unsafe extern "C" {
    pub fn color_set_alpha(color: color_t, alpha: u8) -> color_t;
}
unsafe extern "C" {
    pub static kCOLOR_TRANSPARENT: color_t;
}
unsafe extern "C" {
    pub static kCOLOR_DEFAULT: color_t;
}
unsafe extern "C" {
    pub static kCOLOR_BLACK: color_t;
}
unsafe extern "C" {
    pub static kCOLOR_WHITE: color_t;
}
unsafe extern "C" {
    pub static kCOLOR_RED: color_t;
}
unsafe extern "C" {
    pub static kCOLOR_GREEN: color_t;
}
unsafe extern "C" {
    pub static kCOLOR_BLUE: color_t;
}
unsafe extern "C" {
    pub static kCOLOR_YELLOW: color_t;
}
unsafe extern "C" {
    pub static kCOLOR_CYAN: color_t;
}
unsafe extern "C" {
    pub static kCOLOR_MAGENTA: color_t;
}
unsafe extern "C" {
    pub fn dctx_bitmap(width: u32, height: u32, format: pixformat_t) -> *mut DCtx;
}
unsafe extern "C" {
    pub fn dctx_image(ctx: *mut *mut DCtx) -> *mut Image;
}
unsafe extern "C" {
    pub fn draw_clear(ctx: *mut DCtx, color: color_t);
}
unsafe extern "C" {
    pub fn draw_matrixf(ctx: *mut DCtx, t2d: *const T2Df);
}
unsafe extern "C" {
    pub fn draw_matrixd(ctx: *mut DCtx, t2d: *const T2Dd);
}
unsafe extern "C" {
    pub fn draw_matrix_cartesianf(ctx: *mut DCtx, t2d: *const T2Df);
}
unsafe extern "C" {
    pub fn draw_matrix_cartesiand(ctx: *mut DCtx, t2d: *const T2Dd);
}
unsafe extern "C" {
    pub fn draw_antialias(ctx: *mut DCtx, on: bool_t);
}
unsafe extern "C" {
    pub fn draw_line(ctx: *mut DCtx, x0: real32_t, y0: real32_t, x1: real32_t, y1: real32_t);
}
unsafe extern "C" {
    pub fn draw_polyline(ctx: *mut DCtx, closed: bool_t, points: *const V2Df, n: u32);
}
unsafe extern "C" {
    pub fn draw_arc(
        ctx: *mut DCtx,
        x: real32_t,
        y: real32_t,
        radius: real32_t,
        start: real32_t,
        sweep: real32_t,
    );
}
unsafe extern "C" {
    pub fn draw_bezier(
        ctx: *mut DCtx,
        x0: real32_t,
        y0: real32_t,
        x1: real32_t,
        y1: real32_t,
        x2: real32_t,
        y2: real32_t,
        x3: real32_t,
        y3: real32_t,
    );
}
unsafe extern "C" {
    pub fn draw_line_color(ctx: *mut DCtx, color: color_t);
}
unsafe extern "C" {
    pub fn draw_line_fill(ctx: *mut DCtx);
}
unsafe extern "C" {
    pub fn draw_line_width(ctx: *mut DCtx, width: real32_t);
}
unsafe extern "C" {
    pub fn draw_line_cap(ctx: *mut DCtx, cap: linecap_t);
}
unsafe extern "C" {
    pub fn draw_line_join(ctx: *mut DCtx, join: linejoin_t);
}
unsafe extern "C" {
    pub fn draw_line_dash(ctx: *mut DCtx, pattern: *const real32_t, n: u32);
}
unsafe extern "C" {
    pub fn draw_rect(
        ctx: *mut DCtx,
        op: drawop_t,
        x: real32_t,
        y: real32_t,
        width: real32_t,
        height: real32_t,
    );
}
unsafe extern "C" {
    pub fn draw_rndrect(
        ctx: *mut DCtx,
        op: drawop_t,
        x: real32_t,
        y: real32_t,
        width: real32_t,
        height: real32_t,
        radius: real32_t,
    );
}
unsafe extern "C" {
    pub fn draw_circle(ctx: *mut DCtx, op: drawop_t, x: real32_t, y: real32_t, radius: real32_t);
}
unsafe extern "C" {
    pub fn draw_ellipse(
        ctx: *mut DCtx,
        op: drawop_t,
        x: real32_t,
        y: real32_t,
        radx: real32_t,
        rady: real32_t,
    );
}
unsafe extern "C" {
    pub fn draw_polygon(ctx: *mut DCtx, op: drawop_t, points: *const V2Df, n: u32);
}
unsafe extern "C" {
    pub fn draw_fill_color(ctx: *mut DCtx, color: color_t);
}
unsafe extern "C" {
    pub fn draw_fill_linear(
        ctx: *mut DCtx,
        color: *const color_t,
        stop: *const real32_t,
        n: u32,
        x0: real32_t,
        y0: real32_t,
        x1: real32_t,
        y1: real32_t,
    );
}
unsafe extern "C" {
    pub fn draw_fill_matrix(ctx: *mut DCtx, t2d: *const T2Df);
}
unsafe extern "C" {
    pub fn draw_fill_wrap(ctx: *mut DCtx, wrap: fillwrap_t);
}
unsafe extern "C" {
    pub fn draw_font(ctx: *mut DCtx, font: *const Font);
}
unsafe extern "C" {
    pub fn draw_text_color(ctx: *mut DCtx, color: color_t);
}
unsafe extern "C" {
    pub fn draw_text(ctx: *mut DCtx, text: *const char_t, x: real32_t, y: real32_t);
}
unsafe extern "C" {
    pub fn draw_text_single_line(ctx: *mut DCtx, text: *const char_t, x: real32_t, y: real32_t);
}
unsafe extern "C" {
    pub fn draw_text_path(
        ctx: *mut DCtx,
        op: drawop_t,
        text: *const char_t,
        x: real32_t,
        y: real32_t,
    );
}
unsafe extern "C" {
    pub fn draw_text_width(ctx: *mut DCtx, width: real32_t);
}
unsafe extern "C" {
    pub fn draw_text_trim(ctx: *mut DCtx, ellipsis: ellipsis_t);
}
unsafe extern "C" {
    pub fn draw_text_align(ctx: *mut DCtx, halign: align_t, valign: align_t);
}
unsafe extern "C" {
    pub fn draw_text_halign(ctx: *mut DCtx, halign: align_t);
}
unsafe extern "C" {
    pub fn draw_text_extents(
        ctx: *mut DCtx,
        text: *const char_t,
        refwidth: real32_t,
        width: *mut real32_t,
        height: *mut real32_t,
    );
}
unsafe extern "C" {
    pub fn draw_image(ctx: *mut DCtx, image: *const Image, x: real32_t, y: real32_t);
}
unsafe extern "C" {
    pub fn draw_image_frame(
        ctx: *mut DCtx,
        image: *const Image,
        frame: u32,
        x: real32_t,
        y: real32_t,
    );
}
unsafe extern "C" {
    pub fn draw_image_align(ctx: *mut DCtx, halign: align_t, valign: align_t);
}
unsafe extern "C" {
    pub fn draw2d_start();
}
unsafe extern "C" {
    pub fn draw2d_finish();
}
unsafe extern "C" {
    pub fn draw2d_preferred_monospace(family: *const char_t);
}
unsafe extern "C" {
    pub fn draw_v2df(ctx: *mut DCtx, op: drawop_t, v2d: *const V2Df, radius: real32_t);
}
unsafe extern "C" {
    pub fn draw_v2dd(ctx: *mut DCtx, op: drawop_t, v2d: *const V2Dd, radius: real64_t);
}
unsafe extern "C" {
    pub fn draw_seg2df(ctx: *mut DCtx, seg: *const Seg2Df);
}
unsafe extern "C" {
    pub fn draw_seg2dd(ctx: *mut DCtx, seg: *const Seg2Dd);
}
unsafe extern "C" {
    pub fn draw_r2df(ctx: *mut DCtx, op: drawop_t, rect: *const R2Df);
}
unsafe extern "C" {
    pub fn draw_r2dd(ctx: *mut DCtx, op: drawop_t, rect: *const R2Dd);
}
unsafe extern "C" {
    pub fn draw_cir2df(ctx: *mut DCtx, op: drawop_t, cir: *const Cir2Df);
}
unsafe extern "C" {
    pub fn draw_cir2dd(ctx: *mut DCtx, op: drawop_t, cir: *const Cir2Dd);
}
unsafe extern "C" {
    pub fn draw_box2df(ctx: *mut DCtx, op: drawop_t, box_: *const Box2Df);
}
unsafe extern "C" {
    pub fn draw_box2dd(ctx: *mut DCtx, op: drawop_t, box_: *const Box2Dd);
}
unsafe extern "C" {
    pub fn draw_obb2df(ctx: *mut DCtx, op: drawop_t, obb: *const OBB2Df);
}
unsafe extern "C" {
    pub fn draw_obb2dd(ctx: *mut DCtx, op: drawop_t, obb: *const OBB2Dd);
}
unsafe extern "C" {
    pub fn draw_tri2df(ctx: *mut DCtx, op: drawop_t, tri: *const Tri2Df);
}
unsafe extern "C" {
    pub fn draw_tri2dd(ctx: *mut DCtx, op: drawop_t, tri: *const Tri2Dd);
}
unsafe extern "C" {
    pub fn draw_pol2df(ctx: *mut DCtx, op: drawop_t, pol: *const Pol2Df);
}
unsafe extern "C" {
    pub fn draw_pol2dd(ctx: *mut DCtx, op: drawop_t, pol: *const Pol2Dd);
}
unsafe extern "C" {
    pub fn font_create(family: *const char_t, size: real32_t, style: u32) -> *mut Font;
}
unsafe extern "C" {
    pub fn font_system(size: real32_t, style: u32) -> *mut Font;
}
unsafe extern "C" {
    pub fn font_monospace(size: real32_t, style: u32) -> *mut Font;
}
unsafe extern "C" {
    pub fn font_with_style(font: *const Font, style: u32) -> *mut Font;
}
unsafe extern "C" {
    pub fn font_with_width(font: *const Font, width: real32_t) -> *mut Font;
}
unsafe extern "C" {
    pub fn font_with_xscale(font: *const Font, scale: real32_t) -> *mut Font;
}
unsafe extern "C" {
    pub fn font_copy(font: *const Font) -> *mut Font;
}
unsafe extern "C" {
    pub fn font_destroy(font: *mut *mut Font);
}
unsafe extern "C" {
    pub fn font_equals(font1: *const Font, font2: *const Font) -> bool_t;
}
unsafe extern "C" {
    pub fn font_regular_size() -> real32_t;
}
unsafe extern "C" {
    pub fn font_small_size() -> real32_t;
}
unsafe extern "C" {
    pub fn font_mini_size() -> real32_t;
}
unsafe extern "C" {
    pub fn font_family(font: *const Font) -> *const char_t;
}
unsafe extern "C" {
    pub fn font_size(font: *const Font) -> real32_t;
}
unsafe extern "C" {
    pub fn font_height(font: *const Font) -> real32_t;
}
unsafe extern "C" {
    pub fn font_width(font: *const Font) -> real32_t;
}
unsafe extern "C" {
    pub fn font_xscale(font: *const Font) -> real32_t;
}
unsafe extern "C" {
    pub fn font_ascent(font: *const Font) -> real32_t;
}
unsafe extern "C" {
    pub fn font_descent(font: *const Font) -> real32_t;
}
unsafe extern "C" {
    pub fn font_leading(font: *const Font) -> real32_t;
}
unsafe extern "C" {
    pub fn font_is_monospace(font: *const Font) -> bool_t;
}
unsafe extern "C" {
    pub fn font_style(font: *const Font) -> u32;
}
unsafe extern "C" {
    pub fn font_extents(
        font: *const Font,
        text: *const char_t,
        refwidth: real32_t,
        width: *mut real32_t,
        height: *mut real32_t,
    );
}
unsafe extern "C" {
    pub fn font_exists_family(family: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn font_installed_families() -> *mut ArrPtString;
}
unsafe extern "C" {
    pub fn font_installed_monospace() -> *mut ArrPtString;
}
unsafe extern "C" {
    pub fn font_native(font: *const Font) -> *const ::libc::c_void;
}
unsafe extern "C" {
    pub fn image_from_pixels(
        width: u32,
        height: u32,
        format: pixformat_t,
        data: *const byte_t,
        palette: *const color_t,
        palsize: u32,
    ) -> *mut Image;
}
unsafe extern "C" {
    pub fn image_from_pixbuf(pixbuf: *const Pixbuf, palette: *const Palette) -> *mut Image;
}
unsafe extern "C" {
    pub fn image_from_file(pathname: *const char_t, error: *mut ferror_t) -> *mut Image;
}
unsafe extern "C" {
    pub fn image_from_data(data: *const byte_t, size: u32) -> *mut Image;
}
unsafe extern "C" {
    pub fn image_from_resource(pack: *const ResPack, id: ResId) -> *const Image;
}
unsafe extern "C" {
    pub fn image_copy(image: *const Image) -> *mut Image;
}
unsafe extern "C" {
    pub fn image_trim(image: *const Image, x: u32, y: u32, width: u32, height: u32) -> *mut Image;
}
unsafe extern "C" {
    pub fn image_rotate(
        image: *const Image,
        angle: real32_t,
        nsize: bool_t,
        background: color_t,
        t2d: *mut T2Df,
    ) -> *mut Image;
}
unsafe extern "C" {
    pub fn image_scale(image: *const Image, nwidth: u32, nheight: u32) -> *mut Image;
}
unsafe extern "C" {
    pub fn image_read(stm: *mut Stream) -> *mut Image;
}
unsafe extern "C" {
    pub fn image_to_file(
        image: *const Image,
        pathname: *const char_t,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn image_write(stream: *mut Stream, image: *const Image);
}
unsafe extern "C" {
    pub fn image_destroy(image: *mut *mut Image);
}
unsafe extern "C" {
    pub fn image_format(image: *const Image) -> pixformat_t;
}
unsafe extern "C" {
    pub fn image_width(image: *const Image) -> u32;
}
unsafe extern "C" {
    pub fn image_height(image: *const Image) -> u32;
}
unsafe extern "C" {
    pub fn image_pixels(image: *const Image, format: pixformat_t) -> *mut Pixbuf;
}
unsafe extern "C" {
    pub fn image_codec(image: *const Image, codec: codec_t) -> bool_t;
}
unsafe extern "C" {
    pub fn image_get_codec(image: *const Image) -> codec_t;
}
unsafe extern "C" {
    pub fn image_num_frames(image: *const Image) -> u32;
}
unsafe extern "C" {
    pub fn image_frame_length(image: *const Image, findex: u32) -> real32_t;
}
unsafe extern "C" {
    pub fn image_data_imp(
        image: *mut Image,
        data: *mut *mut ::libc::c_void,
        func_destroy_data: FPtr_destroy,
    );
}
unsafe extern "C" {
    pub fn image_get_data_imp(image: *const Image) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn image_native(image: *const Image) -> *const ::libc::c_void;
}
unsafe extern "C" {
    pub fn palette_create(size: u32) -> *mut Palette;
}
unsafe extern "C" {
    pub fn palette_cga2(mode: bool_t, intense: bool_t) -> *mut Palette;
}
unsafe extern "C" {
    pub fn palette_ega4() -> *mut Palette;
}
unsafe extern "C" {
    pub fn palette_rgb8() -> *mut Palette;
}
unsafe extern "C" {
    pub fn palette_gray1() -> *mut Palette;
}
unsafe extern "C" {
    pub fn palette_gray2() -> *mut Palette;
}
unsafe extern "C" {
    pub fn palette_gray4() -> *mut Palette;
}
unsafe extern "C" {
    pub fn palette_gray8() -> *mut Palette;
}
unsafe extern "C" {
    pub fn palette_binary(zero: color_t, one: color_t) -> *mut Palette;
}
unsafe extern "C" {
    pub fn palette_destroy(palette: *mut *mut Palette);
}
unsafe extern "C" {
    pub fn palette_size(palette: *const Palette) -> u32;
}
unsafe extern "C" {
    pub fn palette_colors(palette: *mut Palette) -> *mut color_t;
}
unsafe extern "C" {
    pub fn palette_ccolors(palette: *const Palette) -> *const color_t;
}
unsafe extern "C" {
    pub fn pixbuf_create(width: u32, height: u32, format: pixformat_t) -> *mut Pixbuf;
}
unsafe extern "C" {
    pub fn pixbuf_copy(pixbuf: *const Pixbuf) -> *mut Pixbuf;
}
unsafe extern "C" {
    pub fn pixbuf_trim(
        pixbuf: *const Pixbuf,
        x: u32,
        y: u32,
        width: u32,
        height: u32,
    ) -> *mut Pixbuf;
}
unsafe extern "C" {
    pub fn pixbuf_convert(
        pixbuf: *const Pixbuf,
        palette: *const Palette,
        oformat: pixformat_t,
    ) -> *mut Pixbuf;
}
unsafe extern "C" {
    pub fn pixbuf_destroy(pixbuf: *mut *mut Pixbuf);
}
unsafe extern "C" {
    pub fn pixbuf_format(pixbuf: *const Pixbuf) -> pixformat_t;
}
unsafe extern "C" {
    pub fn pixbuf_width(pixbuf: *const Pixbuf) -> u32;
}
unsafe extern "C" {
    pub fn pixbuf_height(pixbuf: *const Pixbuf) -> u32;
}
unsafe extern "C" {
    pub fn pixbuf_size(pixbuf: *const Pixbuf) -> u32;
}
unsafe extern "C" {
    pub fn pixbuf_dsize(pixbuf: *const Pixbuf) -> u32;
}
unsafe extern "C" {
    pub fn pixbuf_cdata(pixbuf: *const Pixbuf) -> *const byte_t;
}
unsafe extern "C" {
    pub fn pixbuf_data(pixbuf: *mut Pixbuf) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn pixbuf_format_bpp(format: pixformat_t) -> u32;
}
unsafe extern "C" {
    pub fn pixbuf_get(pixbuf: *const Pixbuf, x: u32, y: u32) -> u32;
}
unsafe extern "C" {
    pub fn pixbuf_set(pixbuf: *mut Pixbuf, x: u32, y: u32, value: u32);
}
unsafe extern "C" {
    pub fn box2df(minX: real32_t, minY: real32_t, maxX: real32_t, maxY: real32_t) -> Box2Df;
}
unsafe extern "C" {
    pub fn box2dd(minX: real64_t, minY: real64_t, maxX: real64_t, maxY: real64_t) -> Box2Dd;
}
unsafe extern "C" {
    pub fn box2d_from_pointsf(p: *const V2Df, n: u32) -> Box2Df;
}
unsafe extern "C" {
    pub fn box2d_from_pointsd(p: *const V2Dd, n: u32) -> Box2Dd;
}
unsafe extern "C" {
    pub fn box2d_centerf(box_: *const Box2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn box2d_centerd(box_: *const Box2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn box2d_addf(box_: *mut Box2Df, p: *const V2Df);
}
unsafe extern "C" {
    pub fn box2d_addd(box_: *mut Box2Dd, p: *const V2Dd);
}
unsafe extern "C" {
    pub fn box2d_addnf(box_: *mut Box2Df, p: *const V2Df, n: u32);
}
unsafe extern "C" {
    pub fn box2d_addnd(box_: *mut Box2Dd, p: *const V2Dd, n: u32);
}
unsafe extern "C" {
    pub fn box2d_add_circlef(box_: *mut Box2Df, cir: *const Cir2Df);
}
unsafe extern "C" {
    pub fn box2d_add_circled(box_: *mut Box2Dd, cir: *const Cir2Dd);
}
unsafe extern "C" {
    pub fn box2d_mergef(dest: *mut Box2Df, src: *const Box2Df);
}
unsafe extern "C" {
    pub fn box2d_merged(dest: *mut Box2Dd, src: *const Box2Dd);
}
unsafe extern "C" {
    pub fn box2d_segmentsf(box_: *const Box2Df, segs: *mut Seg2Df);
}
unsafe extern "C" {
    pub fn box2d_segmentsd(box_: *const Box2Dd, segs: *mut Seg2Dd);
}
unsafe extern "C" {
    pub fn box2d_areaf(box_: *const Box2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn box2d_aread(box_: *const Box2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn box2d_is_nullf(box_: *const Box2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn box2d_is_nulld(box_: *const Box2Dd) -> bool_t;
}
unsafe extern "C" {
    pub static kBOX2D_NULLf: Box2Df;
}
unsafe extern "C" {
    pub static kBOX2D_NULLd: Box2Dd;
}
unsafe extern "C" {
    pub fn cir2df(x: real32_t, y: real32_t, r: real32_t) -> Cir2Df;
}
unsafe extern "C" {
    pub fn cir2dd(x: real64_t, y: real64_t, r: real64_t) -> Cir2Dd;
}
unsafe extern "C" {
    pub fn cir2d_from_boxf(box_: *const Box2Df) -> Cir2Df;
}
unsafe extern "C" {
    pub fn cir2d_from_boxd(box_: *const Box2Dd) -> Cir2Dd;
}
unsafe extern "C" {
    pub fn cir2d_from_pointsf(p: *const V2Df, n: u32) -> Cir2Df;
}
unsafe extern "C" {
    pub fn cir2d_from_pointsd(p: *const V2Dd, n: u32) -> Cir2Dd;
}
unsafe extern "C" {
    pub fn cir2d_minimumf(p: *const V2Df, n: u32) -> Cir2Df;
}
unsafe extern "C" {
    pub fn cir2d_minimumd(p: *const V2Dd, n: u32) -> Cir2Dd;
}
unsafe extern "C" {
    pub fn cir2d_areaf(cir: *const Cir2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn cir2d_aread(cir: *const Cir2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn cir2d_is_nullf(cir: *const Cir2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn cir2d_is_nulld(cir: *const Cir2Dd) -> bool_t;
}
unsafe extern "C" {
    pub static kCIR2D_NULLf: Cir2Df;
}
unsafe extern "C" {
    pub static kCIR2D_NULLd: Cir2Dd;
}
unsafe extern "C" {
    pub fn col2d_point_pointf(
        pnt1: *const V2Df,
        pnt2: *const V2Df,
        tol: real32_t,
        col: *mut Col2Df,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_point_pointd(
        pnt1: *const V2Dd,
        pnt2: *const V2Dd,
        tol: real64_t,
        col: *mut Col2Dd,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_segment_pointf(
        seg: *const Seg2Df,
        pnt: *const V2Df,
        tol: real32_t,
        col: *mut Col2Df,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_segment_pointd(
        seg: *const Seg2Dd,
        pnt: *const V2Dd,
        tol: real64_t,
        col: *mut Col2Dd,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_segment_segmentf(
        seg1: *const Seg2Df,
        seg2: *const Seg2Df,
        col: *mut Col2Df,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_segment_segmentd(
        seg1: *const Seg2Dd,
        seg2: *const Seg2Dd,
        col: *mut Col2Dd,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_circle_pointf(cir: *const Cir2Df, pnt: *const V2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_circle_pointd(cir: *const Cir2Dd, pnt: *const V2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_circle_segmentf(
        cir: *const Cir2Df,
        seg: *const Seg2Df,
        col: *mut Col2Df,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_circle_segmentd(
        cir: *const Cir2Dd,
        seg: *const Seg2Dd,
        col: *mut Col2Dd,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_circle_circlef(
        cir1: *const Cir2Df,
        cir2: *const Cir2Df,
        col: *mut Col2Df,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_circle_circled(
        cir1: *const Cir2Dd,
        cir2: *const Cir2Dd,
        col: *mut Col2Dd,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_box_pointf(box_: *const Box2Df, pnt: *const V2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_box_pointd(box_: *const Box2Dd, pnt: *const V2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_box_segmentf(box_: *const Box2Df, seg: *const Seg2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_box_segmentd(box_: *const Box2Dd, seg: *const Seg2Dd, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_box_circlef(box_: *const Box2Df, cir: *const Cir2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_box_circled(box_: *const Box2Dd, cir: *const Cir2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_box_boxf(box1: *const Box2Df, box2: *const Box2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_box_boxd(box1: *const Box2Dd, box2: *const Box2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_pointf(obb: *const OBB2Df, pnt: *const V2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_pointd(obb: *const OBB2Dd, pnt: *const V2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_segmentf(obb: *const OBB2Df, seg: *const Seg2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_segmentd(obb: *const OBB2Dd, seg: *const Seg2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_circlef(obb: *const OBB2Df, cir: *const Cir2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_circled(obb: *const OBB2Dd, cir: *const Cir2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_boxf(obb: *const OBB2Df, box_: *const Box2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_boxd(obb: *const OBB2Dd, box_: *const Box2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_obbf(obb1: *const OBB2Df, obb2: *const OBB2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_obb_obbd(obb1: *const OBB2Dd, obb2: *const OBB2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_pointf(tri: *const Tri2Df, pnt: *const V2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_pointd(tri: *const Tri2Dd, pnt: *const V2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_segmentf(tri: *const Tri2Df, seg: *const Seg2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_segmentd(tri: *const Tri2Dd, seg: *const Seg2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_circlef(tri: *const Tri2Df, cir: *const Cir2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_circled(tri: *const Tri2Dd, cir: *const Cir2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_boxf(tri: *const Tri2Df, box_: *const Box2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_boxd(tri: *const Tri2Dd, box_: *const Box2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_obbf(tri: *const Tri2Df, obb: *const OBB2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_obbd(tri: *const Tri2Dd, obb: *const OBB2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_trif(tri1: *const Tri2Df, tri2: *const Tri2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_tri_trid(tri1: *const Tri2Dd, tri2: *const Tri2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_pointf(poly: *const Pol2Df, pnt: *const V2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_pointd(poly: *const Pol2Dd, pnt: *const V2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_segmentf(poly: *const Pol2Df, seg: *const Seg2Df, col: *mut Col2Df)
        -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_segmentd(poly: *const Pol2Dd, seg: *const Seg2Dd, col: *mut Col2Dd)
        -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_circlef(poly: *const Pol2Df, cir: *const Cir2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_circled(poly: *const Pol2Dd, cir: *const Cir2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_boxf(poly: *const Pol2Df, box_: *const Box2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_boxd(poly: *const Pol2Dd, box_: *const Box2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_obbf(poly: *const Pol2Df, obb: *const OBB2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_obbd(poly: *const Pol2Dd, obb: *const OBB2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_trif(poly: *const Pol2Df, tri: *const Tri2Df, col: *mut Col2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_trid(poly: *const Pol2Dd, tri: *const Tri2Dd, col: *mut Col2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_polyf(poly1: *const Pol2Df, poly2: *const Pol2Df, col: *mut Col2Df)
        -> bool_t;
}
unsafe extern "C" {
    pub fn col2d_poly_polyd(poly1: *const Pol2Dd, poly2: *const Pol2Dd, col: *mut Col2Dd)
        -> bool_t;
}
unsafe extern "C" {
    pub fn obb2d_createf(
        center: *const V2Df,
        width: real32_t,
        height: real32_t,
        angle: real32_t,
    ) -> *mut OBB2Df;
}
unsafe extern "C" {
    pub fn obb2d_created(
        center: *const V2Dd,
        width: real64_t,
        height: real64_t,
        angle: real64_t,
    ) -> *mut OBB2Dd;
}
unsafe extern "C" {
    pub fn obb2d_from_linef(p0: *const V2Df, p1: *const V2Df, thickness: real32_t) -> *mut OBB2Df;
}
unsafe extern "C" {
    pub fn obb2d_from_lined(p0: *const V2Dd, p1: *const V2Dd, thickness: real64_t) -> *mut OBB2Dd;
}
unsafe extern "C" {
    pub fn obb2d_from_pointsf(p: *const V2Df, n: u32) -> *mut OBB2Df;
}
unsafe extern "C" {
    pub fn obb2d_from_pointsd(p: *const V2Dd, n: u32) -> *mut OBB2Dd;
}
unsafe extern "C" {
    pub fn obb2d_copyf(obb: *const OBB2Df) -> *mut OBB2Df;
}
unsafe extern "C" {
    pub fn obb2d_copyd(obb: *const OBB2Dd) -> *mut OBB2Dd;
}
unsafe extern "C" {
    pub fn obb2d_destroyf(obb: *mut *mut OBB2Df);
}
unsafe extern "C" {
    pub fn obb2d_destroyd(obb: *mut *mut OBB2Dd);
}
unsafe extern "C" {
    pub fn obb2d_updatef(
        obb: *mut OBB2Df,
        center: *const V2Df,
        width: real32_t,
        height: real32_t,
        angle: real32_t,
    );
}
unsafe extern "C" {
    pub fn obb2d_updated(
        obb: *mut OBB2Dd,
        center: *const V2Dd,
        width: real64_t,
        height: real64_t,
        angle: real64_t,
    );
}
unsafe extern "C" {
    pub fn obb2d_movef(obb: *mut OBB2Df, offset_x: real32_t, offset_y: real32_t);
}
unsafe extern "C" {
    pub fn obb2d_moved(obb: *mut OBB2Dd, offset_x: real64_t, offset_y: real64_t);
}
unsafe extern "C" {
    pub fn obb2d_transformf(obb: *mut OBB2Df, t2d: *const T2Df);
}
unsafe extern "C" {
    pub fn obb2d_transformd(obb: *mut OBB2Dd, t2d: *const T2Dd);
}
unsafe extern "C" {
    pub fn obb2d_cornersf(obb: *const OBB2Df) -> *const V2Df;
}
unsafe extern "C" {
    pub fn obb2d_cornersd(obb: *const OBB2Dd) -> *const V2Dd;
}
unsafe extern "C" {
    pub fn obb2d_centerf(obb: *const OBB2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn obb2d_centerd(obb: *const OBB2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn obb2d_widthf(obb: *const OBB2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn obb2d_widthd(obb: *const OBB2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn obb2d_heightf(obb: *const OBB2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn obb2d_heightd(obb: *const OBB2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn obb2d_anglef(obb: *const OBB2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn obb2d_angled(obb: *const OBB2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn obb2d_areaf(obb: *const OBB2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn obb2d_aread(obb: *const OBB2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn obb2d_boxf(obb: *const OBB2Df) -> Box2Df;
}
unsafe extern "C" {
    pub fn obb2d_boxd(obb: *const OBB2Dd) -> Box2Dd;
}
unsafe extern "C" {
    pub fn pol2d_createf(points: *const V2Df, n: u32) -> *mut Pol2Df;
}
unsafe extern "C" {
    pub fn pol2d_created(points: *const V2Dd, n: u32) -> *mut Pol2Dd;
}
unsafe extern "C" {
    pub fn pol2d_convex_hullf(points: *const V2Df, n: u32) -> *mut Pol2Df;
}
unsafe extern "C" {
    pub fn pol2d_convex_hulld(points: *const V2Dd, n: u32) -> *mut Pol2Dd;
}
unsafe extern "C" {
    pub fn pol2d_copyf(pol: *const Pol2Df) -> *mut Pol2Df;
}
unsafe extern "C" {
    pub fn pol2d_copyd(pol: *const Pol2Dd) -> *mut Pol2Dd;
}
unsafe extern "C" {
    pub fn pol2d_destroyf(pol: *mut *mut Pol2Df);
}
unsafe extern "C" {
    pub fn pol2d_destroyd(pol: *mut *mut Pol2Dd);
}
unsafe extern "C" {
    pub fn pol2d_transformf(pol: *mut Pol2Df, t2d: *const T2Df);
}
unsafe extern "C" {
    pub fn pol2d_transformd(pol: *mut Pol2Dd, t2d: *const T2Dd);
}
unsafe extern "C" {
    pub fn pol2d_pointsf(pol: *const Pol2Df) -> *const V2Df;
}
unsafe extern "C" {
    pub fn pol2d_pointsd(pol: *const Pol2Dd) -> *const V2Dd;
}
unsafe extern "C" {
    pub fn pol2d_nf(pol: *const Pol2Df) -> u32;
}
unsafe extern "C" {
    pub fn pol2d_nd(pol: *const Pol2Dd) -> u32;
}
unsafe extern "C" {
    pub fn pol2d_areaf(pol: *const Pol2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn pol2d_aread(pol: *const Pol2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn pol2d_boxf(pol: *const Pol2Df) -> Box2Df;
}
unsafe extern "C" {
    pub fn pol2d_boxd(pol: *const Pol2Dd) -> Box2Dd;
}
unsafe extern "C" {
    pub fn pol2d_ccwf(pol: *const Pol2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn pol2d_ccwd(pol: *const Pol2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn pol2d_convexf(pol: *const Pol2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn pol2d_convexd(pol: *const Pol2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn pol2d_centroidf(pol: *const Pol2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn pol2d_centroidd(pol: *const Pol2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn pol2d_visual_centerf(pol: *const Pol2Df, norm_tol: real32_t) -> V2Df;
}
unsafe extern "C" {
    pub fn pol2d_visual_centerd(pol: *const Pol2Dd, norm_tol: real64_t) -> V2Dd;
}
unsafe extern "C" {
    pub fn pol2d_trianglesf(pol: *const Pol2Df) -> *mut ArrStTri2Df;
}
unsafe extern "C" {
    pub fn pol2d_trianglesd(pol: *const Pol2Dd) -> *mut ArrStTri2Dd;
}
unsafe extern "C" {
    pub fn pol2d_convex_partitionf(pol: *const Pol2Df) -> *mut ArrPtPol2Df;
}
unsafe extern "C" {
    pub fn pol2d_convex_partitiond(pol: *const Pol2Dd) -> *mut ArrPtPol2Dd;
}
unsafe extern "C" {
    pub fn r2df(x: real32_t, y: real32_t, width: real32_t, height: real32_t) -> R2Df;
}
unsafe extern "C" {
    pub fn r2dd(x: real64_t, y: real64_t, width: real64_t, height: real64_t) -> R2Dd;
}
unsafe extern "C" {
    pub fn r2d_centerf(r2d: *const R2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn r2d_centerd(r2d: *const R2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn r2d_collidef(r2d1: *const R2Df, r2d2: *const R2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn r2d_collided(r2d1: *const R2Dd, r2d2: *const R2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn r2d_containsf(r2d: *const R2Df, x: real32_t, y: real32_t) -> bool_t;
}
unsafe extern "C" {
    pub fn r2d_containsd(r2d: *const R2Dd, x: real64_t, y: real64_t) -> bool_t;
}
unsafe extern "C" {
    pub fn r2d_clipf(viewport: *const R2Df, r2d: *const R2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn r2d_clipd(viewport: *const R2Dd, r2d: *const R2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn r2d_joinf(r2d: *mut R2Df, src: *const R2Df);
}
unsafe extern "C" {
    pub fn r2d_joind(r2d: *mut R2Dd, src: *const R2Dd);
}
unsafe extern "C" {
    pub static kR2D_ZEROf: R2Df;
}
unsafe extern "C" {
    pub static kR2D_ZEROd: R2Dd;
}
unsafe extern "C" {
    pub fn s2df(width: real32_t, height: real32_t) -> S2Df;
}
unsafe extern "C" {
    pub fn s2di(width: u32, height: u32) -> S2Df;
}
unsafe extern "C" {
    pub fn s2dd(width: real64_t, height: real64_t) -> S2Dd;
}
unsafe extern "C" {
    pub static kS2D_ZEROf: S2Df;
}
unsafe extern "C" {
    pub static kS2D_ZEROd: S2Dd;
}
unsafe extern "C" {
    pub fn seg2df(x0: real32_t, y0: real32_t, x1: real32_t, y1: real32_t) -> Seg2Df;
}
unsafe extern "C" {
    pub fn seg2dd(x0: real64_t, y0: real64_t, x1: real64_t, y1: real64_t) -> Seg2Dd;
}
unsafe extern "C" {
    pub fn seg2d_vf(p0: *const V2Df, p1: *const V2Df) -> Seg2Df;
}
unsafe extern "C" {
    pub fn seg2d_vd(p0: *const V2Dd, p1: *const V2Dd) -> Seg2Dd;
}
unsafe extern "C" {
    pub fn seg2d_lengthf(seg: *const Seg2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn seg2d_lengthd(seg: *const Seg2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn seg2d_sqlengthf(seg: *const Seg2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn seg2d_sqlengthd(seg: *const Seg2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn seg2d_evalf(seg: *const Seg2Df, t: real32_t) -> V2Df;
}
unsafe extern "C" {
    pub fn seg2d_evald(seg: *const Seg2Dd, t: real64_t) -> V2Dd;
}
unsafe extern "C" {
    pub fn seg2d_close_paramf(seg: *const Seg2Df, pnt: *const V2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn seg2d_close_paramd(seg: *const Seg2Dd, pnt: *const V2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn seg2d_point_sqdistf(seg: *const Seg2Df, pnt: *const V2Df, t: *mut real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn seg2d_point_sqdistd(seg: *const Seg2Dd, pnt: *const V2Dd, t: *mut real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn seg2d_sqdistf(
        seg1: *const Seg2Df,
        seg2: *const Seg2Df,
        t1: *mut real32_t,
        t2: *mut real32_t,
    ) -> real32_t;
}
unsafe extern "C" {
    pub fn seg2d_sqdistd(
        seg1: *const Seg2Dd,
        seg2: *const Seg2Dd,
        t1: *mut real64_t,
        t2: *mut real64_t,
    ) -> real64_t;
}
unsafe extern "C" {
    pub fn t2d_tof(dest: *mut T2Df, src: *const T2Dd);
}
unsafe extern "C" {
    pub fn t2d_tod(dest: *mut T2Dd, src: *const T2Df);
}
unsafe extern "C" {
    pub fn t2d_movef(dest: *mut T2Df, src: *const T2Df, x: real32_t, y: real32_t);
}
unsafe extern "C" {
    pub fn t2d_moved(dest: *mut T2Dd, src: *const T2Dd, x: real64_t, y: real64_t);
}
unsafe extern "C" {
    pub fn t2d_rotatef(dest: *mut T2Df, src: *const T2Df, angle: real32_t);
}
unsafe extern "C" {
    pub fn t2d_rotated(dest: *mut T2Dd, src: *const T2Dd, angle: real64_t);
}
unsafe extern "C" {
    pub fn t2d_scalef(dest: *mut T2Df, src: *const T2Df, sx: real32_t, sy: real32_t);
}
unsafe extern "C" {
    pub fn t2d_scaled(dest: *mut T2Dd, src: *const T2Dd, sx: real64_t, sy: real64_t);
}
unsafe extern "C" {
    pub fn t2d_invfastf(dest: *mut T2Df, src: *const T2Df);
}
unsafe extern "C" {
    pub fn t2d_invfastd(dest: *mut T2Dd, src: *const T2Dd);
}
unsafe extern "C" {
    pub fn t2d_inversef(dest: *mut T2Df, src: *const T2Df);
}
unsafe extern "C" {
    pub fn t2d_inversed(dest: *mut T2Dd, src: *const T2Dd);
}
unsafe extern "C" {
    pub fn t2d_multf(dest: *mut T2Df, src1: *const T2Df, src2: *const T2Df);
}
unsafe extern "C" {
    pub fn t2d_multd(dest: *mut T2Dd, src1: *const T2Dd, src2: *const T2Dd);
}
unsafe extern "C" {
    pub fn t2d_vmultf(dest: *mut V2Df, t2d: *const T2Df, src: *const V2Df);
}
unsafe extern "C" {
    pub fn t2d_vmultd(dest: *mut V2Dd, t2d: *const T2Dd, src: *const V2Dd);
}
unsafe extern "C" {
    pub fn t2d_vmultnf(dest: *mut V2Df, t2d: *const T2Df, src: *const V2Df, n: u32);
}
unsafe extern "C" {
    pub fn t2d_vmultnd(dest: *mut V2Dd, t2d: *const T2Dd, src: *const V2Dd, n: u32);
}
unsafe extern "C" {
    pub fn t2d_decomposef(t2d: *const T2Df, pos: *mut V2Df, angle: *mut real32_t, sc: *mut V2Df);
}
unsafe extern "C" {
    pub fn t2d_decomposed(t2d: *const T2Dd, pos: *mut V2Dd, angle: *mut real64_t, sc: *mut V2Dd);
}
unsafe extern "C" {
    pub static mut kT2D_IDENTf: *const T2Df;
}
unsafe extern "C" {
    pub static mut kT2D_IDENTd: *const T2Dd;
}
unsafe extern "C" {
    pub fn tri2df(
        x0: real32_t,
        y0: real32_t,
        x1: real32_t,
        y1: real32_t,
        x2: real32_t,
        y2: real32_t,
    ) -> Tri2Df;
}
unsafe extern "C" {
    pub fn tri2dd(
        x0: real64_t,
        y0: real64_t,
        x1: real64_t,
        y1: real64_t,
        x2: real64_t,
        y2: real64_t,
    ) -> Tri2Dd;
}
unsafe extern "C" {
    pub fn tri2d_vf(p0: *const V2Df, p1: *const V2Df, p2: *const V2Df) -> Tri2Df;
}
unsafe extern "C" {
    pub fn tri2d_vd(p0: *const V2Dd, p1: *const V2Dd, p2: *const V2Dd) -> Tri2Dd;
}
unsafe extern "C" {
    pub fn tri2d_transformf(tri: *mut Tri2Df, t2d: *const T2Df);
}
unsafe extern "C" {
    pub fn tri2d_transformd(tri: *mut Tri2Dd, t2d: *const T2Dd);
}
unsafe extern "C" {
    pub fn tri2d_areaf(tri: *const Tri2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn tri2d_aread(tri: *const Tri2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn tri2d_ccwf(tri: *const Tri2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn tri2d_ccwd(tri: *const Tri2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn tri2d_centroidf(tri: *const Tri2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn tri2d_centroidd(tri: *const Tri2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2df(x: real32_t, y: real32_t) -> V2Df;
}
unsafe extern "C" {
    pub fn v2dd(x: real64_t, y: real64_t) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_tof(v: *const V2Dd) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_tod(v: *const V2Df) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_tofn(vf: *mut V2Df, vd: *const V2Dd, n: u32);
}
unsafe extern "C" {
    pub fn v2d_todn(vd: *mut V2Dd, vf: *const V2Df, n: u32);
}
unsafe extern "C" {
    pub fn v2d_addf(v1: *const V2Df, v2: *const V2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_addd(v1: *const V2Dd, v2: *const V2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_subf(v1: *const V2Df, v2: *const V2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_subd(v1: *const V2Dd, v2: *const V2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_mulf(v: *const V2Df, s: real32_t) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_muld(v: *const V2Dd, s: real64_t) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_fromf(v: *const V2Df, dir: *const V2Df, length: real32_t) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_fromd(v: *const V2Dd, dir: *const V2Dd, length: real64_t) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_midf(v1: *const V2Df, v2: *const V2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_midd(v1: *const V2Dd, v2: *const V2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_unitf(v1: *const V2Df, v2: *const V2Df, dist: *mut real32_t) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_unitd(v1: *const V2Dd, v2: *const V2Dd, dist: *mut real64_t) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_unit_xyf(
        x1: real32_t,
        y1: real32_t,
        x2: real32_t,
        y2: real32_t,
        dist: *mut real32_t,
    ) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_unit_xyd(
        x1: real64_t,
        y1: real64_t,
        x2: real64_t,
        y2: real64_t,
        dist: *mut real64_t,
    ) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_perp_posf(v: *const V2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_perp_posd(v: *const V2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_perp_negf(v: *const V2Df) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_perp_negd(v: *const V2Dd) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_from_anglef(a: real32_t) -> V2Df;
}
unsafe extern "C" {
    pub fn v2d_from_angled(a: real64_t) -> V2Dd;
}
unsafe extern "C" {
    pub fn v2d_normf(v: *mut V2Df) -> bool_t;
}
unsafe extern "C" {
    pub fn v2d_normd(v: *mut V2Dd) -> bool_t;
}
unsafe extern "C" {
    pub fn v2d_lengthf(v: *const V2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn v2d_lengthd(v: *const V2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn v2d_sqlengthf(v: *const V2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn v2d_sqlengthd(v: *const V2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn v2d_dotf(v1: *const V2Df, v2: *const V2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn v2d_dotd(v1: *const V2Dd, v2: *const V2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn v2d_distf(v1: *const V2Df, v2: *const V2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn v2d_distd(v1: *const V2Dd, v2: *const V2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn v2d_sqdistf(v1: *const V2Df, v2: *const V2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn v2d_sqdistd(v1: *const V2Dd, v2: *const V2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn v2d_anglef(v1: *const V2Df, v2: *const V2Df) -> real32_t;
}
unsafe extern "C" {
    pub fn v2d_angled(v1: *const V2Dd, v2: *const V2Dd) -> real64_t;
}
unsafe extern "C" {
    pub fn v2d_rotatef(v: *mut V2Df, a: real32_t);
}
unsafe extern "C" {
    pub fn v2d_rotated(v: *mut V2Dd, a: real64_t);
}
unsafe extern "C" {
    pub static kV2D_ZEROf: V2Df;
}
unsafe extern "C" {
    pub static kV2D_ZEROd: V2Dd;
}
unsafe extern "C" {
    pub static kV2D_Xf: V2Df;
}
unsafe extern "C" {
    pub static kV2D_Xd: V2Dd;
}
unsafe extern "C" {
    pub static kV2D_Yf: V2Df;
}
unsafe extern "C" {
    pub static kV2D_Yd: V2Dd;
}
unsafe extern "C" {
    pub fn core_start();
}
unsafe extern "C" {
    pub fn core_finish();
}
unsafe extern "C" {
    pub fn bhash_from_block(data: *const byte_t, size: u32) -> u32;
}
unsafe extern "C" {
    pub fn bhash_append_uint32(hash: u32, value: u32) -> u32;
}
unsafe extern "C" {
    pub fn bhash_append_real32(hash: u32, value: real32_t) -> u32;
}
unsafe extern "C" {
    pub fn buffer_create(size: u32) -> *mut Buffer;
}
unsafe extern "C" {
    pub fn buffer_with_data(data: *const byte_t, size: u32) -> *mut Buffer;
}
unsafe extern "C" {
    pub fn buffer_read(stream: *mut Stream) -> *mut Buffer;
}
unsafe extern "C" {
    pub fn buffer_destroy(buffer: *mut *mut Buffer);
}
unsafe extern "C" {
    pub fn buffer_size(buffer: *const Buffer) -> u32;
}
unsafe extern "C" {
    pub fn buffer_data(buffer: *mut Buffer) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn buffer_const(buffer: *const Buffer) -> *const byte_t;
}
unsafe extern "C" {
    pub fn buffer_write(stream: *mut Stream, buffer: *const Buffer);
}
unsafe extern "C" {
    pub fn clock_create(interval: real64_t) -> *mut Clock;
}
unsafe extern "C" {
    pub fn clock_destroy(clk: *mut *mut Clock);
}
unsafe extern "C" {
    pub fn clock_frame(
        clk: *mut Clock,
        prev_frame: *mut real64_t,
        curr_frame: *mut real64_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn clock_reset(clk: *mut Clock);
}
unsafe extern "C" {
    pub fn clock_elapsed(clk: *const Clock) -> real64_t;
}
unsafe extern "C" {
    pub fn date_system() -> Date;
}
unsafe extern "C" {
    pub fn date_pack(year: i16, month: u8, mday: u8, hour: u8, minute: u8, second: u8) -> Date;
}
unsafe extern "C" {
    pub fn date_add_seconds(date: *const Date, seconds: i32) -> Date;
}
unsafe extern "C" {
    pub fn date_add_minutes(date: *const Date, minutes: i32) -> Date;
}
unsafe extern "C" {
    pub fn date_add_hours(date: *const Date, hours: i32) -> Date;
}
unsafe extern "C" {
    pub fn date_add_days(date: *const Date, days: i32) -> Date;
}
unsafe extern "C" {
    pub fn date_year() -> i16;
}
unsafe extern "C" {
    pub fn date_cmp(date1: *const Date, date2: *const Date) -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn date_ellapsed_seconds(from: *const Date, to: *const Date) -> i64;
}
unsafe extern "C" {
    pub fn date_between(date: *const Date, from: *const Date, to: *const Date) -> bool_t;
}
unsafe extern "C" {
    pub fn date_is_null(date: *const Date) -> bool_t;
}
unsafe extern "C" {
    pub fn date_is_valid(date: *const Date) -> bool_t;
}
unsafe extern "C" {
    pub fn date_weekday(date: *const Date) -> week_day_t;
}
unsafe extern "C" {
    pub fn date_format(date: *const Date, format: *const char_t) -> *mut String;
}
unsafe extern "C" {
    pub static mut kDATE_NULL: Date;
}
unsafe extern "C" {
    pub fn dbind_imp(
        type_: *const char_t,
        size: u16,
        mname: *const char_t,
        mtype: *const char_t,
        moffset: u16,
        msize: u16,
    ) -> dbindst_t;
}
unsafe extern "C" {
    pub fn dbind_enum_imp(
        type_: *const char_t,
        name: *const char_t,
        value: enum_t,
        alias: *const char_t,
    ) -> dbindst_t;
}
unsafe extern "C" {
    pub fn dbind_binary_imp(
        type_: *const char_t,
        func_copy: FPtr_copy,
        func_read: FPtr_read,
        func_write: FPtr_write,
        func_destroy: FPtr_destroy,
    ) -> dbindst_t;
}
unsafe extern "C" {
    pub fn dbind_alias_imp(
        type_: *const char_t,
        alias: *const char_t,
        type_size: u16,
        alias_size: u16,
    ) -> dbindst_t;
}
unsafe extern "C" {
    pub fn dbind_unreg_imp(type_: *const char_t) -> dbindst_t;
}
unsafe extern "C" {
    pub fn dbind_create_imp(type_: *const char_t) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn dbind_copy_imp(obj: *const byte_t, type_: *const char_t) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn dbind_init_imp(obj: *mut byte_t, type_: *const char_t);
}
unsafe extern "C" {
    pub fn dbind_remove_imp(obj: *mut byte_t, type_: *const char_t);
}
unsafe extern "C" {
    pub fn dbind_destroy_imp(obj: *mut *mut byte_t, type_: *const char_t);
}
unsafe extern "C" {
    pub fn dbind_destopt_imp(obj: *mut *mut byte_t, type_: *const char_t);
}
unsafe extern "C" {
    pub fn dbind_cmp_imp(
        obj1: *const byte_t,
        obj2: *const byte_t,
        type_: *const char_t,
    ) -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn dbind_equ_imp(obj1: *const byte_t, obj2: *const byte_t, type_: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn dbind_read_imp(stm: *mut Stream, type_: *const char_t) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn dbind_write_imp(stm: *mut Stream, obj: *const ::libc::c_void, type_: *const char_t);
}
unsafe extern "C" {
    pub fn dbind_default_imp(type_: *const char_t, mname: *const char_t, value: *const byte_t);
}
unsafe extern "C" {
    pub fn dbind_range_imp(
        type_: *const char_t,
        mname: *const char_t,
        min: *const byte_t,
        max: *const byte_t,
    );
}
unsafe extern "C" {
    pub fn dbind_precision_imp(type_: *const char_t, mname: *const char_t, prec: *const byte_t);
}
unsafe extern "C" {
    pub fn dbind_increment_imp(type_: *const char_t, mname: *const char_t, incr: *const byte_t);
}
unsafe extern "C" {
    pub fn dbind_suffix_imp(type_: *const char_t, mname: *const char_t, suffix: *const char_t);
}
unsafe extern "C" {
    pub fn listener_imp(
        object: *mut ::libc::c_void,
        func_event_handler: FPtr_event_handler,
    ) -> *mut Listener;
}
unsafe extern "C" {
    pub fn listener_destroy(listener: *mut *mut Listener);
}
unsafe extern "C" {
    pub fn listener_update(listener: *mut *mut Listener, new_listener: *mut Listener);
}
unsafe extern "C" {
    pub fn listener_event_imp(
        listener: *mut Listener,
        type_: u32,
        sender: *mut ::libc::c_void,
        params: *mut ::libc::c_void,
        result: *mut ::libc::c_void,
        sender_type: *const char_t,
        params_type: *const char_t,
        result_type: *const char_t,
    );
}
unsafe extern "C" {
    pub fn listener_pass_event_imp(
        listener: *mut Listener,
        event: *mut Event,
        sender: *mut ::libc::c_void,
        sender_type: *const char_t,
    );
}
unsafe extern "C" {
    pub fn event_type(event: *const Event) -> u32;
}
unsafe extern "C" {
    pub fn event_sender_imp(event: *mut Event, type_: *const char_t) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn event_params_imp(event: *mut Event, type_: *const char_t) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn event_result_imp(event: *mut Event, type_: *const char_t) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn heap_start_mt();
}
unsafe extern "C" {
    pub fn heap_end_mt();
}
unsafe extern "C" {
    pub fn heap_verbose(verbose: bool_t);
}
unsafe extern "C" {
    pub fn heap_stats(stats: bool_t);
}
unsafe extern "C" {
    pub fn heap_leaks() -> bool_t;
}
unsafe extern "C" {
    pub fn heap_malloc_imp(size: u32, name: *const char_t, equal_sized: bool_t) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn heap_calloc_imp(size: u32, name: *const char_t, equal_sized: bool_t) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn heap_realloc(
        mem: *mut byte_t,
        size: u32,
        new_size: u32,
        name: *const char_t,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn heap_aligned_malloc_imp(
        size: u32,
        align: u32,
        name: *const char_t,
        equal_sized: bool_t,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn heap_aligned_calloc_imp(
        size: u32,
        align: u32,
        name: *const char_t,
        equal_sized: bool_t,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn heap_aligned_realloc(
        mem: *mut byte_t,
        size: u32,
        new_size: u32,
        align: u32,
        name: *const char_t,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn heap_free(mem: *mut *mut byte_t, size: u32, name: *const char_t);
}
unsafe extern "C" {
    pub fn heap_auditor_add(name: *const char_t);
}
unsafe extern "C" {
    pub fn heap_auditor_delete(name: *const char_t);
}
unsafe extern "C" {
    pub fn hfile_dir(pathname: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_dir_create(pathname: *const char_t, error: *mut ferror_t) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_dir_destroy(pathname: *const char_t, error: *mut ferror_t) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_dir_list(
        pathname: *const char_t,
        subdirs: bool_t,
        error: *mut ferror_t,
    ) -> *mut ArrStDirEntry;
}
unsafe extern "C" {
    pub fn hfile_dir_entry_remove(entry: *mut DirEntry);
}
unsafe extern "C" {
    pub fn hfile_date(pathname: *const char_t, recursive: bool_t) -> Date;
}
unsafe extern "C" {
    pub fn hfile_dir_sync(
        src: *const char_t,
        dest: *const char_t,
        recursive: bool_t,
        remove_in_dest: bool_t,
        except: *mut *const char_t,
        except_size: u32,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_exists(pathname: *const char_t, file_type: *mut file_type_t) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_is_uptodate(src: *const char_t, dest: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_copy(from: *const char_t, to: *const char_t, error: *mut ferror_t) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_buffer(pathname: *const char_t, error: *mut ferror_t) -> *mut Buffer;
}
unsafe extern "C" {
    pub fn hfile_string(pathname: *const char_t, error: *mut ferror_t) -> *mut String;
}
unsafe extern "C" {
    pub fn hfile_stream(pathname: *const char_t, error: *mut ferror_t) -> *mut Stream;
}
unsafe extern "C" {
    pub fn hfile_from_string(
        pathname: *const char_t,
        str_: *const String,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_from_data(
        pathname: *const char_t,
        data: *const byte_t,
        size: u32,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_dir_loop(
        pathname: *const char_t,
        listener: *mut Listener,
        subdirs: bool_t,
        hiddens: bool_t,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn hfile_appdata(filename: *const char_t) -> *mut String;
}
unsafe extern "C" {
    pub fn hfile_home_dir(path: *const char_t) -> *mut String;
}
unsafe extern "C" {
    pub fn hfile_tmp_path(path: *const char_t) -> *mut String;
}
unsafe extern "C" {
    pub fn keybuf_create() -> *mut KeyBuf;
}
unsafe extern "C" {
    pub fn keybuf_destroy(buffer: *mut *mut KeyBuf);
}
unsafe extern "C" {
    pub fn keybuf_OnUp(buffer: *mut KeyBuf, key: vkey_t);
}
unsafe extern "C" {
    pub fn keybuf_OnDown(buffer: *mut KeyBuf, key: vkey_t);
}
unsafe extern "C" {
    pub fn keybuf_clear(buffer: *mut KeyBuf);
}
unsafe extern "C" {
    pub fn keybuf_pressed(buffer: *const KeyBuf, key: vkey_t) -> bool_t;
}
unsafe extern "C" {
    pub fn keybuf_str(key: vkey_t) -> *const char_t;
}
unsafe extern "C" {
    pub fn keybuf_dump(buffer: *const KeyBuf);
}
unsafe extern "C" {
    pub fn respack_destroy(pack: *mut *mut ResPack);
}
unsafe extern "C" {
    pub fn respack_text(pack: *const ResPack, id: ResId) -> *const char_t;
}
unsafe extern "C" {
    pub fn respack_file(pack: *const ResPack, id: ResId, size: *mut u32) -> *const byte_t;
}
unsafe extern "C" {
    pub fn regex_create(pattern: *const char_t) -> *mut RegEx;
}
unsafe extern "C" {
    pub fn regex_destroy(regex: *mut *mut RegEx);
}
unsafe extern "C" {
    pub fn regex_match(regex: *const RegEx, str_: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn stm_from_block(data: *const byte_t, size: u32) -> *mut Stream;
}
unsafe extern "C" {
    pub fn stm_memory(size: u32) -> *mut Stream;
}
unsafe extern "C" {
    pub fn stm_from_file(pathname: *const char_t, error: *mut ferror_t) -> *mut Stream;
}
unsafe extern "C" {
    pub fn stm_to_file(pathname: *const char_t, error: *mut ferror_t) -> *mut Stream;
}
unsafe extern "C" {
    pub fn stm_append_file(pathname: *const char_t, error: *mut ferror_t) -> *mut Stream;
}
unsafe extern "C" {
    pub fn stm_socket(socket: *mut Socket) -> *mut Stream;
}
unsafe extern "C" {
    pub fn stm_close(stm: *mut *mut Stream);
}
unsafe extern "C" {
    pub fn stm_get_write_endian(stm: *const Stream) -> endian_t;
}
unsafe extern "C" {
    pub fn stm_get_read_endian(stm: *const Stream) -> endian_t;
}
unsafe extern "C" {
    pub fn stm_set_write_endian(stm: *mut Stream, endian: endian_t);
}
unsafe extern "C" {
    pub fn stm_set_read_endian(stm: *mut Stream, endian: endian_t);
}
unsafe extern "C" {
    pub fn stm_get_write_utf(stm: *const Stream) -> unicode_t;
}
unsafe extern "C" {
    pub fn stm_get_read_utf(stm: *const Stream) -> unicode_t;
}
unsafe extern "C" {
    pub fn stm_set_write_utf(stm: *mut Stream, format: unicode_t);
}
unsafe extern "C" {
    pub fn stm_set_read_utf(stm: *mut Stream, format: unicode_t);
}
unsafe extern "C" {
    pub fn stm_is_memory(stm: *const Stream) -> bool_t;
}
unsafe extern "C" {
    pub fn stm_bytes_written(stm: *const Stream) -> u64;
}
unsafe extern "C" {
    pub fn stm_bytes_readed(stm: *const Stream) -> u64;
}
unsafe extern "C" {
    pub fn stm_col(stm: *const Stream) -> u32;
}
unsafe extern "C" {
    pub fn stm_row(stm: *const Stream) -> u32;
}
unsafe extern "C" {
    pub fn stm_token_col(stm: *const Stream) -> u32;
}
unsafe extern "C" {
    pub fn stm_token_row(stm: *const Stream) -> u32;
}
unsafe extern "C" {
    pub fn stm_token_lexeme(stm: *const Stream, size: *mut u32) -> *const char_t;
}
unsafe extern "C" {
    pub fn stm_token_escapes(stm: *mut Stream, active_escapes: bool_t);
}
unsafe extern "C" {
    pub fn stm_token_spaces(stm: *mut Stream, active_spaces: bool_t);
}
unsafe extern "C" {
    pub fn stm_token_comments(stm: *mut Stream, active_comments: bool_t);
}
unsafe extern "C" {
    pub fn stm_state(stm: *const Stream) -> sstate_t;
}
unsafe extern "C" {
    pub fn stm_file_err(stm: *const Stream) -> ferror_t;
}
unsafe extern "C" {
    pub fn stm_sock_err(stm: *const Stream) -> serror_t;
}
unsafe extern "C" {
    pub fn stm_corrupt(stm: *mut Stream);
}
unsafe extern "C" {
    pub fn stm_str(stm: *const Stream) -> *mut String;
}
unsafe extern "C" {
    pub fn stm_buffer(stm: *const Stream) -> *const byte_t;
}
unsafe extern "C" {
    pub fn stm_buffer_size(stm: *const Stream) -> u32;
}
unsafe extern "C" {
    pub fn stm_write(stm: *mut Stream, data: *const byte_t, size: u32);
}
unsafe extern "C" {
    pub fn stm_write_char(stm: *mut Stream, codepoint: u32);
}
unsafe extern "C" {
    pub fn stm_printf(stm: *mut Stream, format: *const char_t, ...) -> u32;
}
unsafe extern "C" {
    pub fn stm_writef(stm: *mut Stream, str_: *const char_t) -> u32;
}
unsafe extern "C" {
    pub fn stm_write_bool(stm: *mut Stream, value: bool_t);
}
unsafe extern "C" {
    pub fn stm_write_i8(stm: *mut Stream, value: i8);
}
unsafe extern "C" {
    pub fn stm_write_i16(stm: *mut Stream, value: i16);
}
unsafe extern "C" {
    pub fn stm_write_i32(stm: *mut Stream, value: i32);
}
unsafe extern "C" {
    pub fn stm_write_i64(stm: *mut Stream, value: i64);
}
unsafe extern "C" {
    pub fn stm_write_u8(stm: *mut Stream, value: u8);
}
unsafe extern "C" {
    pub fn stm_write_u16(stm: *mut Stream, value: u16);
}
unsafe extern "C" {
    pub fn stm_write_u32(stm: *mut Stream, value: u32);
}
unsafe extern "C" {
    pub fn stm_write_u64(stm: *mut Stream, value: u64);
}
unsafe extern "C" {
    pub fn stm_write_r32(stm: *mut Stream, value: real32_t);
}
unsafe extern "C" {
    pub fn stm_write_r64(stm: *mut Stream, value: real64_t);
}
unsafe extern "C" {
    pub fn stm_read(stm: *mut Stream, data: *mut byte_t, size: u32) -> u32;
}
unsafe extern "C" {
    pub fn stm_read_char(stm: *mut Stream) -> u32;
}
unsafe extern "C" {
    pub fn stm_read_chars(stm: *mut Stream, n: u32) -> *const char_t;
}
unsafe extern "C" {
    pub fn stm_read_line(stm: *mut Stream) -> *const char_t;
}
unsafe extern "C" {
    pub fn stm_read_trim(stm: *mut Stream) -> *const char_t;
}
unsafe extern "C" {
    pub fn stm_read_token(stm: *mut Stream) -> ltoken_t;
}
unsafe extern "C" {
    pub fn stm_read_i8_tok(stm: *mut Stream) -> i8;
}
unsafe extern "C" {
    pub fn stm_read_i16_tok(stm: *mut Stream) -> i16;
}
unsafe extern "C" {
    pub fn stm_read_i32_tok(stm: *mut Stream) -> i32;
}
unsafe extern "C" {
    pub fn stm_read_i64_tok(stm: *mut Stream) -> i64;
}
unsafe extern "C" {
    pub fn stm_read_u8_tok(stm: *mut Stream) -> u8;
}
unsafe extern "C" {
    pub fn stm_read_u16_tok(stm: *mut Stream) -> u16;
}
unsafe extern "C" {
    pub fn stm_read_u32_tok(stm: *mut Stream) -> u32;
}
unsafe extern "C" {
    pub fn stm_read_u64_tok(stm: *mut Stream) -> u64;
}
unsafe extern "C" {
    pub fn stm_read_r32_tok(stm: *mut Stream) -> real32_t;
}
unsafe extern "C" {
    pub fn stm_read_r64_tok(stm: *mut Stream) -> real64_t;
}
unsafe extern "C" {
    pub fn stm_read_bool(stm: *mut Stream) -> bool_t;
}
unsafe extern "C" {
    pub fn stm_read_i8(stm: *mut Stream) -> i8;
}
unsafe extern "C" {
    pub fn stm_read_i16(stm: *mut Stream) -> i16;
}
unsafe extern "C" {
    pub fn stm_read_i32(stm: *mut Stream) -> i32;
}
unsafe extern "C" {
    pub fn stm_read_i64(stm: *mut Stream) -> i64;
}
unsafe extern "C" {
    pub fn stm_read_u8(stm: *mut Stream) -> u8;
}
unsafe extern "C" {
    pub fn stm_read_u16(stm: *mut Stream) -> u16;
}
unsafe extern "C" {
    pub fn stm_read_u32(stm: *mut Stream) -> u32;
}
unsafe extern "C" {
    pub fn stm_read_u64(stm: *mut Stream) -> u64;
}
unsafe extern "C" {
    pub fn stm_read_r32(stm: *mut Stream) -> real32_t;
}
unsafe extern "C" {
    pub fn stm_read_r64(stm: *mut Stream) -> real64_t;
}
unsafe extern "C" {
    pub fn stm_skip(stm: *mut Stream, size: u32);
}
unsafe extern "C" {
    pub fn stm_skip_bom(stm: *mut Stream);
}
unsafe extern "C" {
    pub fn stm_skip_token(stm: *mut Stream, token: ltoken_t);
}
unsafe extern "C" {
    pub fn stm_flush(stm: *mut Stream);
}
unsafe extern "C" {
    pub fn stm_pipe(from: *mut Stream, to: *mut Stream, n: u32);
}
unsafe extern "C" {
    pub static mut kSTDIN: *mut Stream;
}
unsafe extern "C" {
    pub static mut kSTDOUT: *mut Stream;
}
unsafe extern "C" {
    pub static mut kSTDERR: *mut Stream;
}
unsafe extern "C" {
    pub static mut kDEVNULL: *mut Stream;
}
unsafe extern "C" {
    pub fn tc(str_: *const String) -> *const char_t;
}
unsafe extern "C" {
    pub fn tcc(str_: *mut String) -> *mut char_t;
}
unsafe extern "C" {
    pub fn str_c(str_: *const char_t) -> *mut String;
}
unsafe extern "C" {
    pub fn str_cn(str_: *const char_t, n: u32) -> *mut String;
}
unsafe extern "C" {
    pub fn str_trim(str_: *const char_t) -> *mut String;
}
unsafe extern "C" {
    pub fn str_trim_n(str_: *const char_t, n: u32) -> *mut String;
}
unsafe extern "C" {
    pub fn str_copy(str_: *const String) -> *mut String;
}
unsafe extern "C" {
    pub fn str_printf(format: *const char_t, ...) -> *mut String;
}
unsafe extern "C" {
    pub fn str_path(platform: platform_t, format: *const char_t, ...) -> *mut String;
}
unsafe extern "C" {
    pub fn str_cpath(format: *const char_t, ...) -> *mut String;
}
unsafe extern "C" {
    pub fn str_relpath(
        platform: platform_t,
        path1: *const char_t,
        path2: *const char_t,
    ) -> *mut String;
}
unsafe extern "C" {
    pub fn str_crelpath(path1: *const char_t, path2: *const char_t) -> *mut String;
}
unsafe extern "C" {
    pub fn str_repl(str_: *const char_t, ...) -> *mut String;
}
unsafe extern "C" {
    pub fn str_reserve(n: u32) -> *mut String;
}
unsafe extern "C" {
    pub fn str_fill(n: u32, c: char_t) -> *mut String;
}
unsafe extern "C" {
    pub fn str_read(stream: *mut Stream) -> *mut String;
}
unsafe extern "C" {
    pub fn str_write(stream: *mut Stream, str_: *const String);
}
unsafe extern "C" {
    pub fn str_writef(stream: *mut Stream, str_: *const String);
}
unsafe extern "C" {
    pub fn str_copy_c(dest: *mut char_t, size: u32, src: *const char_t);
}
unsafe extern "C" {
    pub fn str_copy_cn(dest: *mut char_t, size: u32, src: *const char_t, n: u32);
}
unsafe extern "C" {
    pub fn str_cat(dest: *mut *mut String, src: *const char_t);
}
unsafe extern "C" {
    pub fn str_cat_c(dest: *mut char_t, size: u32, src: *const char_t);
}
unsafe extern "C" {
    pub fn str_upd(str_: *mut *mut String, new_str: *const char_t);
}
unsafe extern "C" {
    pub fn str_destroy(str_: *mut *mut String);
}
unsafe extern "C" {
    pub fn str_destopt(str_: *mut *mut String);
}
unsafe extern "C" {
    pub fn str_len(str_: *const String) -> u32;
}
unsafe extern "C" {
    pub fn str_len_c(str_: *const char_t) -> u32;
}
unsafe extern "C" {
    pub fn str_nchars(str_: *const String) -> u32;
}
unsafe extern "C" {
    pub fn str_prefix(str1: *const char_t, str2: *const char_t) -> u32;
}
unsafe extern "C" {
    pub fn str_is_prefix(str_: *const char_t, prefix: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn str_is_sufix(str_: *const char_t, sufix: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn str_scmp(str1: *const String, str2: *const String) -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn str_cmp(str1: *const String, str2: *const char_t) -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn str_cmp_c(str1: *const char_t, str2: *const char_t) -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn str_cmp_cn(str1: *const char_t, str2: *const char_t, n: u32) -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn str_empty(str_: *const String) -> bool_t;
}
unsafe extern "C" {
    pub fn str_empty_c(str_: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn str_equ(str1: *const String, str2: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn str_equ_c(str1: *const char_t, str2: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn str_equ_cn(str1: *const char_t, str2: *const char_t, n: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn str_equ_nocase(str1: *const char_t, str2: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn str_equ_end(str_: *const char_t, end: *const char_t) -> bool_t;
}
unsafe extern "C" {
    pub fn str_upper(str_: *mut String);
}
unsafe extern "C" {
    pub fn str_lower(str_: *mut String);
}
unsafe extern "C" {
    pub fn str_upper_c(dest: *mut char_t, size: u32, str_: *const char_t);
}
unsafe extern "C" {
    pub fn str_lower_c(dest: *mut char_t, size: u32, str_: *const char_t);
}
unsafe extern "C" {
    pub fn str_subs(str_: *mut String, replace: char_t, with: char_t);
}
unsafe extern "C" {
    pub fn str_repl_c(str_: *mut char_t, replace: *const char_t, with: *const char_t);
}
unsafe extern "C" {
    pub fn str_str(str_: *const char_t, substr: *const char_t) -> *const char_t;
}
unsafe extern "C" {
    pub fn str_split(
        str_: *const char_t,
        substr: *const char_t,
        left: *mut *mut String,
        right: *mut *mut String,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn str_split_trim(
        str_: *const char_t,
        substr: *const char_t,
        left: *mut *mut String,
        right: *mut *mut String,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn str_splits(
        str_: *const char_t,
        substr: *const char_t,
        trim: bool_t,
        add_empty: bool_t,
    ) -> *mut ArrPtString;
}
unsafe extern "C" {
    pub fn str_split_pathname(
        pathname: *const char_t,
        path: *mut *mut String,
        file: *mut *mut String,
    );
}
unsafe extern "C" {
    pub fn str_split_pathext(
        pathname: *const char_t,
        path: *mut *mut String,
        file: *mut *mut String,
        ext: *mut *mut String,
    );
}
unsafe extern "C" {
    pub fn str_filename(pathname: *const char_t) -> *const char_t;
}
unsafe extern "C" {
    pub fn str_filext(pathname: *const char_t) -> *const char_t;
}
unsafe extern "C" {
    pub fn str_find(array: *const ArrPtString, str_: *const char_t) -> u32;
}
unsafe extern "C" {
    pub fn str_to_i8(str_: *const char_t, base: u32, error: *mut bool_t) -> i8;
}
unsafe extern "C" {
    pub fn str_to_i16(str_: *const char_t, base: u32, error: *mut bool_t) -> i16;
}
unsafe extern "C" {
    pub fn str_to_i32(str_: *const char_t, base: u32, error: *mut bool_t) -> i32;
}
unsafe extern "C" {
    pub fn str_to_i64(str_: *const char_t, base: u32, error: *mut bool_t) -> i64;
}
unsafe extern "C" {
    pub fn str_to_u8(str_: *const char_t, base: u32, error: *mut bool_t) -> u8;
}
unsafe extern "C" {
    pub fn str_to_u16(str_: *const char_t, base: u32, error: *mut bool_t) -> u16;
}
unsafe extern "C" {
    pub fn str_to_u32(str_: *const char_t, base: u32, error: *mut bool_t) -> u32;
}
unsafe extern "C" {
    pub fn str_to_u64(str_: *const char_t, base: u32, error: *mut bool_t) -> u64;
}
unsafe extern "C" {
    pub fn str_to_r32(str_: *const char_t, error: *mut bool_t) -> real32_t;
}
unsafe extern "C" {
    pub fn str_to_r64(str_: *const char_t, error: *mut bool_t) -> real64_t;
}
unsafe extern "C" {
    pub fn tfilter_date(
        src: *const char_t,
        dest: *mut char_t,
        size: u32,
        pattern: *const char_t,
        cpos: u32,
        deleted: bool_t,
        ncpos: *mut u32,
    );
}
unsafe extern "C" {
    pub fn tfilter_to_date(text: *const char_t, pattern: *const char_t) -> Date;
}
unsafe extern "C" {
    pub fn osbs_start();
}
unsafe extern "C" {
    pub fn osbs_finish();
}
unsafe extern "C" {
    pub fn osbs_platform() -> platform_t;
}
unsafe extern "C" {
    pub fn osbs_windows() -> win_t;
}
unsafe extern "C" {
    pub fn osbs_endian() -> endian_t;
}
unsafe extern "C" {
    pub fn osbs_memory_mt(mutex: *mut Mutex);
}
unsafe extern "C" {
    pub fn bfile_dir_work(pathname: *mut char_t, size: u32) -> u32;
}
unsafe extern "C" {
    pub fn bfile_dir_set_work(pathname: *const char_t, error: *mut ferror_t) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_dir_home(pathname: *mut char_t, size: u32) -> u32;
}
unsafe extern "C" {
    pub fn bfile_dir_data(pathname: *mut char_t, size: u32) -> u32;
}
unsafe extern "C" {
    pub fn bfile_dir_exec(pathname: *mut char_t, size: u32) -> u32;
}
unsafe extern "C" {
    pub fn bfile_dir_tmp(pathname: *mut char_t, size: u32) -> u32;
}
unsafe extern "C" {
    pub fn bfile_dir_create(pathname: *const char_t, error: *mut ferror_t) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_dir_open(pathname: *const char_t, error: *mut ferror_t) -> *mut Dir;
}
unsafe extern "C" {
    pub fn bfile_dir_close(dir: *mut *mut Dir);
}
unsafe extern "C" {
    pub fn bfile_dir_get(
        dir: *mut Dir,
        name: *mut char_t,
        size: u32,
        type_: *mut file_type_t,
        fsize: *mut u64,
        updated: *mut Date,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_dir_delete(pathname: *const char_t, error: *mut ferror_t) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_create(pathname: *const char_t, error: *mut ferror_t) -> *mut File;
}
unsafe extern "C" {
    pub fn bfile_open(
        pathname: *const char_t,
        mode: file_mode_t,
        error: *mut ferror_t,
    ) -> *mut File;
}
unsafe extern "C" {
    pub fn bfile_close(file: *mut *mut File);
}
unsafe extern "C" {
    pub fn bfile_lstat(
        pathname: *const char_t,
        type_: *mut file_type_t,
        size: *mut u64,
        updated: *mut Date,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_fstat(
        file: *const File,
        type_: *mut file_type_t,
        size: *mut u64,
        updated: *mut Date,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_read(
        file: *mut File,
        data: *mut byte_t,
        size: u32,
        rsize: *mut u32,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_write(
        file: *mut File,
        data: *const byte_t,
        size: u32,
        wsize: *mut u32,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_seek(
        file: *mut File,
        offset: i64,
        whence: file_seek_t,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_pos(file: *const File) -> u64;
}
unsafe extern "C" {
    pub fn bfile_delete(pathname: *const char_t, error: *mut ferror_t) -> bool_t;
}
unsafe extern "C" {
    pub fn bfile_rename(
        current_pathname: *const char_t,
        new_pathname: *const char_t,
        error: *mut ferror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bmutex_create() -> *mut Mutex;
}
unsafe extern "C" {
    pub fn bmutex_close(mutex: *mut *mut Mutex);
}
unsafe extern "C" {
    pub fn bmutex_lock(mutex: *mut Mutex);
}
unsafe extern "C" {
    pub fn bmutex_unlock(mutex: *mut Mutex);
}
unsafe extern "C" {
    pub fn bproc_exec(command: *const char_t, error: *mut perror_t) -> *mut Proc;
}
unsafe extern "C" {
    pub fn bproc_close(proc_: *mut *mut Proc);
}
unsafe extern "C" {
    pub fn bproc_cancel(proc_: *mut Proc) -> bool_t;
}
unsafe extern "C" {
    pub fn bproc_wait(proc_: *mut Proc) -> u32;
}
unsafe extern "C" {
    pub fn bproc_finish(proc_: *mut Proc, code: *mut u32) -> bool_t;
}
unsafe extern "C" {
    pub fn bproc_read(
        proc_: *mut Proc,
        data: *mut byte_t,
        size: u32,
        rsize: *mut u32,
        error: *mut perror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bproc_eread(
        proc_: *mut Proc,
        data: *mut byte_t,
        size: u32,
        rsize: *mut u32,
        error: *mut perror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bproc_write(
        proc_: *mut Proc,
        data: *const byte_t,
        size: u32,
        wsize: *mut u32,
        error: *mut perror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bproc_read_close(proc_: *mut Proc) -> bool_t;
}
unsafe extern "C" {
    pub fn bproc_eread_close(proc_: *mut Proc) -> bool_t;
}
unsafe extern "C" {
    pub fn bproc_write_close(proc_: *mut Proc) -> bool_t;
}
unsafe extern "C" {
    pub fn bproc_exit(code: u32);
}
unsafe extern "C" {
    pub fn bsocket_connect(
        ip: u32,
        port: u16,
        timeout_ms: u32,
        error: *mut serror_t,
    ) -> *mut Socket;
}
unsafe extern "C" {
    pub fn bsocket_server(port: u16, max_connect: u32, error: *mut serror_t) -> *mut Socket;
}
unsafe extern "C" {
    pub fn bsocket_accept(
        socket: *mut Socket,
        timeout_ms: u32,
        error: *mut serror_t,
    ) -> *mut Socket;
}
unsafe extern "C" {
    pub fn bsocket_close(socket: *mut *mut Socket);
}
unsafe extern "C" {
    pub fn bsocket_local_ip(socket: *mut Socket, ip: *mut u32, port: *mut u16);
}
unsafe extern "C" {
    pub fn bsocket_remote_ip(socket: *mut Socket, ip: *mut u32, port: *mut u16);
}
unsafe extern "C" {
    pub fn bsocket_read_timeout(socket: *mut Socket, timeout_ms: u32);
}
unsafe extern "C" {
    pub fn bsocket_write_timeout(socket: *mut Socket, timeout_ms: u32);
}
unsafe extern "C" {
    pub fn bsocket_read(
        socket: *mut Socket,
        data: *mut byte_t,
        size: u32,
        rsize: *mut u32,
        error: *mut serror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bsocket_write(
        socket: *mut Socket,
        data: *const byte_t,
        size: u32,
        wsize: *mut u32,
        error: *mut serror_t,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bsocket_url_ip(url: *const char_t, error: *mut serror_t) -> u32;
}
unsafe extern "C" {
    pub fn bsocket_str_ip(ip: *const char_t) -> u32;
}
unsafe extern "C" {
    pub fn bsocket_host_name(buffer: *mut char_t, size: u32) -> *const char_t;
}
unsafe extern "C" {
    pub fn bsocket_host_name_ip(ip: u32, buffer: *mut char_t, size: u32) -> *const char_t;
}
unsafe extern "C" {
    pub fn bsocket_ip_str(ip: u32) -> *const char_t;
}
unsafe extern "C" {
    pub fn bsocket_hton2(dest: *mut byte_t, src: *const byte_t);
}
unsafe extern "C" {
    pub fn bsocket_hton4(dest: *mut byte_t, src: *const byte_t);
}
unsafe extern "C" {
    pub fn bsocket_hton8(dest: *mut byte_t, src: *const byte_t);
}
unsafe extern "C" {
    pub fn bsocket_ntoh2(dest: *mut byte_t, src: *const byte_t);
}
unsafe extern "C" {
    pub fn bsocket_ntoh4(dest: *mut byte_t, src: *const byte_t);
}
unsafe extern "C" {
    pub fn bsocket_ntoh8(dest: *mut byte_t, src: *const byte_t);
}
unsafe extern "C" {
    pub fn bthread_create_imp(thmain: FPtr_thread_main, data: *mut ::libc::c_void) -> *mut Thread;
}
unsafe extern "C" {
    pub fn bthread_current_id() -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn bthread_close(thread: *mut *mut Thread);
}
unsafe extern "C" {
    pub fn bthread_cancel(thread: *mut Thread) -> bool_t;
}
unsafe extern "C" {
    pub fn bthread_wait(thread: *mut Thread) -> u32;
}
unsafe extern "C" {
    pub fn bthread_finish(thread: *mut Thread, code: *mut u32) -> bool_t;
}
unsafe extern "C" {
    pub fn bthread_sleep(milliseconds: u32);
}
unsafe extern "C" {
    pub fn btime_now() -> u64;
}
unsafe extern "C" {
    pub fn btime_date(date: *mut Date);
}
unsafe extern "C" {
    pub fn btime_to_micro(date: *const Date) -> u64;
}
unsafe extern "C" {
    pub fn btime_to_date(micro: u64, date: *mut Date);
}
unsafe extern "C" {
    pub fn dlib_open(path: *const char_t, libname: *const char_t) -> *mut DLib;
}
unsafe extern "C" {
    pub fn dlib_close(dlib: *mut *mut DLib);
}
unsafe extern "C" {
    pub fn dlib_proc_imp(dlib: *mut DLib, procname: *const char_t) -> FPtr_libproc;
}
unsafe extern "C" {
    pub fn dlib_var_imp(dlib: *mut DLib, varname: *const char_t) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn log_printf(format: *const char_t, ...) -> u32;
}
unsafe extern "C" {
    pub fn log_output(std: bool_t, err: bool_t);
}
unsafe extern "C" {
    pub fn log_file(pathname: *const char_t);
}
unsafe extern "C" {
    pub fn log_get_file() -> *const char_t;
}
unsafe extern "C" {
    pub fn sewer_start();
}
unsafe extern "C" {
    pub fn sewer_finish();
}
unsafe extern "C" {
    pub fn sewer_nappgui_major() -> u32;
}
unsafe extern "C" {
    pub fn sewer_nappgui_minor() -> u32;
}
unsafe extern "C" {
    pub fn sewer_nappgui_patch() -> u32;
}
unsafe extern "C" {
    pub fn sewer_nappgui_build() -> u32;
}
unsafe extern "C" {
    pub fn sewer_nappgui_version(full: bool_t) -> *const char_t;
}
unsafe extern "C" {
    pub fn blib_strlen(str_: *const char_t) -> u32;
}
unsafe extern "C" {
    pub fn blib_strstr(str_: *const char_t, substr: *const char_t) -> *mut char_t;
}
unsafe extern "C" {
    pub fn blib_strcpy(dest: *mut char_t, size: u32, src: *const char_t);
}
unsafe extern "C" {
    pub fn blib_strncpy(dest: *mut char_t, size: u32, src: *const char_t, n: u32);
}
unsafe extern "C" {
    pub fn blib_strcat(dest: *mut char_t, size: u32, src: *const char_t);
}
unsafe extern "C" {
    pub fn blib_strcmp(str1: *const char_t, str2: *const char_t) -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn blib_strncmp(str1: *const char_t, str2: *const char_t, n: u32) -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn blib_strftime(
        dest: *mut char_t,
        size: u32,
        format: *const char_t,
        year: i16,
        month: u8,
        mday: u8,
        wday: u8,
        hour: u8,
        minute: u8,
        second: u8,
    ) -> u32;
}
unsafe extern "C" {
    pub fn blib_strtol(
        str_: *const char_t,
        endptr: *mut *mut char_t,
        base: u32,
        err: *mut bool_t,
    ) -> i64;
}
unsafe extern "C" {
    pub fn blib_strtoul(
        str_: *const char_t,
        endptr: *mut *mut char_t,
        base: u32,
        err: *mut bool_t,
    ) -> u64;
}
unsafe extern "C" {
    pub fn blib_strtof(str_: *const char_t, endptr: *mut *mut char_t, err: *mut bool_t)
        -> real32_t;
}
unsafe extern "C" {
    pub fn blib_strtod(str_: *const char_t, endptr: *mut *mut char_t, err: *mut bool_t)
        -> real64_t;
}
unsafe extern "C" {
    pub fn blib_qsort(array: *mut byte_t, nelems: u32, size: u32, func_compare: FPtr_compare);
}
unsafe extern "C" {
    pub fn blib_qsort_ex(
        array: *const byte_t,
        nelems: u32,
        size: u32,
        func_compare: FPtr_compare_ex,
        data: *const byte_t,
    );
}
unsafe extern "C" {
    pub fn blib_bsearch(
        array: *const byte_t,
        key: *const byte_t,
        nelems: u32,
        size: u32,
        func_compare: FPtr_compare,
        pos: *mut u32,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn blib_bsearch_ex(
        array: *const byte_t,
        key: *const byte_t,
        nelems: u32,
        size: u32,
        func_compare: FPtr_compare_ex,
        data: *const byte_t,
        pos: *mut u32,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn blib_getenv(name: *const char_t) -> *const char_t;
}
unsafe extern "C" {
    pub fn blib_setenv(name: *const char_t, value: *const char_t) -> i32;
}
unsafe extern "C" {
    pub fn blib_atexit(func: ::core::option::Option<unsafe extern "C" fn()>);
}
unsafe extern "C" {
    pub fn blib_abort();
}
unsafe extern "C" {
    pub fn blib_exit(code: ::libc::c_int);
}
unsafe extern "C" {
    pub fn blib_debug_break();
}
unsafe extern "C" {
    pub fn bmath_cosf(angle: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_cosd(angle: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_sinf(angle: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_sind(angle: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_tanf(angle: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_tand(angle: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_acosf(cos: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_acosd(cos: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_asinf(sin: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_asind(sin: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_atan2f(y: real32_t, x: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_atan2d(y: real64_t, x: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_norm_anglef(a: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_norm_angled(a: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_sqrtf(value: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_sqrtd(value: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_isqrtf(value: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_isqrtd(value: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_logf(value: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_logd(value: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_log10f(value: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_log10d(value: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_expf(value: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_expd(value: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_powf(base: real32_t, exponent: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_powd(base: real64_t, exponent: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_absf(value: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_absd(value: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_maxf(value1: real32_t, value2: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_maxd(value1: real64_t, value2: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_minf(value1: real32_t, value2: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_mind(value1: real64_t, value2: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_clampf(value: real32_t, min: real32_t, max: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_clampd(value: real64_t, min: real64_t, max: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_modf(num: real32_t, den: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_modd(num: real64_t, den: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_modff(value: real32_t, intpart: *mut real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_modfd(value: real64_t, intpart: *mut real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_precf(value: real32_t) -> u32;
}
unsafe extern "C" {
    pub fn bmath_precd(value: real64_t) -> u32;
}
unsafe extern "C" {
    pub fn bmath_roundf(value: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_roundd(value: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_round_stepf(value: real32_t, step: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_round_stepd(value: real64_t, step: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_floorf(value: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_floord(value: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_ceilf(value: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_ceild(value: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_rand_seed(seed: u32);
}
unsafe extern "C" {
    pub fn bmath_randf(from: real32_t, to: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_randd(from: real64_t, to: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_randi(from: u32, to: u32) -> u32;
}
unsafe extern "C" {
    pub fn bmath_rand_env(seed: u32) -> *mut REnv;
}
unsafe extern "C" {
    pub fn bmath_rand_destroy(env: *mut *mut REnv);
}
unsafe extern "C" {
    pub fn bmath_rand_mtf(env: *mut REnv, from: real32_t, to: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn bmath_rand_mtd(env: *mut REnv, from: real64_t, to: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn bmath_rand_mti(env: *mut REnv, from: u32, to: u32) -> u32;
}
unsafe extern "C" {
    pub static kBMATH_Ef: real32_t;
}
unsafe extern "C" {
    pub static kBMATH_Ed: real64_t;
}
unsafe extern "C" {
    pub static kBMATH_LN2f: real32_t;
}
unsafe extern "C" {
    pub static kBMATH_LN2d: real64_t;
}
unsafe extern "C" {
    pub static kBMATH_LN10f: real32_t;
}
unsafe extern "C" {
    pub static kBMATH_LN10d: real64_t;
}
unsafe extern "C" {
    pub static kBMATH_PIf: real32_t;
}
unsafe extern "C" {
    pub static kBMATH_PId: real64_t;
}
unsafe extern "C" {
    pub static kBMATH_SQRT2f: real32_t;
}
unsafe extern "C" {
    pub static kBMATH_SQRT2d: real64_t;
}
unsafe extern "C" {
    pub static kBMATH_SQRT3f: real32_t;
}
unsafe extern "C" {
    pub static kBMATH_SQRT3d: real64_t;
}
unsafe extern "C" {
    pub static kBMATH_DEG2RADf: real32_t;
}
unsafe extern "C" {
    pub static kBMATH_DEG2RADd: real64_t;
}
unsafe extern "C" {
    pub static kBMATH_RAD2DEGf: real32_t;
}
unsafe extern "C" {
    pub static kBMATH_RAD2DEGd: real64_t;
}
unsafe extern "C" {
    pub static kBMATH_INFINITYf: real32_t;
}
unsafe extern "C" {
    pub static kBMATH_INFINITYd: real64_t;
}
unsafe extern "C" {
    pub fn bmem_aligned_malloc(size: u32, align: u32) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn bmem_aligned_realloc(
        mem: *mut byte_t,
        size: u32,
        new_size: u32,
        align: u32,
    ) -> *mut byte_t;
}
unsafe extern "C" {
    pub fn bmem_free(mem: *mut byte_t);
}
unsafe extern "C" {
    pub fn bmem_set1(dest: *mut byte_t, size: u32, mask: byte_t);
}
unsafe extern "C" {
    pub fn bmem_set4(dest: *mut byte_t, size: u32, mask: *const byte_t);
}
unsafe extern "C" {
    pub fn bmem_set8(dest: *mut byte_t, size: u32, mask: *const byte_t);
}
unsafe extern "C" {
    pub fn bmem_set16(dest: *mut byte_t, size: u32, mask: *const byte_t);
}
unsafe extern "C" {
    pub fn bmem_cmp(mem1: *const byte_t, mem2: *const byte_t, size: u32) -> ::libc::c_int;
}
unsafe extern "C" {
    pub fn bmem_is_zero(mem: *const byte_t, size: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn bmem_set_zero(dest: *mut byte_t, size: u32);
}
unsafe extern "C" {
    pub fn bmem_copy(dest: *mut byte_t, src: *const byte_t, size: u32);
}
unsafe extern "C" {
    pub fn bmem_move(dest: *mut byte_t, src: *const byte_t, size: u32);
}
unsafe extern "C" {
    pub fn bmem_overlaps(
        mem1: *const byte_t,
        mem2: *const byte_t,
        size1: u32,
        size2: u32,
    ) -> bool_t;
}
unsafe extern "C" {
    pub fn bmem_rev(mem: *mut byte_t, size: u32);
}
unsafe extern "C" {
    pub fn bmem_rev2(mem: *mut byte_t);
}
unsafe extern "C" {
    pub fn bmem_rev4(mem: *mut byte_t);
}
unsafe extern "C" {
    pub fn bmem_rev8(mem: *mut byte_t);
}
unsafe extern "C" {
    pub fn bmem_revcopy(dest: *mut byte_t, src: *const byte_t, size: u32);
}
unsafe extern "C" {
    pub fn bmem_rev_elems_imp(data: *mut byte_t, num_elems: u32, elem_size: u32);
}
unsafe extern "C" {
    pub fn bmem_swap(mem1: *mut byte_t, mem2: *mut byte_t, size: u32);
}
unsafe extern "C" {
    pub fn bmem_shuffle(mem: *mut byte_t, size: u32, esize: u32);
}
unsafe extern "C" {
    pub fn bstd_sprintf(str_: *mut char_t, size: u32, format: *const char_t, ...) -> u32;
}
unsafe extern "C" {
    pub fn bstd_vsprintf(str_: *mut char_t, size: u32, format: *const char_t, args: va_list)
        -> u32;
}
unsafe extern "C" {
    pub fn bstd_printf(format: *const char_t, ...) -> u32;
}
unsafe extern "C" {
    pub fn bstd_eprintf(format: *const char_t, ...) -> u32;
}
unsafe extern "C" {
    pub fn bstd_writef(str_: *const char_t) -> u32;
}
unsafe extern "C" {
    pub fn bstd_ewritef(str_: *const char_t) -> u32;
}
unsafe extern "C" {
    pub fn bstd_read(data: *mut byte_t, size: u32, rsize: *mut u32) -> bool_t;
}
unsafe extern "C" {
    pub fn bstd_write(data: *const byte_t, size: u32, wsize: *mut u32) -> bool_t;
}
unsafe extern "C" {
    pub fn bstd_ewrite(data: *const byte_t, size: u32, wsize: *mut u32) -> bool_t;
}
unsafe extern "C" {
    pub fn cassert_set_func(data: *mut ::libc::c_void, func_assert: FPtr_assert);
}
unsafe extern "C" {
    pub fn cassert_imp(cond: bool_t, detail: *const char_t, file: *const char_t, line: u32);
}
unsafe extern "C" {
    pub fn cassert_fatal_imp(cond: bool_t, detail: *const char_t, file: *const char_t, line: u32);
}
unsafe extern "C" {
    pub fn cassert_no_null_imp(
        ptr: *mut ::libc::c_void,
        detail: *const char_t,
        file: *const char_t,
        line: u32,
    );
}
unsafe extern "C" {
    pub fn cassert_no_nullf_imp(
        ptr: ::core::option::Option<unsafe extern "C" fn()>,
        detail: *const char_t,
        file: *const char_t,
        line: u32,
    );
}
unsafe extern "C" {
    pub fn cassert_default_imp(file: *const char_t, line: u32);
}
unsafe extern "C" {
    pub fn ptr_dget_imp(dptr: *mut *mut ::libc::c_void) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn ptr_dget_no_null_imp(dptr: *mut *mut ::libc::c_void) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn ptr_destopt_imp(dptr: *mut *mut ::libc::c_void, func_destroy: FPtr_destroy);
}
unsafe extern "C" {
    pub fn ptr_copyopt_imp(ptr: *mut ::libc::c_void, func_copy: FPtr_copy) -> *mut ::libc::c_void;
}
unsafe extern "C" {
    pub fn min_u32(v1: u32, v2: u32) -> u32;
}
unsafe extern "C" {
    pub fn min_r32(v1: real32_t, v2: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn min_r64(v1: real64_t, v2: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn max_u32(v1: u32, v2: u32) -> u32;
}
unsafe extern "C" {
    pub fn max_r32(v1: real32_t, v2: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn max_r64(v1: real64_t, v2: real64_t) -> real64_t;
}
unsafe extern "C" {
    pub fn abs_r32(v: real32_t) -> real32_t;
}
unsafe extern "C" {
    pub fn to_u8(v: u32) -> u8;
}
unsafe extern "C" {
    pub fn unicode_convers(
        from_str: *const char_t,
        to_str: *mut char_t,
        from: unicode_t,
        to: unicode_t,
        osize: u32,
    ) -> u32;
}
unsafe extern "C" {
    pub fn unicode_convers_n(
        from_str: *const char_t,
        to_str: *mut char_t,
        from: unicode_t,
        to: unicode_t,
        isize_: u32,
        osize: u32,
    ) -> u32;
}
unsafe extern "C" {
    pub fn unicode_convers_nbytes(str_: *const char_t, from: unicode_t, to: unicode_t) -> u32;
}
unsafe extern "C" {
    pub fn unicode_convers_nbytes_n(
        str_: *const char_t,
        isize_: u32,
        from: unicode_t,
        to: unicode_t,
    ) -> u32;
}
unsafe extern "C" {
    pub fn unicode_nbytes(str_: *const char_t, format: unicode_t) -> u32;
}
unsafe extern "C" {
    pub fn unicode_nchars(str_: *const char_t, format: unicode_t) -> u32;
}
unsafe extern "C" {
    pub fn unicode_to_u32(str_: *const char_t, format: unicode_t) -> u32;
}
unsafe extern "C" {
    pub fn unicode_to_u32b(str_: *const char_t, format: unicode_t, bytes: *mut u32) -> u32;
}
unsafe extern "C" {
    pub fn unicode_to_char(codepoint: u32, str_: *mut char_t, format: unicode_t) -> u32;
}
unsafe extern "C" {
    pub fn unicode_valid_str(str_: *const char_t, format: unicode_t) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_valid_str_n(str_: *const char_t, size: u32, format: unicode_t) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_valid(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_next(str_: *const char_t, format: unicode_t) -> *const char_t;
}
unsafe extern "C" {
    pub fn unicode_back(str_: *const char_t, format: unicode_t) -> *const char_t;
}
unsafe extern "C" {
    pub fn unicode_move(str_: *const char_t, nchars: u32, format: unicode_t) -> *const char_t;
}
unsafe extern "C" {
    pub fn unicode_isascii(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_isalnum(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_isalpha(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_iscntrl(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_isdigit(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_isgraph(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_isprint(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_ispunct(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_isspace(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_isxdigit(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_islower(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_isupper(codepoint: u32) -> bool_t;
}
unsafe extern "C" {
    pub fn unicode_tolower(codepoint: u32) -> u32;
}
unsafe extern "C" {
    pub fn unicode_toupper(codepoint: u32) -> u32;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __crt_locale_data {
    pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __crt_multibyte_data {
    pub _address: u8,
}