mex-sys 0.1.0

A bindgen generated Rust wrapper around mex.h for creating binary MEX files callable from MATLAB.
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
/* automatically generated by rust-bindgen */

#![allow(dead_code,
         non_camel_case_types,
         non_upper_case_globals,
         non_snake_case)]
pub enum impl_info_tag { }
pub type MEX_impl_info = *mut impl_info_tag;
pub type uintptr_t = usize;
pub type va_list = *mut ::std::os::raw::c_char;
pub type size_t = usize;
pub type ptrdiff_t = isize;
pub type intptr_t = isize;
pub type __vcrt_bool = u8;
pub type wchar_t = ::std::os::raw::c_ushort;
pub type __crt_bool = u8;
pub type errno_t = ::std::os::raw::c_int;
pub type wint_t = ::std::os::raw::c_ushort;
pub type wctype_t = ::std::os::raw::c_ushort;
pub type __time32_t = ::std::os::raw::c_long;
pub type __time64_t = ::std::os::raw::c_longlong;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct __crt_locale_data_public {
    pub _locale_pctype: *const ::std::os::raw::c_ushort,
    pub _locale_mb_cur_max: ::std::os::raw::c_int,
    pub _locale_lc_codepage: ::std::os::raw::c_uint,
}
impl ::std::default::Default for __crt_locale_data_public {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub enum __crt_locale_data { }
pub enum __crt_multibyte_data { }
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct __crt_locale_pointers {
    pub locinfo: *mut __crt_locale_data,
    pub mbcinfo: *mut __crt_multibyte_data,
}
impl ::std::default::Default for __crt_locale_pointers {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type _locale_t = *mut __crt_locale_pointers;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _Mbstatet {
    pub _Wchar: ::std::os::raw::c_ulong,
    pub _Byte: ::std::os::raw::c_ushort,
    pub _State: ::std::os::raw::c_ushort,
}
impl ::std::default::Default for _Mbstatet {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type mbstate_t = _Mbstatet;
pub type time_t = __time64_t;
pub type rsize_t = size_t;
pub type _onexit_t =
    ::std::option::Option<extern "C" fn() -> ::std::os::raw::c_int>;
pub type _purecall_handler = ::std::option::Option<extern "C" fn()>;
pub type _invalid_parameter_handler =
    ::std::option::Option<unsafe extern "C" fn(arg1: *const wchar_t,
                                               arg2: *const wchar_t,
                                               arg3: *const wchar_t,
                                               arg4: ::std::os::raw::c_uint,
                                               arg5: uintptr_t)>;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _div_t {
    pub quot: ::std::os::raw::c_int,
    pub rem: ::std::os::raw::c_int,
}
impl ::std::default::Default for _div_t {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type div_t = _div_t;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _ldiv_t {
    pub quot: ::std::os::raw::c_long,
    pub rem: ::std::os::raw::c_long,
}
impl ::std::default::Default for _ldiv_t {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type ldiv_t = _ldiv_t;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _lldiv_t {
    pub quot: ::std::os::raw::c_longlong,
    pub rem: ::std::os::raw::c_longlong,
}
impl ::std::default::Default for _lldiv_t {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type lldiv_t = _lldiv_t;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _LDOUBLE {
    pub ld: [::std::os::raw::c_uchar; 10usize],
}
impl ::std::default::Default for _LDOUBLE {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _CRT_DOUBLE {
    pub x: f64,
}
impl ::std::default::Default for _CRT_DOUBLE {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _CRT_FLOAT {
    pub f: f32,
}
impl ::std::default::Default for _CRT_FLOAT {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _LONGDOUBLE {
    pub x: f64,
}
impl ::std::default::Default for _LONGDOUBLE {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _LDBL12 {
    pub ld12: [::std::os::raw::c_uchar; 12usize],
}
impl ::std::default::Default for _LDBL12 {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type uchar_T = ::std::os::raw::c_uchar;
pub type ushort_T = ::std::os::raw::c_ushort;
pub type ulong_T = ::std::os::raw::c_ulong;
pub type ulonglong_T = ::std::os::raw::c_ulonglong;
pub type int8_T = ::std::os::raw::c_char;
pub type uint8_T = ::std::os::raw::c_uchar;
pub type int16_T = ::std::os::raw::c_short;
pub type uint16_T = ::std::os::raw::c_ushort;
pub type int32_T = ::std::os::raw::c_int;
pub type uint32_T = ::std::os::raw::c_uint;
pub type real32_T = f32;
pub type real64_T = f64;
pub type int64_T = ::std::os::raw::c_long;
pub type uint64_T = ::std::os::raw::c_ulong;
pub type real_T = real64_T;
pub type time_T = real_T;
pub type boolean_T = ::std::os::raw::c_uchar;
pub type char_T = ::std::os::raw::c_char;
pub type int_T = ::std::os::raw::c_int;
pub type uint_T = ::std::os::raw::c_uint;
pub type byte_T = ::std::os::raw::c_uchar;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct creal32_T {
    pub re: real32_T,
    pub im: real32_T,
}
impl ::std::default::Default for creal32_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct creal64_T {
    pub re: real64_T,
    pub im: real64_T,
}
impl ::std::default::Default for creal64_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct creal_T {
    pub re: real_T,
    pub im: real_T,
}
impl ::std::default::Default for creal_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct cint8_T {
    pub re: int8_T,
    pub im: int8_T,
}
impl ::std::default::Default for cint8_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct cuint8_T {
    pub re: uint8_T,
    pub im: uint8_T,
}
impl ::std::default::Default for cuint8_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct cint16_T {
    pub re: int16_T,
    pub im: int16_T,
}
impl ::std::default::Default for cint16_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct cuint16_T {
    pub re: uint16_T,
    pub im: uint16_T,
}
impl ::std::default::Default for cuint16_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct cint32_T {
    pub re: int32_T,
    pub im: int32_T,
}
impl ::std::default::Default for cint32_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct cuint32_T {
    pub re: uint32_T,
    pub im: uint32_T,
}
impl ::std::default::Default for cuint32_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct cint64_T {
    pub re: int64_T,
    pub im: int64_T,
}
impl ::std::default::Default for cint64_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct cuint64_T {
    pub re: uint64_T,
    pub im: uint64_T,
}
impl ::std::default::Default for cuint64_T {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type bool_ = boolean_T;
pub type mwSize = ::std::os::raw::c_int;
pub type mwIndex = ::std::os::raw::c_int;
pub type mwSignedIndex = ::std::os::raw::c_int;
pub type CHAR16_T = wchar_t;
pub enum mxArray_tag { }
pub type mxArray = mxArray_tag;
pub type mxFunctionPtr =
    ::std::option::Option<extern "C" fn(nlhs: ::std::os::raw::c_int,
                                        plhs: *mut *mut mxArray,
                                        nrhs: ::std::os::raw::c_int,
                                        prhs: *mut *mut mxArray)>;
pub type mxLogical = bool_;
pub type mxChar = CHAR16_T;
pub const mxINDEX_CLASS: mxClassID = mxClassID::mxUINT64_CLASS;
pub const mxSPARSE_CLASS: mxClassID = mxClassID::mxVOID_CLASS;
#[derive(Copy, Clone)]
#[repr(i32)]
#[derive(Debug)]
pub enum mxClassID {
    mxUNKNOWN_CLASS = 0,
    mxCELL_CLASS = 1,
    mxSTRUCT_CLASS = 2,
    mxLOGICAL_CLASS = 3,
    mxCHAR_CLASS = 4,
    mxVOID_CLASS = 5,
    mxDOUBLE_CLASS = 6,
    mxSINGLE_CLASS = 7,
    mxINT8_CLASS = 8,
    mxUINT8_CLASS = 9,
    mxINT16_CLASS = 10,
    mxUINT16_CLASS = 11,
    mxINT32_CLASS = 12,
    mxUINT32_CLASS = 13,
    mxINT64_CLASS = 14,
    mxUINT64_CLASS = 15,
    mxFUNCTION_CLASS = 16,
    mxOPAQUE_CLASS = 17,
    mxOBJECT_CLASS = 18,
}
#[derive(Copy, Clone)]
#[repr(i32)]
#[derive(Debug)]
pub enum mxComplexity { mxREAL = 0, mxCOMPLEX = 1, }
pub type mex_exit_fn = ::std::option::Option<extern "C" fn()>;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct mexGlobalTableEntry_Tag {
    pub name: *const ::std::os::raw::c_char,
    pub variable: *mut *mut mxArray,
}
impl ::std::default::Default for mexGlobalTableEntry_Tag {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type mexGlobalTableEntry = mexGlobalTableEntry_Tag;
pub type mexGlobalTable = *mut mexGlobalTableEntry_Tag;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct mexFunctionTableEntry_tag {
    pub name: *const ::std::os::raw::c_char,
    pub f: mxFunctionPtr,
    pub nargin: ::std::os::raw::c_int,
    pub nargout: ::std::os::raw::c_int,
    pub local_function_table: *mut _mexLocalFunctionTable,
}
impl ::std::default::Default for mexFunctionTableEntry_tag {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type mexFunctionTableEntry = mexFunctionTableEntry_tag;
pub type mexFunctionTable = *mut mexFunctionTableEntry_tag;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _mexLocalFunctionTable {
    pub length: size_t,
    pub entries: mexFunctionTable,
}
impl ::std::default::Default for _mexLocalFunctionTable {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type mexLocalFunctionTable = *mut _mexLocalFunctionTable;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _mexInitTermTableEntry {
    pub initialize: ::std::option::Option<extern "C" fn()>,
    pub terminate: ::std::option::Option<extern "C" fn()>,
}
impl ::std::default::Default for _mexInitTermTableEntry {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type mexInitTermTableEntry = *mut _mexInitTermTableEntry;
pub type fn_clean_up_after_error = ::std::option::Option<extern "C" fn()>;
pub type fn_simple_function_to_string =
    ::std::option::Option<extern "C" fn(f: mxFunctionPtr)
                              -> *const ::std::os::raw::c_char>;
pub type fn_mex_get_local_function_table =
    ::std::option::Option<extern "C" fn() -> mexLocalFunctionTable>;
pub type fn_mex_set_local_function_table =
    ::std::option::Option<extern "C" fn(arg1: mexLocalFunctionTable)
                              -> mexLocalFunctionTable>;
#[repr(C)]
#[derive(Copy, Clone)]
#[derive(Debug)]
pub struct _iobuf {
    pub _Placeholder: *mut ::std::os::raw::c_void,
}
impl ::std::default::Default for _iobuf {
    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
pub type FILE = _iobuf;
pub type fpos_t = ::std::os::raw::c_longlong;
extern "C" {
    pub static mut __security_cookie: uintptr_t;
}
extern "C" {
    pub fn __va_start(arg1: *mut va_list, ...);
    pub fn __security_init_cookie();
    pub fn __security_check_cookie(_StackCookie: uintptr_t);
    pub fn __report_gsfailure(_StackCookie: uintptr_t);
    pub fn _invalid_parameter_noinfo();
    pub fn _invalid_parameter_noinfo_noreturn();
    pub fn _invoke_watson(arg1: *const wchar_t, arg2: *const wchar_t,
                          arg3: *const wchar_t, arg4: ::std::os::raw::c_uint,
                          arg5: uintptr_t);
    pub fn _calloc_base(_Count: size_t, _Size: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn calloc(_Count: size_t, _Size: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn _callnewh(_Size: size_t) -> ::std::os::raw::c_int;
    pub fn _expand(_Block: *mut ::std::os::raw::c_void, _Size: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn _free_base(_Block: *mut ::std::os::raw::c_void);
    pub fn free(_Block: *mut ::std::os::raw::c_void);
    pub fn _malloc_base(_Size: size_t) -> *mut ::std::os::raw::c_void;
    pub fn malloc(_Size: size_t) -> *mut ::std::os::raw::c_void;
    pub fn _msize(_Block: *mut ::std::os::raw::c_void) -> size_t;
    pub fn _realloc_base(_Block: *mut ::std::os::raw::c_void, _Size: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn realloc(_Block: *mut ::std::os::raw::c_void, _Size: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn _recalloc(_Block: *mut ::std::os::raw::c_void, _Count: size_t,
                     _Size: size_t) -> *mut ::std::os::raw::c_void;
    pub fn _aligned_free(_Block: *mut ::std::os::raw::c_void);
    pub fn _aligned_malloc(_Size: size_t, _Alignment: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn _aligned_offset_malloc(_Size: size_t, _Alignment: size_t,
                                  _Offset: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn _aligned_msize(_Block: *mut ::std::os::raw::c_void,
                          _Alignment: size_t, _Offset: size_t) -> size_t;
    pub fn _aligned_offset_realloc(_Block: *mut ::std::os::raw::c_void,
                                   _Size: size_t, _Alignment: size_t,
                                   _Offset: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn _aligned_offset_recalloc(_Block: *mut ::std::os::raw::c_void,
                                    _Count: size_t, _Size: size_t,
                                    _Alignment: size_t, _Offset: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn _aligned_realloc(_Block: *mut ::std::os::raw::c_void,
                            _Size: size_t, _Alignment: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn _aligned_recalloc(_Block: *mut ::std::os::raw::c_void,
                             _Count: size_t, _Size: size_t,
                             _Alignment: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn _errno() -> *mut ::std::os::raw::c_int;
    pub fn _set_errno(_Value: ::std::os::raw::c_int) -> errno_t;
    pub fn _get_errno(_Value: *mut ::std::os::raw::c_int) -> errno_t;
    pub fn __threadid() -> ::std::os::raw::c_ulong;
    pub fn __threadhandle() -> uintptr_t;
    pub fn bsearch_s(_Key: *const ::std::os::raw::c_void,
                     _Base: *const ::std::os::raw::c_void,
                     _NumOfElements: rsize_t, _SizeOfElements: rsize_t,
                     _PtFuncCompare:
                         ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                        *mut ::std::os::raw::c_void,
                                                                    arg2:
                                                                        *const ::std::os::raw::c_void,
                                                                    arg3:
                                                                        *const ::std::os::raw::c_void)
                                                   -> ::std::os::raw::c_int>,
                     _Context: *mut ::std::os::raw::c_void)
     -> *mut ::std::os::raw::c_void;
    pub fn qsort_s(_Base: *mut ::std::os::raw::c_void,
                   _NumOfElements: rsize_t, _SizeOfElements: rsize_t,
                   _PtFuncCompare:
                       ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                      *mut ::std::os::raw::c_void,
                                                                  arg2:
                                                                      *const ::std::os::raw::c_void,
                                                                  arg3:
                                                                      *const ::std::os::raw::c_void)
                                                 -> ::std::os::raw::c_int>,
                   _Context: *mut ::std::os::raw::c_void);
    pub fn bsearch(_Key: *const ::std::os::raw::c_void,
                   _Base: *const ::std::os::raw::c_void,
                   _NumOfElements: size_t, _SizeOfElements: size_t,
                   _PtFuncCompare:
                       ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                      *const ::std::os::raw::c_void,
                                                                  arg2:
                                                                      *const ::std::os::raw::c_void)
                                                 -> ::std::os::raw::c_int>)
     -> *mut ::std::os::raw::c_void;
    pub fn qsort(_Base: *mut ::std::os::raw::c_void, _NumOfElements: size_t,
                 _SizeOfElements: size_t,
                 _PtFuncCompare:
                     ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                    *const ::std::os::raw::c_void,
                                                                arg2:
                                                                    *const ::std::os::raw::c_void)
                                               -> ::std::os::raw::c_int>);
    pub fn _lfind_s(_Key: *const ::std::os::raw::c_void,
                    _Base: *const ::std::os::raw::c_void,
                    _NumOfElements: *mut ::std::os::raw::c_uint,
                    _SizeOfElements: size_t,
                    _PtFuncCompare:
                        ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                       *mut ::std::os::raw::c_void,
                                                                   arg2:
                                                                       *const ::std::os::raw::c_void,
                                                                   arg3:
                                                                       *const ::std::os::raw::c_void)
                                                  -> ::std::os::raw::c_int>,
                    _Context: *mut ::std::os::raw::c_void)
     -> *mut ::std::os::raw::c_void;
    pub fn _lfind(_Key: *const ::std::os::raw::c_void,
                  _Base: *const ::std::os::raw::c_void,
                  _NumOfElements: *mut ::std::os::raw::c_uint,
                  _SizeOfElements: ::std::os::raw::c_uint,
                  _PtFuncCompare:
                      ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                     *const ::std::os::raw::c_void,
                                                                 arg2:
                                                                     *const ::std::os::raw::c_void)
                                                -> ::std::os::raw::c_int>)
     -> *mut ::std::os::raw::c_void;
    pub fn _lsearch_s(_Key: *const ::std::os::raw::c_void,
                      _Base: *mut ::std::os::raw::c_void,
                      _NumOfElements: *mut ::std::os::raw::c_uint,
                      _SizeOfElements: size_t,
                      _PtFuncCompare:
                          ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                         *mut ::std::os::raw::c_void,
                                                                     arg2:
                                                                         *const ::std::os::raw::c_void,
                                                                     arg3:
                                                                         *const ::std::os::raw::c_void)
                                                    -> ::std::os::raw::c_int>,
                      _Context: *mut ::std::os::raw::c_void)
     -> *mut ::std::os::raw::c_void;
    pub fn _lsearch(_Key: *const ::std::os::raw::c_void,
                    _Base: *mut ::std::os::raw::c_void,
                    _NumOfElements: *mut ::std::os::raw::c_uint,
                    _SizeOfElements: ::std::os::raw::c_uint,
                    _PtFuncCompare:
                        ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                       *const ::std::os::raw::c_void,
                                                                   arg2:
                                                                       *const ::std::os::raw::c_void)
                                                  -> ::std::os::raw::c_int>)
     -> *mut ::std::os::raw::c_void;
    pub fn lfind(_Key: *const ::std::os::raw::c_void,
                 _Base: *const ::std::os::raw::c_void,
                 _NumOfElements: *mut ::std::os::raw::c_uint,
                 _SizeOfElements: ::std::os::raw::c_uint,
                 _PtFuncCompare:
                     ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                    *const ::std::os::raw::c_void,
                                                                arg2:
                                                                    *const ::std::os::raw::c_void)
                                               -> ::std::os::raw::c_int>)
     -> *mut ::std::os::raw::c_void;
    pub fn lsearch(_Key: *const ::std::os::raw::c_void,
                   _Base: *mut ::std::os::raw::c_void,
                   _NumOfElements: *mut ::std::os::raw::c_uint,
                   _SizeOfElements: ::std::os::raw::c_uint,
                   _PtFuncCompare:
                       ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                      *const ::std::os::raw::c_void,
                                                                  arg2:
                                                                      *const ::std::os::raw::c_void)
                                                 -> ::std::os::raw::c_int>)
     -> *mut ::std::os::raw::c_void;
    pub fn _itow_s(_Value: ::std::os::raw::c_int, _Buffer: *mut wchar_t,
                   _BufferCount: size_t, _Radix: ::std::os::raw::c_int)
     -> errno_t;
    pub fn _itow(_Value: ::std::os::raw::c_int, _Buffer: *mut wchar_t,
                 _Radix: ::std::os::raw::c_int) -> *mut wchar_t;
    pub fn _ltow_s(_Value: ::std::os::raw::c_long, _Buffer: *mut wchar_t,
                   _BufferCount: size_t, _Radix: ::std::os::raw::c_int)
     -> errno_t;
    pub fn _ltow(_Value: ::std::os::raw::c_long, _Buffer: *mut wchar_t,
                 _Radix: ::std::os::raw::c_int) -> *mut wchar_t;
    pub fn _ultow_s(_Value: ::std::os::raw::c_ulong, _Buffer: *mut wchar_t,
                    _BufferCount: size_t, _Radix: ::std::os::raw::c_int)
     -> errno_t;
    pub fn _ultow(_Value: ::std::os::raw::c_ulong, _Buffer: *mut wchar_t,
                  _Radix: ::std::os::raw::c_int) -> *mut wchar_t;
    pub fn wcstod(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t) -> f64;
    pub fn _wcstod_l(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                     _Locale: _locale_t) -> f64;
    pub fn wcstol(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                  _Radix: ::std::os::raw::c_int) -> ::std::os::raw::c_long;
    pub fn _wcstol_l(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                     _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_long;
    pub fn wcstoll(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                   _Radix: ::std::os::raw::c_int)
     -> ::std::os::raw::c_longlong;
    pub fn _wcstoll_l(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                      _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_longlong;
    pub fn wcstoul(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                   _Radix: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
    pub fn _wcstoul_l(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                      _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_ulong;
    pub fn wcstoull(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                    _Radix: ::std::os::raw::c_int)
     -> ::std::os::raw::c_ulonglong;
    pub fn _wcstoull_l(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                       _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_ulonglong;
    pub fn wcstold(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t)
     -> f64;
    pub fn _wcstold_l(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                      _Locale: _locale_t) -> f64;
    pub fn wcstof(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t) -> f32;
    pub fn _wcstof_l(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                     _Locale: _locale_t) -> f32;
    pub fn _wtof(_String: *const wchar_t) -> f64;
    pub fn _wtof_l(_String: *const wchar_t, _Locale: _locale_t) -> f64;
    pub fn _wtoi(_String: *const wchar_t) -> ::std::os::raw::c_int;
    pub fn _wtoi_l(_String: *const wchar_t, _Locale: _locale_t)
     -> ::std::os::raw::c_int;
    pub fn _wtol(_String: *const wchar_t) -> ::std::os::raw::c_long;
    pub fn _wtol_l(_String: *const wchar_t, _Locale: _locale_t)
     -> ::std::os::raw::c_long;
    pub fn _wtoll(_String: *const wchar_t) -> ::std::os::raw::c_longlong;
    pub fn _wtoll_l(_String: *const wchar_t, _Locale: _locale_t)
     -> ::std::os::raw::c_longlong;
    pub fn _i64tow_s(_Value: ::std::os::raw::c_longlong,
                     _Buffer: *mut wchar_t, _BufferCount: size_t,
                     _Radix: ::std::os::raw::c_int) -> errno_t;
    pub fn _i64tow(_Value: ::std::os::raw::c_longlong, _Buffer: *mut wchar_t,
                   _Radix: ::std::os::raw::c_int) -> *mut wchar_t;
    pub fn _ui64tow_s(_Value: ::std::os::raw::c_ulonglong,
                      _Buffer: *mut wchar_t, _BufferCount: size_t,
                      _Radix: ::std::os::raw::c_int) -> errno_t;
    pub fn _ui64tow(_Value: ::std::os::raw::c_ulonglong,
                    _Buffer: *mut wchar_t, _Radix: ::std::os::raw::c_int)
     -> *mut wchar_t;
    pub fn _wtoi64(_String: *const wchar_t) -> ::std::os::raw::c_longlong;
    pub fn _wtoi64_l(_String: *const wchar_t, _Locale: _locale_t)
     -> ::std::os::raw::c_longlong;
    pub fn _wcstoi64(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                     _Radix: ::std::os::raw::c_int)
     -> ::std::os::raw::c_longlong;
    pub fn _wcstoi64_l(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                       _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_longlong;
    pub fn _wcstoui64(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                      _Radix: ::std::os::raw::c_int)
     -> ::std::os::raw::c_ulonglong;
    pub fn _wcstoui64_l(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t,
                        _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_ulonglong;
    pub fn _wfullpath(_Buffer: *mut wchar_t, _Path: *const wchar_t,
                      _BufferCount: size_t) -> *mut wchar_t;
    pub fn _wmakepath_s(_Buffer: *mut wchar_t, _BufferCount: size_t,
                        _Drive: *const wchar_t, _Dir: *const wchar_t,
                        _Filename: *const wchar_t, _Ext: *const wchar_t)
     -> errno_t;
    pub fn _wmakepath(_Buffer: *mut wchar_t, _Drive: *const wchar_t,
                      _Dir: *const wchar_t, _Filename: *const wchar_t,
                      _Ext: *const wchar_t);
    pub fn _wperror(_ErrorMessage: *const wchar_t);
    pub fn _wsplitpath(_FullPath: *const wchar_t, _Drive: *mut wchar_t,
                       _Dir: *mut wchar_t, _Filename: *mut wchar_t,
                       _Ext: *mut wchar_t);
    pub fn _wsplitpath_s(_FullPath: *const wchar_t, _Drive: *mut wchar_t,
                         _DriveCount: size_t, _Dir: *mut wchar_t,
                         _DirCount: size_t, _Filename: *mut wchar_t,
                         _FilenameCount: size_t, _Ext: *mut wchar_t,
                         _ExtCount: size_t) -> errno_t;
    pub fn _wdupenv_s(_Buffer: *mut *mut wchar_t, _BufferCount: *mut size_t,
                      _VarName: *const wchar_t) -> errno_t;
    pub fn _wgetenv(_VarName: *const wchar_t) -> *mut wchar_t;
    pub fn _wgetenv_s(_RequiredCount: *mut size_t, _Buffer: *mut wchar_t,
                      _BufferCount: size_t, _VarName: *const wchar_t)
     -> errno_t;
    pub fn _wputenv(_EnvString: *const wchar_t) -> ::std::os::raw::c_int;
    pub fn _wputenv_s(_Name: *const wchar_t, _Value: *const wchar_t)
     -> errno_t;
    pub fn _wsearchenv_s(_Filename: *const wchar_t, _VarName: *const wchar_t,
                         _Buffer: *mut wchar_t, _BufferCount: size_t)
     -> errno_t;
    pub fn _wsearchenv(_Filename: *const wchar_t, _VarName: *const wchar_t,
                       _ResultPath: *mut wchar_t);
    pub fn _wsystem(_Command: *const wchar_t) -> ::std::os::raw::c_int;
    pub fn _swab(_Buf1: *mut ::std::os::raw::c_char,
                 _Buf2: *mut ::std::os::raw::c_char,
                 _SizeInBytes: ::std::os::raw::c_int);
    pub fn exit(_Code: ::std::os::raw::c_int);
    pub fn _exit(_Code: ::std::os::raw::c_int);
    pub fn _Exit(_Code: ::std::os::raw::c_int);
    pub fn quick_exit(_Code: ::std::os::raw::c_int);
    pub fn abort();
    pub fn _set_abort_behavior(_Flags: ::std::os::raw::c_uint,
                               _Mask: ::std::os::raw::c_uint)
     -> ::std::os::raw::c_uint;
    pub fn atexit(arg1: ::std::option::Option<extern "C" fn()>)
     -> ::std::os::raw::c_int;
    pub fn _onexit(_Func: _onexit_t) -> _onexit_t;
    pub fn at_quick_exit(arg1: ::std::option::Option<extern "C" fn()>)
     -> ::std::os::raw::c_int;
    pub fn _set_purecall_handler(_Handler: _purecall_handler)
     -> _purecall_handler;
    pub fn _get_purecall_handler() -> _purecall_handler;
    pub fn _set_invalid_parameter_handler(_Handler:
                                              _invalid_parameter_handler)
     -> _invalid_parameter_handler;
    pub fn _get_invalid_parameter_handler() -> _invalid_parameter_handler;
    pub fn _set_thread_local_invalid_parameter_handler(_Handler:
                                                           _invalid_parameter_handler)
     -> _invalid_parameter_handler;
    pub fn _get_thread_local_invalid_parameter_handler()
     -> _invalid_parameter_handler;
    pub fn _set_error_mode(_Mode: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn __doserrno() -> *mut ::std::os::raw::c_ulong;
    pub fn _set_doserrno(_Value: ::std::os::raw::c_ulong) -> errno_t;
    pub fn _get_doserrno(_Value: *mut ::std::os::raw::c_ulong) -> errno_t;
    pub fn __sys_errlist() -> *mut *mut ::std::os::raw::c_char;
    pub fn __sys_nerr() -> *mut ::std::os::raw::c_int;
    pub fn perror(_ErrorMessage: *const ::std::os::raw::c_char);
    pub fn __p__pgmptr() -> *mut *mut ::std::os::raw::c_char;
    pub fn __p__wpgmptr() -> *mut *mut wchar_t;
    pub fn __p__fmode() -> *mut ::std::os::raw::c_int;
    pub fn _get_pgmptr(_Value: *mut *mut ::std::os::raw::c_char) -> errno_t;
    pub fn _get_wpgmptr(_Value: *mut *mut wchar_t) -> errno_t;
    pub fn _set_fmode(_Mode: ::std::os::raw::c_int) -> errno_t;
    pub fn _get_fmode(_PMode: *mut ::std::os::raw::c_int) -> errno_t;
    pub fn abs(_Number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn labs(_Number: ::std::os::raw::c_long) -> ::std::os::raw::c_long;
    pub fn llabs(_Number: ::std::os::raw::c_longlong)
     -> ::std::os::raw::c_longlong;
    pub fn _abs64(_Number: ::std::os::raw::c_longlong)
     -> ::std::os::raw::c_longlong;
    pub fn _byteswap_ushort(_Number: ::std::os::raw::c_ushort)
     -> ::std::os::raw::c_ushort;
    pub fn _byteswap_ulong(_Number: ::std::os::raw::c_ulong)
     -> ::std::os::raw::c_ulong;
    pub fn _byteswap_uint64(_Number: ::std::os::raw::c_ulonglong)
     -> ::std::os::raw::c_ulonglong;
    pub fn div(_Numerator: ::std::os::raw::c_int,
               _Denominator: ::std::os::raw::c_int) -> div_t;
    pub fn ldiv(_Numerator: ::std::os::raw::c_long,
                _Denominator: ::std::os::raw::c_long) -> ldiv_t;
    pub fn lldiv(_Numerator: ::std::os::raw::c_longlong,
                 _Denominator: ::std::os::raw::c_longlong) -> lldiv_t;
    pub fn _rotl(_Value: ::std::os::raw::c_uint,
                 _Shift: ::std::os::raw::c_int) -> ::std::os::raw::c_uint;
    pub fn _lrotl(_Value: ::std::os::raw::c_ulong,
                  _Shift: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
    pub fn _rotl64(_Value: ::std::os::raw::c_ulonglong,
                   _Shift: ::std::os::raw::c_int)
     -> ::std::os::raw::c_ulonglong;
    pub fn _rotr(_Value: ::std::os::raw::c_uint,
                 _Shift: ::std::os::raw::c_int) -> ::std::os::raw::c_uint;
    pub fn _lrotr(_Value: ::std::os::raw::c_ulong,
                  _Shift: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
    pub fn _rotr64(_Value: ::std::os::raw::c_ulonglong,
                   _Shift: ::std::os::raw::c_int)
     -> ::std::os::raw::c_ulonglong;
    pub fn srand(_Seed: ::std::os::raw::c_uint);
    pub fn rand() -> ::std::os::raw::c_int;
    pub fn atof(_String: *const ::std::os::raw::c_char) -> f64;
    pub fn atoi(_String: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn atol(_String: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_long;
    pub fn atoll(_String: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_longlong;
    pub fn _atoi64(_String: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_longlong;
    pub fn _atof_l(_String: *const ::std::os::raw::c_char, _Locale: _locale_t)
     -> f64;
    pub fn _atoi_l(_String: *const ::std::os::raw::c_char, _Locale: _locale_t)
     -> ::std::os::raw::c_int;
    pub fn _atol_l(_String: *const ::std::os::raw::c_char, _Locale: _locale_t)
     -> ::std::os::raw::c_long;
    pub fn _atoll_l(_String: *const ::std::os::raw::c_char,
                    _Locale: _locale_t) -> ::std::os::raw::c_longlong;
    pub fn _atoi64_l(_String: *const ::std::os::raw::c_char,
                     _Locale: _locale_t) -> ::std::os::raw::c_longlong;
    pub fn _atoflt(_Result: *mut _CRT_FLOAT,
                   _String: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn _atodbl(_Result: *mut _CRT_DOUBLE,
                   _String: *mut ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn _atoldbl(_Result: *mut _LDOUBLE,
                    _String: *mut ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn _atoflt_l(_Result: *mut _CRT_FLOAT,
                     _String: *const ::std::os::raw::c_char,
                     _Locale: _locale_t) -> ::std::os::raw::c_int;
    pub fn _atodbl_l(_Result: *mut _CRT_DOUBLE,
                     _String: *mut ::std::os::raw::c_char, _Locale: _locale_t)
     -> ::std::os::raw::c_int;
    pub fn _atoldbl_l(_Result: *mut _LDOUBLE,
                      _String: *mut ::std::os::raw::c_char,
                      _Locale: _locale_t) -> ::std::os::raw::c_int;
    pub fn strtof(_String: *const ::std::os::raw::c_char,
                  _EndPtr: *mut *mut ::std::os::raw::c_char) -> f32;
    pub fn _strtof_l(_String: *const ::std::os::raw::c_char,
                     _EndPtr: *mut *mut ::std::os::raw::c_char,
                     _Locale: _locale_t) -> f32;
    pub fn strtod(_String: *const ::std::os::raw::c_char,
                  _EndPtr: *mut *mut ::std::os::raw::c_char) -> f64;
    pub fn _strtod_l(_String: *const ::std::os::raw::c_char,
                     _EndPtr: *mut *mut ::std::os::raw::c_char,
                     _Locale: _locale_t) -> f64;
    pub fn strtold(_String: *const ::std::os::raw::c_char,
                   _EndPtr: *mut *mut ::std::os::raw::c_char) -> f64;
    pub fn _strtold_l(_String: *const ::std::os::raw::c_char,
                      _EndPtr: *mut *mut ::std::os::raw::c_char,
                      _Locale: _locale_t) -> f64;
    pub fn strtol(_String: *const ::std::os::raw::c_char,
                  _EndPtr: *mut *mut ::std::os::raw::c_char,
                  _Radix: ::std::os::raw::c_int) -> ::std::os::raw::c_long;
    pub fn _strtol_l(_String: *const ::std::os::raw::c_char,
                     _EndPtr: *mut *mut ::std::os::raw::c_char,
                     _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_long;
    pub fn strtoll(_String: *const ::std::os::raw::c_char,
                   _EndPtr: *mut *mut ::std::os::raw::c_char,
                   _Radix: ::std::os::raw::c_int)
     -> ::std::os::raw::c_longlong;
    pub fn _strtoll_l(_String: *const ::std::os::raw::c_char,
                      _EndPtr: *mut *mut ::std::os::raw::c_char,
                      _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_longlong;
    pub fn strtoul(_String: *const ::std::os::raw::c_char,
                   _EndPtr: *mut *mut ::std::os::raw::c_char,
                   _Radix: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
    pub fn _strtoul_l(_String: *const ::std::os::raw::c_char,
                      _EndPtr: *mut *mut ::std::os::raw::c_char,
                      _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_ulong;
    pub fn strtoull(_String: *const ::std::os::raw::c_char,
                    _EndPtr: *mut *mut ::std::os::raw::c_char,
                    _Radix: ::std::os::raw::c_int)
     -> ::std::os::raw::c_ulonglong;
    pub fn _strtoull_l(_String: *const ::std::os::raw::c_char,
                       _EndPtr: *mut *mut ::std::os::raw::c_char,
                       _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_ulonglong;
    pub fn _strtoi64(_String: *const ::std::os::raw::c_char,
                     _EndPtr: *mut *mut ::std::os::raw::c_char,
                     _Radix: ::std::os::raw::c_int)
     -> ::std::os::raw::c_longlong;
    pub fn _strtoi64_l(_String: *const ::std::os::raw::c_char,
                       _EndPtr: *mut *mut ::std::os::raw::c_char,
                       _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_longlong;
    pub fn _strtoui64(_String: *const ::std::os::raw::c_char,
                      _EndPtr: *mut *mut ::std::os::raw::c_char,
                      _Radix: ::std::os::raw::c_int)
     -> ::std::os::raw::c_ulonglong;
    pub fn _strtoui64_l(_String: *const ::std::os::raw::c_char,
                        _EndPtr: *mut *mut ::std::os::raw::c_char,
                        _Radix: ::std::os::raw::c_int, _Locale: _locale_t)
     -> ::std::os::raw::c_ulonglong;
    pub fn _itoa_s(_Value: ::std::os::raw::c_int,
                   _Buffer: *mut ::std::os::raw::c_char, _BufferCount: size_t,
                   _Radix: ::std::os::raw::c_int) -> errno_t;
    pub fn _itoa(_Value: ::std::os::raw::c_int,
                 _Buffer: *mut ::std::os::raw::c_char,
                 _Radix: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn _ltoa_s(_Value: ::std::os::raw::c_long,
                   _Buffer: *mut ::std::os::raw::c_char, _BufferCount: size_t,
                   _Radix: ::std::os::raw::c_int) -> errno_t;
    pub fn _ltoa(_Value: ::std::os::raw::c_long,
                 _Buffer: *mut ::std::os::raw::c_char,
                 _Radix: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn _ultoa_s(_Value: ::std::os::raw::c_ulong,
                    _Buffer: *mut ::std::os::raw::c_char,
                    _BufferCount: size_t, _Radix: ::std::os::raw::c_int)
     -> errno_t;
    pub fn _ultoa(_Value: ::std::os::raw::c_ulong,
                  _Buffer: *mut ::std::os::raw::c_char,
                  _Radix: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn _i64toa_s(_Value: ::std::os::raw::c_longlong,
                     _Buffer: *mut ::std::os::raw::c_char,
                     _BufferCount: size_t, _Radix: ::std::os::raw::c_int)
     -> errno_t;
    pub fn _i64toa(_Value: ::std::os::raw::c_longlong,
                   _Buffer: *mut ::std::os::raw::c_char,
                   _Radix: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn _ui64toa_s(_Value: ::std::os::raw::c_ulonglong,
                      _Buffer: *mut ::std::os::raw::c_char,
                      _BufferCount: size_t, _Radix: ::std::os::raw::c_int)
     -> errno_t;
    pub fn _ui64toa(_Value: ::std::os::raw::c_ulonglong,
                    _Buffer: *mut ::std::os::raw::c_char,
                    _Radix: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn _ecvt_s(_Buffer: *mut ::std::os::raw::c_char, _BufferCount: size_t,
                   _Value: f64, _DigitCount: ::std::os::raw::c_int,
                   _PtDec: *mut ::std::os::raw::c_int,
                   _PtSign: *mut ::std::os::raw::c_int) -> errno_t;
    pub fn _ecvt(_Value: f64, _DigitCount: ::std::os::raw::c_int,
                 _PtDec: *mut ::std::os::raw::c_int,
                 _PtSign: *mut ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn _fcvt_s(_Buffer: *mut ::std::os::raw::c_char, _BufferCount: size_t,
                   _Value: f64, _FractionalDigitCount: ::std::os::raw::c_int,
                   _PtDec: *mut ::std::os::raw::c_int,
                   _PtSign: *mut ::std::os::raw::c_int) -> errno_t;
    pub fn _fcvt(_Value: f64, _FractionalDigitCount: ::std::os::raw::c_int,
                 _PtDec: *mut ::std::os::raw::c_int,
                 _PtSign: *mut ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn _gcvt_s(_Buffer: *mut ::std::os::raw::c_char, _BufferCount: size_t,
                   _Value: f64, _DigitCount: ::std::os::raw::c_int)
     -> errno_t;
    pub fn _gcvt(_Value: f64, _DigitCount: ::std::os::raw::c_int,
                 _Buffer: *mut ::std::os::raw::c_char)
     -> *mut ::std::os::raw::c_char;
    pub fn ___mb_cur_max_func() -> ::std::os::raw::c_int;
    pub fn ___mb_cur_max_l_func(arg1: _locale_t) -> ::std::os::raw::c_int;
    pub fn mblen(_Ch: *const ::std::os::raw::c_char, _MaxCount: size_t)
     -> ::std::os::raw::c_int;
    pub fn _mblen_l(_Ch: *const ::std::os::raw::c_char, _MaxCount: size_t,
                    _Locale: _locale_t) -> ::std::os::raw::c_int;
    pub fn _mbstrlen(_String: *const ::std::os::raw::c_char) -> size_t;
    pub fn _mbstrlen_l(_String: *const ::std::os::raw::c_char,
                       _Locale: _locale_t) -> size_t;
    pub fn _mbstrnlen(_String: *const ::std::os::raw::c_char,
                      _MaxCount: size_t) -> size_t;
    pub fn _mbstrnlen_l(_String: *const ::std::os::raw::c_char,
                        _MaxCount: size_t, _Locale: _locale_t) -> size_t;
    pub fn mbtowc(_DstCh: *mut wchar_t, _SrcCh: *const ::std::os::raw::c_char,
                  _SrcSizeInBytes: size_t) -> ::std::os::raw::c_int;
    pub fn _mbtowc_l(_DstCh: *mut wchar_t,
                     _SrcCh: *const ::std::os::raw::c_char,
                     _SrcSizeInBytes: size_t, _Locale: _locale_t)
     -> ::std::os::raw::c_int;
    pub fn mbstowcs_s(_PtNumOfCharConverted: *mut size_t,
                      _DstBuf: *mut wchar_t, _SizeInWords: size_t,
                      _SrcBuf: *const ::std::os::raw::c_char,
                      _MaxCount: size_t) -> errno_t;
    pub fn mbstowcs(_Dest: *mut wchar_t,
                    _Source: *const ::std::os::raw::c_char, _MaxCount: size_t)
     -> size_t;
    pub fn _mbstowcs_s_l(_PtNumOfCharConverted: *mut size_t,
                         _DstBuf: *mut wchar_t, _SizeInWords: size_t,
                         _SrcBuf: *const ::std::os::raw::c_char,
                         _MaxCount: size_t, _Locale: _locale_t) -> errno_t;
    pub fn _mbstowcs_l(_Dest: *mut wchar_t,
                       _Source: *const ::std::os::raw::c_char,
                       _MaxCount: size_t, _Locale: _locale_t) -> size_t;
    pub fn wctomb(_MbCh: *mut ::std::os::raw::c_char, _WCh: wchar_t)
     -> ::std::os::raw::c_int;
    pub fn _wctomb_l(_MbCh: *mut ::std::os::raw::c_char, _WCh: wchar_t,
                     _Locale: _locale_t) -> ::std::os::raw::c_int;
    pub fn wctomb_s(_SizeConverted: *mut ::std::os::raw::c_int,
                    _MbCh: *mut ::std::os::raw::c_char, _SizeInBytes: rsize_t,
                    _WCh: wchar_t) -> errno_t;
    pub fn _wctomb_s_l(_SizeConverted: *mut ::std::os::raw::c_int,
                       _MbCh: *mut ::std::os::raw::c_char,
                       _SizeInBytes: size_t, _WCh: wchar_t,
                       _Locale: _locale_t) -> errno_t;
    pub fn wcstombs_s(_PtNumOfCharConverted: *mut size_t,
                      _Dst: *mut ::std::os::raw::c_char,
                      _DstSizeInBytes: size_t, _Src: *const wchar_t,
                      _MaxCountInBytes: size_t) -> errno_t;
    pub fn wcstombs(_Dest: *mut ::std::os::raw::c_char,
                    _Source: *const wchar_t, _MaxCount: size_t) -> size_t;
    pub fn _wcstombs_s_l(_PtNumOfCharConverted: *mut size_t,
                         _Dst: *mut ::std::os::raw::c_char,
                         _DstSizeInBytes: size_t, _Src: *const wchar_t,
                         _MaxCountInBytes: size_t, _Locale: _locale_t)
     -> errno_t;
    pub fn _wcstombs_l(_Dest: *mut ::std::os::raw::c_char,
                       _Source: *const wchar_t, _MaxCount: size_t,
                       _Locale: _locale_t) -> size_t;
    pub fn _fullpath(_Buffer: *mut ::std::os::raw::c_char,
                     _Path: *const ::std::os::raw::c_char,
                     _BufferCount: size_t) -> *mut ::std::os::raw::c_char;
    pub fn _makepath_s(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t,
                       _Drive: *const ::std::os::raw::c_char,
                       _Dir: *const ::std::os::raw::c_char,
                       _Filename: *const ::std::os::raw::c_char,
                       _Ext: *const ::std::os::raw::c_char) -> errno_t;
    pub fn _makepath(_Buffer: *mut ::std::os::raw::c_char,
                     _Drive: *const ::std::os::raw::c_char,
                     _Dir: *const ::std::os::raw::c_char,
                     _Filename: *const ::std::os::raw::c_char,
                     _Ext: *const ::std::os::raw::c_char);
    pub fn _splitpath(_FullPath: *const ::std::os::raw::c_char,
                      _Drive: *mut ::std::os::raw::c_char,
                      _Dir: *mut ::std::os::raw::c_char,
                      _Filename: *mut ::std::os::raw::c_char,
                      _Ext: *mut ::std::os::raw::c_char);
    pub fn _splitpath_s(_FullPath: *const ::std::os::raw::c_char,
                        _Drive: *mut ::std::os::raw::c_char,
                        _DriveCount: size_t,
                        _Dir: *mut ::std::os::raw::c_char, _DirCount: size_t,
                        _Filename: *mut ::std::os::raw::c_char,
                        _FilenameCount: size_t,
                        _Ext: *mut ::std::os::raw::c_char, _ExtCount: size_t)
     -> errno_t;
    pub fn getenv_s(_RequiredCount: *mut size_t,
                    _Buffer: *mut ::std::os::raw::c_char,
                    _BufferCount: rsize_t,
                    _VarName: *const ::std::os::raw::c_char) -> errno_t;
    pub fn __p___argc() -> *mut ::std::os::raw::c_int;
    pub fn __p___argv() -> *mut *mut *mut ::std::os::raw::c_char;
    pub fn __p___wargv() -> *mut *mut *mut wchar_t;
    pub fn __p__environ() -> *mut *mut *mut ::std::os::raw::c_char;
    pub fn __p__wenviron() -> *mut *mut *mut wchar_t;
    pub fn getenv(_VarName: *const ::std::os::raw::c_char)
     -> *mut ::std::os::raw::c_char;
    pub fn _dupenv_s(_Buffer: *mut *mut ::std::os::raw::c_char,
                     _BufferCount: *mut size_t,
                     _VarName: *const ::std::os::raw::c_char) -> errno_t;
    pub fn system(_Command: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn _putenv(_EnvString: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn _putenv_s(_Name: *const ::std::os::raw::c_char,
                     _Value: *const ::std::os::raw::c_char) -> errno_t;
    pub fn _searchenv_s(_Filename: *const ::std::os::raw::c_char,
                        _VarName: *const ::std::os::raw::c_char,
                        _Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t) -> errno_t;
    pub fn _searchenv(_Filename: *const ::std::os::raw::c_char,
                      _VarName: *const ::std::os::raw::c_char,
                      _Buffer: *mut ::std::os::raw::c_char);
    pub fn _seterrormode(_Mode: ::std::os::raw::c_int);
    pub fn _beep(_Frequency: ::std::os::raw::c_uint,
                 _Duration: ::std::os::raw::c_uint);
    pub fn _sleep(_Duration: ::std::os::raw::c_ulong);
    pub fn ecvt(_Value: f64, _DigitCount: ::std::os::raw::c_int,
                _PtDec: *mut ::std::os::raw::c_int,
                _PtSign: *mut ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn fcvt(_Value: f64, _FractionalDigitCount: ::std::os::raw::c_int,
                _PtDec: *mut ::std::os::raw::c_int,
                _PtSign: *mut ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn gcvt(_Value: f64, _DigitCount: ::std::os::raw::c_int,
                _DstBuf: *mut ::std::os::raw::c_char)
     -> *mut ::std::os::raw::c_char;
    pub fn itoa(_Value: ::std::os::raw::c_int,
                _Buffer: *mut ::std::os::raw::c_char,
                _Radix: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
    pub fn ltoa(_Value: ::std::os::raw::c_long,
                _Buffer: *mut ::std::os::raw::c_char,
                _Radix: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
    pub fn swab(_Buf1: *mut ::std::os::raw::c_char,
                _Buf2: *mut ::std::os::raw::c_char,
                _SizeInBytes: ::std::os::raw::c_int);
    pub fn ultoa(_Value: ::std::os::raw::c_ulong,
                 _Buffer: *mut ::std::os::raw::c_char,
                 _Radix: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
    pub fn putenv(_EnvString: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn onexit(_Func: _onexit_t) -> _onexit_t;
    pub fn double_to_uint64_helper(d: f64) -> uint64_T;
    pub fn mxMalloc(n: size_t) -> *mut ::std::os::raw::c_void;
    pub fn mxCalloc(n: size_t, size: size_t) -> *mut ::std::os::raw::c_void;
    pub fn mxFree(ptr: *mut ::std::os::raw::c_void);
    pub fn mxRealloc(ptr: *mut ::std::os::raw::c_void, size: size_t)
     -> *mut ::std::os::raw::c_void;
    pub fn mxGetNumberOfDimensions_730(pa: *const mxArray) -> size_t;
    pub fn mxGetNumberOfDimensions_700(pa: *const mxArray)
     -> ::std::os::raw::c_int;
    pub fn mxGetDimensions_730(pa: *const mxArray) -> *const size_t;
    pub fn mxGetDimensions_700(pa: *const mxArray)
     -> *const ::std::os::raw::c_int;
    pub fn mxGetM(pa: *const mxArray) -> size_t;
    pub fn mxGetIr_730(pa: *const mxArray) -> *mut size_t;
    pub fn mxGetIr_700(pa: *const mxArray) -> *mut ::std::os::raw::c_int;
    pub fn mxGetJc_730(pa: *const mxArray) -> *mut size_t;
    pub fn mxGetJc_700(pa: *const mxArray) -> *mut ::std::os::raw::c_int;
    pub fn mxGetNzmax_730(pa: *const mxArray) -> size_t;
    pub fn mxGetNzmax_700(pa: *const mxArray) -> ::std::os::raw::c_int;
    pub fn mxSetNzmax_730(pa: *mut mxArray, nzmax: size_t);
    pub fn mxSetNzmax_700(pa: *mut mxArray, nzmax: ::std::os::raw::c_int);
    pub fn mxGetFieldNameByNumber(pa: *const mxArray,
                                  n: ::std::os::raw::c_int)
     -> *const ::std::os::raw::c_char;
    pub fn mxGetFieldByNumber_730(pa: *const mxArray, i: size_t,
                                  fieldnum: ::std::os::raw::c_int)
     -> *mut mxArray;
    pub fn mxGetFieldByNumber_700(pa: *const mxArray,
                                  i: ::std::os::raw::c_int,
                                  fieldnum: ::std::os::raw::c_int)
     -> *mut mxArray;
    pub fn mxGetCell_730(pa: *const mxArray, i: size_t) -> *mut mxArray;
    pub fn mxGetCell_700(pa: *const mxArray, i: ::std::os::raw::c_int)
     -> *mut mxArray;
    pub fn mxGetClassID(pa: *const mxArray) -> mxClassID;
    pub fn mxGetData(pa: *const mxArray) -> *mut ::std::os::raw::c_void;
    pub fn mxSetData(pa: *mut mxArray, newdata: *mut ::std::os::raw::c_void);
    pub fn mxIsNumeric(pa: *const mxArray) -> bool_;
    pub fn mxIsCell(pa: *const mxArray) -> bool_;
    pub fn mxIsLogical(pa: *const mxArray) -> bool_;
    pub fn mxIsScalar(pa: *const mxArray) -> bool_;
    pub fn mxIsChar(pa: *const mxArray) -> bool_;
    pub fn mxIsStruct(pa: *const mxArray) -> bool_;
    pub fn mxIsOpaque(pa: *const mxArray) -> bool_;
    pub fn mxIsFunctionHandle(pa: *const mxArray) -> bool_;
    pub fn mxIsObject(pa: *const mxArray) -> bool_;
    pub fn mxGetImagData(pa: *const mxArray) -> *mut ::std::os::raw::c_void;
    pub fn mxSetImagData(pa: *mut mxArray,
                         newdata: *mut ::std::os::raw::c_void);
    pub fn mxIsComplex(pa: *const mxArray) -> bool_;
    pub fn mxIsSparse(pa: *const mxArray) -> bool_;
    pub fn mxIsDouble(pa: *const mxArray) -> bool_;
    pub fn mxIsSingle(pa: *const mxArray) -> bool_;
    pub fn mxIsInt8(pa: *const mxArray) -> bool_;
    pub fn mxIsUint8(pa: *const mxArray) -> bool_;
    pub fn mxIsInt16(pa: *const mxArray) -> bool_;
    pub fn mxIsUint16(pa: *const mxArray) -> bool_;
    pub fn mxIsInt32(pa: *const mxArray) -> bool_;
    pub fn mxIsUint32(pa: *const mxArray) -> bool_;
    pub fn mxIsInt64(pa: *const mxArray) -> bool_;
    pub fn mxIsUint64(pa: *const mxArray) -> bool_;
    pub fn mxGetNumberOfElements(pa: *const mxArray) -> size_t;
    pub fn mxGetPr(pa: *const mxArray) -> *mut f64;
    pub fn mxSetPr(pa: *mut mxArray, pr: *mut f64);
    pub fn mxGetPi(pa: *const mxArray) -> *mut f64;
    pub fn mxSetPi(pa: *mut mxArray, pi: *mut f64);
    pub fn mxGetChars(pa: *const mxArray) -> *mut mxChar;
    pub fn mxGetUserBits(pa: *const mxArray) -> ::std::os::raw::c_int;
    pub fn mxSetUserBits(pa: *mut mxArray, value: ::std::os::raw::c_int);
    pub fn mxGetScalar(pa: *const mxArray) -> f64;
    pub fn mxIsFromGlobalWS(pa: *const mxArray) -> bool_;
    pub fn mxSetFromGlobalWS(pa: *mut mxArray, global: bool_);
    pub fn mxSetM_730(pa: *mut mxArray, m: size_t);
    pub fn mxSetM_700(pa: *mut mxArray, m: ::std::os::raw::c_int);
    pub fn mxGetN(pa: *const mxArray) -> size_t;
    pub fn mxIsEmpty(pa: *const mxArray) -> bool_;
    pub fn mxGetFieldNumber(pa: *const mxArray,
                            name: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn mxSetIr_730(pa: *mut mxArray, newir: *mut size_t);
    pub fn mxSetIr_700(pa: *mut mxArray, newir: *mut ::std::os::raw::c_int);
    pub fn mxSetJc_730(pa: *mut mxArray, newjc: *mut size_t);
    pub fn mxSetJc_700(pa: *mut mxArray, newjc: *mut ::std::os::raw::c_int);
    pub fn mxGetElementSize(pa: *const mxArray) -> size_t;
    pub fn mxCalcSingleSubscript_730(pa: *const mxArray, nsubs: size_t,
                                     subs: *const size_t) -> size_t;
    pub fn mxCalcSingleSubscript_700(pa: *const mxArray,
                                     nsubs: ::std::os::raw::c_int,
                                     subs: *const ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn mxGetNumberOfFields(pa: *const mxArray) -> ::std::os::raw::c_int;
    pub fn mxSetCell_730(pa: *mut mxArray, i: size_t, value: *mut mxArray);
    pub fn mxSetCell_700(pa: *mut mxArray, i: ::std::os::raw::c_int,
                         value: *mut mxArray);
    pub fn mxSetFieldByNumber_730(pa: *mut mxArray, i: size_t,
                                  fieldnum: ::std::os::raw::c_int,
                                  value: *mut mxArray);
    pub fn mxSetFieldByNumber_700(pa: *mut mxArray, i: ::std::os::raw::c_int,
                                  fieldnum: ::std::os::raw::c_int,
                                  value: *mut mxArray);
    pub fn mxGetField_730(pa: *const mxArray, i: size_t,
                          fieldname: *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxGetField_700(pa: *const mxArray, i: ::std::os::raw::c_int,
                          fieldname: *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxSetField_730(pa: *mut mxArray, i: size_t,
                          fieldname: *const ::std::os::raw::c_char,
                          value: *mut mxArray);
    pub fn mxSetField_700(pa: *mut mxArray, i: ::std::os::raw::c_int,
                          fieldname: *const ::std::os::raw::c_char,
                          value: *mut mxArray);
    pub fn mxGetProperty_730(pa: *const mxArray, i: size_t,
                             propname: *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxGetProperty_700(pa: *const mxArray, i: ::std::os::raw::c_int,
                             propname: *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxSetProperty_730(pa: *mut mxArray, i: size_t,
                             propname: *const ::std::os::raw::c_char,
                             value: *const mxArray);
    pub fn mxSetProperty_700(pa: *mut mxArray, i: ::std::os::raw::c_int,
                             propname: *const ::std::os::raw::c_char,
                             value: *const mxArray);
    pub fn mxGetClassName(pa: *const mxArray)
     -> *const ::std::os::raw::c_char;
    pub fn mxIsClass(pa: *const mxArray, name: *const ::std::os::raw::c_char)
     -> bool_;
    pub fn mxCreateNumericMatrix_730(m: size_t, n: size_t, classid: mxClassID,
                                     flag: mxComplexity) -> *mut mxArray;
    pub fn mxCreateNumericMatrix_700(m: ::std::os::raw::c_int,
                                     n: ::std::os::raw::c_int,
                                     classid: mxClassID, flag: mxComplexity)
     -> *mut mxArray;
    pub fn mxCreateUninitNumericMatrix(m: size_t, n: size_t,
                                       classid: mxClassID, flag: mxComplexity)
     -> *mut mxArray;
    pub fn mxCreateUninitNumericArray(ndim: size_t, dims: *mut size_t,
                                      classid: mxClassID, flag: mxComplexity)
     -> *mut mxArray;
    pub fn mxSetN_730(pa: *mut mxArray, n: size_t);
    pub fn mxSetN_700(pa: *mut mxArray, n: ::std::os::raw::c_int);
    pub fn mxSetDimensions_730(pa: *mut mxArray, pdims: *const size_t,
                               ndims: size_t) -> ::std::os::raw::c_int;
    pub fn mxSetDimensions_700(pa: *mut mxArray,
                               pdims: *const ::std::os::raw::c_int,
                               ndims: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn mxDestroyArray(pa: *mut mxArray);
    pub fn mxCreateNumericArray_730(ndim: size_t, dims: *const size_t,
                                    classid: mxClassID, flag: mxComplexity)
     -> *mut mxArray;
    pub fn mxCreateNumericArray_700(ndim: ::std::os::raw::c_int,
                                    dims: *const ::std::os::raw::c_int,
                                    classid: mxClassID, flag: mxComplexity)
     -> *mut mxArray;
    pub fn mxCreateCharArray_730(ndim: size_t, dims: *const size_t)
     -> *mut mxArray;
    pub fn mxCreateCharArray_700(ndim: ::std::os::raw::c_int,
                                 dims: *const ::std::os::raw::c_int)
     -> *mut mxArray;
    pub fn mxCreateDoubleMatrix_730(m: size_t, n: size_t, flag: mxComplexity)
     -> *mut mxArray;
    pub fn mxCreateDoubleMatrix_700(m: ::std::os::raw::c_int,
                                    n: ::std::os::raw::c_int,
                                    flag: mxComplexity) -> *mut mxArray;
    pub fn mxGetLogicals(pa: *const mxArray) -> *mut mxLogical;
    pub fn mxCreateLogicalArray_730(ndim: size_t, dims: *const size_t)
     -> *mut mxArray;
    pub fn mxCreateLogicalArray_700(ndim: ::std::os::raw::c_int,
                                    dims: *const ::std::os::raw::c_int)
     -> *mut mxArray;
    pub fn mxCreateLogicalMatrix_730(m: size_t, n: size_t) -> *mut mxArray;
    pub fn mxCreateLogicalMatrix_700(m: ::std::os::raw::c_int,
                                     n: ::std::os::raw::c_int)
     -> *mut mxArray;
    pub fn mxCreateLogicalScalar(value: bool_) -> *mut mxArray;
    pub fn mxIsLogicalScalar(pa: *const mxArray) -> bool_;
    pub fn mxIsLogicalScalarTrue(pa: *const mxArray) -> bool_;
    pub fn mxCreateDoubleScalar(value: f64) -> *mut mxArray;
    pub fn mxCreateSparse_730(m: size_t, n: size_t, nzmax: size_t,
                              flag: mxComplexity) -> *mut mxArray;
    pub fn mxCreateSparse_700(m: ::std::os::raw::c_int,
                              n: ::std::os::raw::c_int,
                              nzmax: ::std::os::raw::c_int,
                              flag: mxComplexity) -> *mut mxArray;
    pub fn mxCreateSparseLogicalMatrix_730(m: size_t, n: size_t,
                                           nzmax: size_t) -> *mut mxArray;
    pub fn mxCreateSparseLogicalMatrix_700(m: ::std::os::raw::c_int,
                                           n: ::std::os::raw::c_int,
                                           nzmax: ::std::os::raw::c_int)
     -> *mut mxArray;
    pub fn mxGetNChars_730(pa: *const mxArray,
                           buf: *mut ::std::os::raw::c_char, nChars: size_t);
    pub fn mxGetNChars_700(pa: *const mxArray,
                           buf: *mut ::std::os::raw::c_char,
                           nChars: ::std::os::raw::c_int);
    pub fn mxGetString_730(pa: *const mxArray,
                           buf: *mut ::std::os::raw::c_char, buflen: size_t)
     -> ::std::os::raw::c_int;
    pub fn mxGetString_700(pa: *const mxArray,
                           buf: *mut ::std::os::raw::c_char,
                           buflen: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn mxArrayToString(pa: *const mxArray) -> *mut ::std::os::raw::c_char;
    pub fn mxArrayToUTF8String(pa: *const mxArray)
     -> *mut ::std::os::raw::c_char;
    pub fn mxCreateStringFromNChars_730(str: *const ::std::os::raw::c_char,
                                        n: size_t) -> *mut mxArray;
    pub fn mxCreateStringFromNChars_700(str: *const ::std::os::raw::c_char,
                                        n: ::std::os::raw::c_int)
     -> *mut mxArray;
    pub fn mxCreateString(str: *const ::std::os::raw::c_char) -> *mut mxArray;
    pub fn mxCreateCharMatrixFromStrings_730(m: size_t,
                                             str:
                                                 *mut *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxCreateCharMatrixFromStrings_700(m: ::std::os::raw::c_int,
                                             str:
                                                 *mut *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxCreateCellMatrix_730(m: size_t, n: size_t) -> *mut mxArray;
    pub fn mxCreateCellMatrix_700(m: ::std::os::raw::c_int,
                                  n: ::std::os::raw::c_int) -> *mut mxArray;
    pub fn mxCreateCellArray_730(ndim: size_t, dims: *const size_t)
     -> *mut mxArray;
    pub fn mxCreateCellArray_700(ndim: ::std::os::raw::c_int,
                                 dims: *const ::std::os::raw::c_int)
     -> *mut mxArray;
    pub fn mxCreateStructMatrix_730(m: size_t, n: size_t,
                                    nfields: ::std::os::raw::c_int,
                                    fieldnames:
                                        *mut *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxCreateStructMatrix_700(m: ::std::os::raw::c_int,
                                    n: ::std::os::raw::c_int,
                                    nfields: ::std::os::raw::c_int,
                                    fieldnames:
                                        *mut *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxCreateStructArray_730(ndim: size_t, dims: *const size_t,
                                   nfields: ::std::os::raw::c_int,
                                   fieldnames:
                                       *mut *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxCreateStructArray_700(ndim: ::std::os::raw::c_int,
                                   dims: *const ::std::os::raw::c_int,
                                   nfields: ::std::os::raw::c_int,
                                   fieldnames:
                                       *mut *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mxDuplicateArray(in_: *const mxArray) -> *mut mxArray;
    pub fn mxSetClassName(pa: *mut mxArray,
                          classname: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn mxAddField(pa: *mut mxArray,
                      fieldname: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn mxRemoveField(pa: *mut mxArray, field: ::std::os::raw::c_int);
    pub fn mxGetEps() -> f64;
    pub fn mxGetInf() -> f64;
    pub fn mxGetNaN() -> f64;
    pub fn mxIsFinite(x: f64) -> bool_;
    pub fn mxIsInf(x: f64) -> bool_;
    pub fn mxIsNaN(x: f64) -> bool_;
    pub fn mexFunction(nlhs: ::std::os::raw::c_int, plhs: *mut *mut mxArray,
                       nrhs: ::std::os::raw::c_int,
                       prhs: *mut *const mxArray);
    pub fn __local_stdio_printf_options() -> *mut ::std::os::raw::c_ulonglong;
    pub fn __local_stdio_scanf_options() -> *mut ::std::os::raw::c_ulonglong;
    pub fn __acrt_iob_func(arg1: ::std::os::raw::c_uint) -> *mut FILE;
    pub fn fgetwc(_Stream: *mut FILE) -> wint_t;
    pub fn _fgetwchar() -> wint_t;
    pub fn fputwc(_Character: wchar_t, _Stream: *mut FILE) -> wint_t;
    pub fn _fputwchar(_Character: wchar_t) -> wint_t;
    pub fn getwc(_Stream: *mut FILE) -> wint_t;
    pub fn getwchar() -> wint_t;
    pub fn fgetws(_Buffer: *mut wchar_t, _BufferCount: ::std::os::raw::c_int,
                  _Stream: *mut FILE) -> *mut wchar_t;
    pub fn fputws(_Buffer: *const wchar_t, _Stream: *mut FILE)
     -> ::std::os::raw::c_int;
    pub fn _getws_s(_Buffer: *mut wchar_t, _BufferCount: size_t)
     -> *mut wchar_t;
    pub fn putwc(_Character: wchar_t, _Stream: *mut FILE) -> wint_t;
    pub fn putwchar(_Character: wchar_t) -> wint_t;
    pub fn _putws(_Buffer: *const wchar_t) -> ::std::os::raw::c_int;
    pub fn ungetwc(_Character: wint_t, _Stream: *mut FILE) -> wint_t;
    pub fn _wfdopen(_FileHandle: ::std::os::raw::c_int, _Mode: *const wchar_t)
     -> *mut FILE;
    pub fn _wfopen(_FileName: *const wchar_t, _Mode: *const wchar_t)
     -> *mut FILE;
    pub fn _wfopen_s(_Stream: *mut *mut FILE, _FileName: *const wchar_t,
                     _Mode: *const wchar_t) -> errno_t;
    pub fn _wfreopen(_FileName: *const wchar_t, _Mode: *const wchar_t,
                     _OldStream: *mut FILE) -> *mut FILE;
    pub fn _wfreopen_s(_Stream: *mut *mut FILE, _FileName: *const wchar_t,
                       _Mode: *const wchar_t, _OldStream: *mut FILE)
     -> errno_t;
    pub fn _wfsopen(_FileName: *const wchar_t, _Mode: *const wchar_t,
                    _ShFlag: ::std::os::raw::c_int) -> *mut FILE;
    pub fn _wpopen(_Command: *const wchar_t, _Mode: *const wchar_t)
     -> *mut FILE;
    pub fn _wremove(_FileName: *const wchar_t) -> ::std::os::raw::c_int;
    pub fn _wtempnam(_Directory: *const wchar_t, _FilePrefix: *const wchar_t)
     -> *mut wchar_t;
    pub fn _wtmpnam_s(_Buffer: *mut wchar_t, _BufferCount: size_t) -> errno_t;
    pub fn _wtmpnam(_Buffer: *mut wchar_t) -> *mut wchar_t;
    pub fn _fgetwc_nolock(_Stream: *mut FILE) -> wint_t;
    pub fn _fputwc_nolock(_Character: wchar_t, _Stream: *mut FILE) -> wint_t;
    pub fn _getwc_nolock(_Stream: *mut FILE) -> wint_t;
    pub fn _putwc_nolock(_Character: wchar_t, _Stream: *mut FILE) -> wint_t;
    pub fn _ungetwc_nolock(_Character: wint_t, _Stream: *mut FILE) -> wint_t;
    pub fn __stdio_common_vfwprintf(_Options: ::std::os::raw::c_ulonglong,
                                    _Stream: *mut FILE,
                                    _Format: *const wchar_t,
                                    _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfwprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                      _Stream: *mut FILE,
                                      _Format: *const wchar_t,
                                      _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfwprintf_p(_Options: ::std::os::raw::c_ulonglong,
                                      _Stream: *mut FILE,
                                      _Format: *const wchar_t,
                                      _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vfwprintf_l(_Stream: *mut FILE, _Format: *const wchar_t,
                        _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vfwprintf(_Stream: *mut FILE, _Format: *const wchar_t,
                     _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vfwprintf_s_l(_Stream: *mut FILE, _Format: *const wchar_t,
                          _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vfwprintf_s(_Stream: *mut FILE, _Format: *const wchar_t,
                       _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vfwprintf_p_l(_Stream: *mut FILE, _Format: *const wchar_t,
                          _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vfwprintf_p(_Stream: *mut FILE, _Format: *const wchar_t,
                        _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vwprintf_l(_Format: *const wchar_t, _Locale: _locale_t,
                       _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn vwprintf(_Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vwprintf_s_l(_Format: *const wchar_t, _Locale: _locale_t,
                         _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn vwprintf_s(_Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vwprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t,
                         _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vwprintf_p(_Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _fwprintf_l(_Stream: *mut FILE, _Format: *const wchar_t,
                       _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn fwprintf(_Stream: *mut FILE, _Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _fwprintf_s_l(_Stream: *mut FILE, _Format: *const wchar_t,
                         _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn fwprintf_s(_Stream: *mut FILE, _Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _fwprintf_p_l(_Stream: *mut FILE, _Format: *const wchar_t,
                         _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _fwprintf_p(_Stream: *mut FILE, _Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _wprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _wprintf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn wprintf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _wprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _wprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfwscanf(_Options: ::std::os::raw::c_ulonglong,
                                   _Stream: *mut FILE,
                                   _Format: *const wchar_t,
                                   _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vfwscanf_l(_Stream: *mut FILE, _Format: *const wchar_t,
                       _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vfwscanf(_Stream: *mut FILE, _Format: *const wchar_t,
                    _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vfwscanf_s_l(_Stream: *mut FILE, _Format: *const wchar_t,
                         _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vfwscanf_s(_Stream: *mut FILE, _Format: *const wchar_t,
                      _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vwscanf_l(_Format: *const wchar_t, _Locale: _locale_t,
                      _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn vwscanf(_Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vwscanf_s_l(_Format: *const wchar_t, _Locale: _locale_t,
                        _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn vwscanf_s(_Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _fwscanf_l(_Stream: *mut FILE, _Format: *const wchar_t,
                      _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn fwscanf(_Stream: *mut FILE, _Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _fwscanf_s_l(_Stream: *mut FILE, _Format: *const wchar_t,
                        _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn fwscanf_s(_Stream: *mut FILE, _Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _wscanf_l(_Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _wscanf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn wscanf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn __stdio_common_vswprintf(_Options: ::std::os::raw::c_ulonglong,
                                    _Buffer: *mut wchar_t,
                                    _BufferCount: size_t,
                                    _Format: *const wchar_t,
                                    _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vswprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                      _Buffer: *mut wchar_t,
                                      _BufferCount: size_t,
                                      _Format: *const wchar_t,
                                      _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsnwprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                       _Buffer: *mut wchar_t,
                                       _BufferCount: size_t,
                                       _MaxCount: size_t,
                                       _Format: *const wchar_t,
                                       _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vswprintf_p(_Options: ::std::os::raw::c_ulonglong,
                                      _Buffer: *mut wchar_t,
                                      _BufferCount: size_t,
                                      _Format: *const wchar_t,
                                      _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsnwprintf_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                         _Format: *const wchar_t, _Locale: _locale_t,
                         _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vsnwprintf_s_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                           _MaxCount: size_t, _Format: *const wchar_t,
                           _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsnwprintf_s(_Buffer: *mut wchar_t, _BufferCount: size_t,
                         _MaxCount: size_t, _Format: *const wchar_t,
                         _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _snwprintf(_Buffer: *mut wchar_t, _BufferCount: size_t,
                      _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _vsnwprintf(_Buffer: *mut wchar_t, _BufferCount: size_t,
                       _Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vswprintf_c_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                          _Format: *const wchar_t, _Locale: _locale_t,
                          _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vswprintf_c(_Buffer: *mut wchar_t, _BufferCount: size_t,
                        _Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vswprintf_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                        _Format: *const wchar_t, _Locale: _locale_t,
                        _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn __vswprintf_l(_Buffer: *mut wchar_t, _Format: *const wchar_t,
                         _Locale: _locale_t, _Args: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vswprintf(_Buffer: *mut wchar_t, _Format: *const wchar_t,
                      _Args: va_list) -> ::std::os::raw::c_int;
    pub fn vswprintf(_Buffer: *mut wchar_t, _BufferCount: size_t,
                     _Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vswprintf_s_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                          _Format: *const wchar_t, _Locale: _locale_t,
                          _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn vswprintf_s(_Buffer: *mut wchar_t, _BufferCount: size_t,
                       _Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vswprintf_p_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                          _Format: *const wchar_t, _Locale: _locale_t,
                          _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vswprintf_p(_Buffer: *mut wchar_t, _BufferCount: size_t,
                        _Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vscwprintf_l(_Format: *const wchar_t, _Locale: _locale_t,
                         _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vscwprintf(_Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vscwprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t,
                           _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vscwprintf_p(_Format: *const wchar_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __swprintf_l(_Buffer: *mut wchar_t, _Format: *const wchar_t,
                        _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _swprintf_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                       _Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _swprintf(_Buffer: *mut wchar_t, _Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn swprintf(_Buffer: *mut wchar_t, _BufferCount: size_t,
                    _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _swprintf_s_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                         _Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn swprintf_s(_Buffer: *mut wchar_t, _BufferCount: size_t,
                      _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _swprintf_p_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                         _Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _swprintf_p(_Buffer: *mut wchar_t, _BufferCount: size_t,
                       _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _swprintf_c_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                         _Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _swprintf_c(_Buffer: *mut wchar_t, _BufferCount: size_t,
                       _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _snwprintf_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                        _Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _snwprintf_s_l(_Buffer: *mut wchar_t, _BufferCount: size_t,
                          _MaxCount: size_t, _Format: *const wchar_t,
                          _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _snwprintf_s(_Buffer: *mut wchar_t, _BufferCount: size_t,
                        _MaxCount: size_t, _Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _scwprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _scwprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _scwprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _scwprintf_p(_Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vswscanf(_Options: ::std::os::raw::c_ulonglong,
                                   _Buffer: *const wchar_t,
                                   _BufferCount: size_t,
                                   _Format: *const wchar_t,
                                   _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vswscanf_l(_Buffer: *const wchar_t, _Format: *const wchar_t,
                       _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vswscanf(_Buffer: *const wchar_t, _Format: *const wchar_t,
                    _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vswscanf_s_l(_Buffer: *const wchar_t, _Format: *const wchar_t,
                         _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vswscanf_s(_Buffer: *const wchar_t, _Format: *const wchar_t,
                      _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vsnwscanf_l(_Buffer: *const wchar_t, _BufferCount: size_t,
                        _Format: *const wchar_t, _Locale: _locale_t,
                        _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vsnwscanf_s_l(_Buffer: *const wchar_t, _BufferCount: size_t,
                          _Format: *const wchar_t, _Locale: _locale_t,
                          _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _swscanf_l(_Buffer: *const wchar_t, _Format: *const wchar_t,
                      _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn swscanf(_Buffer: *const wchar_t, _Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _swscanf_s_l(_Buffer: *const wchar_t, _Format: *const wchar_t,
                        _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn swscanf_s(_Buffer: *const wchar_t, _Format: *const wchar_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _snwscanf_l(_Buffer: *const wchar_t, _BufferCount: size_t,
                       _Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _snwscanf(_Buffer: *const wchar_t, _BufferCount: size_t,
                     _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _snwscanf_s_l(_Buffer: *const wchar_t, _BufferCount: size_t,
                         _Format: *const wchar_t, _Locale: _locale_t, ...)
     -> ::std::os::raw::c_int;
    pub fn _snwscanf_s(_Buffer: *const wchar_t, _BufferCount: size_t,
                       _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _get_stream_buffer_pointers(_Stream: *mut FILE,
                                       _Base:
                                           *mut *mut *mut ::std::os::raw::c_char,
                                       _Pointer:
                                           *mut *mut *mut ::std::os::raw::c_char,
                                       _Count:
                                           *mut *mut ::std::os::raw::c_int)
     -> errno_t;
    pub fn clearerr_s(_Stream: *mut FILE) -> errno_t;
    pub fn fopen_s(_Stream: *mut *mut FILE,
                   _FileName: *const ::std::os::raw::c_char,
                   _Mode: *const ::std::os::raw::c_char) -> errno_t;
    pub fn fread_s(_Buffer: *mut ::std::os::raw::c_void, _BufferSize: size_t,
                   _ElementSize: size_t, _ElementCount: size_t,
                   _Stream: *mut FILE) -> size_t;
    pub fn freopen_s(_Stream: *mut *mut FILE,
                     _FileName: *const ::std::os::raw::c_char,
                     _Mode: *const ::std::os::raw::c_char,
                     _OldStream: *mut FILE) -> errno_t;
    pub fn gets_s(_Buffer: *mut ::std::os::raw::c_char, _Size: rsize_t)
     -> *mut ::std::os::raw::c_char;
    pub fn tmpfile_s(_Stream: *mut *mut FILE) -> errno_t;
    pub fn tmpnam_s(_Buffer: *mut ::std::os::raw::c_char, _Size: rsize_t)
     -> errno_t;
    pub fn clearerr(_Stream: *mut FILE);
    pub fn fclose(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fcloseall() -> ::std::os::raw::c_int;
    pub fn _fdopen(_FileHandle: ::std::os::raw::c_int,
                   _Mode: *const ::std::os::raw::c_char) -> *mut FILE;
    pub fn feof(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn ferror(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn fflush(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn fgetc(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fgetchar() -> ::std::os::raw::c_int;
    pub fn fgetpos(_Stream: *mut FILE, _Position: *mut fpos_t)
     -> ::std::os::raw::c_int;
    pub fn fgets(_Buffer: *mut ::std::os::raw::c_char,
                 _MaxCount: ::std::os::raw::c_int, _Stream: *mut FILE)
     -> *mut ::std::os::raw::c_char;
    pub fn _fileno(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _flushall() -> ::std::os::raw::c_int;
    pub fn fopen(_FileName: *const ::std::os::raw::c_char,
                 _Mode: *const ::std::os::raw::c_char) -> *mut FILE;
    pub fn fputc(_Character: ::std::os::raw::c_int, _Stream: *mut FILE)
     -> ::std::os::raw::c_int;
    pub fn _fputchar(_Character: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn fputs(_Buffer: *const ::std::os::raw::c_char, _Stream: *mut FILE)
     -> ::std::os::raw::c_int;
    pub fn fread(_Buffer: *mut ::std::os::raw::c_void, _ElementSize: size_t,
                 _ElementCount: size_t, _Stream: *mut FILE) -> size_t;
    pub fn freopen(_FileName: *const ::std::os::raw::c_char,
                   _Mode: *const ::std::os::raw::c_char, _Stream: *mut FILE)
     -> *mut FILE;
    pub fn _fsopen(_FileName: *const ::std::os::raw::c_char,
                   _Mode: *const ::std::os::raw::c_char,
                   _ShFlag: ::std::os::raw::c_int) -> *mut FILE;
    pub fn fsetpos(_Stream: *mut FILE, _Position: *const fpos_t)
     -> ::std::os::raw::c_int;
    pub fn fseek(_Stream: *mut FILE, _Offset: ::std::os::raw::c_long,
                 _Origin: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn _fseeki64(_Stream: *mut FILE, _Offset: ::std::os::raw::c_longlong,
                     _Origin: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn ftell(_Stream: *mut FILE) -> ::std::os::raw::c_long;
    pub fn _ftelli64(_Stream: *mut FILE) -> ::std::os::raw::c_longlong;
    pub fn fwrite(_Buffer: *const ::std::os::raw::c_void,
                  _ElementSize: size_t, _ElementCount: size_t,
                  _Stream: *mut FILE) -> size_t;
    pub fn getc(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn getchar() -> ::std::os::raw::c_int;
    pub fn _getmaxstdio() -> ::std::os::raw::c_int;
    pub fn _getw(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _pclose(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _popen(_Command: *const ::std::os::raw::c_char,
                  _Mode: *const ::std::os::raw::c_char) -> *mut FILE;
    pub fn putc(_Character: ::std::os::raw::c_int, _Stream: *mut FILE)
     -> ::std::os::raw::c_int;
    pub fn putchar(_Character: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn puts(_Buffer: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn _putw(_Word: ::std::os::raw::c_int, _Stream: *mut FILE)
     -> ::std::os::raw::c_int;
    pub fn remove(_FileName: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn rename(_OldFileName: *const ::std::os::raw::c_char,
                  _NewFileName: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn _unlink(_FileName: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn unlink(_FileName: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn rewind(_Stream: *mut FILE);
    pub fn _rmtmp() -> ::std::os::raw::c_int;
    pub fn setbuf(_Stream: *mut FILE, _Buffer: *mut ::std::os::raw::c_char);
    pub fn _setmaxstdio(_Maximum: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn setvbuf(_Stream: *mut FILE, _Buffer: *mut ::std::os::raw::c_char,
                   _Mode: ::std::os::raw::c_int, _Size: size_t)
     -> ::std::os::raw::c_int;
    pub fn _tempnam(_DirectoryName: *const ::std::os::raw::c_char,
                    _FilePrefix: *const ::std::os::raw::c_char)
     -> *mut ::std::os::raw::c_char;
    pub fn tmpfile() -> *mut FILE;
    pub fn tmpnam(_Buffer: *mut ::std::os::raw::c_char)
     -> *mut ::std::os::raw::c_char;
    pub fn ungetc(_Character: ::std::os::raw::c_int, _Stream: *mut FILE)
     -> ::std::os::raw::c_int;
    pub fn _lock_file(_Stream: *mut FILE);
    pub fn _unlock_file(_Stream: *mut FILE);
    pub fn _fclose_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fflush_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fgetc_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fputc_nolock(_Character: ::std::os::raw::c_int,
                         _Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fread_nolock(_Buffer: *mut ::std::os::raw::c_void,
                         _ElementSize: size_t, _ElementCount: size_t,
                         _Stream: *mut FILE) -> size_t;
    pub fn _fread_nolock_s(_Buffer: *mut ::std::os::raw::c_void,
                           _BufferSize: size_t, _ElementSize: size_t,
                           _ElementCount: size_t, _Stream: *mut FILE)
     -> size_t;
    pub fn _fseek_nolock(_Stream: *mut FILE, _Offset: ::std::os::raw::c_long,
                         _Origin: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn _fseeki64_nolock(_Stream: *mut FILE,
                            _Offset: ::std::os::raw::c_longlong,
                            _Origin: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn _ftell_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_long;
    pub fn _ftelli64_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_longlong;
    pub fn _fwrite_nolock(_Buffer: *const ::std::os::raw::c_void,
                          _ElementSize: size_t, _ElementCount: size_t,
                          _Stream: *mut FILE) -> size_t;
    pub fn _getc_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _putc_nolock(_Character: ::std::os::raw::c_int, _Stream: *mut FILE)
     -> ::std::os::raw::c_int;
    pub fn _ungetc_nolock(_Character: ::std::os::raw::c_int,
                          _Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn __p__commode() -> *mut ::std::os::raw::c_int;
    pub fn __stdio_common_vfprintf(_Options: ::std::os::raw::c_ulonglong,
                                   _Stream: *mut FILE,
                                   _Format: *const ::std::os::raw::c_char,
                                   _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                     _Stream: *mut FILE,
                                     _Format: *const ::std::os::raw::c_char,
                                     _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfprintf_p(_Options: ::std::os::raw::c_ulonglong,
                                     _Stream: *mut FILE,
                                     _Format: *const ::std::os::raw::c_char,
                                     _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vfprintf_l(_Stream: *mut FILE,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vfprintf(_Stream: *mut FILE,
                    _Format: *const ::std::os::raw::c_char, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vfprintf_s_l(_Stream: *mut FILE,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vfprintf_s(_Stream: *mut FILE,
                      _Format: *const ::std::os::raw::c_char,
                      _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vfprintf_p_l(_Stream: *mut FILE,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vfprintf_p(_Stream: *mut FILE,
                       _Format: *const ::std::os::raw::c_char,
                       _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vprintf_l(_Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vprintf(_Format: *const ::std::os::raw::c_char, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vprintf_s_l(_Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vprintf_s(_Format: *const ::std::os::raw::c_char,
                     _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vprintf_p_l(_Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vprintf_p(_Format: *const ::std::os::raw::c_char,
                      _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _fprintf_l(_Stream: *mut FILE,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn fprintf(_Stream: *mut FILE,
                   _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _set_printf_count_output(_Value: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
    pub fn _get_printf_count_output() -> ::std::os::raw::c_int;
    pub fn _fprintf_s_l(_Stream: *mut FILE,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn fprintf_s(_Stream: *mut FILE,
                     _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _fprintf_p_l(_Stream: *mut FILE,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _fprintf_p(_Stream: *mut FILE,
                      _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _printf_l(_Format: *const ::std::os::raw::c_char,
                     _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn printf(_Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _printf_s_l(_Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn printf_s(_Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _printf_p_l(_Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _printf_p(_Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfscanf(_Options: ::std::os::raw::c_ulonglong,
                                  _Stream: *mut FILE,
                                  _Format: *const ::std::os::raw::c_char,
                                  _Locale: _locale_t, _Arglist: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vfscanf_l(_Stream: *mut FILE,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vfscanf(_Stream: *mut FILE, _Format: *const ::std::os::raw::c_char,
                   _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vfscanf_s_l(_Stream: *mut FILE,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vfscanf_s(_Stream: *mut FILE,
                     _Format: *const ::std::os::raw::c_char,
                     _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vscanf_l(_Format: *const ::std::os::raw::c_char,
                     _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vscanf(_Format: *const ::std::os::raw::c_char, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vscanf_s_l(_Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vscanf_s(_Format: *const ::std::os::raw::c_char, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _fscanf_l(_Stream: *mut FILE,
                     _Format: *const ::std::os::raw::c_char,
                     _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn fscanf(_Stream: *mut FILE,
                  _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _fscanf_s_l(_Stream: *mut FILE,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn fscanf_s(_Stream: *mut FILE,
                    _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _scanf_l(_Format: *const ::std::os::raw::c_char,
                    _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn scanf(_Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _scanf_s_l(_Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn scanf_s(_Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsprintf(_Options: ::std::os::raw::c_ulonglong,
                                   _Buffer: *mut ::std::os::raw::c_char,
                                   _BufferCount: size_t,
                                   _Format: *const ::std::os::raw::c_char,
                                   _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                     _Buffer: *mut ::std::os::raw::c_char,
                                     _BufferCount: size_t,
                                     _Format: *const ::std::os::raw::c_char,
                                     _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsnprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                      _Buffer: *mut ::std::os::raw::c_char,
                                      _BufferCount: size_t, _MaxCount: size_t,
                                      _Format: *const ::std::os::raw::c_char,
                                      _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsprintf_p(_Options: ::std::os::raw::c_ulonglong,
                                     _Buffer: *mut ::std::os::raw::c_char,
                                     _BufferCount: size_t,
                                     _Format: *const ::std::os::raw::c_char,
                                     _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsnprintf_l(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsnprintf(_Buffer: *mut ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char, _Args: va_list)
     -> ::std::os::raw::c_int;
    pub fn vsnprintf(_Buffer: *mut ::std::os::raw::c_char,
                     _BufferCount: size_t,
                     _Format: *const ::std::os::raw::c_char,
                     _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vsprintf_l(_Buffer: *mut ::std::os::raw::c_char,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vsprintf(_Buffer: *mut ::std::os::raw::c_char,
                    _Format: *const ::std::os::raw::c_char, _Args: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsprintf_s_l(_Buffer: *mut ::std::os::raw::c_char,
                         _BufferCount: size_t,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vsprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char,
                      _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vsprintf_p_l(_Buffer: *mut ::std::os::raw::c_char,
                         _BufferCount: size_t,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsprintf_p(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t,
                       _Format: *const ::std::os::raw::c_char,
                       _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vsnprintf_s_l(_Buffer: *mut ::std::os::raw::c_char,
                          _BufferCount: size_t, _MaxCount: size_t,
                          _Format: *const ::std::os::raw::c_char,
                          _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsnprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t, _MaxCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn vsnprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t, _MaxCount: size_t,
                       _Format: *const ::std::os::raw::c_char,
                       _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vscprintf_l(_Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vscprintf(_Format: *const ::std::os::raw::c_char,
                      _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vscprintf_p_l(_Format: *const ::std::os::raw::c_char,
                          _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vscprintf_p(_Format: *const ::std::os::raw::c_char,
                        _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vsnprintf_c_l(_Buffer: *mut ::std::os::raw::c_char,
                          _BufferCount: size_t,
                          _Format: *const ::std::os::raw::c_char,
                          _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsnprintf_c(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _sprintf_l(_Buffer: *mut ::std::os::raw::c_char,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn sprintf(_Buffer: *mut ::std::os::raw::c_char,
                   _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _sprintf_s_l(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn sprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                     _BufferCount: size_t,
                     _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _sprintf_p_l(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _sprintf_p(_Buffer: *mut ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _snprintf_l(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn snprintf(_Buffer: *mut ::std::os::raw::c_char,
                    _BufferCount: size_t,
                    _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _snprintf(_Buffer: *mut ::std::os::raw::c_char,
                     _BufferCount: size_t,
                     _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _snprintf_c_l(_Buffer: *mut ::std::os::raw::c_char,
                         _BufferCount: size_t,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _snprintf_c(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t,
                       _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _snprintf_s_l(_Buffer: *mut ::std::os::raw::c_char,
                         _BufferCount: size_t, _MaxCount: size_t,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _snprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t, _MaxCount: size_t,
                       _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _scprintf_l(_Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _scprintf(_Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _scprintf_p_l(_Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _scprintf_p(_Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsscanf(_Options: ::std::os::raw::c_ulonglong,
                                  _Buffer: *const ::std::os::raw::c_char,
                                  _BufferCount: size_t,
                                  _Format: *const ::std::os::raw::c_char,
                                  _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsscanf_l(_Buffer: *const ::std::os::raw::c_char,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vsscanf(_Buffer: *const ::std::os::raw::c_char,
                   _Format: *const ::std::os::raw::c_char, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn _vsscanf_s_l(_Buffer: *const ::std::os::raw::c_char,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, _ArgList: va_list)
     -> ::std::os::raw::c_int;
    pub fn vsscanf_s(_Buffer: *const ::std::os::raw::c_char,
                     _Format: *const ::std::os::raw::c_char,
                     _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _sscanf_l(_Buffer: *const ::std::os::raw::c_char,
                     _Format: *const ::std::os::raw::c_char,
                     _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn sscanf(_Buffer: *const ::std::os::raw::c_char,
                  _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _sscanf_s_l(_Buffer: *const ::std::os::raw::c_char,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn sscanf_s(_Buffer: *const ::std::os::raw::c_char,
                    _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _snscanf_l(_Buffer: *const ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _snscanf(_Buffer: *const ::std::os::raw::c_char,
                    _BufferCount: size_t,
                    _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn _snscanf_s_l(_Buffer: *const ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _snscanf_s(_Buffer: *const ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn tempnam(_Directory: *const ::std::os::raw::c_char,
                   _FilePrefix: *const ::std::os::raw::c_char)
     -> *mut ::std::os::raw::c_char;
    pub fn fcloseall() -> ::std::os::raw::c_int;
    pub fn fdopen(_FileHandle: ::std::os::raw::c_int,
                  _Format: *const ::std::os::raw::c_char) -> *mut FILE;
    pub fn fgetchar() -> ::std::os::raw::c_int;
    pub fn fileno(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn flushall() -> ::std::os::raw::c_int;
    pub fn fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn getw(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn putw(_Ch: ::std::os::raw::c_int, _Stream: *mut FILE)
     -> ::std::os::raw::c_int;
    pub fn rmtmp() -> ::std::os::raw::c_int;
    pub fn mexErrMsgTxt(error_msg: *const ::std::os::raw::c_char);
    pub fn mexErrMsgIdAndTxt(identifier: *const ::std::os::raw::c_char,
                             err_msg: *const ::std::os::raw::c_char, ...);
    pub fn mexWarnMsgTxt(warn_msg: *const ::std::os::raw::c_char);
    pub fn mexWarnMsgIdAndTxt(identifier: *const ::std::os::raw::c_char,
                              warn_msg: *const ::std::os::raw::c_char, ...);
    pub fn mexPrintf(fmt: *const ::std::os::raw::c_char, ...)
     -> ::std::os::raw::c_int;
    pub fn mexMakeArrayPersistent(pa: *mut mxArray);
    pub fn mexMakeMemoryPersistent(ptr: *mut ::std::os::raw::c_void);
    pub fn mexCallMATLAB(nlhs: ::std::os::raw::c_int, plhs: *mut *mut mxArray,
                         nrhs: ::std::os::raw::c_int, prhs: *mut *mut mxArray,
                         fcn_name: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn mexCallMATLABWithObject(nlhs: ::std::os::raw::c_int,
                                   plhs: *mut *mut mxArray,
                                   nrhs: ::std::os::raw::c_int,
                                   prhs: *mut *mut mxArray,
                                   fcn_name: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn mexCallMATLABWithTrap(nlhs: ::std::os::raw::c_int,
                                 plhs: *mut *mut mxArray,
                                 nrhs: ::std::os::raw::c_int,
                                 prhs: *mut *mut mxArray,
                                 fcn_name: *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mexCallMATLABWithTrapWithObject(nlhs: ::std::os::raw::c_int,
                                           plhs: *mut *mut mxArray,
                                           nrhs: ::std::os::raw::c_int,
                                           prhs: *mut *mut mxArray,
                                           fcn_name:
                                               *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mexSetTrapFlag(flag: ::std::os::raw::c_int);
    pub fn mexPrintAssertion(test: *const ::std::os::raw::c_char,
                             fname: *const ::std::os::raw::c_char,
                             linenum: ::std::os::raw::c_int,
                             message: *const ::std::os::raw::c_char);
    pub fn mexIsGlobal(pA: *const mxArray) -> bool_;
    pub fn mexPutVariable(workspace: *const ::std::os::raw::c_char,
                          name: *const ::std::os::raw::c_char,
                          parray: *const mxArray) -> ::std::os::raw::c_int;
    pub fn mexGetVariablePtr(workspace: *const ::std::os::raw::c_char,
                             name: *const ::std::os::raw::c_char)
     -> *const mxArray;
    pub fn mexGetVariableWithObject(workspace: *const ::std::os::raw::c_char,
                                    name: *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mexLock();
    pub fn mexUnlock();
    pub fn mexIsLocked() -> bool_;
    pub fn mexFunctionName() -> *const ::std::os::raw::c_char;
    pub fn mexEvalString(str: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
    pub fn mexEvalStringWithTrap(str: *const ::std::os::raw::c_char)
     -> *mut mxArray;
    pub fn mexAtExit(exit_fcn: mex_exit_fn) -> ::std::os::raw::c_int;
}