wstp_sys/opt/rustwide/workdir/generated/13.0.1/MacOSX-x86-64/
WSTP_bindings.rs

1/* automatically generated by rust-bindgen 0.65.1 */
2
3pub const UNIX_MATHLINK: i32 = 1;
4pub const UNIX_WSTP: i32 = 1;
5pub const LITTLEENDIAN_NUMERIC_TYPES: i32 = 1;
6pub const DARWIN_MATHLINK: i32 = 1;
7pub const INTEL_DARWIN_MATHLINK: i32 = 1;
8pub const X86_64_DARWIN_MATHLINK: i32 = 1;
9pub const CLANG_MATHLINK: i32 = 1;
10pub const WSVERSION: i32 = 6;
11pub const WSINTERFACE: i32 = 4;
12pub const WSREVISION: i32 = 46;
13pub const WSCREATIONID: i32 = 114411;
14pub const WSAPI4REVISION: i32 = 25;
15pub const WSAPIREVISION: i32 = 25;
16pub const WSOLDDEFINITION: i32 = 25;
17pub const WSREADYPARALLELERROR: i32 = -1;
18pub const WSREADYPARALLELTIMEDOUT: i32 = -2;
19pub const WSREADYPARALLELINVALIDARGUMENT: i32 = -3;
20pub const WSWAITSUCCESS: i32 = 1;
21pub const WSWAITERROR: i32 = 2;
22pub const WSWAITTIMEOUT: i32 = 3;
23pub const WSWAITCALLBACKABORTED: i32 = 4;
24pub const MLINTERFACE: i32 = 4;
25pub const ML64BIT_MATHLINK: i32 = 1;
26pub const ML_SMALLEST_SIGNED_64BIT: i64 = -9223372036854775808;
27pub const ML_LARGEST_SIGNED_64BIT: i64 = 9223372036854775807;
28pub const ML_LARGEST_UNSIGNED_64BIT: i32 = -1;
29pub const MLSUCCESS: i32 = 1;
30pub const MLFAILURE: i32 = 0;
31pub const MLDEV_WRITE_WINDOW: i32 = 0;
32pub const MLDEV_WRITE: i32 = 1;
33pub const MLDEV_HAS_DATA: i32 = 2;
34pub const MLDEV_READ: i32 = 3;
35pub const MLDEV_READ_COMPLETE: i32 = 4;
36pub const MLDEV_ACKNOWLEDGE: i32 = 5;
37pub const T_DEV_WRITE_WINDOW: i32 = 0;
38pub const T_DEV_WRITE: i32 = 1;
39pub const T_DEV_HAS_DATA: i32 = 2;
40pub const T_DEV_READ: i32 = 3;
41pub const T_DEV_READ_COMPLETE: i32 = 4;
42pub const REALBIT: i32 = 4;
43pub const REAL_MASK: i32 = 16;
44pub const XDRBIT: i32 = 5;
45pub const XDR_MASK: i32 = 32;
46pub const BINARYBIT: i32 = 7;
47pub const BINARY_MASK: i32 = 128;
48pub const SIZEVARIANTBIT: i32 = 6;
49pub const SIZEVARIANT_MASK: i32 = 64;
50pub const WSTK_INVALID: i32 = 155;
51pub const WSTK_8BIT_SIGNED_2sCOMPLEMENT_INTEGER: i32 = 160;
52pub const WSTK_8BIT_UNSIGNED_2sCOMPLEMENT_INTEGER: i32 = 161;
53pub const WSTK_8BIT_UNSIGNED_INTEGER: i32 = 161;
54pub const WSTK_16BIT_SIGNED_2sCOMPLEMENT_BIGENDIAN_INTEGER: i32 = 162;
55pub const WSTK_16BIT_UNSIGNED_2sCOMPLEMENT_BIGENDIAN_INTEGER: i32 = 163;
56pub const WSTK_16BIT_UNSIGNED_BIGENDIAN_INTEGER: i32 = 163;
57pub const WSTK_32BIT_SIGNED_2sCOMPLEMENT_BIGENDIAN_INTEGER: i32 = 164;
58pub const WSTK_32BIT_UNSIGNED_2sCOMPLEMENT_BIGENDIAN_INTEGER: i32 = 165;
59pub const WSTK_32BIT_UNSIGNED_BIGENDIAN_INTEGER: i32 = 165;
60pub const WSTK_64BIT_SIGNED_2sCOMPLEMENT_BIGENDIAN_INTEGER: i32 = 166;
61pub const WSTK_64BIT_UNSIGNED_2sCOMPLEMENT_BIGENDIAN_INTEGER: i32 = 167;
62pub const WSTK_64BIT_UNSIGNED_BIGENDIAN_INTEGER: i32 = 167;
63pub const WSTK_16BIT_SIGNED_2sCOMPLEMENT_LITTLEENDIAN_INTEGER: i32 = 226;
64pub const WSTK_16BIT_UNSIGNED_2sCOMPLEMENT_LITTLEENDIAN_INTEGER: i32 = 227;
65pub const WSTK_16BIT_UNSIGNED_LITTLEENDIAN_INTEGER: i32 = 227;
66pub const WSTK_32BIT_SIGNED_2sCOMPLEMENT_LITTLEENDIAN_INTEGER: i32 = 228;
67pub const WSTK_32BIT_UNSIGNED_2sCOMPLEMENT_LITTLEENDIAN_INTEGER: i32 = 229;
68pub const WSTK_32BIT_UNSIGNED_LITTLEENDIAN_INTEGER: i32 = 229;
69pub const WSTK_64BIT_SIGNED_2sCOMPLEMENT_LITTLEENDIAN_INTEGER: i32 = 230;
70pub const WSTK_64BIT_UNSIGNED_2sCOMPLEMENT_LITTLEENDIAN_INTEGER: i32 = 231;
71pub const WSTK_64BIT_UNSIGNED_LITTLEENDIAN_INTEGER: i32 = 231;
72pub const WSTK_BIGENDIAN_IEEE754_SINGLE: i32 = 180;
73pub const WSTK_BIGENDIAN_IEEE754_DOUBLE: i32 = 182;
74pub const WSTK_BIGENDIAN_128BIT_DOUBLE: i32 = 184;
75pub const WSTK_LITTLEENDIAN_IEEE754_SINGLE: i32 = 244;
76pub const WSTK_LITTLEENDIAN_IEEE754_DOUBLE: i32 = 246;
77pub const WSTK_LITTLEENDIAN_128BIT_DOUBLE: i32 = 248;
78pub const WSNE__INITSELECTOR: i32 = 0;
79pub const WSTK_CSHORT_P: i32 = 193;
80pub const WSTK_CINT_P: i32 = 194;
81pub const WSTK_CLONG_P: i32 = 195;
82pub const WSTK_CFLOAT_P: i32 = 209;
83pub const WSTK_CDOUBLE_P: i32 = 210;
84pub const WSTK_CLONGDOUBLE_P: i32 = 211;
85pub const WSTK_64BIT_LITTLEENDIAN_STRUCTURE: i32 = 196;
86pub const WSTK_64BIT_BIGENDIAN_STRUCTURE: i32 = 197;
87pub const WSTK_128BIT_EXTENDED: i32 = 158;
88pub const WSTK_128BIT_LONGDOUBLE: i32 = 158;
89pub const WSTK_96BIT_HIGHPADDED_INTEL_80BIT_EXTENDED: i32 = 218;
90pub const WSTK_INTEL_80BIT_EXTENDED: i32 = 216;
91pub const WSMASTIFF_NUMERICS_ID: &[u8; 8usize] = b"mastiff\0";
92pub const WSMASTIFF_CSHORT: i32 = 162;
93pub const WSMASTIFF_CINT: i32 = 164;
94pub const WSMASTIFF_CLONG: i32 = 164;
95pub const WSMASTIFF_CINT64: i32 = 197;
96pub const WSMASTIFF_CSIZE_T: i32 = 164;
97pub const WSMASTIFF_CFLOAT: i32 = 180;
98pub const WSMASTIFF_CDOUBLE: i32 = 182;
99pub const WSMASTIFF_CLONGDOUBLE: i32 = 158;
100pub const WSMASTIFF_WSSHORT: i32 = 162;
101pub const WSMASTIFF_WSINT: i32 = 164;
102pub const WSMASTIFF_WSLONG: i32 = 164;
103pub const WSMASTIFF_WSSIZE_T: i32 = 164;
104pub const WSMASTIFF_WSINT64: i32 = 197;
105pub const WSMASTIFF_WSFLOAT: i32 = 180;
106pub const WSMASTIFF_WSDOUBLE: i32 = 182;
107pub const WSMASTIFF_WSLONGDOUBLE: i32 = 158;
108pub const WSJAPANESECHIN_NUMERICS_ID: &[u8; 13usize] = b"japanesechin\0";
109pub const WSJAPANESECHIN_CSHORT: i32 = 162;
110pub const WSJAPANESECHIN_CINT: i32 = 164;
111pub const WSJAPANESECHIN_CLONG: i32 = 166;
112pub const WSJAPANESECHIN_CINT64: i32 = 166;
113pub const WSJAPANESECHIN_CSIZE_T: i32 = 166;
114pub const WSJAPANESECHIN_CFLOAT: i32 = 180;
115pub const WSJAPANESECHIN_CDOUBLE: i32 = 182;
116pub const WSJAPANESECHIN_CLONGDOUBLE: i32 = 158;
117pub const WSJAPANESECHIN_WSSHORT: i32 = 162;
118pub const WSJAPANESECHIN_WSINT: i32 = 164;
119pub const WSJAPANESECHIN_WSLONG: i32 = 166;
120pub const WSJAPANESECHIN_WSINT64: i32 = 166;
121pub const WSJAPANESECHIN_WSSIZE_T: i32 = 166;
122pub const WSJAPANESECHIN_WSFLOAT: i32 = 180;
123pub const WSJAPANESECHIN_WSDOUBLE: i32 = 182;
124pub const WSJAPANESECHIN_WSLONGDOUBLE: i32 = 158;
125pub const WSBORZOI_NUMERICS_ID: &[u8; 7usize] = b"borzoi\0";
126pub const WSBORZOI_CSHORT: i32 = 162;
127pub const WSBORZOI_CINT: i32 = 164;
128pub const WSBORZOI_CLONG: i32 = 164;
129pub const WSBORZOI_CSIZE_T: i32 = 164;
130pub const WSBORZOI_CINT64: i32 = 197;
131pub const WSBORZOI_CFLOAT: i32 = 180;
132pub const WSBORZOI_CDOUBLE: i32 = 182;
133pub const WSBORZOI_WSSHORT: i32 = 162;
134pub const WSBORZOI_WSINT: i32 = 164;
135pub const WSBORZOI_WSLONG: i32 = 164;
136pub const WSBORZOI_WSSIZE_T: i32 = 164;
137pub const WSBORZOI_WSINT64: i32 = 197;
138pub const WSBORZOI_WSFLOAT: i32 = 180;
139pub const WSBORZOI_WSDOUBLE: i32 = 182;
140pub const WSBRIARD_NUMERICS_ID: &[u8; 7usize] = b"briard\0";
141pub const WSBRIARD_CSHORT: i32 = 162;
142pub const WSBRIARD_CINT: i32 = 164;
143pub const WSBRIARD_CLONG: i32 = 166;
144pub const WSBRIARD_CINT64: i32 = 166;
145pub const WSBRIARD_CSIZE_T: i32 = 166;
146pub const WSBRIARD_CFLOAT: i32 = 180;
147pub const WSBRIARD_CDOUBLE: i32 = 182;
148pub const WSBRIARD_WSSHORT: i32 = 162;
149pub const WSBRIARD_WSINT: i32 = 164;
150pub const WSBRIARD_WSLONG: i32 = 166;
151pub const WSBRIARD_WSINT64: i32 = 166;
152pub const WSBRIARD_WSSIZE_T: i32 = 166;
153pub const WSBRIARD_WSFLOAT: i32 = 180;
154pub const WSBRIARD_WSDOUBLE: i32 = 182;
155pub const WSKEESHOND_NUMERICS_ID: &[u8; 9usize] = b"keeshond\0";
156pub const WSKEESHOND_CSHORT: i32 = 162;
157pub const WSKEESHOND_CINT: i32 = 164;
158pub const WSKEESHOND_CLONG: i32 = 164;
159pub const WSKEESHOND_CSIZE_T: i32 = 164;
160pub const WSKEESHOND_CINT64: i32 = 197;
161pub const WSKEESHOND_CFLOAT: i32 = 180;
162pub const WSKEESHOND_CDOUBLE: i32 = 182;
163pub const WSKEESHOND_CLONGDOUBLE: i32 = 182;
164pub const WSKEESHOND_WSSHORT: i32 = 162;
165pub const WSKEESHOND_WSINT: i32 = 164;
166pub const WSKEESHOND_WSLONG: i32 = 164;
167pub const WSKEESHOND_WSSIZE_T: i32 = 164;
168pub const WSKEESHOND_WSINT64: i32 = 197;
169pub const WSKEESHOND_WSFLOAT: i32 = 180;
170pub const WSKEESHOND_WSDOUBLE: i32 = 182;
171pub const WSKEESHOND_WSLONGDOUBLE: i32 = 182;
172pub const WSKOMONDOR_NUMERICS_ID: &[u8; 9usize] = b"komondor\0";
173pub const WSKOMONDOR_CSHORT: i32 = 162;
174pub const WSKOMONDOR_CINT: i32 = 164;
175pub const WSKOMONDOR_CLONG: i32 = 166;
176pub const WSKOMONDOR_CINT64: i32 = 166;
177pub const WSKOMONDOR_CSIZE_T: i32 = 166;
178pub const WSKOMONDOR_CFLOAT: i32 = 180;
179pub const WSKOMONDOR_CDOUBLE: i32 = 182;
180pub const WSKOMONDOR_CLONGDOUBLE: i32 = 182;
181pub const WSKOMONDOR_WSSHORT: i32 = 162;
182pub const WSKOMONDOR_WSINT: i32 = 164;
183pub const WSKOMONDOR_WSLONG: i32 = 166;
184pub const WSKOMONDOR_WSSIZE_T: i32 = 166;
185pub const WSKOMONDOR_WSINT64: i32 = 166;
186pub const WSKOMONDOR_WSFLOAT: i32 = 180;
187pub const WSKOMONDOR_WSDOUBLE: i32 = 182;
188pub const WSKOMONDOR_WSLONGDOUBLE: i32 = 182;
189pub const WSNORWEGIANELKHOUND_NUMERICS_ID: &[u8; 18usize] = b"norwegianelkhound\0";
190pub const WSNORWEGIANELKHOUND_CSHORT: i32 = 226;
191pub const WSNORWEGIANELKHOUND_CINT: i32 = 228;
192pub const WSNORWEGIANELKHOUND_CLONG: i32 = 228;
193pub const WSNORWEGIANELKHOUND_CINT64: i32 = 196;
194pub const WSNORWEGIANELKHOUND_CSIZE_T: i32 = 228;
195pub const WSNORWEGIANELKHOUND_CFLOAT: i32 = 244;
196pub const WSNORWEGIANELKHOUND_CDOUBLE: i32 = 246;
197pub const WSNORWEGIANELKHOUND_CLONGDOUBLE: i32 = 218;
198pub const WSNORWEGIANELKHOUND_WSSHORT: i32 = 226;
199pub const WSNORWEGIANELKHOUND_WSINT: i32 = 228;
200pub const WSNORWEGIANELKHOUND_WSLONG: i32 = 228;
201pub const WSNORWEGIANELKHOUND_WSSIZE_T: i32 = 228;
202pub const WSNORWEGIANELKHOUND_WSINT64: i32 = 196;
203pub const WSNORWEGIANELKHOUND_WSFLOAT: i32 = 244;
204pub const WSNORWEGIANELKHOUND_WSDOUBLE: i32 = 246;
205pub const WSNORWEGIANELKHOUND_WSLONGDOUBLE: i32 = 218;
206pub const WSNORWICHTERRIOR_NUMERICS_ID: &[u8; 15usize] = b"norwichterrior\0";
207pub const WSNORWICHTERRIOR_CSHORT: i32 = 226;
208pub const WSNORWICHTERRIOR_CINT: i32 = 228;
209pub const WSNORWICHTERRIOR_CLONG: i32 = 230;
210pub const WSNORWICHTERRIOR_CINT64: i32 = 230;
211pub const WSNORWICHTERRIOR_CSIZE_T: i32 = 230;
212pub const WSNORWICHTERRIOR_CFLOAT: i32 = 244;
213pub const WSNORWICHTERRIOR_CDOUBLE: i32 = 246;
214pub const WSNORWICHTERRIOR_CLONGDOUBLE: i32 = 248;
215pub const WSNORWICHTERRIOR_WSSHORT: i32 = 226;
216pub const WSNORWICHTERRIOR_WSINT: i32 = 228;
217pub const WSNORWICHTERRIOR_WSLONG: i32 = 230;
218pub const WSNORWICHTERRIOR_WSSIZE_T: i32 = 230;
219pub const WSNORWICHTERRIOR_WSINT64: i32 = 230;
220pub const WSNORWICHTERRIOR_WSFLOAT: i32 = 244;
221pub const WSNORWICHTERRIOR_WSDOUBLE: i32 = 246;
222pub const WSNORWICHTERRIOR_WSLONGDOUBLE: i32 = 248;
223pub const WSSAINTBERNARD_NUMERICS_ID: &[u8; 14usize] = b"saintbernarnd\0";
224pub const WSSAINTBERNARD_CSHORT: i32 = 162;
225pub const WSSAINTBERNARD_CINT: i32 = 164;
226pub const WSSAINTBERNARD_CLONG: i32 = 164;
227pub const WSSAINTBERNARD_CINT64: i32 = 197;
228pub const WSSAINTBERNARD_CSIZE_T: i32 = 164;
229pub const WSSAINTBERNARD_CFLOAT: i32 = 180;
230pub const WSSAINTBERNARD_CDOUBLE: i32 = 182;
231pub const WSSAINTBERNARD_CLONGDOUBLE: i32 = 184;
232pub const WSSAINTBERNARD_WSSHORT: i32 = 162;
233pub const WSSAINTBERNARD_WSINT: i32 = 164;
234pub const WSSAINTBERNARD_WSLONG: i32 = 164;
235pub const WSSAINTBERNARD_WSINT64: i32 = 197;
236pub const WSSAINTBERNARD_WSSIZE_T: i32 = 164;
237pub const WSSAINTBERNARD_WSFLOAT: i32 = 180;
238pub const WSSAINTBERNARD_WSDOUBLE: i32 = 182;
239pub const WSSAINTBERNARD_WSLONGDOUBLE: i32 = 184;
240pub const WSBERNESEMOUNTAINDOG_NUMERICS_ID: &[u8; 19usize] = b"bernesemountaindog\0";
241pub const WSBERNESEMOUNTAINDOG_CSHORT: i32 = 162;
242pub const WSBERNESEMOUNTAINDOG_CINT: i32 = 164;
243pub const WSBERNESEMOUNTAINDOG_CLONG: i32 = 166;
244pub const WSBERNESEMOUNTAINDOG_CINT64: i32 = 166;
245pub const WSBERNESEMOUNTAINDOG_CSIZE_T: i32 = 166;
246pub const WSBERNESEMOUNTAINDOG_CFLOAT: i32 = 180;
247pub const WSBERNESEMOUNTAINDOG_CDOUBLE: i32 = 182;
248pub const WSBERNESEMOUNTAINDOG_CLONGDOUBLE: i32 = 184;
249pub const WSBERNESEMOUNTAINDOG_WSSHORT: i32 = 162;
250pub const WSBERNESEMOUNTAINDOG_WSINT: i32 = 164;
251pub const WSBERNESEMOUNTAINDOG_WSLONG: i32 = 166;
252pub const WSBERNESEMOUNTAINDOG_WSINT64: i32 = 166;
253pub const WSBERNESEMOUNTAINDOG_WSSIZE_T: i32 = 166;
254pub const WSBERNESEMOUNTAINDOG_WSFLOAT: i32 = 180;
255pub const WSBERNESEMOUNTAINDOG_WSDOUBLE: i32 = 182;
256pub const WSBERNESEMOUNTAINDOG_WSLONGDOUBLE: i32 = 184;
257pub const WSSETTER_NUMERICS_ID: &[u8; 7usize] = b"setter\0";
258pub const WSSETTER_CSHORT: i32 = 226;
259pub const WSSETTER_CINT: i32 = 228;
260pub const WSSETTER_CLONG: i32 = 228;
261pub const WSSETTER_CINT64: i32 = 196;
262pub const WSSETTER_CSIZE_T: i32 = 228;
263pub const WSSETTER_CFLOAT: i32 = 244;
264pub const WSSETTER_CDOUBLE: i32 = 246;
265pub const WSSETTER_CLONGDOUBLE: i32 = 246;
266pub const WSSETTER_WSSHORT: i32 = 226;
267pub const WSSETTER_WSINT: i32 = 228;
268pub const WSSETTER_WSLONG: i32 = 228;
269pub const WSSETTER_WSINT64: i32 = 196;
270pub const WSSETTER_WSSIZE_T: i32 = 228;
271pub const WSSETTER_WSFLOAT: i32 = 244;
272pub const WSSETTER_WSDOUBLE: i32 = 246;
273pub const WSSETTER_WSLONGDOUBLE: i32 = 216;
274pub const WSFRENCH_BULLDOG_NUMERICS_ID: &[u8; 15usize] = b"french_bulldog\0";
275pub const WSFRENCH_BULLDOG_CSHORT: i32 = 226;
276pub const WSFRENCH_BULLDOG_CINT: i32 = 228;
277pub const WSFRENCH_BULLDOG_CLONG: i32 = 228;
278pub const WSFRENCH_BULLDOG_CINT64: i32 = 196;
279pub const WSFRENCH_BULLDOG_CSIZE_T: i32 = 228;
280pub const WSFRENCH_BULLDOG_CFLOAT: i32 = 244;
281pub const WSFRENCH_BULLDOG_CDOUBLE: i32 = 246;
282pub const WSFRENCH_BULLDOG_CLONGDOUBLE: i32 = 246;
283pub const WSFRENCH_BULLDOG_WSSHORT: i32 = 226;
284pub const WSFRENCH_BULLDOG_WSINT: i32 = 228;
285pub const WSFRENCH_BULLDOG_WSLONG: i32 = 228;
286pub const WSFRENCH_BULLDOG_WSINT64: i32 = 196;
287pub const WSFRENCH_BULLDOG_WSSIZE_T: i32 = 228;
288pub const WSFRENCH_BULLDOG_WSFLOAT: i32 = 244;
289pub const WSFRENCH_BULLDOG_WSDOUBLE: i32 = 246;
290pub const WSFRENCH_BULLDOG_WSLONGDOUBLE: i32 = 246;
291pub const WSBICHON_FRISE_NUMERICS_ID: &[u8; 13usize] = b"bichon_frise\0";
292pub const WSBICHON_FRISE_CSHORT: i32 = 226;
293pub const WSBICHON_FRISE_CINT: i32 = 228;
294pub const WSBICHON_FRISE_CLONG: i32 = 228;
295pub const WSBICHON_FRISE_CINT64: i32 = 230;
296pub const WSBICHON_FRISE_CSIZE_T: i32 = 230;
297pub const WSBICHON_FRISE_CFLOAT: i32 = 244;
298pub const WSBICHON_FRISE_CDOUBLE: i32 = 246;
299pub const WSBICHON_FRISE_CLONGDOUBLE: i32 = 246;
300pub const WSBICHON_FRISE_WSSHORT: i32 = 226;
301pub const WSBICHON_FRISE_WSINT: i32 = 228;
302pub const WSBICHON_FRISE_WSLONG: i32 = 228;
303pub const WSBICHON_FRISE_WSINT64: i32 = 230;
304pub const WSBICHON_FRISE_WSSIZE_T: i32 = 230;
305pub const WSBICHON_FRISE_WSFLOAT: i32 = 244;
306pub const WSBICHON_FRISE_WSDOUBLE: i32 = 246;
307pub const WSBICHON_FRISE_WSLONGDOUBLE: i32 = 246;
308pub const WSHELEN_NUMERICS_ID: &[u8; 6usize] = b"helen\0";
309pub const WSHELEN_CSHORT: i32 = 226;
310pub const WSHELEN_CINT: i32 = 228;
311pub const WSHELEN_CLONG: i32 = 228;
312pub const WSHELEN_CINT64: i32 = 196;
313pub const WSHELEN_CSIZE_T: i32 = 228;
314pub const WSHELEN_CFLOAT: i32 = 244;
315pub const WSHELEN_CDOUBLE: i32 = 246;
316pub const WSHELEN_CLONGDOUBLE: i32 = 246;
317pub const WSHELEN_WSSHORT: i32 = 226;
318pub const WSHELEN_WSINT: i32 = 228;
319pub const WSHELEN_WSLONG: i32 = 228;
320pub const WSHELEN_WSINT64: i32 = 196;
321pub const WSHELEN_WSSIZE_T: i32 = 228;
322pub const WSHELEN_WSFLOAT: i32 = 244;
323pub const WSHELEN_WSDOUBLE: i32 = 246;
324pub const WSHELEN_WSLONGDOUBLE: i32 = 246;
325pub const WSBEAGLE_NUMERICS_ID: &[u8; 7usize] = b"beagle\0";
326pub const WSBEAGLE_CSHORT: i32 = 162;
327pub const WSBEAGLE_CINT: i32 = 164;
328pub const WSBEAGLE_CLONG: i32 = 164;
329pub const WSBEAGLE_CINT64: i32 = 197;
330pub const WSBEAGLE_CSIZE_T: i32 = 164;
331pub const WSBEAGLE_CFLOAT: i32 = 180;
332pub const WSBEAGLE_CDOUBLE: i32 = 182;
333pub const WSBEAGLE_CLONGDOUBLE: i32 = 182;
334pub const WSBEAGLE_WSSHORT: i32 = 162;
335pub const WSBEAGLE_WSINT: i32 = 164;
336pub const WSBEAGLE_WSLONG: i32 = 164;
337pub const WSBEAGLE_WSINT64: i32 = 197;
338pub const WSBEAGLE_WSSIZE_T: i32 = 164;
339pub const WSBEAGLE_WSFLOAT: i32 = 180;
340pub const WSBEAGLE_WSDOUBLE: i32 = 182;
341pub const WSBEAGLE_WSLONGDOUBLE: i32 = 182;
342pub const WSBULLTERRIER_NUMERICS_ID: &[u8; 12usize] = b"bullterrier\0";
343pub const WSBULLTERRIER_CSHORT: i32 = 162;
344pub const WSBULLTERRIER_CINT: i32 = 164;
345pub const WSBULLTERRIER_CLONG: i32 = 164;
346pub const WSBULLTERRIER_CINT64: i32 = 197;
347pub const WSBULLTERRIER_CSIZE_T: i32 = 164;
348pub const WSBULLTERRIER_CFLOAT: i32 = 180;
349pub const WSBULLTERRIER_CDOUBLE: i32 = 182;
350pub const WSBULLTERRIER_CLONGDOUBLE: i32 = 184;
351pub const WSBULLTERRIER_WSSHORT: i32 = 162;
352pub const WSBULLTERRIER_WSINT: i32 = 164;
353pub const WSBULLTERRIER_WSLONG: i32 = 164;
354pub const WSBULLTERRIER_WSINT64: i32 = 197;
355pub const WSBULLTERRIER_WSSIZE_T: i32 = 164;
356pub const WSBULLTERRIER_WSFLOAT: i32 = 180;
357pub const WSBULLTERRIER_WSDOUBLE: i32 = 182;
358pub const WSBULLTERRIER_WSLONGDOUBLE: i32 = 184;
359pub const WSBORDERTERRIER_NUMERICS_ID: &[u8; 14usize] = b"borderterrier\0";
360pub const WSBORDERTERRIER_CSHORT: i32 = 162;
361pub const WSBORDERTERRIER_CINT: i32 = 164;
362pub const WSBORDERTERRIER_CLONG: i32 = 166;
363pub const WSBORDERTERRIER_CINT64: i32 = 166;
364pub const WSBORDERTERRIER_CSIZE_T: i32 = 166;
365pub const WSBORDERTERRIER_CFLOAT: i32 = 180;
366pub const WSBORDERTERRIER_CDOUBLE: i32 = 182;
367pub const WSBORDERTERRIER_CLONGDOUBLE: i32 = 184;
368pub const WSBORDERTERRIER_WSSHORT: i32 = 162;
369pub const WSBORDERTERRIER_WSINT: i32 = 164;
370pub const WSBORDERTERRIER_WSLONG: i32 = 166;
371pub const WSBORDERTERRIER_WSINT64: i32 = 166;
372pub const WSBORDERTERRIER_WSSIZE_T: i32 = 166;
373pub const WSBORDERTERRIER_WSFLOAT: i32 = 180;
374pub const WSBORDERTERRIER_WSDOUBLE: i32 = 182;
375pub const WSBORDERTERRIER_WSLONGDOUBLE: i32 = 184;
376pub const WSBASENJI_NUMERICS_ID: &[u8; 8usize] = b"basenji\0";
377pub const WSBASENJI_CSHORT: i32 = 226;
378pub const WSBASENJI_CINT: i32 = 228;
379pub const WSBASENJI_CLONG: i32 = 228;
380pub const WSBASENJI_CINT64: i32 = 196;
381pub const WSBASENJI_CSIZE_T: i32 = 228;
382pub const WSBASENJI_CFLOAT: i32 = 244;
383pub const WSBASENJI_CDOUBLE: i32 = 246;
384pub const WSBASENJI_CLONGDOUBLE: i32 = 248;
385pub const WSBASENJI_WSSHORT: i32 = 226;
386pub const WSBASENJI_WSINT: i32 = 228;
387pub const WSBASENJI_WSLONG: i32 = 228;
388pub const WSBASENJI_WSINT64: i32 = 196;
389pub const WSBASENJI_WSSIZE_T: i32 = 228;
390pub const WSBASENJI_WSFLOAT: i32 = 244;
391pub const WSBASENJI_WSDOUBLE: i32 = 246;
392pub const WSBASENJI_WSLONGDOUBLE: i32 = 248;
393pub const WSSHARPEI_NUMERICS_ID: &[u8; 8usize] = b"sharpei\0";
394pub const WSSHARPEI_CSHORT: i32 = 226;
395pub const WSSHARPEI_CINT: i32 = 228;
396pub const WSSHARPEI_CLONG: i32 = 228;
397pub const WSSHARPEI_CINT64: i32 = 196;
398pub const WSSHARPEI_CSIZE_T: i32 = 228;
399pub const WSSHARPEI_CFLOAT: i32 = 244;
400pub const WSSHARPEI_CDOUBLE: i32 = 246;
401pub const WSSHARPEI_CLONGDOUBLE: i32 = 248;
402pub const WSSHARPEI_WSSHORT: i32 = 226;
403pub const WSSHARPEI_WSINT: i32 = 228;
404pub const WSSHARPEI_WSLONG: i32 = 228;
405pub const WSSHARPEI_WSINT64: i32 = 196;
406pub const WSSHARPEI_WSSIZE_T: i32 = 228;
407pub const WSSHARPEI_WSFLOAT: i32 = 244;
408pub const WSSHARPEI_WSDOUBLE: i32 = 246;
409pub const WSSHARPEI_WSLONGDOUBLE: i32 = 248;
410pub const WSTIBETANMASTIFF_NUMERICS_ID: &[u8; 15usize] = b"tibetanmastiff\0";
411pub const WSTIBETANMASTIFF_CSHORT: i32 = 226;
412pub const WSTIBETANMASTIFF_CINT: i32 = 228;
413pub const WSTIBETANMASTIFF_CLONG: i32 = 230;
414pub const WSTIBETANMASTIFF_CINT64: i32 = 230;
415pub const WSTIBETANMASTIFF_CSIZE_T: i32 = 230;
416pub const WSTIBETANMASTIFF_CFLOAT: i32 = 244;
417pub const WSTIBETANMASTIFF_CDOUBLE: i32 = 246;
418pub const WSTIBETANMASTIFF_CLONGDOUBLE: i32 = 248;
419pub const WSTIBETANMASTIFF_WSSHORT: i32 = 226;
420pub const WSTIBETANMASTIFF_WSINT: i32 = 228;
421pub const WSTIBETANMASTIFF_WSLONG: i32 = 230;
422pub const WSTIBETANMASTIFF_WSINT64: i32 = 230;
423pub const WSTIBETANMASTIFF_WSSIZE_T: i32 = 230;
424pub const WSTIBETANMASTIFF_WSFLOAT: i32 = 244;
425pub const WSTIBETANMASTIFF_WSDOUBLE: i32 = 246;
426pub const WSTIBETANMASTIFF_WSLONGDOUBLE: i32 = 248;
427pub const WSGREATDANE_NUMERICS_ID: &[u8; 10usize] = b"greatdane\0";
428pub const WSGREATDANE_CSHORT: i32 = 226;
429pub const WSGREATDANE_CINT: i32 = 228;
430pub const WSGREATDANE_CLONG: i32 = 230;
431pub const WSGREATDANE_CINT64: i32 = 230;
432pub const WSGREATDANE_CSIZE_T: i32 = 230;
433pub const WSGREATDANE_CFLOAT: i32 = 244;
434pub const WSGREATDANE_CDOUBLE: i32 = 246;
435pub const WSGREATDANE_CLONGDOUBLE: i32 = 248;
436pub const WSGREATDANE_WSSHORT: i32 = 226;
437pub const WSGREATDANE_WSINT: i32 = 228;
438pub const WSGREATDANE_WSLONG: i32 = 230;
439pub const WSGREATDANE_WSINT64: i32 = 230;
440pub const WSGREATDANE_WSSIZE_T: i32 = 230;
441pub const WSGREATDANE_WSFLOAT: i32 = 244;
442pub const WSGREATDANE_WSDOUBLE: i32 = 246;
443pub const WSGREATDANE_WSLONGDOUBLE: i32 = 248;
444pub const WSREDDOG_NUMERICS_ID: &[u8; 7usize] = b"reddog\0";
445pub const WSREDDOG_CSHORT: i32 = 226;
446pub const WSREDDOG_CINT: i32 = 228;
447pub const WSREDDOG_CLONG: i32 = 228;
448pub const WSREDDOG_CINT64: i32 = 196;
449pub const WSREDDOG_CSIZE_T: i32 = 228;
450pub const WSREDDOG_CFLOAT: i32 = 244;
451pub const WSREDDOG_CDOUBLE: i32 = 246;
452pub const WSREDDOG_CLONGDOUBLE: i32 = 218;
453pub const WSREDDOG_WSSHORT: i32 = 226;
454pub const WSREDDOG_WSINT: i32 = 228;
455pub const WSREDDOG_WSLONG: i32 = 228;
456pub const WSREDDOG_WSINT64: i32 = 196;
457pub const WSREDDOG_WSSIZE_T: i32 = 228;
458pub const WSREDDOG_WSFLOAT: i32 = 244;
459pub const WSREDDOG_WSDOUBLE: i32 = 246;
460pub const WSREDDOG_WSLONGDOUBLE: i32 = 218;
461pub const WSAUSTRALIANCATTLEDOG_NUMERICS_ID: &[u8; 20usize] = b"australiancattledog\0";
462pub const WSAUSTRALIANCATTLEDOG_CSHORT: i32 = 226;
463pub const WSAUSTRALIANCATTLEDOG_CINT: i32 = 228;
464pub const WSAUSTRALIANCATTLEDOG_CLONG: i32 = 230;
465pub const WSAUSTRALIANCATTLEDOG_CINT64: i32 = 230;
466pub const WSAUSTRALIANCATTLEDOG_CSIZE_T: i32 = 230;
467pub const WSAUSTRALIANCATTLEDOG_CFLOAT: i32 = 244;
468pub const WSAUSTRALIANCATTLEDOG_CDOUBLE: i32 = 246;
469pub const WSAUSTRALIANCATTLEDOG_CLONGDOUBLE: i32 = 248;
470pub const WSAUSTRALIANCATTLEDOG_WSSHORT: i32 = 226;
471pub const WSAUSTRALIANCATTLEDOG_WSINT: i32 = 228;
472pub const WSAUSTRALIANCATTLEDOG_WSLONG: i32 = 230;
473pub const WSAUSTRALIANCATTLEDOG_WSINT64: i32 = 230;
474pub const WSAUSTRALIANCATTLEDOG_WSSIZE_T: i32 = 230;
475pub const WSAUSTRALIANCATTLEDOG_WSFLOAT: i32 = 244;
476pub const WSAUSTRALIANCATTLEDOG_WSDOUBLE: i32 = 246;
477pub const WSAUSTRALIANCATTLEDOG_WSLONGDOUBLE: i32 = 248;
478pub const WSBOXER_NUMERICS_ID: &[u8; 6usize] = b"boxer\0";
479pub const WSBOXER_CSHORT: i32 = 226;
480pub const WSBOXER_CINT: i32 = 228;
481pub const WSBOXER_CLONG: i32 = 230;
482pub const WSBOXER_CINT64: i32 = 230;
483pub const WSBOXER_CSIZE_T: i32 = 230;
484pub const WSBOXER_CFLOAT: i32 = 244;
485pub const WSBOXER_CDOUBLE: i32 = 246;
486pub const WSBOXER_CLONGDOUBLE: i32 = 248;
487pub const WSBOXER_WSSHORT: i32 = 226;
488pub const WSBOXER_WSINT: i32 = 228;
489pub const WSBOXER_WSLONG: i32 = 230;
490pub const WSBOXER_WSINT64: i32 = 230;
491pub const WSBOXER_WSSIZE_T: i32 = 230;
492pub const WSBOXER_WSFLOAT: i32 = 244;
493pub const WSBOXER_WSDOUBLE: i32 = 246;
494pub const WSBOXER_WSLONGDOUBLE: i32 = 248;
495pub const WSAKITAINU_NUMERICS_ID: &[u8; 9usize] = b"akitainu\0";
496pub const WSAKITAINU_CSHORT: i32 = 226;
497pub const WSAKITAINU_CINT: i32 = 228;
498pub const WSAKITAINU_CLONG: i32 = 230;
499pub const WSAKITAINU_CINT64: i32 = 230;
500pub const WSAKITAINU_CSIZE_T: i32 = 230;
501pub const WSAKITAINU_CFLOAT: i32 = 244;
502pub const WSAKITAINU_CDOUBLE: i32 = 246;
503pub const WSAKITAINU_CLONGDOUBLE: i32 = 246;
504pub const WSAKITAINU_WSSHORT: i32 = 226;
505pub const WSAKITAINU_WSINT: i32 = 228;
506pub const WSAKITAINU_WSLONG: i32 = 230;
507pub const WSAKITAINU_WSINT64: i32 = 230;
508pub const WSAKITAINU_WSSIZE_T: i32 = 230;
509pub const WSAKITAINU_WSFLOAT: i32 = 244;
510pub const WSAKITAINU_WSDOUBLE: i32 = 246;
511pub const WSAKITAINU_WSLONGDOUBLE: i32 = 246;
512pub const WSCHIHUAHUA_NUMERICS_ID: &[u8; 10usize] = b"chihuahua\0";
513pub const WSCHIHUAHUA_CSHORT: i32 = 226;
514pub const WSCHIHUAHUA_CINT: i32 = 228;
515pub const WSCHIHUAHUA_CLONG: i32 = 228;
516pub const WSCHIHUAHUA_CINT64: i32 = 196;
517pub const WSCHIHUAHUA_CSIZE_T: i32 = 228;
518pub const WSCHIHUAHUA_CFLOAT: i32 = 244;
519pub const WSCHIHUAHUA_CDOUBLE: i32 = 246;
520pub const WSCHIHUAHUA_CLONGDOUBLE: i32 = 246;
521pub const WSCHIHUAHUA_WSSHORT: i32 = 226;
522pub const WSCHIHUAHUA_WSINT: i32 = 228;
523pub const WSCHIHUAHUA_WSLONG: i32 = 228;
524pub const WSCHIHUAHUA_WSINT64: i32 = 196;
525pub const WSCHIHUAHUA_WSSIZE_T: i32 = 228;
526pub const WSCHIHUAHUA_WSFLOAT: i32 = 244;
527pub const WSCHIHUAHUA_WSDOUBLE: i32 = 246;
528pub const WSCHIHUAHUA_WSLONGDOUBLE: i32 = 246;
529pub const WSROTTWEILER_NUMERICS_ID: &[u8; 11usize] = b"rottweiler\0";
530pub const WSROTTWEILER_CSHORT: i32 = 162;
531pub const WSROTTWEILER_CINT: i32 = 164;
532pub const WSROTTWEILER_CLONG: i32 = 164;
533pub const WSROTTWEILER_CINT64: i32 = 197;
534pub const WSROTTWEILER_CSIZE_T: i32 = 164;
535pub const WSROTTWEILER_CFLOAT: i32 = 180;
536pub const WSROTTWEILER_CDOUBLE: i32 = 182;
537pub const WSROTTWEILER_CLONGDOUBLE: i32 = 182;
538pub const WSROTTWEILER_WSSHORT: i32 = 162;
539pub const WSROTTWEILER_WSINT: i32 = 164;
540pub const WSROTTWEILER_WSLONG: i32 = 164;
541pub const WSROTTWEILER_WSINT64: i32 = 197;
542pub const WSROTTWEILER_WSSIZE_T: i32 = 164;
543pub const WSROTTWEILER_WSFLOAT: i32 = 180;
544pub const WSROTTWEILER_WSDOUBLE: i32 = 182;
545pub const WSROTTWEILER_WSLONGDOUBLE: i32 = 182;
546pub const WSPHARAOHHOUND_NUMERICS_ID: &[u8; 13usize] = b"pharaohhound\0";
547pub const WSPHARAOHHOUND_CSHORT: i32 = 162;
548pub const WSPHARAOHHOUND_CINT: i32 = 164;
549pub const WSPHARAOHHOUND_CLONG: i32 = 166;
550pub const WSPHARAOHHOUND_CINT64: i32 = 166;
551pub const WSPHARAOHHOUND_CSIZE_T: i32 = 166;
552pub const WSPHARAOHHOUND_CFLOAT: i32 = 180;
553pub const WSPHARAOHHOUND_CDOUBLE: i32 = 182;
554pub const WSPHARAOHHOUND_CLONGDOUBLE: i32 = 184;
555pub const WSPHARAOHHOUND_WSSHORT: i32 = 162;
556pub const WSPHARAOHHOUND_WSINT: i32 = 164;
557pub const WSPHARAOHHOUND_WSLONG: i32 = 166;
558pub const WSPHARAOHHOUND_WSINT64: i32 = 166;
559pub const WSPHARAOHHOUND_WSSIZE_T: i32 = 166;
560pub const WSPHARAOHHOUND_WSFLOAT: i32 = 180;
561pub const WSPHARAOHHOUND_WSDOUBLE: i32 = 182;
562pub const WSPHARAOHHOUND_WSLONGDOUBLE: i32 = 184;
563pub const WSTROUT_NUMERICS_ID: &[u8; 6usize] = b"trout\0";
564pub const WSTROUT_CSHORT: i32 = 162;
565pub const WSTROUT_CINT: i32 = 164;
566pub const WSTROUT_CLONG: i32 = 166;
567pub const WSTROUT_CINT64: i32 = 166;
568pub const WSTROUT_CSIZE_T: i32 = 166;
569pub const WSTROUT_CFLOAT: i32 = 180;
570pub const WSTROUT_CDOUBLE: i32 = 182;
571pub const WSTROUT_CLONGDOUBLE: i32 = 182;
572pub const WSTROUT_WSSHORT: i32 = 162;
573pub const WSTROUT_WSINT: i32 = 164;
574pub const WSTROUT_WSLONG: i32 = 166;
575pub const WSTROUT_WSINT64: i32 = 166;
576pub const WSTROUT_WSSIZE_T: i32 = 166;
577pub const WSTROUT_WSFLOAT: i32 = 180;
578pub const WSTROUT_WSDOUBLE: i32 = 182;
579pub const WSTROUT_WSLONGDOUBLE: i32 = 182;
580pub const WSPUG_NUMERICS_ID: &[u8; 4usize] = b"pug\0";
581pub const WSPUG_CSHORT: i32 = 162;
582pub const WSPUG_CINT: i32 = 164;
583pub const WSPUG_CLONG: i32 = 164;
584pub const WSPUG_CINT64: i32 = 197;
585pub const WSPUG_CSIZE_T: i32 = 164;
586pub const WSPUG_CFLOAT: i32 = 180;
587pub const WSPUG_CDOUBLE: i32 = 182;
588pub const WSPUG_CLONGDOUBLE: i32 = 184;
589pub const WSPUG_WSSHORT: i32 = 162;
590pub const WSPUG_WSINT: i32 = 164;
591pub const WSPUG_WSLONG: i32 = 164;
592pub const WSPUG_WSINT64: i32 = 197;
593pub const WSPUG_WSSIZE_T: i32 = 164;
594pub const WSPUG_WSFLOAT: i32 = 180;
595pub const WSPUG_WSDOUBLE: i32 = 182;
596pub const WSPUG_WSLONGDOUBLE: i32 = 184;
597pub const WSPOINTER_NUMERICS_ID: &[u8; 8usize] = b"pointer\0";
598pub const WSPOINTER_CSHORT: i32 = 162;
599pub const WSPOINTER_CINT: i32 = 164;
600pub const WSPOINTER_CLONG: i32 = 164;
601pub const WSPOINTER_CINT64: i32 = 197;
602pub const WSPOINTER_CSIZE_T: i32 = 164;
603pub const WSPOINTER_CFLOAT: i32 = 180;
604pub const WSPOINTER_CDOUBLE: i32 = 182;
605pub const WSPOINTER_CLONGDOUBLE: i32 = 182;
606pub const WSPOINTER_WSSHORT: i32 = 162;
607pub const WSPOINTER_WSINT: i32 = 164;
608pub const WSPOINTER_WSLONG: i32 = 164;
609pub const WSPOINTER_WSINT64: i32 = 197;
610pub const WSPOINTER_WSSIZE_T: i32 = 164;
611pub const WSPOINTER_WSFLOAT: i32 = 180;
612pub const WSPOINTER_WSDOUBLE: i32 = 182;
613pub const WSPOINTER_WSLONGDOUBLE: i32 = 182;
614pub const WSSAMOYED_NUMERICS_ID: &[u8; 8usize] = b"samoyed\0";
615pub const WSSAMOYED_CSHORT: i32 = 162;
616pub const WSSAMOYED_CINT: i32 = 164;
617pub const WSSAMOYED_CLONG: i32 = 166;
618pub const WSSAMOYED_CINT64: i32 = 166;
619pub const WSSAMOYED_CSIZE_T: i32 = 166;
620pub const WSSAMOYED_CFLOAT: i32 = 180;
621pub const WSSAMOYED_CDOUBLE: i32 = 182;
622pub const WSSAMOYED_CLONGDOUBLE: i32 = 184;
623pub const WSSAMOYED_WSSHORT: i32 = 162;
624pub const WSSAMOYED_WSINT: i32 = 164;
625pub const WSSAMOYED_WSLONG: i32 = 166;
626pub const WSSAMOYED_WSINT64: i32 = 166;
627pub const WSSAMOYED_WSSIZE_T: i32 = 166;
628pub const WSSAMOYED_WSFLOAT: i32 = 180;
629pub const WSSAMOYED_WSDOUBLE: i32 = 182;
630pub const WSSAMOYED_WSLONGDOUBLE: i32 = 184;
631pub const WSSIBERIANHUSKY_NUMERICS_ID: &[u8; 14usize] = b"siberianhusky\0";
632pub const WSSIBERIANHUSKY_CSHORT: i32 = 162;
633pub const WSSIBERIANHUSKY_CINT: i32 = 164;
634pub const WSSIBERIANHUSKY_CLONG: i32 = 164;
635pub const WSSIBERIANHUSKY_CINT64: i32 = 197;
636pub const WSSIBERIANHUSKY_CSIZE_T: i32 = 164;
637pub const WSSIBERIANHUSKY_CFLOAT: i32 = 180;
638pub const WSSIBERIANHUSKY_CDOUBLE: i32 = 182;
639pub const WSSIBERIANHUSKY_CLONGDOUBLE: i32 = 184;
640pub const WSSIBERIANHUSKY_WSSHORT: i32 = 162;
641pub const WSSIBERIANHUSKY_WSINT: i32 = 164;
642pub const WSSIBERIANHUSKY_WSLONG: i32 = 164;
643pub const WSSIBERIANHUSKY_WSINT64: i32 = 197;
644pub const WSSIBERIANHUSKY_WSSIZE_T: i32 = 164;
645pub const WSSIBERIANHUSKY_WSFLOAT: i32 = 180;
646pub const WSSIBERIANHUSKY_WSDOUBLE: i32 = 182;
647pub const WSSIBERIANHUSKY_WSLONGDOUBLE: i32 = 184;
648pub const WSSHIBAINU_NUMERICS_ID: &[u8; 9usize] = b"shibainu\0";
649pub const WSSHIBAINU_CSHORT: i32 = 226;
650pub const WSSHIBAINU_CINT: i32 = 228;
651pub const WSSHIBAINU_CLONG: i32 = 230;
652pub const WSSHIBAINU_CINT64: i32 = 230;
653pub const WSSHIBAINU_CSIZE_T: i32 = 230;
654pub const WSSHIBAINU_CFLOAT: i32 = 244;
655pub const WSSHIBAINU_CDOUBLE: i32 = 246;
656pub const WSSHIBAINU_CLONGDOUBLE: i32 = 248;
657pub const WSSHIBAINU_WSSHORT: i32 = 226;
658pub const WSSHIBAINU_WSINT: i32 = 228;
659pub const WSSHIBAINU_WSLONG: i32 = 230;
660pub const WSSHIBAINU_WSINT64: i32 = 230;
661pub const WSSHIBAINU_WSSIZE_T: i32 = 230;
662pub const WSSHIBAINU_WSFLOAT: i32 = 244;
663pub const WSSHIBAINU_WSDOUBLE: i32 = 246;
664pub const WSSHIBAINU_WSLONGDOUBLE: i32 = 248;
665pub const WSNEWFOUNDLAND_NUMERICS_ID: &[u8; 13usize] = b"newfoundland\0";
666pub const WSNEWFOUNDLAND_CSHORT: i32 = 162;
667pub const WSNEWFOUNDLAND_CINT: i32 = 164;
668pub const WSNEWFOUNDLAND_CLONG: i32 = 164;
669pub const WSNEWFOUNDLAND_CINT64: i32 = 197;
670pub const WSNEWFOUNDLAND_CSIZE_T: i32 = 164;
671pub const WSNEWFOUNDLAND_CFLOAT: i32 = 180;
672pub const WSNEWFOUNDLAND_CDOUBLE: i32 = 182;
673pub const WSNEWFOUNDLAND_CLONGDOUBLE: i32 = 184;
674pub const WSNEWFOUNDLAND_WSSHORT: i32 = 162;
675pub const WSNEWFOUNDLAND_WSINT: i32 = 164;
676pub const WSNEWFOUNDLAND_WSLONG: i32 = 164;
677pub const WSNEWFOUNDLAND_WSINT64: i32 = 197;
678pub const WSNEWFOUNDLAND_WSSIZE_T: i32 = 164;
679pub const WSNEWFOUNDLAND_WSFLOAT: i32 = 180;
680pub const WSNEWFOUNDLAND_WSDOUBLE: i32 = 182;
681pub const WSNEWFOUNDLAND_WSLONGDOUBLE: i32 = 184;
682pub const WSAFFENPINSCHER_NUMERICS_ID: &[u8; 14usize] = b"affenpinscher\0";
683pub const WSAFFENPINSCHER_CSHORT: i32 = 162;
684pub const WSAFFENPINSCHER_CINT: i32 = 164;
685pub const WSAFFENPINSCHER_CLONG: i32 = 166;
686pub const WSAFFENPINSCHER_CINT64: i32 = 166;
687pub const WSAFFENPINSCHER_CSIZE_T: i32 = 166;
688pub const WSAFFENPINSCHER_CFLOAT: i32 = 180;
689pub const WSAFFENPINSCHER_CDOUBLE: i32 = 182;
690pub const WSAFFENPINSCHER_CLONGDOUBLE: i32 = 184;
691pub const WSAFFENPINSCHER_WSSHORT: i32 = 162;
692pub const WSAFFENPINSCHER_WSINT: i32 = 164;
693pub const WSAFFENPINSCHER_WSLONG: i32 = 166;
694pub const WSAFFENPINSCHER_WSINT64: i32 = 166;
695pub const WSAFFENPINSCHER_WSSIZE_T: i32 = 166;
696pub const WSAFFENPINSCHER_WSFLOAT: i32 = 180;
697pub const WSAFFENPINSCHER_WSDOUBLE: i32 = 182;
698pub const WSAFFENPINSCHER_WSLONGDOUBLE: i32 = 184;
699pub const WSBEAUCERON_NUMERICS_ID: &[u8; 10usize] = b"beauceron\0";
700pub const WSBEAUCERON_CSHORT: i32 = 226;
701pub const WSBEAUCERON_CINT: i32 = 228;
702pub const WSBEAUCERON_CLONG: i32 = 228;
703pub const WSBEAUCERON_CINT64: i32 = 230;
704pub const WSBEAUCERON_CSIZE_T: i32 = 228;
705pub const WSBEAUCERON_CFLOAT: i32 = 244;
706pub const WSBEAUCERON_CDOUBLE: i32 = 246;
707pub const WSBEAUCERON_CLONGDOUBLE: i32 = 246;
708pub const WSBEAUCERON_WSSHORT: i32 = 226;
709pub const WSBEAUCERON_WSINT: i32 = 228;
710pub const WSBEAUCERON_WSLONG: i32 = 228;
711pub const WSBEAUCERON_WSINT64: i32 = 230;
712pub const WSBEAUCERON_WSSIZE_T: i32 = 228;
713pub const WSBEAUCERON_WSFLOAT: i32 = 244;
714pub const WSBEAUCERON_WSDOUBLE: i32 = 246;
715pub const WSBEAUCERON_WSLONGDOUBLE: i32 = 246;
716pub const WSBERGAMASCO_NUMERICS_ID: &[u8; 11usize] = b"bergamasco\0";
717pub const WSBERGAMASCO_CSHORT: i32 = 226;
718pub const WSBERGAMASCO_CINT: i32 = 228;
719pub const WSBERGAMASCO_CLONG: i32 = 228;
720pub const WSBERGAMASCO_CINT64: i32 = 230;
721pub const WSBERGAMASCO_CSIZE_T: i32 = 228;
722pub const WSBERGAMASCO_CFLOAT: i32 = 244;
723pub const WSBERGAMASCO_CDOUBLE: i32 = 246;
724pub const WSBERGAMASCO_CLONGDOUBLE: i32 = 218;
725pub const WSBERGAMASCO_WSSHORT: i32 = 226;
726pub const WSBERGAMASCO_WSINT: i32 = 228;
727pub const WSBERGAMASCO_WSLONG: i32 = 228;
728pub const WSBERGAMASCO_WSINT64: i32 = 230;
729pub const WSBERGAMASCO_WSSIZE_T: i32 = 228;
730pub const WSBERGAMASCO_WSFLOAT: i32 = 244;
731pub const WSBERGAMASCO_WSDOUBLE: i32 = 246;
732pub const WSBERGAMASCO_WSLONGDOUBLE: i32 = 218;
733pub const WSBOERBOEL_NUMERICS_ID: &[u8; 9usize] = b"boerboel\0";
734pub const WSBOERBOEL_CSHORT: i32 = 226;
735pub const WSBOERBOEL_CINT: i32 = 228;
736pub const WSBOERBOEL_CLONG: i32 = 228;
737pub const WSBOERBOEL_CINT64: i32 = 230;
738pub const WSBOERBOEL_CSIZE_T: i32 = 228;
739pub const WSBOERBOEL_CFLOAT: i32 = 244;
740pub const WSBOERBOEL_CDOUBLE: i32 = 246;
741pub const WSBOERBOEL_CLONGDOUBLE: i32 = 246;
742pub const WSBOERBOEL_WSSHORT: i32 = 226;
743pub const WSBOERBOEL_WSINT: i32 = 228;
744pub const WSBOERBOEL_WSLONG: i32 = 228;
745pub const WSBOERBOEL_WSINT64: i32 = 230;
746pub const WSBOERBOEL_WSSIZE_T: i32 = 228;
747pub const WSBOERBOEL_WSFLOAT: i32 = 244;
748pub const WSBOERBOEL_WSDOUBLE: i32 = 246;
749pub const WSBOERBOEL_WSLONGDOUBLE: i32 = 246;
750pub const WSCHINOOK_NUMERICS_ID: &[u8; 8usize] = b"chinook\0";
751pub const WSCHINOOK_CSHORT: i32 = 226;
752pub const WSCHINOOK_CINT: i32 = 228;
753pub const WSCHINOOK_CLONG: i32 = 228;
754pub const WSCHINOOK_CINT64: i32 = 230;
755pub const WSCHINOOK_CSIZE_T: i32 = 228;
756pub const WSCHINOOK_CFLOAT: i32 = 244;
757pub const WSCHINOOK_CDOUBLE: i32 = 246;
758pub const WSCHINOOK_CLONGDOUBLE: i32 = 246;
759pub const WSCHINOOK_WSSHORT: i32 = 226;
760pub const WSCHINOOK_WSINT: i32 = 228;
761pub const WSCHINOOK_WSLONG: i32 = 228;
762pub const WSCHINOOK_WSINT64: i32 = 230;
763pub const WSCHINOOK_WSSIZE_T: i32 = 228;
764pub const WSCHINOOK_WSFLOAT: i32 = 244;
765pub const WSCHINOOK_WSDOUBLE: i32 = 246;
766pub const WSCHINOOK_WSLONGDOUBLE: i32 = 246;
767pub const WSOLD_WIN_ENV_NUMERICS_ID: &[u8; 22usize] = b"Sep 13 1996, 13:46:34\0";
768pub const WSOLD_WIN_ENV_CSHORT: i32 = 193;
769pub const WSOLD_WIN_ENV_CINT: i32 = 194;
770pub const WSOLD_WIN_ENV_CLONG: i32 = 195;
771pub const WSOLD_WIN_ENV_CINT64: i32 = 196;
772pub const WSOLD_WIN_ENV_CSIZE_T: i32 = 195;
773pub const WSOLD_WIN_ENV_CFLOAT: i32 = 209;
774pub const WSOLD_WIN_ENV_CDOUBLE: i32 = 210;
775pub const WSOLD_WIN_ENV_CLONGDOUBLE: i32 = 211;
776pub const WSOLD_WIN_ENV_WSSHORT: i32 = 193;
777pub const WSOLD_WIN_ENV_WSINT: i32 = 194;
778pub const WSOLD_WIN_ENV_WSLONG: i32 = 195;
779pub const WSOLD_WIN_ENV_WSINT64: i32 = 196;
780pub const WSOLD_WIN_ENV_WSSIZE_T: i32 = 195;
781pub const WSOLD_WIN_ENV_WSFLOAT: i32 = 209;
782pub const WSOLD_WIN_ENV_WSDOUBLE: i32 = 210;
783pub const WSOLD_WIN_ENV_WSLONGDOUBLE: i32 = 211;
784pub const WSTK_CUCHAR: i32 = 161;
785pub const WSTK_WSUCHAR: i32 = 161;
786pub const WSTP_NUMERICS_ENVIRONMENT_ID: &[u8; 10usize] = b"greatdane\0";
787pub const WSTK_CSHORT: i32 = 226;
788pub const WSTK_CINT: i32 = 228;
789pub const WSTK_CLONG: i32 = 230;
790pub const WSTK_CINT64: i32 = 230;
791pub const WSTK_CSIZE_T: i32 = 230;
792pub const WSTK_CFLOAT: i32 = 244;
793pub const WSTK_CDOUBLE: i32 = 246;
794pub const WSTK_CLONGDOUBLE: i32 = 248;
795pub const WSTK_WSSHORT: i32 = 226;
796pub const WSTK_WSINT: i32 = 228;
797pub const WSTK_WSLONG: i32 = 230;
798pub const WSTK_WSINT64: i32 = 230;
799pub const WSTK_WSSIZE_T: i32 = 230;
800pub const WSTK_WSFLOAT: i32 = 244;
801pub const WSTK_WSDOUBLE: i32 = 246;
802pub const WSTK_WSLONGDOUBLE: i32 = 248;
803pub const MLVERSION: i32 = 6;
804pub const MLREVISION: i32 = 46;
805pub const MLCREATIONID: i32 = 114411;
806pub const MLAPI1REVISION: i32 = 1;
807pub const MLAPI2REVISION: i32 = 6;
808pub const MLAPI3REVISION: i32 = 16;
809pub const MLAPI4REVISION: i32 = 25;
810pub const MLAPIREVISION: i32 = 25;
811pub const MLOLDDEFINITION: i32 = 1;
812pub const MLSTDWORLD_INIT: i32 = 16;
813pub const MLSTDWORLD_DEINIT: i32 = 17;
814pub const MLSTDWORLD_MAKE: i32 = 18;
815pub const MLSTDWORLD_GET_SIGNAL_HANDLERS: i32 = 29;
816pub const MLSTDWORLD_RELEASE_SIGNAL_HANDLERS: i32 = 30;
817pub const MLSTDWORLD_PROTOCOL: i32 = 31;
818pub const MLSTDWORLD_MODES: i32 = 32;
819pub const MLSTDWORLD_STREAMCAPACITY: i32 = 33;
820pub const MLSTDWORLD_ID: i32 = 34;
821pub const MLSTDDEV_CONNECT_READY: i32 = 19;
822pub const MLSTDDEV_CONNECT: i32 = 20;
823pub const MLSTDDEV_DESTROY: i32 = 21;
824pub const MLSTDDEV_SET_YIELDER: i32 = 22;
825pub const MLSTDDEV_GET_YIELDER: i32 = 23;
826pub const MLSTDDEV_WRITE_MSG: i32 = 24;
827pub const MLSTDDEV_HAS_MSG: i32 = 25;
828pub const MLSTDDEV_READ_MSG: i32 = 26;
829pub const MLSTDDEV_SET_HANDLER: i32 = 27;
830pub const MLSTDDEV_GET_HANDLER: i32 = 28;
831pub const T_WORLD_INIT: i32 = 16;
832pub const T_WORLD_DEINIT: i32 = 17;
833pub const T_WORLD_MAKE: i32 = 18;
834pub const T_DEV_CONNECT_READY: i32 = 19;
835pub const T_DEV_CONNECT: i32 = 20;
836pub const T_DEV_DESTROY: i32 = 21;
837pub const T_DEV_SET_YIELDER: i32 = 22;
838pub const T_DEV_GET_YIELDER: i32 = 23;
839pub const T_DEV_WRITE_MSG: i32 = 24;
840pub const T_DEV_HAS_MSG: i32 = 25;
841pub const T_DEV_READ_MSG: i32 = 26;
842pub const T_DEV_SET_HANDLER: i32 = 27;
843pub const T_DEV_GET_HANDLER: i32 = 28;
844pub const INFO_MASK: i64 = 2147483648;
845pub const INFO_TYPE_MASK: i32 = 2147483647;
846pub const INFO_SWITCH_MASK: i32 = 1073741824;
847pub const MLDEVICE_MASK: i64 = 2147483648;
848pub const WORLD_MASK: i64 = 3221225472;
849pub const UNREGISTERED_TYPE: i32 = 0;
850pub const UNIXPIPE_TYPE: i32 = 1;
851pub const UNIXSOCKET_TYPE: i32 = 2;
852pub const LOOPBACK_TYPE: i32 = 5;
853pub const WINLOCAL_TYPE: i32 = 9;
854pub const WINFMAP_TYPE: i32 = 10;
855pub const WINSHM_TYPE: i32 = 11;
856pub const SOCKET2_TYPE: i32 = 12;
857pub const GENERIC_TYPE: i32 = 13;
858pub const UNIXSHM_TYPE: i32 = 14;
859pub const INTRAPROCESS_TYPE: i32 = 15;
860pub const MLDEVICE_TYPE: i64 = 2147483648;
861pub const MLDEVICE_NAME: i64 = 2147483649;
862pub const MLDEVICE_NAME_SIZE: i64 = 2147483650;
863pub const MLDEVICE_WORLD_ID: i64 = 2147483653;
864pub const SHM_FD: i64 = 2147487232;
865pub const PIPE_FD: i64 = 2147483904;
866pub const PIPE_CHILD_PID: i64 = 2147483905;
867pub const SOCKET_FD: i64 = 2147484160;
868pub const INTRA_FD: i64 = 2147487488;
869pub const SOCKET_PARTNER_ADDR: i64 = 2147484161;
870pub const SOCKET_PARTNER_PORT: i64 = 2147484162;
871pub const LOOPBACK_FD: i64 = 2147484928;
872pub const INTRAPROCESS_FD: i64 = 2147487488;
873pub const WINDOWS_SET_NOTIFY_WINDOW: i64 = 2147485978;
874pub const WINDOWS_REMOVE_NOTIFY_WINDOW: i64 = 2147485979;
875pub const WINDOWS_READY_CONDITION: i64 = 2147485980;
876pub const WORLD_THISLOCATION: i64 = 3221225473;
877pub const WORLD_MODES: i64 = 3221225474;
878pub const WORLD_PROTONAME: i64 = 3221225475;
879pub const WORLD_STREAMCAPACITY: i64 = 3221225476;
880pub const WORLD_ID: i64 = 3221225477;
881pub const MLDEVICE_MODE: i64 = 2147483654;
882pub const MLDEVICE_OPTIONS: i64 = 2147483655;
883pub const YIELDVERSION: i32 = 1;
884pub const INTERNAL_YIELDING: i32 = 0;
885pub const MAKE_YIELDING: i32 = 1;
886pub const CONNECT_YIELDING: i32 = 2;
887pub const READ_YIELDING: i32 = 3;
888pub const WRITE_YIELDING: i32 = 4;
889pub const DESTROY_YIELDING: i32 = 5;
890pub const READY_YIELDING: i32 = 6;
891pub const MAX_SLEEP: i32 = 600;
892pub const MLPARAMETERSIZE_R1: i32 = 256;
893pub const MLPARAMETERSIZE: i32 = 356;
894pub const MLASCII_ENC: i32 = 1;
895pub const MLBYTES_ENC: i32 = 2;
896pub const MLUCS2_ENC: i32 = 3;
897pub const MLOLD_ENC: i32 = 4;
898pub const MLUTF8_ENC: i32 = 5;
899pub const MLUTF16_ENC: i32 = 6;
900pub const MLUTF32_ENC: i32 = 8;
901pub const MLTOTAL_TEXT_ENCODINGS: i32 = 8;
902pub const MLLOGERROR: i32 = 0;
903pub const MLLOGWARNING: i32 = 1;
904pub const MLLOGNOTICE: i32 = 2;
905pub const MLLOGINFO: i32 = 3;
906pub const MLLOGDEBUG: i32 = 4;
907pub const MLLOGDEBUG1: i32 = 5;
908pub const MLLOGDEBUG2: i32 = 6;
909pub const MLLOGDEBUG3: i32 = 7;
910pub const MLLOGDEBUG4: i32 = 8;
911pub const MLNTESTPOINTS: i32 = 1;
912pub const MLSDADDSERVICE: i32 = 1;
913pub const MLSDREMOVESERVICE: i32 = 2;
914pub const MLSDBROWSEERROR: i32 = 3;
915pub const MLSDRESOLVEERROR: i32 = 4;
916pub const MLSDREGISTERERROR: i32 = 5;
917pub const MLSDMORECOMING: i32 = 16;
918pub const MLSDNAMECONFLICT: i32 = 7;
919pub const WSEUNKNOWN: i32 = -1;
920pub const WSEOK: i32 = 0;
921pub const WSEDEAD: i32 = 1;
922pub const WSEGBAD: i32 = 2;
923pub const WSEGSEQ: i32 = 3;
924pub const WSEPBTK: i32 = 4;
925pub const WSEPSEQ: i32 = 5;
926pub const WSEPBIG: i32 = 6;
927pub const WSEOVFL: i32 = 7;
928pub const WSEMEM: i32 = 8;
929pub const WSEACCEPT: i32 = 9;
930pub const WSECONNECT: i32 = 10;
931pub const WSECLOSED: i32 = 11;
932pub const WSEDEPTH: i32 = 12;
933pub const WSENODUPFCN: i32 = 13;
934pub const WSENOACK: i32 = 15;
935pub const WSENODATA: i32 = 16;
936pub const WSENOTDELIVERED: i32 = 17;
937pub const WSENOMSG: i32 = 18;
938pub const WSEFAILED: i32 = 19;
939pub const WSEGETENDEXPR: i32 = 20;
940pub const WSEPUTENDPACKET: i32 = 21;
941pub const WSENEXTPACKET: i32 = 22;
942pub const WSEUNKNOWNPACKET: i32 = 23;
943pub const WSEGETENDPACKET: i32 = 24;
944pub const WSEABORT: i32 = 25;
945pub const WSEMORE: i32 = 26;
946pub const WSENEWLIB: i32 = 27;
947pub const WSEOLDLIB: i32 = 28;
948pub const WSEBADPARAM: i32 = 29;
949pub const WSENOTIMPLEMENTED: i32 = 30;
950pub const WSEINIT: i32 = 32;
951pub const WSEARGV: i32 = 33;
952pub const WSEPROTOCOL: i32 = 34;
953pub const WSEMODE: i32 = 35;
954pub const WSELAUNCH: i32 = 36;
955pub const WSELAUNCHAGAIN: i32 = 37;
956pub const WSELAUNCHSPACE: i32 = 38;
957pub const WSENOPARENT: i32 = 39;
958pub const WSENAMETAKEN: i32 = 40;
959pub const WSENOLISTEN: i32 = 41;
960pub const WSEBADNAME: i32 = 42;
961pub const WSEBADHOST: i32 = 43;
962pub const WSERESOURCE: i32 = 44;
963pub const WSELAUNCHFAILED: i32 = 45;
964pub const WSELAUNCHNAME: i32 = 46;
965pub const WSEPDATABAD: i32 = 47;
966pub const WSEPSCONVERT: i32 = 48;
967pub const WSEGSCONVERT: i32 = 49;
968pub const WSENOTEXE: i32 = 50;
969pub const WSESYNCOBJECTMAKE: i32 = 51;
970pub const WSEBACKOUT: i32 = 52;
971pub const WSEBADOPTSYM: i32 = 53;
972pub const WSEBADOPTSTR: i32 = 54;
973pub const WSENEEDBIGGERBUFFER: i32 = 55;
974pub const WSEBADNUMERICSID: i32 = 56;
975pub const WSESERVICENOTAVAILABLE: i32 = 57;
976pub const WSEBADARGUMENT: i32 = 58;
977pub const WSEBADDISCOVERYHOSTNAME: i32 = 59;
978pub const WSEBADDISCOVERYDOMAINNAME: i32 = 60;
979pub const WSEBADSERVICENAME: i32 = 61;
980pub const WSEBADDISCOVERYSTATE: i32 = 62;
981pub const WSEBADDISCOVERYFLAGS: i32 = 63;
982pub const WSEDISCOVERYNAMECOLLISION: i32 = 64;
983pub const WSEBADSERVICEDISCOVERY: i32 = 65;
984pub const WSELAST: i32 = 57;
985pub const WSETRACEON: i32 = 996;
986pub const WSETRACEOFF: i32 = 997;
987pub const WSEDEBUG: i32 = 998;
988pub const WSEASSERT: i32 = 999;
989pub const WSEUSER: i32 = 1000;
990pub const MLEUNKNOWN: i32 = -1;
991pub const MLEOK: i32 = 0;
992pub const MLEDEAD: i32 = 1;
993pub const MLEGBAD: i32 = 2;
994pub const MLEGSEQ: i32 = 3;
995pub const MLEPBTK: i32 = 4;
996pub const MLEPSEQ: i32 = 5;
997pub const MLEPBIG: i32 = 6;
998pub const MLEOVFL: i32 = 7;
999pub const MLEMEM: i32 = 8;
1000pub const MLEACCEPT: i32 = 9;
1001pub const MLECONNECT: i32 = 10;
1002pub const MLECLOSED: i32 = 11;
1003pub const MLEDEPTH: i32 = 12;
1004pub const MLENODUPFCN: i32 = 13;
1005pub const MLENOACK: i32 = 15;
1006pub const MLENODATA: i32 = 16;
1007pub const MLENOTDELIVERED: i32 = 17;
1008pub const MLENOMSG: i32 = 18;
1009pub const MLEFAILED: i32 = 19;
1010pub const MLEGETENDEXPR: i32 = 20;
1011pub const MLEPUTENDPACKET: i32 = 21;
1012pub const MLENEXTPACKET: i32 = 22;
1013pub const MLEUNKNOWNPACKET: i32 = 23;
1014pub const MLEGETENDPACKET: i32 = 24;
1015pub const MLEABORT: i32 = 25;
1016pub const MLEMORE: i32 = 26;
1017pub const MLENEWLIB: i32 = 27;
1018pub const MLEOLDLIB: i32 = 28;
1019pub const MLEBADPARAM: i32 = 29;
1020pub const MLENOTIMPLEMENTED: i32 = 30;
1021pub const MLEINIT: i32 = 32;
1022pub const MLEARGV: i32 = 33;
1023pub const MLEPROTOCOL: i32 = 34;
1024pub const MLEMODE: i32 = 35;
1025pub const MLELAUNCH: i32 = 36;
1026pub const MLELAUNCHAGAIN: i32 = 37;
1027pub const MLELAUNCHSPACE: i32 = 38;
1028pub const MLENOPARENT: i32 = 39;
1029pub const MLENAMETAKEN: i32 = 40;
1030pub const MLENOLISTEN: i32 = 41;
1031pub const MLEBADNAME: i32 = 42;
1032pub const MLEBADHOST: i32 = 43;
1033pub const MLERESOURCE: i32 = 44;
1034pub const MLELAUNCHFAILED: i32 = 45;
1035pub const MLELAUNCHNAME: i32 = 46;
1036pub const MLEPDATABAD: i32 = 47;
1037pub const MLEPSCONVERT: i32 = 48;
1038pub const MLEGSCONVERT: i32 = 49;
1039pub const MLENOTEXE: i32 = 50;
1040pub const MLESYNCOBJECTMAKE: i32 = 51;
1041pub const MLEBACKOUT: i32 = 52;
1042pub const MLEBADOPTSYM: i32 = 53;
1043pub const MLEBADOPTSTR: i32 = 54;
1044pub const MLENEEDBIGGERBUFFER: i32 = 55;
1045pub const MLEBADNUMERICSID: i32 = 56;
1046pub const MLESERVICENOTAVAILABLE: i32 = 57;
1047pub const MLEBADARGUMENT: i32 = 58;
1048pub const MLEBADDISCOVERYHOSTNAME: i32 = 59;
1049pub const MLEBADDISCOVERYDOMAINNAME: i32 = 60;
1050pub const MLEBADSERVICENAME: i32 = 61;
1051pub const MLEBADDISCOVERYSTATE: i32 = 62;
1052pub const MLEBADDISCOVERYFLAGS: i32 = 63;
1053pub const MLEDISCOVERYNAMECOLLISION: i32 = 64;
1054pub const MLEBADSERVICEDISCOVERY: i32 = 65;
1055pub const MLELAST: i32 = 57;
1056pub const MLETRACEON: i32 = 996;
1057pub const MLETRACEOFF: i32 = 997;
1058pub const MLEDEBUG: i32 = 998;
1059pub const MLEASSERT: i32 = 999;
1060pub const MLEUSER: i32 = 1000;
1061pub const WSTKOLDINT: u8 = 73u8;
1062pub const WSTKOLDREAL: u8 = 82u8;
1063pub const WSTKFUNC: u8 = 70u8;
1064pub const WSTKERROR: i32 = 0;
1065pub const WSTKERR: i32 = 0;
1066pub const WSTKSTR: u8 = 34u8;
1067pub const WSTKSYM: u8 = 35u8;
1068pub const WSTKOPTSYM: u8 = 79u8;
1069pub const WSTKOPTSTR: u8 = 81u8;
1070pub const WSTKREAL: u8 = 42u8;
1071pub const WSTKINT: u8 = 43u8;
1072pub const WSTKPCTEND: u8 = 93u8;
1073pub const WSTKAPCTEND: u8 = 10u8;
1074pub const WSTKEND: u8 = 10u8;
1075pub const WSTKAEND: u8 = 13u8;
1076pub const WSTKSEND: u8 = 44u8;
1077pub const WSTKCONT: u8 = 92u8;
1078pub const WSTKELEN: u8 = 32u8;
1079pub const WSTKNULL: u8 = 46u8;
1080pub const WSTKOLDSYM: u8 = 89u8;
1081pub const WSTKOLDSTR: u8 = 83u8;
1082pub const WSTKPACKED: u8 = 80u8;
1083pub const WSTKARRAY: u8 = 65u8;
1084pub const WSTKDIM: u8 = 68u8;
1085pub const WSTK_FIRSTUSER: u8 = 48u8;
1086pub const WSTK_LASTUSER: u8 = 63u8;
1087pub const MAX_BYTES_PER_OLD_CHARACTER: i32 = 3;
1088pub const MAX_BYTES_PER_NEW_CHARACTER: i32 = 10;
1089pub const WS_MAX_BYTES_PER_CHARACTER: i32 = 10;
1090pub const ML_USES_NEW_PUTBYTEARRAY_API: i32 = 1;
1091pub const ILLEGALPKT: i32 = 0;
1092pub const CALLPKT: i32 = 7;
1093pub const EVALUATEPKT: i32 = 13;
1094pub const RETURNPKT: i32 = 3;
1095pub const INPUTNAMEPKT: i32 = 8;
1096pub const ENTERTEXTPKT: i32 = 14;
1097pub const ENTEREXPRPKT: i32 = 15;
1098pub const OUTPUTNAMEPKT: i32 = 9;
1099pub const RETURNTEXTPKT: i32 = 4;
1100pub const RETURNEXPRPKT: i32 = 16;
1101pub const DISPLAYPKT: i32 = 11;
1102pub const DISPLAYENDPKT: i32 = 12;
1103pub const MESSAGEPKT: i32 = 5;
1104pub const TEXTPKT: i32 = 2;
1105pub const INPUTPKT: i32 = 1;
1106pub const INPUTSTRPKT: i32 = 21;
1107pub const MENUPKT: i32 = 6;
1108pub const SYNTAXPKT: i32 = 10;
1109pub const SUSPENDPKT: i32 = 17;
1110pub const RESUMEPKT: i32 = 18;
1111pub const BEGINDLGPKT: i32 = 19;
1112pub const ENDDLGPKT: i32 = 20;
1113pub const FIRSTUSERPKT: i32 = 128;
1114pub const LASTUSERPKT: i32 = 255;
1115pub const MLREADYPARALLELERROR: i32 = -1;
1116pub const MLREADYPARALLELTIMEDOUT: i32 = -2;
1117pub const MLREADYPARALLELINVALIDARGUMENT: i32 = -3;
1118pub const MLWAITSUCCESS: i32 = 1;
1119pub const MLWAITERROR: i32 = 2;
1120pub const MLWAITTIMEOUT: i32 = 3;
1121pub const MLWAITCALLBACKABORTED: i32 = 4;
1122pub type wint = ::std::os::raw::c_uint;
1123#[repr(C)]
1124#[derive(Debug, Copy, Clone)]
1125pub struct _wint {
1126    pub low: wint,
1127    pub hi: wint,
1128}
1129#[test]
1130fn bindgen_test_layout__wint() {
1131    const UNINIT: ::std::mem::MaybeUninit<_wint> = ::std::mem::MaybeUninit::uninit();
1132    let ptr = UNINIT.as_ptr();
1133    assert_eq!(
1134        ::std::mem::size_of::<_wint>(),
1135        8usize,
1136        concat!("Size of: ", stringify!(_wint))
1137    );
1138    assert_eq!(
1139        ::std::mem::align_of::<_wint>(),
1140        4usize,
1141        concat!("Alignment of ", stringify!(_wint))
1142    );
1143    assert_eq!(
1144        unsafe { ::std::ptr::addr_of!((*ptr).low) as usize - ptr as usize },
1145        0usize,
1146        concat!(
1147            "Offset of field: ",
1148            stringify!(_wint),
1149            "::",
1150            stringify!(low)
1151        )
1152    );
1153    assert_eq!(
1154        unsafe { ::std::ptr::addr_of!((*ptr).hi) as usize - ptr as usize },
1155        4usize,
1156        concat!("Offset of field: ", stringify!(_wint), "::", stringify!(hi))
1157    );
1158}
1159pub type wint64 = _wint;
1160pub type mllong32 = ::std::os::raw::c_int;
1161pub type wslong32 = ::std::os::raw::c_int;
1162pub type mlulong32 = ::std::os::raw::c_uint;
1163pub type wsulong32 = ::std::os::raw::c_uint;
1164pub type wsint64 = ::std::os::raw::c_long;
1165pub type mluint64 = ::std::os::raw::c_ulong;
1166pub type wsuint64 = ::std::os::raw::c_ulong;
1167pub type mlbigint = wsint64;
1168pub type mlbiguint = mluint64;
1169pub type uchar_ct = ::std::os::raw::c_uchar;
1170pub type ucharp_ct = *mut uchar_ct;
1171pub type ucharpp_ct = *mut ucharp_ct;
1172pub type ucharppp_ct = *mut ucharpp_ct;
1173pub type ushort_ct = ::std::os::raw::c_ushort;
1174pub type ushortp_ct = *mut ushort_ct;
1175pub type ushortpp_ct = *mut ushortp_ct;
1176pub type ushortppp_ct = *mut ushortpp_ct;
1177pub type uint_ct = ::std::os::raw::c_uint;
1178pub type uintp_ct = *mut ::std::os::raw::c_uint;
1179pub type uintpp_ct = *mut uintp_ct;
1180pub type int_ct = ::std::os::raw::c_int;
1181pub type voidp_ct = *mut ::std::os::raw::c_void;
1182pub type voidpp_ct = *mut voidp_ct;
1183pub type charp_ct = *mut ::std::os::raw::c_char;
1184pub type charpp_ct = *mut charp_ct;
1185pub type charppp_ct = *mut charpp_ct;
1186pub type long_ct = ::std::os::raw::c_long;
1187pub type longp_ct = *mut long_ct;
1188pub type longpp_ct = *mut longp_ct;
1189pub type ulong_ct = ::std::os::raw::c_ulong;
1190pub type ulongp_ct = *mut ulong_ct;
1191pub type kushortp_ct = *const ::std::os::raw::c_ushort;
1192pub type kushortpp_ct = *mut *const ::std::os::raw::c_ushort;
1193pub type kuintp_ct = *const ::std::os::raw::c_uint;
1194pub type kuintpp_ct = *mut *const ::std::os::raw::c_uint;
1195pub type kucharp_ct = *const ::std::os::raw::c_uchar;
1196pub type kucharpp_ct = *mut *const ::std::os::raw::c_uchar;
1197pub type kcharp_ct = *const ::std::os::raw::c_char;
1198pub type kcharpp_ct = *mut *const ::std::os::raw::c_char;
1199pub type kvoidp_ct = *const ::std::os::raw::c_void;
1200pub type WSPointer = *mut ::std::os::raw::c_void;
1201pub type MLENVPARAM = *mut ::std::os::raw::c_void;
1202pub type WSEnvironmentParameter = MLENVPARAM;
1203#[repr(C)]
1204#[derive(Debug, Copy, Clone)]
1205pub struct ml_environment {
1206    _unused: [u8; 0],
1207}
1208pub type WSENV = *mut ml_environment;
1209pub type WSEnvironment = WSENV;
1210#[repr(C)]
1211#[derive(Debug, Copy, Clone)]
1212pub struct MLink {
1213    _unused: [u8; 0],
1214}
1215pub type WSLINK = *mut MLink;
1216#[repr(C)]
1217#[derive(Debug, Copy, Clone)]
1218pub struct MLinkMark {
1219    _unused: [u8; 0],
1220}
1221pub type WSMARK = *mut MLinkMark;
1222pub type MLINKMark = WSMARK;
1223pub type mlapi_token = int_ct;
1224pub type mlapi__token = ::std::os::raw::c_ulong;
1225pub type mlapi__tokenp = *mut mlapi__token;
1226pub type wsapi_packet = int_ct;
1227pub type mlapi_error = ::std::os::raw::c_long;
1228pub type mlapi__error = ::std::os::raw::c_long;
1229pub type long_st = ::std::os::raw::c_long;
1230pub type longp_st = longp_ct;
1231pub type longpp_st = *mut longp_st;
1232pub type long_et = ::std::os::raw::c_long;
1233pub type mlapi_result = int_ct;
1234pub type __MLProcPtr__ =
1235    ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_long>;
1236pub type dev_voidp = *mut ::std::os::raw::c_void;
1237pub type dev_type = dev_voidp;
1238pub type dev_typep = *mut dev_type;
1239pub type devproc_error = ::std::os::raw::c_long;
1240pub type devproc_selector = ::std::os::raw::c_ulong;
1241#[repr(C)]
1242#[derive(Debug, Copy, Clone)]
1243pub struct read_buf {
1244    pub length: ::std::os::raw::c_ushort,
1245    pub ptr: *mut ::std::os::raw::c_uchar,
1246}
1247#[test]
1248fn bindgen_test_layout_read_buf() {
1249    const UNINIT: ::std::mem::MaybeUninit<read_buf> = ::std::mem::MaybeUninit::uninit();
1250    let ptr = UNINIT.as_ptr();
1251    assert_eq!(
1252        ::std::mem::size_of::<read_buf>(),
1253        16usize,
1254        concat!("Size of: ", stringify!(read_buf))
1255    );
1256    assert_eq!(
1257        ::std::mem::align_of::<read_buf>(),
1258        8usize,
1259        concat!("Alignment of ", stringify!(read_buf))
1260    );
1261    assert_eq!(
1262        unsafe { ::std::ptr::addr_of!((*ptr).length) as usize - ptr as usize },
1263        0usize,
1264        concat!(
1265            "Offset of field: ",
1266            stringify!(read_buf),
1267            "::",
1268            stringify!(length)
1269        )
1270    );
1271    assert_eq!(
1272        unsafe { ::std::ptr::addr_of!((*ptr).ptr) as usize - ptr as usize },
1273        8usize,
1274        concat!(
1275            "Offset of field: ",
1276            stringify!(read_buf),
1277            "::",
1278            stringify!(ptr)
1279        )
1280    );
1281}
1282pub type read_bufp = *mut read_buf;
1283pub type read_bufpp = *mut read_bufp;
1284pub type MLDeviceProcPtr = ::std::option::Option<
1285    unsafe extern "C" fn(
1286        dev: dev_type,
1287        selector: devproc_selector,
1288        p1: dev_voidp,
1289        p2: dev_voidp,
1290    ) -> devproc_error,
1291>;
1292extern "C" {
1293    pub fn MLDeviceMain(
1294        dev: dev_type,
1295        selector: devproc_selector,
1296        p1: dev_voidp,
1297        p2: dev_voidp,
1298    ) -> devproc_error;
1299}
1300pub type MLDeviceUPP = MLDeviceProcPtr;
1301pub type dev_main_type = MLDeviceUPP;
1302pub type dev_main_typep = *mut dev_main_type;
1303pub type WSAllocatorProcPtr = ::std::option::Option<
1304    unsafe extern "C" fn(arg1: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void,
1305>;
1306pub type MLAllocatorUPP = WSAllocatorProcPtr;
1307pub type WSDeallocatorProcPtr =
1308    ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1309pub type MLDeallocatorUPP = WSDeallocatorProcPtr;
1310extern "C" {
1311    pub fn WSAllocatorCast(f: WSAllocatorProcPtr) -> __MLProcPtr__;
1312}
1313extern "C" {
1314    pub fn WSDeallocatorCast(f: WSDeallocatorProcPtr) -> __MLProcPtr__;
1315}
1316pub type WSAllocator = MLAllocatorUPP;
1317pub type WSAllocatorp = *mut WSAllocator;
1318pub type WSDeallocator = MLDeallocatorUPP;
1319pub type WSDeallocatorp = *mut WSDeallocator;
1320pub type _uint32_nt = ::std::os::raw::c_uint;
1321pub type _sint32_nt = ::std::os::raw::c_int;
1322pub type uchar_nt = ::std::os::raw::c_uchar;
1323pub type ucharp_nt = *mut uchar_nt;
1324pub type ucharpp_nt = *mut ucharp_nt;
1325pub type short_nt = ::std::os::raw::c_short;
1326pub type shortp_nt = *mut short_nt;
1327pub type shortpp_nt = *mut shortp_nt;
1328pub type int_nt = ::std::os::raw::c_int;
1329pub type intp_nt = *mut int_nt;
1330pub type intpp_nt = *mut intp_nt;
1331pub type long_nt = ::std::os::raw::c_long;
1332pub type longp_nt = *mut long_nt;
1333pub type longpp_nt = *mut longp_nt;
1334pub type int64_nt = wsint64;
1335pub type int64p_nt = *mut int64_nt;
1336pub type int64pp_nt = *mut int64p_nt;
1337pub type float_nt = f32;
1338pub type floatp_nt = *mut float_nt;
1339pub type floatpp_nt = *mut floatp_nt;
1340pub type double_nt = f64;
1341pub type doublep_nt = *mut double_nt;
1342pub type doublepp_nt = *mut doublep_nt;
1343#[repr(C)]
1344#[derive(Debug, Copy, Clone)]
1345pub struct _i87extended_nt {
1346    pub w: [::std::os::raw::c_ushort; 5usize],
1347}
1348#[test]
1349fn bindgen_test_layout__i87extended_nt() {
1350    const UNINIT: ::std::mem::MaybeUninit<_i87extended_nt> =
1351        ::std::mem::MaybeUninit::uninit();
1352    let ptr = UNINIT.as_ptr();
1353    assert_eq!(
1354        ::std::mem::size_of::<_i87extended_nt>(),
1355        10usize,
1356        concat!("Size of: ", stringify!(_i87extended_nt))
1357    );
1358    assert_eq!(
1359        ::std::mem::align_of::<_i87extended_nt>(),
1360        2usize,
1361        concat!("Alignment of ", stringify!(_i87extended_nt))
1362    );
1363    assert_eq!(
1364        unsafe { ::std::ptr::addr_of!((*ptr).w) as usize - ptr as usize },
1365        0usize,
1366        concat!(
1367            "Offset of field: ",
1368            stringify!(_i87extended_nt),
1369            "::",
1370            stringify!(w)
1371        )
1372    );
1373}
1374pub type wsextended_double = u128;
1375pub type extended_nt = u128;
1376pub type extendedp_nt = *mut extended_nt;
1377pub type extendedpp_nt = *mut extendedp_nt;
1378pub type dev_world = *mut ::std::os::raw::c_void;
1379pub type dev_cookie = WSLINK;
1380pub type dev_worldp = *mut dev_world;
1381pub type dev_cookiep = *mut dev_cookie;
1382pub type dev_allocator = MLAllocatorUPP;
1383pub type dev_deallocator = MLDeallocatorUPP;
1384pub type world_main_type = dev_main_type;
1385pub type dev_mode = ::std::os::raw::c_ulong;
1386pub type dev_modep = *mut dev_mode;
1387pub type dev_options = ::std::os::raw::c_ulong;
1388pub type devyield_result = ::std::os::raw::c_long;
1389pub type devyield_place = ::std::os::raw::c_long;
1390pub type devyield_count = ::std::os::raw::c_long;
1391pub type devyield_sleep = ::std::os::raw::c_ulong;
1392#[repr(C)]
1393#[derive(Debug, Copy, Clone)]
1394pub struct MLYieldParams {
1395    _unused: [u8; 0],
1396}
1397pub type WSYieldParameters = *mut MLYieldParams;
1398#[repr(C)]
1399#[derive(Copy, Clone)]
1400pub struct MLYieldData {
1401    pub private_data: [MLYieldData__bindgen_ty_1; 8usize],
1402}
1403#[repr(C)]
1404#[derive(Copy, Clone)]
1405pub union MLYieldData__bindgen_ty_1 {
1406    pub l: ::std::os::raw::c_long,
1407    pub d: f64,
1408    pub p: *mut ::std::os::raw::c_void,
1409}
1410#[test]
1411fn bindgen_test_layout_MLYieldData__bindgen_ty_1() {
1412    const UNINIT: ::std::mem::MaybeUninit<MLYieldData__bindgen_ty_1> =
1413        ::std::mem::MaybeUninit::uninit();
1414    let ptr = UNINIT.as_ptr();
1415    assert_eq!(
1416        ::std::mem::size_of::<MLYieldData__bindgen_ty_1>(),
1417        8usize,
1418        concat!("Size of: ", stringify!(MLYieldData__bindgen_ty_1))
1419    );
1420    assert_eq!(
1421        ::std::mem::align_of::<MLYieldData__bindgen_ty_1>(),
1422        8usize,
1423        concat!("Alignment of ", stringify!(MLYieldData__bindgen_ty_1))
1424    );
1425    assert_eq!(
1426        unsafe { ::std::ptr::addr_of!((*ptr).l) as usize - ptr as usize },
1427        0usize,
1428        concat!(
1429            "Offset of field: ",
1430            stringify!(MLYieldData__bindgen_ty_1),
1431            "::",
1432            stringify!(l)
1433        )
1434    );
1435    assert_eq!(
1436        unsafe { ::std::ptr::addr_of!((*ptr).d) as usize - ptr as usize },
1437        0usize,
1438        concat!(
1439            "Offset of field: ",
1440            stringify!(MLYieldData__bindgen_ty_1),
1441            "::",
1442            stringify!(d)
1443        )
1444    );
1445    assert_eq!(
1446        unsafe { ::std::ptr::addr_of!((*ptr).p) as usize - ptr as usize },
1447        0usize,
1448        concat!(
1449            "Offset of field: ",
1450            stringify!(MLYieldData__bindgen_ty_1),
1451            "::",
1452            stringify!(p)
1453        )
1454    );
1455}
1456#[test]
1457fn bindgen_test_layout_MLYieldData() {
1458    const UNINIT: ::std::mem::MaybeUninit<MLYieldData> =
1459        ::std::mem::MaybeUninit::uninit();
1460    let ptr = UNINIT.as_ptr();
1461    assert_eq!(
1462        ::std::mem::size_of::<MLYieldData>(),
1463        64usize,
1464        concat!("Size of: ", stringify!(MLYieldData))
1465    );
1466    assert_eq!(
1467        ::std::mem::align_of::<MLYieldData>(),
1468        8usize,
1469        concat!("Alignment of ", stringify!(MLYieldData))
1470    );
1471    assert_eq!(
1472        unsafe { ::std::ptr::addr_of!((*ptr).private_data) as usize - ptr as usize },
1473        0usize,
1474        concat!(
1475            "Offset of field: ",
1476            stringify!(MLYieldData),
1477            "::",
1478            stringify!(private_data)
1479        )
1480    );
1481}
1482pub type MLYieldDataPointer = *mut MLYieldData;
1483extern "C" {
1484    pub fn MLNewYieldData(ydp: MLYieldDataPointer);
1485}
1486extern "C" {
1487    pub fn MLFreeYieldData(ydp: MLYieldDataPointer);
1488}
1489extern "C" {
1490    pub fn MLResetYieldData(
1491        ydp: MLYieldDataPointer,
1492        func_id: devyield_place,
1493    ) -> WSYieldParameters;
1494}
1495extern "C" {
1496    pub fn MLSetYieldParameter(
1497        yp: WSYieldParameters,
1498        selector: ::std::os::raw::c_ulong,
1499        data: *mut ::std::os::raw::c_void,
1500        len: *mut ::std::os::raw::c_ulong,
1501    ) -> ::std::os::raw::c_int;
1502}
1503extern "C" {
1504    pub fn MLYieldParameter(
1505        yp: WSYieldParameters,
1506        selector: ::std::os::raw::c_ulong,
1507        data: *mut ::std::os::raw::c_void,
1508        len: *mut ::std::os::raw::c_ulong,
1509    ) -> ::std::os::raw::c_int;
1510}
1511extern "C" {
1512    pub fn MLSetSleepYP(yp: WSYieldParameters, sleep: devyield_sleep) -> devyield_sleep;
1513}
1514extern "C" {
1515    pub fn MLSetCountYP(yp: WSYieldParameters, count: devyield_count) -> devyield_count;
1516}
1517pub const MLSleepParameter: _bindgen_ty_1 = 1;
1518pub const MLCountParameter: _bindgen_ty_1 = 2;
1519pub const MLPlaceParameter: _bindgen_ty_1 = 3;
1520pub type _bindgen_ty_1 = ::std::os::raw::c_uint;
1521pub type WSYielderProcPtr = ::std::option::Option<
1522    unsafe extern "C" fn(mlp: WSLINK, yp: WSYieldParameters) -> ::std::os::raw::c_int,
1523>;
1524pub type MLDeviceYielderProcPtr = WSYielderProcPtr;
1525pub type MLYielderUPP = WSYielderProcPtr;
1526pub type MLDeviceYielderUPP = WSYielderProcPtr;
1527pub type WSYieldFunctionType = MLYielderUPP;
1528pub type WSYieldFunctionObject = MLYielderUPP;
1529pub type dev_yielder = WSYieldFunctionObject;
1530pub type dev_yielderp = *mut dev_yielder;
1531pub type dev_message = ::std::os::raw::c_ulong;
1532pub type dev_messagep = *mut dev_message;
1533pub type WSHandlerProcPtr = ::std::option::Option<
1534    unsafe extern "C" fn(mlp: WSLINK, m: ::std::os::raw::c_int, n: ::std::os::raw::c_int),
1535>;
1536pub type MLDeviceHandlerProcPtr = WSHandlerProcPtr;
1537pub type MLHandlerUPP = WSHandlerProcPtr;
1538pub type MLDeviceHandlerUPP = WSHandlerProcPtr;
1539pub type WSMessageHandlerType = MLHandlerUPP;
1540pub type WSMessageHandlerObject = MLHandlerUPP;
1541pub type dev_msghandler = WSMessageHandlerObject;
1542pub type dev_msghandlerp = *mut dev_msghandler;
1543extern "C" {
1544    pub fn WSSleepYP(yp: WSYieldParameters) -> devyield_sleep;
1545}
1546extern "C" {
1547    pub fn WSCountYP(yp: WSYieldParameters) -> devyield_count;
1548}
1549extern "C" {
1550    pub fn WSCreateYieldFunction(
1551        ep: WSEnvironment,
1552        yf: WSYieldFunctionType,
1553        reserved: *mut ::std::os::raw::c_void,
1554    ) -> WSYieldFunctionObject;
1555}
1556extern "C" {
1557    pub fn WSDestroyYieldFunction(yfo: WSYieldFunctionObject) -> WSYieldFunctionType;
1558}
1559extern "C" {
1560    pub fn WSCallYieldFunction(
1561        yfo: WSYieldFunctionObject,
1562        mlp: WSLINK,
1563        p: WSYieldParameters,
1564    ) -> ::std::os::raw::c_int;
1565}
1566extern "C" {
1567    pub fn WSCreateMessageHandler(
1568        ep: WSEnvironment,
1569        mh: WSMessageHandlerType,
1570        reserved: *mut ::std::os::raw::c_void,
1571    ) -> WSMessageHandlerObject;
1572}
1573extern "C" {
1574    pub fn WSDestroyMessageHandler(mho: WSMessageHandlerObject) -> WSMessageHandlerType;
1575}
1576extern "C" {
1577    pub fn WSCallMessageHandler(
1578        mho: WSMessageHandlerObject,
1579        mlp: WSLINK,
1580        m: ::std::os::raw::c_int,
1581        n: ::std::os::raw::c_int,
1582    );
1583}
1584extern "C" {
1585    pub fn WSYielderCast(yp: WSYielderProcPtr) -> __MLProcPtr__;
1586}
1587extern "C" {
1588    pub fn WSHandlerCast(mh: WSHandlerProcPtr) -> __MLProcPtr__;
1589}
1590pub type MLSigHandlerProcPtr =
1591    ::std::option::Option<unsafe extern "C" fn(signal: ::std::os::raw::c_int)>;
1592pub type WSSignalHandlerType = MLSigHandlerProcPtr;
1593pub type MLSignalHandlerObject = *mut ::std::os::raw::c_void;
1594pub type WSParametersPointer = *mut ::std::os::raw::c_char;
1595pub type MLParameters = [::std::os::raw::c_char; 356usize];
1596pub type WSUserProcPtr = ::std::option::Option<unsafe extern "C" fn(arg1: WSLINK)>;
1597pub type MLUserUPP = WSUserProcPtr;
1598pub type WSUserFunctionType = MLUserUPP;
1599pub type WSUserFunctionTypePointer = *mut WSUserFunctionType;
1600pub type WSUserFunction = MLUserUPP;
1601extern "C" {
1602    pub fn WSNewParameters(
1603        rev: ::std::os::raw::c_ulong,
1604        apirev: ::std::os::raw::c_ulong,
1605    ) -> WSEnvironmentParameter;
1606}
1607extern "C" {
1608    pub fn WSReleaseParameters(ep: WSEnvironmentParameter);
1609}
1610extern "C" {
1611    pub fn WSSetAllocParameter(
1612        ep: WSEnvironmentParameter,
1613        allocator: WSAllocator,
1614        deallocator: WSDeallocator,
1615    );
1616}
1617extern "C" {
1618    pub fn WSSetThreadSafeLinksParameter(
1619        ep: WSEnvironmentParameter,
1620    ) -> ::std::os::raw::c_long;
1621}
1622extern "C" {
1623    pub fn WSAllocParameter(
1624        ep: WSEnvironmentParameter,
1625        allocator: *mut WSAllocator,
1626        deallocator: *mut WSDeallocator,
1627    ) -> ::std::os::raw::c_int;
1628}
1629extern "C" {
1630    pub fn WSSetResourceParameter(
1631        ep: WSEnvironmentParameter,
1632        path: *const ::std::os::raw::c_char,
1633    ) -> ::std::os::raw::c_long;
1634}
1635extern "C" {
1636    pub fn WSSetDeviceParameter(
1637        ep: WSEnvironmentParameter,
1638        devspec: *const ::std::os::raw::c_char,
1639    ) -> ::std::os::raw::c_long;
1640}
1641extern "C" {
1642    pub fn WSErrorParameter(ep: WSEnvironmentParameter) -> ::std::os::raw::c_long;
1643}
1644extern "C" {
1645    pub fn WSSetEncodingParameter(
1646        ep: WSEnvironmentParameter,
1647        etype: ::std::os::raw::c_uint,
1648    ) -> ::std::os::raw::c_long;
1649}
1650extern "C" {
1651    pub fn WSDoNotHandleSignalParameter(
1652        ep: WSEnvironmentParameter,
1653        signum: ::std::os::raw::c_int,
1654    ) -> ::std::os::raw::c_long;
1655}
1656extern "C" {
1657    pub fn WSStopHandlingSignal(env: WSEnvironment, signum: ::std::os::raw::c_int);
1658}
1659extern "C" {
1660    pub fn WSHandleSignal(env: WSEnvironment, signum: ::std::os::raw::c_int);
1661}
1662extern "C" {
1663    pub fn WSSetEnvironmentData(
1664        env: WSEnvironment,
1665        cookie: *mut ::std::os::raw::c_void,
1666    ) -> ::std::os::raw::c_long;
1667}
1668extern "C" {
1669    pub fn WSEnvironmentData(env: WSEnvironment) -> *mut ::std::os::raw::c_void;
1670}
1671extern "C" {
1672    pub fn WSSetSignalHandler(
1673        env: WSEnvironment,
1674        signum: ::std::os::raw::c_int,
1675        so: *mut ::std::os::raw::c_void,
1676    ) -> ::std::os::raw::c_int;
1677}
1678extern "C" {
1679    pub fn WSSetSignalHandlerFromFunction(
1680        env: WSEnvironment,
1681        signum: ::std::os::raw::c_int,
1682        sigfunc: WSSignalHandlerType,
1683    ) -> ::std::os::raw::c_int;
1684}
1685extern "C" {
1686    pub fn WSUnsetSignalHandler(
1687        env: WSEnvironment,
1688        signum: ::std::os::raw::c_int,
1689        sigfunc: WSSignalHandlerType,
1690    ) -> ::std::os::raw::c_int;
1691}
1692extern "C" {
1693    pub fn WSSetSymbolReplacement(
1694        mlp: WSLINK,
1695        priv_: *const ::std::os::raw::c_char,
1696        prlen: ::std::os::raw::c_int,
1697        pub_: *const ::std::os::raw::c_char,
1698        pblen: ::std::os::raw::c_int,
1699    ) -> ::std::os::raw::c_long;
1700}
1701extern "C" {
1702    pub fn WSClearSymbolReplacement(
1703        mlp: WSLINK,
1704        index: ::std::os::raw::c_long,
1705    ) -> ::std::os::raw::c_int;
1706}
1707extern "C" {
1708    pub fn WSClearAllSymbolReplacements(mlp: WSLINK);
1709}
1710extern "C" {
1711    pub fn WSInitialize(ep: WSEnvironmentParameter) -> WSEnvironment;
1712}
1713extern "C" {
1714    pub fn WSDeinitialize(env: WSEnvironment);
1715}
1716extern "C" {
1717    pub fn WSVersionNumbers(
1718        env: WSEnvironment,
1719        inumb: *mut ::std::os::raw::c_int,
1720        rnumb: *mut ::std::os::raw::c_int,
1721        bnumb: *mut ::std::os::raw::c_int,
1722    );
1723}
1724extern "C" {
1725    pub fn WSCompilerID(
1726        env: WSEnvironment,
1727        id: *mut *const ::std::os::raw::c_char,
1728    ) -> ::std::os::raw::c_int;
1729}
1730extern "C" {
1731    pub fn WSReleaseCompilerID(env: WSEnvironment, id: *const ::std::os::raw::c_char);
1732}
1733extern "C" {
1734    pub fn WSUCS2CompilerID(
1735        env: WSEnvironment,
1736        id: *mut *mut ::std::os::raw::c_ushort,
1737        length: *mut ::std::os::raw::c_int,
1738    ) -> ::std::os::raw::c_int;
1739}
1740extern "C" {
1741    pub fn WSReleaseUCS2CompilerID(
1742        env: WSEnvironment,
1743        id: *mut ::std::os::raw::c_ushort,
1744        length: ::std::os::raw::c_int,
1745    );
1746}
1747extern "C" {
1748    pub fn WSUTF8CompilerID(
1749        env: WSEnvironment,
1750        id: *mut *mut ::std::os::raw::c_uchar,
1751        length: *mut ::std::os::raw::c_int,
1752    ) -> ::std::os::raw::c_int;
1753}
1754extern "C" {
1755    pub fn WSReleaseUTF8CompilerID(
1756        env: WSEnvironment,
1757        id: *mut ::std::os::raw::c_uchar,
1758        length: ::std::os::raw::c_int,
1759    );
1760}
1761extern "C" {
1762    pub fn WSUTF16CompilerID(
1763        env: WSEnvironment,
1764        id: *mut *mut ::std::os::raw::c_ushort,
1765        length: *mut ::std::os::raw::c_int,
1766    ) -> ::std::os::raw::c_int;
1767}
1768extern "C" {
1769    pub fn WSReleaseUTF16CompilerID(
1770        env: WSEnvironment,
1771        id: *mut ::std::os::raw::c_ushort,
1772        length: ::std::os::raw::c_int,
1773    );
1774}
1775extern "C" {
1776    pub fn WSUTF32CompilerID(
1777        env: WSEnvironment,
1778        id: *mut *mut ::std::os::raw::c_uint,
1779        length: *mut ::std::os::raw::c_int,
1780    ) -> ::std::os::raw::c_int;
1781}
1782extern "C" {
1783    pub fn WSReleaseUTF32CompilerID(
1784        env: WSEnvironment,
1785        id: *mut ::std::os::raw::c_uint,
1786        length: ::std::os::raw::c_int,
1787    );
1788}
1789extern "C" {
1790    pub fn WSBegin(ep: WSEnvironmentParameter) -> WSEnvironment;
1791}
1792extern "C" {
1793    pub fn WSEnd(env: WSEnvironment);
1794}
1795extern "C" {
1796    pub fn WSSetEnvIDString(
1797        ep: WSEnvironment,
1798        environment_id: *const ::std::os::raw::c_char,
1799    ) -> ::std::os::raw::c_int;
1800}
1801extern "C" {
1802    pub fn WSGetLinkedEnvIDString(
1803        mlp: WSLINK,
1804        environment_id: *mut *const ::std::os::raw::c_char,
1805    ) -> ::std::os::raw::c_int;
1806}
1807extern "C" {
1808    pub fn WSReleaseEnvIDString(
1809        mlp: WSLINK,
1810        environment_id: *const ::std::os::raw::c_char,
1811    );
1812}
1813extern "C" {
1814    pub fn WSGetNetworkAddressList(
1815        ep: WSEnvironment,
1816        size: *mut ::std::os::raw::c_ulong,
1817    ) -> *mut *mut ::std::os::raw::c_char;
1818}
1819extern "C" {
1820    pub fn WSReleaseNetworkAddressList(
1821        ep: WSEnvironment,
1822        addresses: *mut *mut ::std::os::raw::c_char,
1823        size: ::std::os::raw::c_ulong,
1824    );
1825}
1826extern "C" {
1827    pub fn WSGetDomainNameList(
1828        ep: WSEnvironment,
1829        size: *mut ::std::os::raw::c_ulong,
1830    ) -> *mut *mut ::std::os::raw::c_char;
1831}
1832extern "C" {
1833    pub fn WSReleaseDomainNameList(
1834        ep: WSEnvironment,
1835        dnsnames: *mut *mut ::std::os::raw::c_char,
1836        size: ::std::os::raw::c_ulong,
1837    );
1838}
1839extern "C" {
1840    pub fn WSGetAvailableLinkProtocolNames(
1841        ep: WSEnvironment,
1842        protocolNames: *mut *mut *mut ::std::os::raw::c_char,
1843        length: *mut ::std::os::raw::c_int,
1844    ) -> ::std::os::raw::c_int;
1845}
1846extern "C" {
1847    pub fn WSReleaseLinkProtocolNames(
1848        ep: WSEnvironment,
1849        protocolNames: *mut *mut ::std::os::raw::c_char,
1850        length: ::std::os::raw::c_int,
1851    );
1852}
1853extern "C" {
1854    pub fn WSGetLinksFromEnvironment(
1855        ep: WSEnvironment,
1856        links: *mut *mut WSLINK,
1857        length: *mut ::std::os::raw::c_int,
1858    ) -> ::std::os::raw::c_int;
1859}
1860extern "C" {
1861    pub fn WSReleaseLinksFromEnvironment(
1862        ep: WSEnvironment,
1863        links: *mut WSLINK,
1864        length: ::std::os::raw::c_int,
1865    );
1866}
1867extern "C" {
1868    pub fn WSNumericsQuery(
1869        ep: WSEnvironment,
1870        selector: ::std::os::raw::c_ulong,
1871        p1: *mut ::std::os::raw::c_void,
1872        p2: *mut ::std::os::raw::c_void,
1873        np: *mut ::std::os::raw::c_long,
1874    ) -> ::std::os::raw::c_long;
1875}
1876extern "C" {
1877    pub fn WSValid(mlp: WSLINK) -> ::std::os::raw::c_int;
1878}
1879extern "C" {
1880    pub fn WSFilterArgv(
1881        ep: WSEnvironment,
1882        argv: *mut *mut ::std::os::raw::c_char,
1883        argv_end: *mut *mut ::std::os::raw::c_char,
1884    ) -> *mut *mut ::std::os::raw::c_char;
1885}
1886extern "C" {
1887    pub fn WSFeatureString(
1888        mlp: WSLINK,
1889        buf: *mut ::std::os::raw::c_char,
1890        buffsize: ::std::os::raw::c_long,
1891    ) -> ::std::os::raw::c_long;
1892}
1893extern "C" {
1894    pub fn WSOpenArgv(
1895        ep: WSEnvironment,
1896        argv: *mut *mut ::std::os::raw::c_char,
1897        argv_end: *mut *mut ::std::os::raw::c_char,
1898        errp: *mut ::std::os::raw::c_int,
1899    ) -> WSLINK;
1900}
1901extern "C" {
1902    pub fn WSOpenArgcArgv(
1903        ep: WSEnvironment,
1904        argc: ::std::os::raw::c_int,
1905        argv: *mut *mut ::std::os::raw::c_char,
1906        errp: *mut ::std::os::raw::c_int,
1907    ) -> WSLINK;
1908}
1909extern "C" {
1910    pub fn WSOpenString(
1911        ep: WSEnvironment,
1912        command_line: *const ::std::os::raw::c_char,
1913        errp: *mut ::std::os::raw::c_int,
1914    ) -> WSLINK;
1915}
1916extern "C" {
1917    pub fn WSLoopbackOpen(ep: WSEnvironment, errp: *mut ::std::os::raw::c_int) -> WSLINK;
1918}
1919extern "C" {
1920    pub fn WSStringToArgv(
1921        commandline: *const ::std::os::raw::c_char,
1922        buf: *mut ::std::os::raw::c_char,
1923        argv: *mut *mut ::std::os::raw::c_char,
1924        len: ::std::os::raw::c_int,
1925    ) -> ::std::os::raw::c_int;
1926}
1927extern "C" {
1928    pub fn WSScanString(
1929        argv: *mut *mut ::std::os::raw::c_char,
1930        argv_end: *mut *mut *mut ::std::os::raw::c_char,
1931        commandline: *mut *mut ::std::os::raw::c_char,
1932        buf: *mut *mut ::std::os::raw::c_char,
1933    ) -> ::std::os::raw::c_long;
1934}
1935extern "C" {
1936    pub fn WSPrintArgv(
1937        buf: *mut ::std::os::raw::c_char,
1938        buf_endp: *mut *mut ::std::os::raw::c_char,
1939        argvp: *mut *mut *mut ::std::os::raw::c_char,
1940        argv_end: *mut *mut ::std::os::raw::c_char,
1941    ) -> ::std::os::raw::c_long;
1942}
1943extern "C" {
1944    pub fn WSErrorMessage(mlp: WSLINK) -> *const ::std::os::raw::c_char;
1945}
1946extern "C" {
1947    pub fn WSErrorString(
1948        env: WSEnvironment,
1949        err: ::std::os::raw::c_long,
1950    ) -> *const ::std::os::raw::c_char;
1951}
1952extern "C" {
1953    pub fn WSUCS2ErrorMessage(
1954        mlp: WSLINK,
1955        length: *mut ::std::os::raw::c_int,
1956    ) -> *const ::std::os::raw::c_ushort;
1957}
1958extern "C" {
1959    pub fn WSUTF8ErrorMessage(
1960        mlp: WSLINK,
1961        length: *mut ::std::os::raw::c_int,
1962    ) -> *const ::std::os::raw::c_uchar;
1963}
1964extern "C" {
1965    pub fn WSUTF16ErrorMessage(
1966        mlp: WSLINK,
1967        length: *mut ::std::os::raw::c_int,
1968    ) -> *const ::std::os::raw::c_ushort;
1969}
1970extern "C" {
1971    pub fn WSUTF32ErrorMessage(
1972        mlp: WSLINK,
1973        length: *mut ::std::os::raw::c_int,
1974    ) -> *const ::std::os::raw::c_uint;
1975}
1976extern "C" {
1977    pub fn WSReleaseErrorMessage(mlp: WSLINK, message: *const ::std::os::raw::c_char);
1978}
1979extern "C" {
1980    pub fn WSReleaseUCS2ErrorMessage(
1981        mlp: WSLINK,
1982        message: *const ::std::os::raw::c_ushort,
1983        length: ::std::os::raw::c_int,
1984    );
1985}
1986extern "C" {
1987    pub fn WSReleaseUTF8ErrorMessage(
1988        mlp: WSLINK,
1989        message: *const ::std::os::raw::c_uchar,
1990        length: ::std::os::raw::c_int,
1991    );
1992}
1993extern "C" {
1994    pub fn WSReleaseUTF16ErrorMessage(
1995        mlp: WSLINK,
1996        message: *const ::std::os::raw::c_ushort,
1997        length: ::std::os::raw::c_int,
1998    );
1999}
2000extern "C" {
2001    pub fn WSReleaseUTF32ErrorMessage(
2002        mlp: WSLINK,
2003        message: *const ::std::os::raw::c_uint,
2004        length: ::std::os::raw::c_int,
2005    );
2006}
2007extern "C" {
2008    pub fn WSOpen(
2009        argc: ::std::os::raw::c_int,
2010        argv: *mut *mut ::std::os::raw::c_char,
2011    ) -> WSLINK;
2012}
2013extern "C" {
2014    pub fn WSOpenInEnv(
2015        env: WSEnvironment,
2016        argc: ::std::os::raw::c_int,
2017        argv: *mut *mut ::std::os::raw::c_char,
2018        errp: *mut ::std::os::raw::c_int,
2019    ) -> WSLINK;
2020}
2021extern "C" {
2022    pub fn WSDuplicateLink(
2023        parentmlp: WSLINK,
2024        name: *const ::std::os::raw::c_char,
2025        errp: *mut ::std::os::raw::c_int,
2026    ) -> WSLINK;
2027}
2028extern "C" {
2029    pub fn WSConnect(mlp: WSLINK) -> ::std::os::raw::c_int;
2030}
2031extern "C" {
2032    pub fn WSActivate(mlp: WSLINK) -> ::std::os::raw::c_int;
2033}
2034#[repr(C)]
2035#[derive(Debug, Copy, Clone)]
2036pub struct feature_set {
2037    _unused: [u8; 0],
2038}
2039pub type feature_setp = *mut feature_set;
2040extern "C" {
2041    pub fn WSEstablish(mlp: WSLINK, features: feature_setp) -> ::std::os::raw::c_int;
2042}
2043extern "C" {
2044    pub fn WSEstablishString(
2045        mlp: WSLINK,
2046        features: *const ::std::os::raw::c_char,
2047    ) -> ::std::os::raw::c_int;
2048}
2049extern "C" {
2050    pub fn WSClose(mlp: WSLINK);
2051}
2052extern "C" {
2053    pub fn WSSetUserData(
2054        mlp: WSLINK,
2055        data: *mut ::std::os::raw::c_void,
2056        f: WSUserFunction,
2057    );
2058}
2059extern "C" {
2060    pub fn WSUserData(
2061        mlp: WSLINK,
2062        fp: *mut WSUserFunctionType,
2063    ) -> *mut ::std::os::raw::c_void;
2064}
2065extern "C" {
2066    pub fn WSSetUserBlock(mlp: WSLINK, userblock: *mut ::std::os::raw::c_void);
2067}
2068extern "C" {
2069    pub fn WSUserBlock(mlp: WSLINK) -> *mut ::std::os::raw::c_void;
2070}
2071extern "C" {
2072    pub fn WSUserCast(f: WSUserProcPtr) -> __MLProcPtr__;
2073}
2074extern "C" {
2075    pub fn WSLogStreamToFile(
2076        mlp: WSLINK,
2077        name: *const ::std::os::raw::c_char,
2078    ) -> ::std::os::raw::c_int;
2079}
2080extern "C" {
2081    pub fn WSDisableLoggingStream(mlp: WSLINK) -> ::std::os::raw::c_int;
2082}
2083extern "C" {
2084    pub fn WSEnableLoggingStream(mlp: WSLINK) -> ::std::os::raw::c_int;
2085}
2086extern "C" {
2087    pub fn WSStopLoggingStreamToFile(
2088        mlp: WSLINK,
2089        name: *const ::std::os::raw::c_char,
2090    ) -> ::std::os::raw::c_int;
2091}
2092extern "C" {
2093    pub fn WSStopLoggingStream(mlp: WSLINK) -> ::std::os::raw::c_int;
2094}
2095extern "C" {
2096    pub fn WSLogFileNameForLink(
2097        mlp: WSLINK,
2098        name: *mut *const ::std::os::raw::c_char,
2099    ) -> ::std::os::raw::c_int;
2100}
2101extern "C" {
2102    pub fn WSReleaseLogFileNameForLink(mlp: WSLINK, name: *const ::std::os::raw::c_char);
2103}
2104extern "C" {
2105    pub fn WSName(mlp: WSLINK) -> *const ::std::os::raw::c_char;
2106}
2107extern "C" {
2108    pub fn WSLinkName(mlp: WSLINK) -> *const ::std::os::raw::c_char;
2109}
2110extern "C" {
2111    pub fn WSUCS2LinkName(
2112        mlp: WSLINK,
2113        length: *mut ::std::os::raw::c_int,
2114    ) -> *const ::std::os::raw::c_ushort;
2115}
2116extern "C" {
2117    pub fn WSUTF8LinkName(
2118        mlp: WSLINK,
2119        length: *mut ::std::os::raw::c_int,
2120    ) -> *const ::std::os::raw::c_uchar;
2121}
2122extern "C" {
2123    pub fn WSUTF16LinkName(
2124        mlp: WSLINK,
2125        length: *mut ::std::os::raw::c_int,
2126    ) -> *const ::std::os::raw::c_ushort;
2127}
2128extern "C" {
2129    pub fn WSUTF32LinkName(
2130        mlp: WSLINK,
2131        length: *mut ::std::os::raw::c_int,
2132    ) -> *const ::std::os::raw::c_uint;
2133}
2134extern "C" {
2135    pub fn WSReleaseLinkName(mlp: WSLINK, name: *const ::std::os::raw::c_char);
2136}
2137extern "C" {
2138    pub fn WSReleaseUCS2LinkName(
2139        mlp: WSLINK,
2140        name: *const ::std::os::raw::c_ushort,
2141        length: ::std::os::raw::c_int,
2142    );
2143}
2144extern "C" {
2145    pub fn WSReleaseUTF8LinkName(
2146        mlp: WSLINK,
2147        name: *const ::std::os::raw::c_uchar,
2148        length: ::std::os::raw::c_int,
2149    );
2150}
2151extern "C" {
2152    pub fn WSReleaseUTF16LinkName(
2153        mlp: WSLINK,
2154        name: *const ::std::os::raw::c_ushort,
2155        length: ::std::os::raw::c_int,
2156    );
2157}
2158extern "C" {
2159    pub fn WSReleaseUTF32LinkName(
2160        mlp: WSLINK,
2161        name: *const ::std::os::raw::c_uint,
2162        length: ::std::os::raw::c_int,
2163    );
2164}
2165extern "C" {
2166    pub fn WSNumber(mlp: WSLINK) -> ::std::os::raw::c_long;
2167}
2168extern "C" {
2169    pub fn WSToLinkID(mlp: WSLINK) -> ::std::os::raw::c_long;
2170}
2171extern "C" {
2172    pub fn WSFromLinkID(ep: WSEnvironment, n: ::std::os::raw::c_long) -> WSLINK;
2173}
2174extern "C" {
2175    pub fn WSSetName(
2176        mlp: WSLINK,
2177        name: *const ::std::os::raw::c_char,
2178    ) -> *mut ::std::os::raw::c_char;
2179}
2180extern "C" {
2181    pub fn WSInit(
2182        alloc: WSAllocator,
2183        dealloc: WSDeallocator,
2184        enclosing_environment: *mut ::std::os::raw::c_void,
2185    ) -> *mut ::std::os::raw::c_void;
2186}
2187extern "C" {
2188    pub fn WSDeinit(env: *mut ::std::os::raw::c_void);
2189}
2190extern "C" {
2191    pub fn WSEnclosingEnvironment(
2192        ep: *mut ::std::os::raw::c_void,
2193    ) -> *mut ::std::os::raw::c_void;
2194}
2195extern "C" {
2196    pub fn WLinkEnvironment(mlp: WSLINK) -> *mut ::std::os::raw::c_void;
2197}
2198extern "C" {
2199    pub fn WSEnableLinkLock(mlp: WSLINK);
2200}
2201extern "C" {
2202    pub fn WSDisableLinkLock(mlp: WSLINK);
2203}
2204extern "C" {
2205    pub fn WSLinkEnvironment(mlp: WSLINK) -> WSEnvironment;
2206}
2207extern "C" {
2208    pub fn WSIsLinkLoopback(mlp: WSLINK) -> ::std::os::raw::c_int;
2209}
2210extern "C" {
2211    pub fn WSDefaultYieldFunction(env: WSEnvironment) -> WSYieldFunctionObject;
2212}
2213extern "C" {
2214    pub fn WSSetDefaultYieldFunction(
2215        env: WSEnvironment,
2216        yf: WSYieldFunctionObject,
2217    ) -> ::std::os::raw::c_int;
2218}
2219pub type WSLinkServer = *mut ::std::os::raw::c_void;
2220pub type WSNewLinkCallbackFunction =
2221    ::std::option::Option<unsafe extern "C" fn(server: WSLinkServer, link: WSLINK)>;
2222extern "C" {
2223    pub fn WSNewLinkServer(
2224        env: WSEnvironment,
2225        context: *mut ::std::os::raw::c_void,
2226        error: *mut ::std::os::raw::c_int,
2227    ) -> WSLinkServer;
2228}
2229extern "C" {
2230    pub fn WSNewLinkServerWithPort(
2231        env: WSEnvironment,
2232        port: ::std::os::raw::c_ushort,
2233        context: *mut ::std::os::raw::c_void,
2234        error: *mut ::std::os::raw::c_int,
2235    ) -> WSLinkServer;
2236}
2237extern "C" {
2238    pub fn WSNewLinkServerWithPortAndInterface(
2239        env: WSEnvironment,
2240        port: ::std::os::raw::c_ushort,
2241        iface: *const ::std::os::raw::c_char,
2242        context: *mut ::std::os::raw::c_void,
2243        error: *mut ::std::os::raw::c_int,
2244    ) -> WSLinkServer;
2245}
2246extern "C" {
2247    pub fn WSShutdownLinkServer(server: WSLinkServer);
2248}
2249extern "C" {
2250    pub fn WSRegisterCallbackFunctionWithLinkServer(
2251        server: WSLinkServer,
2252        function: WSNewLinkCallbackFunction,
2253    );
2254}
2255extern "C" {
2256    pub fn WSWaitForNewLinkFromLinkServer(
2257        server: WSLinkServer,
2258        error: *mut ::std::os::raw::c_int,
2259    ) -> WSLINK;
2260}
2261extern "C" {
2262    pub fn WSPortFromLinkServer(
2263        server: WSLinkServer,
2264        error: *mut ::std::os::raw::c_int,
2265    ) -> ::std::os::raw::c_ushort;
2266}
2267extern "C" {
2268    pub fn WSInterfaceFromLinkServer(
2269        server: WSLinkServer,
2270        error: *mut ::std::os::raw::c_int,
2271    ) -> *const ::std::os::raw::c_char;
2272}
2273extern "C" {
2274    pub fn WSContextFromLinkServer(
2275        server: WSLinkServer,
2276        error: *mut ::std::os::raw::c_int,
2277    ) -> *mut ::std::os::raw::c_void;
2278}
2279extern "C" {
2280    pub fn WSReleaseInterfaceFromLinkServer(
2281        server: WSLinkServer,
2282        iface: *const ::std::os::raw::c_char,
2283    );
2284}
2285pub type WSServiceRef = *mut ::std::os::raw::c_void;
2286pub type MLBrowseCallbackFunction = ::std::option::Option<
2287    unsafe extern "C" fn(
2288        env: WSEnvironment,
2289        ref_: WSServiceRef,
2290        flag: ::std::os::raw::c_int,
2291        serviceName: *const ::std::os::raw::c_char,
2292        context: *mut ::std::os::raw::c_void,
2293    ),
2294>;
2295extern "C" {
2296    pub fn WSBrowseForLinkServices(
2297        env: WSEnvironment,
2298        callbackFunction: MLBrowseCallbackFunction,
2299        serviceProtocol: *const ::std::os::raw::c_char,
2300        domain: *const ::std::os::raw::c_char,
2301        context: *mut ::std::os::raw::c_void,
2302        ref_: *mut WSServiceRef,
2303    ) -> ::std::os::raw::c_int;
2304}
2305extern "C" {
2306    pub fn WSStopBrowsingForLinkServices(env: WSEnvironment, ref_: WSServiceRef);
2307}
2308pub type MLResolveCallbackFunction = ::std::option::Option<
2309    unsafe extern "C" fn(
2310        env: WSEnvironment,
2311        ref_: WSServiceRef,
2312        serviceName: *const ::std::os::raw::c_char,
2313        linkName: *const ::std::os::raw::c_char,
2314        protocol: *const ::std::os::raw::c_char,
2315        options: ::std::os::raw::c_int,
2316        context: *mut ::std::os::raw::c_void,
2317    ),
2318>;
2319extern "C" {
2320    pub fn WSResolveLinkService(
2321        env: WSEnvironment,
2322        arg1: MLResolveCallbackFunction,
2323        serviceProtocol: *const ::std::os::raw::c_char,
2324        serviceName: *const ::std::os::raw::c_char,
2325        context: *mut ::std::os::raw::c_void,
2326        ref_: *mut WSServiceRef,
2327    ) -> ::std::os::raw::c_int;
2328}
2329extern "C" {
2330    pub fn WSStopResolvingLinkService(env: WSEnvironment, ref_: WSServiceRef);
2331}
2332pub type MLRegisterCallbackFunction = ::std::option::Option<
2333    unsafe extern "C" fn(
2334        env: WSEnvironment,
2335        ref_: WSServiceRef,
2336        flag: ::std::os::raw::c_int,
2337        serviceName: *const ::std::os::raw::c_char,
2338        context: *mut ::std::os::raw::c_void,
2339    ),
2340>;
2341extern "C" {
2342    pub fn WSRegisterLinkServiceWithPortAndHostname(
2343        env: WSEnvironment,
2344        serviceProtocol: *const ::std::os::raw::c_char,
2345        serviceName: *const ::std::os::raw::c_char,
2346        port: ::std::os::raw::c_ushort,
2347        hostname: *const ::std::os::raw::c_char,
2348        function: MLRegisterCallbackFunction,
2349        domain: *const ::std::os::raw::c_char,
2350        context: *mut ::std::os::raw::c_void,
2351        ref_: *mut WSServiceRef,
2352        error: *mut ::std::os::raw::c_int,
2353    ) -> WSLINK;
2354}
2355extern "C" {
2356    pub fn WSRegisterLinkServiceWithHostname(
2357        env: WSEnvironment,
2358        serviceProtocol: *const ::std::os::raw::c_char,
2359        serviceName: *const ::std::os::raw::c_char,
2360        hostname: *const ::std::os::raw::c_char,
2361        function: MLRegisterCallbackFunction,
2362        domain: *const ::std::os::raw::c_char,
2363        context: *mut ::std::os::raw::c_void,
2364        ref_: *mut WSServiceRef,
2365        error: *mut ::std::os::raw::c_int,
2366    ) -> WSLINK;
2367}
2368extern "C" {
2369    pub fn WSRegisterLinkService(
2370        env: WSEnvironment,
2371        serviceProtocol: *const ::std::os::raw::c_char,
2372        serviceName: *const ::std::os::raw::c_char,
2373        function: MLRegisterCallbackFunction,
2374        domain: *const ::std::os::raw::c_char,
2375        context: *mut ::std::os::raw::c_void,
2376        arg1: *mut WSServiceRef,
2377        error: *mut ::std::os::raw::c_int,
2378    ) -> WSLINK;
2379}
2380extern "C" {
2381    pub fn MLRegisterLinkServiceUsingLinkProtocol(
2382        env: WSEnvironment,
2383        serviceProtocol: *const ::std::os::raw::c_char,
2384        serviceName: *const ::std::os::raw::c_char,
2385        port: ::std::os::raw::c_ushort,
2386        hostname: *const ::std::os::raw::c_char,
2387        protocol: *const ::std::os::raw::c_char,
2388        function: MLRegisterCallbackFunction,
2389        domain: *const ::std::os::raw::c_char,
2390        context: *mut ::std::os::raw::c_void,
2391        ref_: *mut WSServiceRef,
2392        error: *mut ::std::os::raw::c_int,
2393    ) -> WSLINK;
2394}
2395extern "C" {
2396    pub fn WSRegisterLinkServiceFromLinkServer(
2397        env: WSEnvironment,
2398        serviceProtocol: *const ::std::os::raw::c_char,
2399        serviceName: *const ::std::os::raw::c_char,
2400        server: WSLinkServer,
2401        function: MLRegisterCallbackFunction,
2402        domain: *const ::std::os::raw::c_char,
2403        context: *mut ::std::os::raw::c_void,
2404        ref_: *mut WSServiceRef,
2405        error: *mut ::std::os::raw::c_int,
2406    );
2407}
2408extern "C" {
2409    pub fn WSStopRegisteringLinkService(env: WSEnvironment, ref_: WSServiceRef);
2410}
2411extern "C" {
2412    pub fn WSStopRegisteringLinkServiceForLink(
2413        env: WSEnvironment,
2414        link: WSLINK,
2415        ref_: WSServiceRef,
2416    );
2417}
2418extern "C" {
2419    pub fn WSServiceProtocolFromReference(
2420        env: WSEnvironment,
2421        ref_: WSServiceRef,
2422    ) -> *const ::std::os::raw::c_char;
2423}
2424extern "C" {
2425    pub fn WSError(mlp: WSLINK) -> ::std::os::raw::c_int;
2426}
2427extern "C" {
2428    pub fn WSClearError(mlp: WSLINK) -> ::std::os::raw::c_int;
2429}
2430extern "C" {
2431    pub fn WSSetError(mlp: WSLINK, err: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2432}
2433pub const WSTerminateMessage: _bindgen_ty_2 = 1;
2434pub const WSInterruptMessage: _bindgen_ty_2 = 2;
2435pub const WSAbortMessage: _bindgen_ty_2 = 3;
2436pub const WSEndPacketMessage: _bindgen_ty_2 = 4;
2437pub const WSSynchronizeMessage: _bindgen_ty_2 = 5;
2438pub const WSImDyingMessage: _bindgen_ty_2 = 6;
2439pub const WSWaitingAcknowledgment: _bindgen_ty_2 = 7;
2440pub const WSMarkTopLevelMessage: _bindgen_ty_2 = 8;
2441pub const WSLinkClosingMessage: _bindgen_ty_2 = 9;
2442pub const WSAuthenticateFailure: _bindgen_ty_2 = 10;
2443pub const WSSuspendActivitiesMessage: _bindgen_ty_2 = 11;
2444pub const WSResumeActivitiesMessage: _bindgen_ty_2 = 12;
2445pub const WSFirstUserMessage: _bindgen_ty_2 = 128;
2446pub const WSLastUserMessage: _bindgen_ty_2 = 255;
2447pub type _bindgen_ty_2 = ::std::os::raw::c_uint;
2448pub type devinfo_selector = ::std::os::raw::c_ulong;
2449extern "C" {
2450    pub fn WSPutMessage(mlp: WSLINK, msg: ::std::os::raw::c_int)
2451        -> ::std::os::raw::c_int;
2452}
2453extern "C" {
2454    pub fn WSGetMessage(
2455        mlp: WSLINK,
2456        mp: *mut ::std::os::raw::c_int,
2457        np: *mut ::std::os::raw::c_int,
2458    ) -> ::std::os::raw::c_int;
2459}
2460extern "C" {
2461    pub fn WSMessageReady(mlp: WSLINK) -> ::std::os::raw::c_int;
2462}
2463extern "C" {
2464    pub fn WSPutMessageWithArg(
2465        mlp: WSLINK,
2466        msg: ::std::os::raw::c_int,
2467        arg: ::std::os::raw::c_int,
2468    ) -> ::std::os::raw::c_int;
2469}
2470extern "C" {
2471    pub fn WSGetMessageHandler(mlp: WSLINK) -> WSMessageHandlerObject;
2472}
2473extern "C" {
2474    pub fn WSMessageHandler(mlp: WSLINK) -> WSMessageHandlerObject;
2475}
2476extern "C" {
2477    pub fn WSGetYieldFunction(mlp: WSLINK) -> WSYieldFunctionObject;
2478}
2479extern "C" {
2480    pub fn WSYieldFunction(mlp: WSLINK) -> WSYieldFunctionObject;
2481}
2482extern "C" {
2483    pub fn WSSetMessageHandler(
2484        mlp: WSLINK,
2485        h: WSMessageHandlerObject,
2486    ) -> ::std::os::raw::c_int;
2487}
2488extern "C" {
2489    pub fn WSSetYieldFunction(
2490        mlp: WSLINK,
2491        yf: WSYieldFunctionObject,
2492    ) -> ::std::os::raw::c_int;
2493}
2494extern "C" {
2495    pub fn WSDeviceInformation(
2496        mlp: WSLINK,
2497        selector: devinfo_selector,
2498        buf: *mut ::std::os::raw::c_void,
2499        buflen: *mut ::std::os::raw::c_long,
2500    ) -> ::std::os::raw::c_int;
2501}
2502extern "C" {
2503    pub fn WSLowLevelDeviceName(
2504        mlp: WSLINK,
2505        name: *mut *const ::std::os::raw::c_char,
2506    ) -> ::std::os::raw::c_int;
2507}
2508extern "C" {
2509    pub fn WSReleaseLowLevelDeviceName(mlp: WSLINK, name: *const ::std::os::raw::c_char);
2510}
2511extern "C" {
2512    pub fn WSGetNext(mlp: WSLINK) -> ::std::os::raw::c_int;
2513}
2514extern "C" {
2515    pub fn WSGetNextRaw(mlp: WSLINK) -> ::std::os::raw::c_int;
2516}
2517extern "C" {
2518    pub fn WSGetType(mlp: WSLINK) -> ::std::os::raw::c_int;
2519}
2520extern "C" {
2521    pub fn WSGetRawType(mlp: WSLINK) -> ::std::os::raw::c_int;
2522}
2523extern "C" {
2524    pub fn WSGetRawData(
2525        mlp: WSLINK,
2526        data: *mut ::std::os::raw::c_uchar,
2527        size: ::std::os::raw::c_int,
2528        gotp: *mut ::std::os::raw::c_int,
2529    ) -> ::std::os::raw::c_int;
2530}
2531extern "C" {
2532    pub fn WSGetData(
2533        mlp: WSLINK,
2534        data: *mut ::std::os::raw::c_char,
2535        size: ::std::os::raw::c_int,
2536        gotp: *mut ::std::os::raw::c_int,
2537    ) -> ::std::os::raw::c_int;
2538}
2539extern "C" {
2540    pub fn WSGetArgCount(
2541        mlp: WSLINK,
2542        countp: *mut ::std::os::raw::c_int,
2543    ) -> ::std::os::raw::c_int;
2544}
2545extern "C" {
2546    pub fn WSGetRawArgCount(
2547        mlp: WSLINK,
2548        countp: *mut ::std::os::raw::c_int,
2549    ) -> ::std::os::raw::c_int;
2550}
2551extern "C" {
2552    pub fn WSBytesToGet(
2553        mlp: WSLINK,
2554        leftp: *mut ::std::os::raw::c_int,
2555    ) -> ::std::os::raw::c_int;
2556}
2557extern "C" {
2558    pub fn WSRawBytesToGet(
2559        mlp: WSLINK,
2560        leftp: *mut ::std::os::raw::c_int,
2561    ) -> ::std::os::raw::c_int;
2562}
2563extern "C" {
2564    pub fn WSExpressionsToGet(
2565        mlp: WSLINK,
2566        countp: *mut ::std::os::raw::c_int,
2567    ) -> ::std::os::raw::c_int;
2568}
2569extern "C" {
2570    pub fn WSNewPacket(mlp: WSLINK) -> ::std::os::raw::c_int;
2571}
2572extern "C" {
2573    pub fn WSTakeLast(mlp: WSLINK, eleft: ::std::os::raw::c_int)
2574        -> ::std::os::raw::c_int;
2575}
2576extern "C" {
2577    pub fn WSFill(mlp: WSLINK) -> ::std::os::raw::c_int;
2578}
2579extern "C" {
2580    pub fn WSPutNext(mlp: WSLINK, tok: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2581}
2582extern "C" {
2583    pub fn WSPutType(mlp: WSLINK, tok: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2584}
2585extern "C" {
2586    pub fn WSPutRawSize(
2587        mlp: WSLINK,
2588        size: ::std::os::raw::c_int,
2589    ) -> ::std::os::raw::c_int;
2590}
2591extern "C" {
2592    pub fn WSPutRawData(
2593        mlp: WSLINK,
2594        data: *const ::std::os::raw::c_uchar,
2595        len: ::std::os::raw::c_int,
2596    ) -> ::std::os::raw::c_int;
2597}
2598extern "C" {
2599    pub fn WSPutArgCount(
2600        mlp: WSLINK,
2601        argc: ::std::os::raw::c_int,
2602    ) -> ::std::os::raw::c_int;
2603}
2604extern "C" {
2605    pub fn WSPutComposite(
2606        mlp: WSLINK,
2607        argc: ::std::os::raw::c_int,
2608    ) -> ::std::os::raw::c_int;
2609}
2610extern "C" {
2611    pub fn WSBytesToPut(
2612        mlp: WSLINK,
2613        leftp: *mut ::std::os::raw::c_int,
2614    ) -> ::std::os::raw::c_int;
2615}
2616extern "C" {
2617    pub fn WSEndPacket(mlp: WSLINK) -> ::std::os::raw::c_int;
2618}
2619extern "C" {
2620    pub fn WSFlush(mlp: WSLINK) -> ::std::os::raw::c_int;
2621}
2622pub type decoder_mask = ::std::os::raw::c_ulong;
2623extern "C" {
2624    pub fn WSGetBinaryNumber(
2625        mlp: WSLINK,
2626        np: *mut ::std::os::raw::c_void,
2627        type_: ::std::os::raw::c_long,
2628    ) -> ::std::os::raw::c_int;
2629}
2630extern "C" {
2631    pub fn WSGetShortInteger(
2632        mlp: WSLINK,
2633        hp: *mut ::std::os::raw::c_short,
2634    ) -> ::std::os::raw::c_int;
2635}
2636extern "C" {
2637    pub fn WSGetInteger(
2638        mlp: WSLINK,
2639        ip: *mut ::std::os::raw::c_int,
2640    ) -> ::std::os::raw::c_int;
2641}
2642extern "C" {
2643    pub fn WSGetLongInteger(
2644        mlp: WSLINK,
2645        lp: *mut ::std::os::raw::c_long,
2646    ) -> ::std::os::raw::c_int;
2647}
2648extern "C" {
2649    pub fn WSGetInteger16(
2650        mlp: WSLINK,
2651        hp: *mut ::std::os::raw::c_short,
2652    ) -> ::std::os::raw::c_int;
2653}
2654extern "C" {
2655    pub fn WSGetInteger32(
2656        mlp: WSLINK,
2657        ip: *mut ::std::os::raw::c_int,
2658    ) -> ::std::os::raw::c_int;
2659}
2660extern "C" {
2661    pub fn WSGetInteger64(mlp: WSLINK, wp: *mut wsint64) -> ::std::os::raw::c_int;
2662}
2663extern "C" {
2664    pub fn WSGetInteger8(
2665        mlp: WSLINK,
2666        cp: *mut ::std::os::raw::c_uchar,
2667    ) -> ::std::os::raw::c_int;
2668}
2669extern "C" {
2670    pub fn WSGetFloat(mlp: WSLINK, fp: *mut f32) -> ::std::os::raw::c_int;
2671}
2672extern "C" {
2673    pub fn WSGetDouble(mlp: WSLINK, dp: *mut f64) -> ::std::os::raw::c_int;
2674}
2675extern "C" {
2676    pub fn WSGetReal(mlp: WSLINK, dp: *mut f64) -> ::std::os::raw::c_int;
2677}
2678extern "C" {
2679    pub fn WSGetLongDouble(
2680        mlp: WSLINK,
2681        xp: *mut wsextended_double,
2682    ) -> ::std::os::raw::c_int;
2683}
2684extern "C" {
2685    pub fn WSGetReal32(mlp: WSLINK, fp: *mut f32) -> ::std::os::raw::c_int;
2686}
2687extern "C" {
2688    pub fn WSGetReal64(mlp: WSLINK, dp: *mut f64) -> ::std::os::raw::c_int;
2689}
2690extern "C" {
2691    pub fn WSGetReal128(mlp: WSLINK, dp: *mut wsextended_double)
2692        -> ::std::os::raw::c_int;
2693}
2694extern "C" {
2695    pub fn WSGet8BitCharacters(
2696        mlp: WSLINK,
2697        chars_left: *mut ::std::os::raw::c_long,
2698        buf: *mut ::std::os::raw::c_uchar,
2699        cardof_buf: ::std::os::raw::c_long,
2700        got: *mut ::std::os::raw::c_long,
2701        missing: ::std::os::raw::c_long,
2702    ) -> ::std::os::raw::c_int;
2703}
2704extern "C" {
2705    pub fn WSGet7BitCharacters(
2706        mlp: WSLINK,
2707        chars_left: *mut ::std::os::raw::c_long,
2708        buf: *mut ::std::os::raw::c_char,
2709        cardof_buf: ::std::os::raw::c_long,
2710        got: *mut ::std::os::raw::c_long,
2711    ) -> ::std::os::raw::c_int;
2712}
2713extern "C" {
2714    pub fn WSGetUCS2Characters(
2715        mlp: WSLINK,
2716        chars_left: *mut ::std::os::raw::c_int,
2717        buf: *mut ::std::os::raw::c_ushort,
2718        cardof_buf: ::std::os::raw::c_int,
2719        got: *mut ::std::os::raw::c_int,
2720    ) -> ::std::os::raw::c_int;
2721}
2722extern "C" {
2723    pub fn WSGetUTF8Characters(
2724        mlp: WSLINK,
2725        chars_left: *mut ::std::os::raw::c_int,
2726        buf: *mut ::std::os::raw::c_uchar,
2727        cardof_buf: ::std::os::raw::c_int,
2728        got: *mut ::std::os::raw::c_int,
2729    ) -> ::std::os::raw::c_int;
2730}
2731extern "C" {
2732    pub fn WSGetUTF16Characters(
2733        mlp: WSLINK,
2734        chars_left: *mut ::std::os::raw::c_int,
2735        buf: *mut ::std::os::raw::c_ushort,
2736        cardof_buf: ::std::os::raw::c_int,
2737        got: *mut ::std::os::raw::c_int,
2738    ) -> ::std::os::raw::c_int;
2739}
2740extern "C" {
2741    pub fn WSGetUTF32Characters(
2742        mlp: WSLINK,
2743        chars_left: *mut ::std::os::raw::c_int,
2744        buf: *mut ::std::os::raw::c_uint,
2745        cardof_buf: ::std::os::raw::c_int,
2746        got: *mut ::std::os::raw::c_int,
2747    ) -> ::std::os::raw::c_int;
2748}
2749extern "C" {
2750    pub fn WSGetByteString(
2751        mlp: WSLINK,
2752        sp: *mut *const ::std::os::raw::c_uchar,
2753        lenp: *mut ::std::os::raw::c_int,
2754        missing: ::std::os::raw::c_long,
2755    ) -> ::std::os::raw::c_int;
2756}
2757extern "C" {
2758    pub fn WSGetString(
2759        mlp: WSLINK,
2760        sp: *mut *const ::std::os::raw::c_char,
2761    ) -> ::std::os::raw::c_int;
2762}
2763extern "C" {
2764    pub fn WSGetUCS2String(
2765        mlp: WSLINK,
2766        sp: *mut *const ::std::os::raw::c_ushort,
2767        lenp: *mut ::std::os::raw::c_int,
2768    ) -> ::std::os::raw::c_int;
2769}
2770extern "C" {
2771    pub fn WSGetUTF8String(
2772        mlp: WSLINK,
2773        sp: *mut *const ::std::os::raw::c_uchar,
2774        bytes: *mut ::std::os::raw::c_int,
2775        chars: *mut ::std::os::raw::c_int,
2776    ) -> ::std::os::raw::c_int;
2777}
2778extern "C" {
2779    pub fn WSGetUTF16String(
2780        mlp: WSLINK,
2781        sp: *mut *const ::std::os::raw::c_ushort,
2782        ncodes: *mut ::std::os::raw::c_int,
2783        chars: *mut ::std::os::raw::c_int,
2784    ) -> ::std::os::raw::c_int;
2785}
2786extern "C" {
2787    pub fn WSGetUTF32String(
2788        mlp: WSLINK,
2789        sp: *mut *const ::std::os::raw::c_uint,
2790        len: *mut ::std::os::raw::c_int,
2791    ) -> ::std::os::raw::c_int;
2792}
2793extern "C" {
2794    pub fn WSGetNumberAsByteString(
2795        mlp: WSLINK,
2796        sp: *mut *const ::std::os::raw::c_uchar,
2797        lenp: *mut ::std::os::raw::c_long,
2798        missing: ::std::os::raw::c_long,
2799    ) -> ::std::os::raw::c_int;
2800}
2801extern "C" {
2802    pub fn WSGetNumberAsString(
2803        mlp: WSLINK,
2804        sp: *mut *const ::std::os::raw::c_char,
2805    ) -> ::std::os::raw::c_int;
2806}
2807extern "C" {
2808    pub fn WSGetNumberAsUCS2String(
2809        mlp: WSLINK,
2810        sp: *mut *const ::std::os::raw::c_ushort,
2811        lenp: *mut ::std::os::raw::c_int,
2812    ) -> ::std::os::raw::c_int;
2813}
2814extern "C" {
2815    pub fn WSGetNumberAsUTF8String(
2816        mlp: WSLINK,
2817        sp: *mut *const ::std::os::raw::c_uchar,
2818        bytes: *mut ::std::os::raw::c_int,
2819        chars: *mut ::std::os::raw::c_int,
2820    ) -> ::std::os::raw::c_int;
2821}
2822extern "C" {
2823    pub fn WSGetNumberAsUTF16String(
2824        mlp: WSLINK,
2825        sp: *mut *const ::std::os::raw::c_ushort,
2826        ncodes: *mut ::std::os::raw::c_int,
2827        chars: *mut ::std::os::raw::c_int,
2828    ) -> ::std::os::raw::c_int;
2829}
2830extern "C" {
2831    pub fn WSGetNumberAsUTF32String(
2832        mlp: WSLINK,
2833        sp: *mut *const ::std::os::raw::c_uint,
2834        lenp: *mut ::std::os::raw::c_int,
2835    ) -> ::std::os::raw::c_int;
2836}
2837extern "C" {
2838    pub fn WSReleaseUCS2String(
2839        mlp: WSLINK,
2840        s: *const ::std::os::raw::c_ushort,
2841        len: ::std::os::raw::c_int,
2842    );
2843}
2844extern "C" {
2845    pub fn WSReleaseUTF8String(
2846        mlp: WSLINK,
2847        s: *const ::std::os::raw::c_uchar,
2848        len: ::std::os::raw::c_int,
2849    );
2850}
2851extern "C" {
2852    pub fn WSReleaseUTF16String(
2853        mlp: WSLINK,
2854        s: *const ::std::os::raw::c_ushort,
2855        len: ::std::os::raw::c_int,
2856    );
2857}
2858extern "C" {
2859    pub fn WSReleaseUTF32String(
2860        mlp: WSLINK,
2861        s: *const ::std::os::raw::c_uint,
2862        len: ::std::os::raw::c_int,
2863    );
2864}
2865extern "C" {
2866    pub fn WSReleaseByteString(
2867        mlp: WSLINK,
2868        s: *const ::std::os::raw::c_uchar,
2869        len: ::std::os::raw::c_int,
2870    );
2871}
2872extern "C" {
2873    pub fn WSReleaseString(mlp: WSLINK, s: *const ::std::os::raw::c_char);
2874}
2875extern "C" {
2876    pub fn WSTestString(
2877        mlp: WSLINK,
2878        name: *const ::std::os::raw::c_char,
2879    ) -> ::std::os::raw::c_int;
2880}
2881extern "C" {
2882    pub fn WSTestUCS2String(
2883        mlp: WSLINK,
2884        name: *const ::std::os::raw::c_ushort,
2885        length: ::std::os::raw::c_int,
2886    ) -> ::std::os::raw::c_int;
2887}
2888extern "C" {
2889    pub fn WSTestUTF8String(
2890        mlp: WSLINK,
2891        name: *const ::std::os::raw::c_uchar,
2892        length: ::std::os::raw::c_int,
2893    ) -> ::std::os::raw::c_int;
2894}
2895extern "C" {
2896    pub fn WSTestUTF16String(
2897        mlp: WSLINK,
2898        name: *const ::std::os::raw::c_ushort,
2899        length: ::std::os::raw::c_int,
2900    ) -> ::std::os::raw::c_int;
2901}
2902extern "C" {
2903    pub fn WSTestUTF32String(
2904        mlp: WSLINK,
2905        name: *const ::std::os::raw::c_uint,
2906        length: ::std::os::raw::c_int,
2907    ) -> ::std::os::raw::c_int;
2908}
2909extern "C" {
2910    pub fn WSGetByteSymbol(
2911        mlp: WSLINK,
2912        sp: *mut *const ::std::os::raw::c_uchar,
2913        lenp: *mut ::std::os::raw::c_int,
2914        missing: ::std::os::raw::c_long,
2915    ) -> ::std::os::raw::c_int;
2916}
2917extern "C" {
2918    pub fn WSGetSymbol(
2919        mlp: WSLINK,
2920        sp: *mut *const ::std::os::raw::c_char,
2921    ) -> ::std::os::raw::c_int;
2922}
2923extern "C" {
2924    pub fn WSGetUCS2Symbol(
2925        mlp: WSLINK,
2926        sp: *mut *const ::std::os::raw::c_ushort,
2927        lenp: *mut ::std::os::raw::c_int,
2928    ) -> ::std::os::raw::c_int;
2929}
2930extern "C" {
2931    pub fn WSGetUTF8Symbol(
2932        mlp: WSLINK,
2933        sp: *mut *const ::std::os::raw::c_uchar,
2934        bytes: *mut ::std::os::raw::c_int,
2935        chars: *mut ::std::os::raw::c_int,
2936    ) -> ::std::os::raw::c_int;
2937}
2938extern "C" {
2939    pub fn WSGetUTF16Symbol(
2940        mlp: WSLINK,
2941        sp: *mut *const ::std::os::raw::c_ushort,
2942        ncodes: *mut ::std::os::raw::c_int,
2943        chars: *mut ::std::os::raw::c_int,
2944    ) -> ::std::os::raw::c_int;
2945}
2946extern "C" {
2947    pub fn WSGetUTF32Symbol(
2948        mlp: WSLINK,
2949        sp: *mut *const ::std::os::raw::c_uint,
2950        lenp: *mut ::std::os::raw::c_int,
2951    ) -> ::std::os::raw::c_int;
2952}
2953extern "C" {
2954    pub fn WSReleaseUCS2Symbol(
2955        mlp: WSLINK,
2956        s: *const ::std::os::raw::c_ushort,
2957        len: ::std::os::raw::c_int,
2958    );
2959}
2960extern "C" {
2961    pub fn WSReleaseUTF8Symbol(
2962        mlp: WSLINK,
2963        s: *const ::std::os::raw::c_uchar,
2964        len: ::std::os::raw::c_int,
2965    );
2966}
2967extern "C" {
2968    pub fn WSReleaseUTF16Symbol(
2969        mlp: WSLINK,
2970        s: *const ::std::os::raw::c_ushort,
2971        len: ::std::os::raw::c_int,
2972    );
2973}
2974extern "C" {
2975    pub fn WSReleaseUTF32Symbol(
2976        mlp: WSLINK,
2977        s: *const ::std::os::raw::c_uint,
2978        len: ::std::os::raw::c_int,
2979    );
2980}
2981extern "C" {
2982    pub fn WSReleaseByteSymbol(
2983        mlp: WSLINK,
2984        s: *const ::std::os::raw::c_uchar,
2985        len: ::std::os::raw::c_int,
2986    );
2987}
2988extern "C" {
2989    pub fn WSReleaseSymbol(mlp: WSLINK, s: *const ::std::os::raw::c_char);
2990}
2991extern "C" {
2992    pub fn WSTestSymbol(
2993        mlp: WSLINK,
2994        name: *const ::std::os::raw::c_char,
2995    ) -> ::std::os::raw::c_int;
2996}
2997extern "C" {
2998    pub fn WSTestUCS2Symbol(
2999        mlp: WSLINK,
3000        name: *const ::std::os::raw::c_ushort,
3001        length: ::std::os::raw::c_int,
3002    ) -> ::std::os::raw::c_int;
3003}
3004extern "C" {
3005    pub fn WSTestUTF8Symbol(
3006        mlp: WSLINK,
3007        name: *const ::std::os::raw::c_uchar,
3008        length: ::std::os::raw::c_int,
3009    ) -> ::std::os::raw::c_int;
3010}
3011extern "C" {
3012    pub fn WSTestUTF16Symbol(
3013        mlp: WSLINK,
3014        name: *const ::std::os::raw::c_ushort,
3015        length: ::std::os::raw::c_int,
3016    ) -> ::std::os::raw::c_int;
3017}
3018extern "C" {
3019    pub fn WSTestUTF32Symbol(
3020        mlp: WSLINK,
3021        name: *const ::std::os::raw::c_uint,
3022        length: ::std::os::raw::c_int,
3023    ) -> ::std::os::raw::c_int;
3024}
3025extern "C" {
3026    pub fn WSGetFunction(
3027        mlp: WSLINK,
3028        sp: *mut *const ::std::os::raw::c_char,
3029        countp: *mut ::std::os::raw::c_int,
3030    ) -> ::std::os::raw::c_int;
3031}
3032extern "C" {
3033    pub fn WSGetUCS2Function(
3034        mlp: WSLINK,
3035        sp: *mut *const ::std::os::raw::c_ushort,
3036        length: *mut ::std::os::raw::c_int,
3037        countp: *mut ::std::os::raw::c_int,
3038    ) -> ::std::os::raw::c_int;
3039}
3040extern "C" {
3041    pub fn WSGetUTF8Function(
3042        mlp: WSLINK,
3043        sp: *mut *const ::std::os::raw::c_uchar,
3044        length: *mut ::std::os::raw::c_int,
3045        countp: *mut ::std::os::raw::c_int,
3046    ) -> ::std::os::raw::c_int;
3047}
3048extern "C" {
3049    pub fn WSGetUTF16Function(
3050        mlp: WSLINK,
3051        sp: *mut *const ::std::os::raw::c_ushort,
3052        length: *mut ::std::os::raw::c_int,
3053        countp: *mut ::std::os::raw::c_int,
3054    ) -> ::std::os::raw::c_int;
3055}
3056extern "C" {
3057    pub fn WSGetUTF32Function(
3058        mlp: WSLINK,
3059        sp: *mut *const ::std::os::raw::c_uint,
3060        length: *mut ::std::os::raw::c_int,
3061        countp: *mut ::std::os::raw::c_int,
3062    ) -> ::std::os::raw::c_int;
3063}
3064extern "C" {
3065    pub fn WSCheckFunction(
3066        mlp: WSLINK,
3067        s: *const ::std::os::raw::c_char,
3068        countp: *mut ::std::os::raw::c_long,
3069    ) -> ::std::os::raw::c_int;
3070}
3071extern "C" {
3072    pub fn WSCheckFunctionWithArgCount(
3073        mlp: WSLINK,
3074        s: *const ::std::os::raw::c_char,
3075        countp: *mut ::std::os::raw::c_long,
3076    ) -> ::std::os::raw::c_int;
3077}
3078extern "C" {
3079    pub fn WSTestHead(
3080        mlp: WSLINK,
3081        s: *const ::std::os::raw::c_char,
3082        countp: *mut ::std::os::raw::c_int,
3083    ) -> ::std::os::raw::c_int;
3084}
3085extern "C" {
3086    pub fn WSTestHeadWithArgCount(
3087        mlp: WSLINK,
3088        s: *const ::std::os::raw::c_char,
3089        countp: *mut ::std::os::raw::c_int,
3090    ) -> ::std::os::raw::c_int;
3091}
3092extern "C" {
3093    pub fn WSTestUCS2HeadWithArgCount(
3094        mlp: WSLINK,
3095        s: *const ::std::os::raw::c_ushort,
3096        length: ::std::os::raw::c_int,
3097        countp: *mut ::std::os::raw::c_int,
3098    ) -> ::std::os::raw::c_int;
3099}
3100extern "C" {
3101    pub fn WSTestUTF16HeadWithArgCount(
3102        mlp: WSLINK,
3103        s: *const ::std::os::raw::c_ushort,
3104        length: ::std::os::raw::c_int,
3105        countp: *mut ::std::os::raw::c_int,
3106    ) -> ::std::os::raw::c_int;
3107}
3108extern "C" {
3109    pub fn WSTestUTF32HeadWithArgCount(
3110        mlp: WSLINK,
3111        s: *const ::std::os::raw::c_uint,
3112        length: ::std::os::raw::c_int,
3113        countp: *mut ::std::os::raw::c_int,
3114    ) -> ::std::os::raw::c_int;
3115}
3116extern "C" {
3117    pub fn WSTestUTF8HeadWithArgCount(
3118        mlp: WSLINK,
3119        s: *const ::std::os::raw::c_uchar,
3120        length: ::std::os::raw::c_int,
3121        countp: *mut ::std::os::raw::c_int,
3122    ) -> ::std::os::raw::c_int;
3123}
3124extern "C" {
3125    pub fn WSTestUCS2Head(
3126        mlp: WSLINK,
3127        s: *const ::std::os::raw::c_ushort,
3128        length: ::std::os::raw::c_int,
3129        countp: *mut ::std::os::raw::c_int,
3130    ) -> ::std::os::raw::c_int;
3131}
3132extern "C" {
3133    pub fn WSTestUTF8Head(
3134        mlp: WSLINK,
3135        s: *const ::std::os::raw::c_uchar,
3136        length: ::std::os::raw::c_int,
3137        countp: *mut ::std::os::raw::c_int,
3138    ) -> ::std::os::raw::c_int;
3139}
3140extern "C" {
3141    pub fn WSTestUTF16Head(
3142        mlp: WSLINK,
3143        s: *const ::std::os::raw::c_ushort,
3144        length: ::std::os::raw::c_int,
3145        countp: *mut ::std::os::raw::c_int,
3146    ) -> ::std::os::raw::c_int;
3147}
3148extern "C" {
3149    pub fn WSTestUTF32Head(
3150        mlp: WSLINK,
3151        s: *const ::std::os::raw::c_uint,
3152        length: ::std::os::raw::c_int,
3153        countp: *mut ::std::os::raw::c_int,
3154    ) -> ::std::os::raw::c_int;
3155}
3156extern "C" {
3157    pub fn WSPutBinaryNumber(
3158        mlp: WSLINK,
3159        np: *mut ::std::os::raw::c_void,
3160        type_: ::std::os::raw::c_long,
3161    ) -> ::std::os::raw::c_int;
3162}
3163extern "C" {
3164    pub fn WSPutShortInteger(
3165        mlp: WSLINK,
3166        h: ::std::os::raw::c_int,
3167    ) -> ::std::os::raw::c_int;
3168}
3169extern "C" {
3170    pub fn WSPutInteger(mlp: WSLINK, i: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3171}
3172extern "C" {
3173    pub fn WSPutLongInteger(
3174        mlp: WSLINK,
3175        l: ::std::os::raw::c_long,
3176    ) -> ::std::os::raw::c_int;
3177}
3178extern "C" {
3179    pub fn WSPutInteger16(mlp: WSLINK, h: ::std::os::raw::c_int)
3180        -> ::std::os::raw::c_int;
3181}
3182extern "C" {
3183    pub fn WSPutInteger32(mlp: WSLINK, i: ::std::os::raw::c_int)
3184        -> ::std::os::raw::c_int;
3185}
3186extern "C" {
3187    pub fn WSPutInteger64(mlp: WSLINK, w: wsint64) -> ::std::os::raw::c_int;
3188}
3189extern "C" {
3190    pub fn WSPutInteger8(
3191        mlp: WSLINK,
3192        i: ::std::os::raw::c_uchar,
3193    ) -> ::std::os::raw::c_int;
3194}
3195extern "C" {
3196    pub fn WSPutFloat(mlp: WSLINK, f: f64) -> ::std::os::raw::c_int;
3197}
3198extern "C" {
3199    pub fn WSPutDouble(mlp: WSLINK, d: f64) -> ::std::os::raw::c_int;
3200}
3201extern "C" {
3202    pub fn WSPutReal(mlp: WSLINK, d: f64) -> ::std::os::raw::c_int;
3203}
3204extern "C" {
3205    pub fn WSPutLongDouble(mlp: WSLINK, x: wsextended_double) -> ::std::os::raw::c_int;
3206}
3207extern "C" {
3208    pub fn WSPutReal32(mlp: WSLINK, f: f64) -> ::std::os::raw::c_int;
3209}
3210extern "C" {
3211    pub fn WSPutReal64(mlp: WSLINK, d: f64) -> ::std::os::raw::c_int;
3212}
3213extern "C" {
3214    pub fn WSPutReal128(mlp: WSLINK, x: wsextended_double) -> ::std::os::raw::c_int;
3215}
3216extern "C" {
3217    pub fn WSPut8BitCharacters(
3218        mlp: WSLINK,
3219        chars_left: ::std::os::raw::c_long,
3220        bytes: *const ::std::os::raw::c_uchar,
3221        nbytes: ::std::os::raw::c_long,
3222    ) -> ::std::os::raw::c_int;
3223}
3224extern "C" {
3225    pub fn WSPut7BitCount(
3226        mlp: WSLINK,
3227        count: ::std::os::raw::c_long,
3228        size: ::std::os::raw::c_long,
3229    ) -> ::std::os::raw::c_int;
3230}
3231extern "C" {
3232    pub fn WSPut7BitCharacters(
3233        mlp: WSLINK,
3234        chars_left: ::std::os::raw::c_long,
3235        bytes: *const ::std::os::raw::c_char,
3236        nbytes: ::std::os::raw::c_long,
3237        nchars_now: ::std::os::raw::c_long,
3238    ) -> ::std::os::raw::c_int;
3239}
3240extern "C" {
3241    pub fn WSPutUCS2Characters(
3242        mlp: WSLINK,
3243        chars_left: ::std::os::raw::c_int,
3244        codes: *const ::std::os::raw::c_ushort,
3245        ncodes: ::std::os::raw::c_int,
3246    ) -> ::std::os::raw::c_int;
3247}
3248extern "C" {
3249    pub fn WSPutUTF8Characters(
3250        mlp: WSLINK,
3251        chars_left: ::std::os::raw::c_int,
3252        codes: *const ::std::os::raw::c_uchar,
3253        ncodes: ::std::os::raw::c_int,
3254    ) -> ::std::os::raw::c_int;
3255}
3256extern "C" {
3257    pub fn WSPutUTF16Characters(
3258        mlp: WSLINK,
3259        chars_left: ::std::os::raw::c_int,
3260        codes: *const ::std::os::raw::c_ushort,
3261        ncodes: ::std::os::raw::c_int,
3262    ) -> ::std::os::raw::c_int;
3263}
3264extern "C" {
3265    pub fn WSPutUTF32Characters(
3266        mlp: WSLINK,
3267        chars_left: ::std::os::raw::c_int,
3268        codes: *const ::std::os::raw::c_uint,
3269        ncodes: ::std::os::raw::c_int,
3270    ) -> ::std::os::raw::c_int;
3271}
3272extern "C" {
3273    pub fn WSPutByteString(
3274        mlp: WSLINK,
3275        s: *const ::std::os::raw::c_uchar,
3276        len: ::std::os::raw::c_long,
3277    ) -> ::std::os::raw::c_int;
3278}
3279extern "C" {
3280    pub fn WSPutString(
3281        mlp: WSLINK,
3282        s: *const ::std::os::raw::c_char,
3283    ) -> ::std::os::raw::c_int;
3284}
3285extern "C" {
3286    pub fn WSPutUCS2String(
3287        mlp: WSLINK,
3288        s: *const ::std::os::raw::c_ushort,
3289        len: ::std::os::raw::c_int,
3290    ) -> ::std::os::raw::c_int;
3291}
3292extern "C" {
3293    pub fn WSPutUTF8String(
3294        mlp: WSLINK,
3295        s: *const ::std::os::raw::c_uchar,
3296        len: ::std::os::raw::c_int,
3297    ) -> ::std::os::raw::c_int;
3298}
3299extern "C" {
3300    pub fn WSPutUTF16String(
3301        mlp: WSLINK,
3302        s: *const ::std::os::raw::c_ushort,
3303        len: ::std::os::raw::c_int,
3304    ) -> ::std::os::raw::c_int;
3305}
3306extern "C" {
3307    pub fn WSPutUTF32String(
3308        mlp: WSLINK,
3309        s: *const ::std::os::raw::c_uint,
3310        len: ::std::os::raw::c_int,
3311    ) -> ::std::os::raw::c_int;
3312}
3313extern "C" {
3314    pub fn WSPutRealNumberAsString(
3315        mlp: WSLINK,
3316        s: *const ::std::os::raw::c_char,
3317    ) -> ::std::os::raw::c_int;
3318}
3319extern "C" {
3320    pub fn WSPutRealNumberAsByteString(
3321        mlp: WSLINK,
3322        s: *const ::std::os::raw::c_uchar,
3323    ) -> ::std::os::raw::c_int;
3324}
3325extern "C" {
3326    pub fn WSPutRealNumberAsUCS2String(
3327        mlp: WSLINK,
3328        s: *const ::std::os::raw::c_ushort,
3329    ) -> ::std::os::raw::c_int;
3330}
3331extern "C" {
3332    pub fn WSPutRealNumberAsUTF8String(
3333        mlp: WSLINK,
3334        s: *const ::std::os::raw::c_uchar,
3335        nbytes: ::std::os::raw::c_int,
3336    ) -> ::std::os::raw::c_int;
3337}
3338extern "C" {
3339    pub fn WSPutRealNumberAsUTF16String(
3340        mlp: WSLINK,
3341        s: *const ::std::os::raw::c_ushort,
3342        ncodes: ::std::os::raw::c_int,
3343    ) -> ::std::os::raw::c_int;
3344}
3345extern "C" {
3346    pub fn WSPutRealNumberAsUTF32String(
3347        mlp: WSLINK,
3348        s: *const ::std::os::raw::c_uint,
3349        nchars: ::std::os::raw::c_int,
3350    ) -> ::std::os::raw::c_int;
3351}
3352extern "C" {
3353    pub fn WSPutSize(mlp: WSLINK, size: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3354}
3355extern "C" {
3356    pub fn WSPutData(
3357        mlp: WSLINK,
3358        buff: *const ::std::os::raw::c_char,
3359        len: ::std::os::raw::c_int,
3360    ) -> ::std::os::raw::c_int;
3361}
3362extern "C" {
3363    pub fn WSPutByteSymbol(
3364        mlp: WSLINK,
3365        s: *const ::std::os::raw::c_uchar,
3366        len: ::std::os::raw::c_long,
3367    ) -> ::std::os::raw::c_int;
3368}
3369extern "C" {
3370    pub fn WSPutSymbol(
3371        mlp: WSLINK,
3372        s: *const ::std::os::raw::c_char,
3373    ) -> ::std::os::raw::c_int;
3374}
3375extern "C" {
3376    pub fn WSPutUCS2Symbol(
3377        mlp: WSLINK,
3378        s: *const ::std::os::raw::c_ushort,
3379        len: ::std::os::raw::c_int,
3380    ) -> ::std::os::raw::c_int;
3381}
3382extern "C" {
3383    pub fn WSPutUTF8Symbol(
3384        mlp: WSLINK,
3385        s: *const ::std::os::raw::c_uchar,
3386        len: ::std::os::raw::c_int,
3387    ) -> ::std::os::raw::c_int;
3388}
3389extern "C" {
3390    pub fn WSPutUTF16Symbol(
3391        mlp: WSLINK,
3392        s: *const ::std::os::raw::c_ushort,
3393        len: ::std::os::raw::c_int,
3394    ) -> ::std::os::raw::c_int;
3395}
3396extern "C" {
3397    pub fn WSPutUTF32Symbol(
3398        mlp: WSLINK,
3399        s: *const ::std::os::raw::c_uint,
3400        len: ::std::os::raw::c_int,
3401    ) -> ::std::os::raw::c_int;
3402}
3403extern "C" {
3404    pub fn WSPutFunction(
3405        mlp: WSLINK,
3406        s: *const ::std::os::raw::c_char,
3407        argc: ::std::os::raw::c_int,
3408    ) -> ::std::os::raw::c_int;
3409}
3410extern "C" {
3411    pub fn WSPutUCS2Function(
3412        mlp: WSLINK,
3413        s: *const ::std::os::raw::c_ushort,
3414        length: ::std::os::raw::c_int,
3415        argn: ::std::os::raw::c_int,
3416    ) -> ::std::os::raw::c_int;
3417}
3418extern "C" {
3419    pub fn WSPutUTF8Function(
3420        mlp: WSLINK,
3421        s: *const ::std::os::raw::c_uchar,
3422        length: ::std::os::raw::c_int,
3423        argn: ::std::os::raw::c_int,
3424    ) -> ::std::os::raw::c_int;
3425}
3426extern "C" {
3427    pub fn WSPutUTF16Function(
3428        mlp: WSLINK,
3429        s: *const ::std::os::raw::c_ushort,
3430        length: ::std::os::raw::c_int,
3431        argn: ::std::os::raw::c_int,
3432    ) -> ::std::os::raw::c_int;
3433}
3434extern "C" {
3435    pub fn WSPutUTF32Function(
3436        mlp: WSLINK,
3437        s: *const ::std::os::raw::c_uint,
3438        length: ::std::os::raw::c_int,
3439        argn: ::std::os::raw::c_int,
3440    ) -> ::std::os::raw::c_int;
3441}
3442#[repr(C)]
3443#[derive(Debug, Copy, Clone)]
3444pub struct WSStringPosition {
3445    pub str_: *const ::std::os::raw::c_char,
3446    pub end: *const ::std::os::raw::c_char,
3447}
3448#[test]
3449fn bindgen_test_layout_WSStringPosition() {
3450    const UNINIT: ::std::mem::MaybeUninit<WSStringPosition> =
3451        ::std::mem::MaybeUninit::uninit();
3452    let ptr = UNINIT.as_ptr();
3453    assert_eq!(
3454        ::std::mem::size_of::<WSStringPosition>(),
3455        16usize,
3456        concat!("Size of: ", stringify!(WSStringPosition))
3457    );
3458    assert_eq!(
3459        ::std::mem::align_of::<WSStringPosition>(),
3460        8usize,
3461        concat!("Alignment of ", stringify!(WSStringPosition))
3462    );
3463    assert_eq!(
3464        unsafe { ::std::ptr::addr_of!((*ptr).str_) as usize - ptr as usize },
3465        0usize,
3466        concat!(
3467            "Offset of field: ",
3468            stringify!(WSStringPosition),
3469            "::",
3470            stringify!(str_)
3471        )
3472    );
3473    assert_eq!(
3474        unsafe { ::std::ptr::addr_of!((*ptr).end) as usize - ptr as usize },
3475        8usize,
3476        concat!(
3477            "Offset of field: ",
3478            stringify!(WSStringPosition),
3479            "::",
3480            stringify!(end)
3481        )
3482    );
3483}
3484pub type WSStringPositionPointer = *mut WSStringPosition;
3485#[repr(C)]
3486#[derive(Debug, Copy, Clone)]
3487pub struct WSOldStringPosition {
3488    pub cc: *mut ::std::os::raw::c_uchar,
3489    pub mode: ::std::os::raw::c_int,
3490    pub more: ::std::os::raw::c_int,
3491    pub head: *mut ::std::os::raw::c_uchar,
3492}
3493#[test]
3494fn bindgen_test_layout_WSOldStringPosition() {
3495    const UNINIT: ::std::mem::MaybeUninit<WSOldStringPosition> =
3496        ::std::mem::MaybeUninit::uninit();
3497    let ptr = UNINIT.as_ptr();
3498    assert_eq!(
3499        ::std::mem::size_of::<WSOldStringPosition>(),
3500        24usize,
3501        concat!("Size of: ", stringify!(WSOldStringPosition))
3502    );
3503    assert_eq!(
3504        ::std::mem::align_of::<WSOldStringPosition>(),
3505        8usize,
3506        concat!("Alignment of ", stringify!(WSOldStringPosition))
3507    );
3508    assert_eq!(
3509        unsafe { ::std::ptr::addr_of!((*ptr).cc) as usize - ptr as usize },
3510        0usize,
3511        concat!(
3512            "Offset of field: ",
3513            stringify!(WSOldStringPosition),
3514            "::",
3515            stringify!(cc)
3516        )
3517    );
3518    assert_eq!(
3519        unsafe { ::std::ptr::addr_of!((*ptr).mode) as usize - ptr as usize },
3520        8usize,
3521        concat!(
3522            "Offset of field: ",
3523            stringify!(WSOldStringPosition),
3524            "::",
3525            stringify!(mode)
3526        )
3527    );
3528    assert_eq!(
3529        unsafe { ::std::ptr::addr_of!((*ptr).more) as usize - ptr as usize },
3530        12usize,
3531        concat!(
3532            "Offset of field: ",
3533            stringify!(WSOldStringPosition),
3534            "::",
3535            stringify!(more)
3536        )
3537    );
3538    assert_eq!(
3539        unsafe { ::std::ptr::addr_of!((*ptr).head) as usize - ptr as usize },
3540        16usize,
3541        concat!(
3542            "Offset of field: ",
3543            stringify!(WSOldStringPosition),
3544            "::",
3545            stringify!(head)
3546        )
3547    );
3548}
3549pub type WSOldStringPositionPointer = *mut WSOldStringPosition;
3550extern "C" {
3551    pub fn WSCharacterOffset(
3552        startp: *mut *const ::std::os::raw::c_char,
3553        end: *const ::std::os::raw::c_char,
3554        n: ::std::os::raw::c_long,
3555    ) -> ::std::os::raw::c_long;
3556}
3557extern "C" {
3558    pub fn WSStringCharacter(
3559        start: *const ::std::os::raw::c_char,
3560        end: *const ::std::os::raw::c_char,
3561    ) -> ::std::os::raw::c_long;
3562}
3563extern "C" {
3564    pub fn WSNextCharacter(
3565        startp: *mut *const ::std::os::raw::c_char,
3566        end: *const ::std::os::raw::c_char,
3567    ) -> ::std::os::raw::c_long;
3568}
3569extern "C" {
3570    pub fn WSNextCharacterFromStringWithLength(
3571        str_: *const ::std::os::raw::c_char,
3572        indexp: *mut ::std::os::raw::c_long,
3573        len: ::std::os::raw::c_long,
3574    ) -> ::std::os::raw::c_long;
3575}
3576extern "C" {
3577    pub fn WSConvertNewLine(
3578        sp: *mut *mut ::std::os::raw::c_char,
3579    ) -> ::std::os::raw::c_long;
3580}
3581extern "C" {
3582    pub fn WSConvertCharacter(
3583        ch: ::std::os::raw::c_ulong,
3584        sp: *mut *mut ::std::os::raw::c_char,
3585    ) -> ::std::os::raw::c_long;
3586}
3587extern "C" {
3588    pub fn WSConvertByteString(
3589        codes: *mut ::std::os::raw::c_uchar,
3590        len: ::std::os::raw::c_long,
3591        strp: *mut *mut ::std::os::raw::c_char,
3592        str_end: *mut ::std::os::raw::c_char,
3593    ) -> ::std::os::raw::c_long;
3594}
3595extern "C" {
3596    pub fn WSConvertByteStringNL(
3597        codes: *mut ::std::os::raw::c_uchar,
3598        len: ::std::os::raw::c_long,
3599        strp: *mut *mut ::std::os::raw::c_char,
3600        str_end: *mut ::std::os::raw::c_char,
3601        nl: ::std::os::raw::c_ulong,
3602    ) -> ::std::os::raw::c_long;
3603}
3604extern "C" {
3605    pub fn WSConvertDoubleByteString(
3606        codes: *mut ::std::os::raw::c_uchar,
3607        len: ::std::os::raw::c_long,
3608        strp: *mut *mut ::std::os::raw::c_char,
3609        str_end: *mut ::std::os::raw::c_char,
3610    ) -> ::std::os::raw::c_long;
3611}
3612extern "C" {
3613    pub fn WSConvertDoubleByteStringNL(
3614        codes: *mut ::std::os::raw::c_uchar,
3615        len: ::std::os::raw::c_long,
3616        strp: *mut *mut ::std::os::raw::c_char,
3617        str_end: *mut ::std::os::raw::c_char,
3618        nl: ::std::os::raw::c_ulong,
3619    ) -> ::std::os::raw::c_long;
3620}
3621extern "C" {
3622    pub fn WSConvertUCS2String(
3623        codes: *mut ::std::os::raw::c_ushort,
3624        len: ::std::os::raw::c_long,
3625        strp: *mut *mut ::std::os::raw::c_char,
3626        str_end: *mut ::std::os::raw::c_char,
3627    ) -> ::std::os::raw::c_long;
3628}
3629extern "C" {
3630    pub fn WSConvertUCS2StringNL(
3631        codes: *mut ::std::os::raw::c_ushort,
3632        len: ::std::os::raw::c_long,
3633        strp: *mut *mut ::std::os::raw::c_char,
3634        str_end: *mut ::std::os::raw::c_char,
3635        nl: ::std::os::raw::c_ulong,
3636    ) -> ::std::os::raw::c_long;
3637}
3638extern "C" {
3639    pub fn WSConvertUTF8String(
3640        codes: *mut ::std::os::raw::c_uchar,
3641        len: ::std::os::raw::c_long,
3642        strp: *mut *mut ::std::os::raw::c_char,
3643        str_end: *mut ::std::os::raw::c_char,
3644    ) -> ::std::os::raw::c_long;
3645}
3646extern "C" {
3647    pub fn WSConvertUTF8StringNL(
3648        codes: *mut ::std::os::raw::c_uchar,
3649        len: ::std::os::raw::c_long,
3650        strp: *mut *mut ::std::os::raw::c_char,
3651        str_end: *mut ::std::os::raw::c_char,
3652        nl: ::std::os::raw::c_ulong,
3653    ) -> ::std::os::raw::c_long;
3654}
3655extern "C" {
3656    pub fn WSConvertUTF16String(
3657        codes: *mut ::std::os::raw::c_ushort,
3658        len: ::std::os::raw::c_long,
3659        strp: *mut *mut ::std::os::raw::c_char,
3660        str_end: *mut ::std::os::raw::c_char,
3661    ) -> ::std::os::raw::c_long;
3662}
3663extern "C" {
3664    pub fn WSConvertUTF16StringNL(
3665        codes: *mut ::std::os::raw::c_ushort,
3666        len: ::std::os::raw::c_long,
3667        strp: *mut *mut ::std::os::raw::c_char,
3668        str_end: *mut ::std::os::raw::c_char,
3669        nl: ::std::os::raw::c_ulong,
3670    ) -> ::std::os::raw::c_long;
3671}
3672extern "C" {
3673    pub fn WSConvertUTF32String(
3674        codes: *mut ::std::os::raw::c_uint,
3675        len: ::std::os::raw::c_long,
3676        strp: *mut *mut ::std::os::raw::c_char,
3677        str_end: *mut ::std::os::raw::c_char,
3678    ) -> ::std::os::raw::c_long;
3679}
3680extern "C" {
3681    pub fn WSConvertUTF32StringNL(
3682        codes: *mut ::std::os::raw::c_uint,
3683        len: ::std::os::raw::c_long,
3684        strp: *mut *mut ::std::os::raw::c_char,
3685        str_end: *mut ::std::os::raw::c_char,
3686        nl: ::std::os::raw::c_ulong,
3687    ) -> ::std::os::raw::c_long;
3688}
3689extern "C" {
3690    pub fn WSStringFirstPosFun(
3691        s: *const ::std::os::raw::c_char,
3692        p: WSStringPositionPointer,
3693    ) -> *const ::std::os::raw::c_char;
3694}
3695extern "C" {
3696    pub fn WSOldPutCharToString(
3697        ch: ::std::os::raw::c_uint,
3698        sp: *mut *mut ::std::os::raw::c_char,
3699    ) -> ::std::os::raw::c_int;
3700}
3701extern "C" {
3702    pub fn WSOldStringNextPosFun(
3703        p: WSOldStringPositionPointer,
3704    ) -> *mut ::std::os::raw::c_uchar;
3705}
3706extern "C" {
3707    pub fn WSOldStringFirstPosFun(
3708        s: *mut ::std::os::raw::c_char,
3709        p: WSOldStringPositionPointer,
3710    ) -> *mut ::std::os::raw::c_uchar;
3711}
3712extern "C" {
3713    pub fn WSOldStringCharFun(p: WSOldStringPositionPointer) -> ::std::os::raw::c_uint;
3714}
3715extern "C" {
3716    pub fn WSOldConvertByteString(
3717        codes: *mut ::std::os::raw::c_uchar,
3718        len: ::std::os::raw::c_long,
3719        strp: *mut *mut ::std::os::raw::c_char,
3720        str_end: *mut ::std::os::raw::c_char,
3721    ) -> ::std::os::raw::c_long;
3722}
3723extern "C" {
3724    pub fn WSOldConvertUCS2String(
3725        codes: *mut ::std::os::raw::c_ushort,
3726        len: ::std::os::raw::c_long,
3727        strp: *mut *mut ::std::os::raw::c_char,
3728        str_end: *mut ::std::os::raw::c_char,
3729    ) -> ::std::os::raw::c_long;
3730}
3731extern "C" {
3732    pub fn WSCharOffset(
3733        startp: *mut *const ::std::os::raw::c_char,
3734        end: *const ::std::os::raw::c_char,
3735        n: ::std::os::raw::c_long,
3736        more: ::std::os::raw::c_int,
3737    ) -> ::std::os::raw::c_long;
3738}
3739extern "C" {
3740    pub fn WSNextChar(
3741        startp: *mut *const ::std::os::raw::c_char,
3742        end: *const ::std::os::raw::c_char,
3743        more: ::std::os::raw::c_int,
3744        useSurrogates: ::std::os::raw::c_int,
3745        wasSurrogatePair: *mut ::std::os::raw::c_int,
3746    ) -> ::std::os::raw::c_long;
3747}
3748#[repr(C)]
3749#[derive(Debug, Copy, Clone)]
3750pub struct array_meter {
3751    _unused: [u8; 0],
3752}
3753pub type array_meterp = *mut array_meter;
3754pub type array_meterpp = *mut array_meterp;
3755extern "C" {
3756    pub fn WSPutArray(mlp: WSLINK, meterp: array_meterp) -> ::std::os::raw::c_int;
3757}
3758extern "C" {
3759    pub fn WSPutBinaryNumberArrayData(
3760        mlp: WSLINK,
3761        meterp: array_meterp,
3762        datap: *const ::std::os::raw::c_void,
3763        count: ::std::os::raw::c_long,
3764        type_: ::std::os::raw::c_long,
3765    ) -> ::std::os::raw::c_int;
3766}
3767extern "C" {
3768    pub fn WSPutByteArrayData(
3769        mlp: WSLINK,
3770        meterp: array_meterp,
3771        datap: *const ::std::os::raw::c_uchar,
3772        count: ::std::os::raw::c_long,
3773    ) -> ::std::os::raw::c_int;
3774}
3775extern "C" {
3776    pub fn WSPutShortIntegerArrayData(
3777        mlp: WSLINK,
3778        meterp: array_meterp,
3779        datap: *const ::std::os::raw::c_short,
3780        count: ::std::os::raw::c_long,
3781    ) -> ::std::os::raw::c_int;
3782}
3783extern "C" {
3784    pub fn WSPutIntegerArrayData(
3785        mlp: WSLINK,
3786        meterp: array_meterp,
3787        datap: *const ::std::os::raw::c_int,
3788        count: ::std::os::raw::c_long,
3789    ) -> ::std::os::raw::c_int;
3790}
3791extern "C" {
3792    pub fn WSPutLongIntegerArrayData(
3793        mlp: WSLINK,
3794        meterp: array_meterp,
3795        datap: *const ::std::os::raw::c_long,
3796        count: ::std::os::raw::c_long,
3797    ) -> ::std::os::raw::c_int;
3798}
3799extern "C" {
3800    pub fn WSPutInteger8ArrayData(
3801        mlp: WSLINK,
3802        meterp: array_meterp,
3803        datap: *const ::std::os::raw::c_uchar,
3804        count: ::std::os::raw::c_int,
3805    ) -> ::std::os::raw::c_int;
3806}
3807extern "C" {
3808    pub fn WSPutInteger16ArrayData(
3809        mlp: WSLINK,
3810        meterp: array_meterp,
3811        datap: *const ::std::os::raw::c_short,
3812        count: ::std::os::raw::c_int,
3813    ) -> ::std::os::raw::c_int;
3814}
3815extern "C" {
3816    pub fn WSPutInteger32ArrayData(
3817        mlp: WSLINK,
3818        meterp: array_meterp,
3819        datap: *const ::std::os::raw::c_int,
3820        count: ::std::os::raw::c_int,
3821    ) -> ::std::os::raw::c_int;
3822}
3823extern "C" {
3824    pub fn WSPutInteger64ArrayData(
3825        mlp: WSLINK,
3826        meterp: array_meterp,
3827        datap: *const wsint64,
3828        count: ::std::os::raw::c_int,
3829    ) -> ::std::os::raw::c_int;
3830}
3831extern "C" {
3832    pub fn WSPutFloatArrayData(
3833        mlp: WSLINK,
3834        meterp: array_meterp,
3835        datap: *const f32,
3836        count: ::std::os::raw::c_long,
3837    ) -> ::std::os::raw::c_int;
3838}
3839extern "C" {
3840    pub fn WSPutDoubleArrayData(
3841        mlp: WSLINK,
3842        meterp: array_meterp,
3843        datap: *const f64,
3844        count: ::std::os::raw::c_long,
3845    ) -> ::std::os::raw::c_int;
3846}
3847extern "C" {
3848    pub fn WSPutLongDoubleArrayData(
3849        mlp: WSLINK,
3850        meterp: array_meterp,
3851        datap: *const wsextended_double,
3852        count: ::std::os::raw::c_long,
3853    ) -> ::std::os::raw::c_int;
3854}
3855extern "C" {
3856    pub fn WSPutReal32ArrayData(
3857        mlp: WSLINK,
3858        meterp: array_meterp,
3859        datap: *const f32,
3860        count: ::std::os::raw::c_int,
3861    ) -> ::std::os::raw::c_int;
3862}
3863extern "C" {
3864    pub fn WSPutReal64ArrayData(
3865        mlp: WSLINK,
3866        meterp: array_meterp,
3867        datap: *const f64,
3868        count: ::std::os::raw::c_int,
3869    ) -> ::std::os::raw::c_int;
3870}
3871extern "C" {
3872    pub fn WSPutReal128ArrayData(
3873        mlp: WSLINK,
3874        meterp: array_meterp,
3875        datap: *const wsextended_double,
3876        count: ::std::os::raw::c_int,
3877    ) -> ::std::os::raw::c_int;
3878}
3879extern "C" {
3880    pub fn WSPutBinaryNumberArray(
3881        mlp: WSLINK,
3882        data: *const ::std::os::raw::c_void,
3883        dimp: *const ::std::os::raw::c_long,
3884        heads: *mut *const ::std::os::raw::c_char,
3885        depth: ::std::os::raw::c_long,
3886        type_: ::std::os::raw::c_long,
3887    ) -> ::std::os::raw::c_int;
3888}
3889extern "C" {
3890    pub fn WSPutByteArray(
3891        mlp: WSLINK,
3892        data: *const ::std::os::raw::c_uchar,
3893        dims: *const ::std::os::raw::c_int,
3894        heads: *mut *const ::std::os::raw::c_char,
3895        depth: ::std::os::raw::c_int,
3896    ) -> ::std::os::raw::c_int;
3897}
3898extern "C" {
3899    pub fn WSPutShortIntegerArray(
3900        mlp: WSLINK,
3901        data: *const ::std::os::raw::c_short,
3902        dims: *const ::std::os::raw::c_long,
3903        heads: *mut *const ::std::os::raw::c_char,
3904        depth: ::std::os::raw::c_long,
3905    ) -> ::std::os::raw::c_int;
3906}
3907extern "C" {
3908    pub fn WSPutIntegerArray(
3909        mlp: WSLINK,
3910        data: *const ::std::os::raw::c_int,
3911        dims: *const ::std::os::raw::c_long,
3912        heads: *mut *const ::std::os::raw::c_char,
3913        depth: ::std::os::raw::c_long,
3914    ) -> ::std::os::raw::c_int;
3915}
3916extern "C" {
3917    pub fn WSPutLongIntegerArray(
3918        mlp: WSLINK,
3919        data: *const ::std::os::raw::c_long,
3920        dims: *const ::std::os::raw::c_long,
3921        heads: *mut *const ::std::os::raw::c_char,
3922        depth: ::std::os::raw::c_long,
3923    ) -> ::std::os::raw::c_int;
3924}
3925extern "C" {
3926    pub fn WSPutInteger8Array(
3927        mlp: WSLINK,
3928        data: *const ::std::os::raw::c_uchar,
3929        dims: *const ::std::os::raw::c_int,
3930        heads: *mut *const ::std::os::raw::c_char,
3931        depth: ::std::os::raw::c_int,
3932    ) -> ::std::os::raw::c_int;
3933}
3934extern "C" {
3935    pub fn WSPutInteger16Array(
3936        mlp: WSLINK,
3937        data: *const ::std::os::raw::c_short,
3938        dims: *const ::std::os::raw::c_int,
3939        heads: *mut *const ::std::os::raw::c_char,
3940        depth: ::std::os::raw::c_int,
3941    ) -> ::std::os::raw::c_int;
3942}
3943extern "C" {
3944    pub fn WSPutInteger32Array(
3945        mlp: WSLINK,
3946        data: *const ::std::os::raw::c_int,
3947        dims: *const ::std::os::raw::c_int,
3948        heads: *mut *const ::std::os::raw::c_char,
3949        depth: ::std::os::raw::c_int,
3950    ) -> ::std::os::raw::c_int;
3951}
3952extern "C" {
3953    pub fn WSPutInteger64Array(
3954        mlp: WSLINK,
3955        data: *const wsint64,
3956        dims: *const ::std::os::raw::c_int,
3957        heads: *mut *const ::std::os::raw::c_char,
3958        depth: ::std::os::raw::c_int,
3959    ) -> ::std::os::raw::c_int;
3960}
3961extern "C" {
3962    pub fn WSPutFloatArray(
3963        mlp: WSLINK,
3964        data: *const f32,
3965        dims: *const ::std::os::raw::c_long,
3966        heads: *mut *const ::std::os::raw::c_char,
3967        depth: ::std::os::raw::c_long,
3968    ) -> ::std::os::raw::c_int;
3969}
3970extern "C" {
3971    pub fn WSPutDoubleArray(
3972        mlp: WSLINK,
3973        data: *const f64,
3974        dims: *const ::std::os::raw::c_long,
3975        heads: *mut *const ::std::os::raw::c_char,
3976        depth: ::std::os::raw::c_long,
3977    ) -> ::std::os::raw::c_int;
3978}
3979extern "C" {
3980    pub fn WSPutRealArray(
3981        mlp: WSLINK,
3982        data: *const f64,
3983        dims: *const ::std::os::raw::c_long,
3984        heads: *mut *const ::std::os::raw::c_char,
3985        depth: ::std::os::raw::c_long,
3986    ) -> ::std::os::raw::c_int;
3987}
3988extern "C" {
3989    pub fn WSPutLongDoubleArray(
3990        mlp: WSLINK,
3991        data: *const wsextended_double,
3992        dims: *const ::std::os::raw::c_long,
3993        heads: *mut *const ::std::os::raw::c_char,
3994        depth: ::std::os::raw::c_long,
3995    ) -> ::std::os::raw::c_int;
3996}
3997extern "C" {
3998    pub fn WSPutReal32Array(
3999        mlp: WSLINK,
4000        data: *const f32,
4001        dims: *const ::std::os::raw::c_int,
4002        heads: *mut *const ::std::os::raw::c_char,
4003        depth: ::std::os::raw::c_int,
4004    ) -> ::std::os::raw::c_int;
4005}
4006extern "C" {
4007    pub fn WSPutReal64Array(
4008        mlp: WSLINK,
4009        data: *const f64,
4010        dims: *const ::std::os::raw::c_int,
4011        heads: *mut *const ::std::os::raw::c_char,
4012        depth: ::std::os::raw::c_int,
4013    ) -> ::std::os::raw::c_int;
4014}
4015extern "C" {
4016    pub fn WSPutReal128Array(
4017        mlp: WSLINK,
4018        data: *const wsextended_double,
4019        dims: *const ::std::os::raw::c_int,
4020        heads: *mut *const ::std::os::raw::c_char,
4021        depth: ::std::os::raw::c_int,
4022    ) -> ::std::os::raw::c_int;
4023}
4024extern "C" {
4025    pub fn WSPutBinaryNumberList(
4026        mlp: WSLINK,
4027        data: *const ::std::os::raw::c_void,
4028        count: ::std::os::raw::c_long,
4029        type_: ::std::os::raw::c_long,
4030    ) -> ::std::os::raw::c_int;
4031}
4032extern "C" {
4033    pub fn WSPutIntegerList(
4034        mlp: WSLINK,
4035        data: *const ::std::os::raw::c_int,
4036        count: ::std::os::raw::c_long,
4037    ) -> ::std::os::raw::c_int;
4038}
4039extern "C" {
4040    pub fn WSPutRealList(
4041        mlp: WSLINK,
4042        data: *const f64,
4043        count: ::std::os::raw::c_long,
4044    ) -> ::std::os::raw::c_int;
4045}
4046extern "C" {
4047    pub fn WSPutInteger8List(
4048        mlp: WSLINK,
4049        data: *const ::std::os::raw::c_uchar,
4050        count: ::std::os::raw::c_int,
4051    ) -> ::std::os::raw::c_int;
4052}
4053extern "C" {
4054    pub fn WSPutInteger16List(
4055        mlp: WSLINK,
4056        data: *const ::std::os::raw::c_short,
4057        count: ::std::os::raw::c_int,
4058    ) -> ::std::os::raw::c_int;
4059}
4060extern "C" {
4061    pub fn WSPutInteger32List(
4062        mlp: WSLINK,
4063        data: *const ::std::os::raw::c_int,
4064        count: ::std::os::raw::c_int,
4065    ) -> ::std::os::raw::c_int;
4066}
4067extern "C" {
4068    pub fn WSPutInteger64List(
4069        mlp: WSLINK,
4070        data: *const wsint64,
4071        count: ::std::os::raw::c_int,
4072    ) -> ::std::os::raw::c_int;
4073}
4074extern "C" {
4075    pub fn WSPutReal32List(
4076        mlp: WSLINK,
4077        data: *const f32,
4078        count: ::std::os::raw::c_int,
4079    ) -> ::std::os::raw::c_int;
4080}
4081extern "C" {
4082    pub fn WSPutReal64List(
4083        mlp: WSLINK,
4084        data: *const f64,
4085        count: ::std::os::raw::c_int,
4086    ) -> ::std::os::raw::c_int;
4087}
4088extern "C" {
4089    pub fn WSPutReal128List(
4090        mlp: WSLINK,
4091        data: *const wsextended_double,
4092        count: ::std::os::raw::c_int,
4093    ) -> ::std::os::raw::c_int;
4094}
4095extern "C" {
4096    pub fn WSPutArrayType(
4097        mlp: WSLINK,
4098        heads: WSLINK,
4099        depth: ::std::os::raw::c_long,
4100        meterpp: array_meterpp,
4101    ) -> ::std::os::raw::c_int;
4102}
4103extern "C" {
4104    pub fn WSReleasePutArrayState(
4105        mlp: WSLINK,
4106        heads: WSLINK,
4107        meterp: array_meterp,
4108    ) -> ::std::os::raw::c_int;
4109}
4110extern "C" {
4111    pub fn WSPutArrayLeaves(
4112        mlp: WSLINK,
4113        heads: WSLINK,
4114        meterp: array_meterp,
4115        leaves: WSLINK,
4116        count: ::std::os::raw::c_long,
4117    ) -> ::std::os::raw::c_int;
4118}
4119extern "C" {
4120    pub fn WSPutBinaryNumberArrayDataWithHeads(
4121        mlp: WSLINK,
4122        heads: WSLINK,
4123        meterp: array_meterp,
4124        datap: *const ::std::os::raw::c_void,
4125        count: ::std::os::raw::c_long,
4126        type_: ::std::os::raw::c_long,
4127    ) -> ::std::os::raw::c_int;
4128}
4129extern "C" {
4130    pub fn WSGetArrayDimensions(
4131        mlp: WSLINK,
4132        meterp: array_meterp,
4133    ) -> ::std::os::raw::c_int;
4134}
4135extern "C" {
4136    pub fn WSGetArrayType(mlp: WSLINK, meterp: array_meterp) -> ::std::os::raw::c_int;
4137}
4138extern "C" {
4139    pub fn WSGetBinaryNumberList(
4140        mlp: WSLINK,
4141        datap: *mut *mut ::std::os::raw::c_void,
4142        countp: *mut ::std::os::raw::c_long,
4143        type_: ::std::os::raw::c_long,
4144    ) -> ::std::os::raw::c_int;
4145}
4146extern "C" {
4147    pub fn WSGetIntegerList(
4148        mlp: WSLINK,
4149        datap: *mut *mut ::std::os::raw::c_int,
4150        countp: *mut ::std::os::raw::c_long,
4151    ) -> ::std::os::raw::c_int;
4152}
4153extern "C" {
4154    pub fn WSGetRealList(
4155        mlp: WSLINK,
4156        datap: *mut *mut f64,
4157        countp: *mut ::std::os::raw::c_long,
4158    ) -> ::std::os::raw::c_int;
4159}
4160extern "C" {
4161    pub fn WSGetInteger16List(
4162        mlp: WSLINK,
4163        datap: *mut *mut ::std::os::raw::c_short,
4164        countp: *mut ::std::os::raw::c_int,
4165    ) -> ::std::os::raw::c_int;
4166}
4167extern "C" {
4168    pub fn WSGetInteger32List(
4169        mlp: WSLINK,
4170        datap: *mut *mut ::std::os::raw::c_int,
4171        countp: *mut ::std::os::raw::c_int,
4172    ) -> ::std::os::raw::c_int;
4173}
4174extern "C" {
4175    pub fn WSGetInteger64List(
4176        mlp: WSLINK,
4177        datap: *mut *mut wsint64,
4178        countp: *mut ::std::os::raw::c_int,
4179    ) -> ::std::os::raw::c_int;
4180}
4181extern "C" {
4182    pub fn WSGetReal32List(
4183        mlp: WSLINK,
4184        datap: *mut *mut f32,
4185        countp: *mut ::std::os::raw::c_int,
4186    ) -> ::std::os::raw::c_int;
4187}
4188extern "C" {
4189    pub fn WSGetReal64List(
4190        mlp: WSLINK,
4191        datap: *mut *mut f64,
4192        countp: *mut ::std::os::raw::c_int,
4193    ) -> ::std::os::raw::c_int;
4194}
4195extern "C" {
4196    pub fn WSGetReal128List(
4197        mlp: WSLINK,
4198        datap: *mut *mut wsextended_double,
4199        countp: *mut ::std::os::raw::c_int,
4200    ) -> ::std::os::raw::c_int;
4201}
4202extern "C" {
4203    pub fn WSReleaseIntegerList(
4204        mlp: WSLINK,
4205        data: *mut ::std::os::raw::c_int,
4206        count: ::std::os::raw::c_long,
4207    );
4208}
4209extern "C" {
4210    pub fn WSReleaseRealList(mlp: WSLINK, data: *mut f64, count: ::std::os::raw::c_long);
4211}
4212extern "C" {
4213    pub fn WSReleaseBinaryNumberList(
4214        mlp: WSLINK,
4215        data: *mut ::std::os::raw::c_void,
4216        count: ::std::os::raw::c_int,
4217        type_: ::std::os::raw::c_long,
4218    );
4219}
4220extern "C" {
4221    pub fn WSReleaseInteger16List(
4222        mlp: WSLINK,
4223        data: *mut ::std::os::raw::c_short,
4224        count: ::std::os::raw::c_int,
4225    );
4226}
4227extern "C" {
4228    pub fn WSReleaseInteger32List(
4229        mlp: WSLINK,
4230        data: *mut ::std::os::raw::c_int,
4231        count: ::std::os::raw::c_int,
4232    );
4233}
4234extern "C" {
4235    pub fn WSReleaseInteger64List(
4236        mlp: WSLINK,
4237        data: *mut wsint64,
4238        count: ::std::os::raw::c_int,
4239    );
4240}
4241extern "C" {
4242    pub fn WSReleaseReal32List(mlp: WSLINK, data: *mut f32, count: ::std::os::raw::c_int);
4243}
4244extern "C" {
4245    pub fn WSReleaseReal64List(mlp: WSLINK, data: *mut f64, count: ::std::os::raw::c_int);
4246}
4247extern "C" {
4248    pub fn WSReleaseReal128List(
4249        mlp: WSLINK,
4250        data: *mut wsextended_double,
4251        count: ::std::os::raw::c_int,
4252    );
4253}
4254extern "C" {
4255    pub fn WSGetBinaryNumberArrayData(
4256        mlp: WSLINK,
4257        meterp: array_meterp,
4258        datap: *mut ::std::os::raw::c_void,
4259        count: ::std::os::raw::c_long,
4260        type_: ::std::os::raw::c_long,
4261    ) -> ::std::os::raw::c_int;
4262}
4263extern "C" {
4264    pub fn WSGetByteArrayData(
4265        mlp: WSLINK,
4266        meterp: array_meterp,
4267        datap: *mut ::std::os::raw::c_uchar,
4268        count: ::std::os::raw::c_long,
4269    ) -> ::std::os::raw::c_int;
4270}
4271extern "C" {
4272    pub fn WSGetShortIntegerArrayData(
4273        mlp: WSLINK,
4274        meterp: array_meterp,
4275        datap: *mut ::std::os::raw::c_short,
4276        count: ::std::os::raw::c_long,
4277    ) -> ::std::os::raw::c_int;
4278}
4279extern "C" {
4280    pub fn WSGetIntegerArrayData(
4281        mlp: WSLINK,
4282        meterp: array_meterp,
4283        datap: *mut ::std::os::raw::c_int,
4284        count: ::std::os::raw::c_long,
4285    ) -> ::std::os::raw::c_int;
4286}
4287extern "C" {
4288    pub fn WSGetLongIntegerArrayData(
4289        mlp: WSLINK,
4290        meterp: array_meterp,
4291        datap: *mut ::std::os::raw::c_long,
4292        count: ::std::os::raw::c_long,
4293    ) -> ::std::os::raw::c_int;
4294}
4295extern "C" {
4296    pub fn WSGetInteger16ArrayData(
4297        mlp: WSLINK,
4298        meterp: array_meterp,
4299        datap: *mut ::std::os::raw::c_short,
4300        count: ::std::os::raw::c_int,
4301    ) -> ::std::os::raw::c_int;
4302}
4303extern "C" {
4304    pub fn WSGetInteger32ArrayData(
4305        mlp: WSLINK,
4306        meterp: array_meterp,
4307        datap: *mut ::std::os::raw::c_int,
4308        count: ::std::os::raw::c_int,
4309    ) -> ::std::os::raw::c_int;
4310}
4311extern "C" {
4312    pub fn WSGetInteger64ArrayData(
4313        mlp: WSLINK,
4314        meterp: array_meterp,
4315        datap: *mut wsint64,
4316        count: ::std::os::raw::c_int,
4317    ) -> ::std::os::raw::c_int;
4318}
4319extern "C" {
4320    pub fn WSGetFloatArrayData(
4321        mlp: WSLINK,
4322        meterp: array_meterp,
4323        datap: *mut f32,
4324        count: ::std::os::raw::c_long,
4325    ) -> ::std::os::raw::c_int;
4326}
4327extern "C" {
4328    pub fn WSGetDoubleArrayData(
4329        mlp: WSLINK,
4330        meterp: array_meterp,
4331        datap: *mut f64,
4332        count: ::std::os::raw::c_long,
4333    ) -> ::std::os::raw::c_int;
4334}
4335extern "C" {
4336    pub fn WSGetLongDoubleArrayData(
4337        mlp: WSLINK,
4338        meterp: array_meterp,
4339        datap: *mut wsextended_double,
4340        count: ::std::os::raw::c_long,
4341    ) -> ::std::os::raw::c_int;
4342}
4343extern "C" {
4344    pub fn WSGetReal32ArrayData(
4345        mlp: WSLINK,
4346        meterp: array_meterp,
4347        datap: *mut f32,
4348        count: ::std::os::raw::c_int,
4349    ) -> ::std::os::raw::c_int;
4350}
4351extern "C" {
4352    pub fn WSGetReal64ArrayData(
4353        mlp: WSLINK,
4354        meterp: array_meterp,
4355        datap: *mut f64,
4356        count: ::std::os::raw::c_int,
4357    ) -> ::std::os::raw::c_int;
4358}
4359extern "C" {
4360    pub fn WSGetReal128ArrayData(
4361        mlp: WSLINK,
4362        meterp: array_meterp,
4363        datap: *mut wsextended_double,
4364        count: ::std::os::raw::c_int,
4365    ) -> ::std::os::raw::c_int;
4366}
4367extern "C" {
4368    pub fn WSGetInteger8List(
4369        mlp: WSLINK,
4370        datap: *mut *mut ::std::os::raw::c_uchar,
4371        countp: *mut ::std::os::raw::c_int,
4372    ) -> ::std::os::raw::c_int;
4373}
4374extern "C" {
4375    pub fn WSGetInteger8ArrayData(
4376        mlp: WSLINK,
4377        meterp: array_meterp,
4378        datap: *mut ::std::os::raw::c_uchar,
4379        count: ::std::os::raw::c_int,
4380    ) -> ::std::os::raw::c_int;
4381}
4382extern "C" {
4383    pub fn WSReleaseInteger8List(
4384        mlp: WSLINK,
4385        data: *mut ::std::os::raw::c_uchar,
4386        count: ::std::os::raw::c_int,
4387    );
4388}
4389extern "C" {
4390    pub fn WSGetArrayTypeWithDepthAndLeafType(
4391        mlp: WSLINK,
4392        heads: WSLINK,
4393        meterpp: array_meterpp,
4394        depthp: *mut ::std::os::raw::c_long,
4395        leaf_tokp: *mut mlapi__token,
4396    ) -> ::std::os::raw::c_int;
4397}
4398extern "C" {
4399    pub fn WSGetBinaryNumberArrayDataWithHeads(
4400        mlp: WSLINK,
4401        heads: WSLINK,
4402        meterp: array_meterp,
4403        datap: *mut ::std::os::raw::c_void,
4404        countp: *mut ::std::os::raw::c_long,
4405        type_: ::std::os::raw::c_long,
4406    ) -> ::std::os::raw::c_int;
4407}
4408extern "C" {
4409    pub fn WSReleaseGetArrayState(mlp: WSLINK, heads: WSLINK, meterp: array_meterp);
4410}
4411extern "C" {
4412    pub fn WSGetBinaryNumberArrayWithLeafType(
4413        mlp: WSLINK,
4414        datap: *mut *mut ::std::os::raw::c_void,
4415        dimpp: *mut *mut ::std::os::raw::c_long,
4416        headsp: *mut *mut *mut ::std::os::raw::c_char,
4417        depthp: *mut ::std::os::raw::c_long,
4418        type_: ::std::os::raw::c_long,
4419        leaf_tokp: *mut mlapi__token,
4420    ) -> ::std::os::raw::c_int;
4421}
4422extern "C" {
4423    pub fn WSGetBinaryNumberArray(
4424        mlp: WSLINK,
4425        datap: *mut *mut ::std::os::raw::c_void,
4426        dimpp: *mut *mut ::std::os::raw::c_long,
4427        headsp: *mut *mut *mut ::std::os::raw::c_char,
4428        depthp: *mut ::std::os::raw::c_long,
4429        type_: ::std::os::raw::c_long,
4430    ) -> ::std::os::raw::c_int;
4431}
4432extern "C" {
4433    pub fn WSGetByteArray(
4434        mlp: WSLINK,
4435        datap: *mut *mut ::std::os::raw::c_uchar,
4436        dimsp: *mut *mut ::std::os::raw::c_int,
4437        headsp: *mut *mut *mut ::std::os::raw::c_char,
4438        depthp: *mut ::std::os::raw::c_int,
4439    ) -> ::std::os::raw::c_int;
4440}
4441extern "C" {
4442    pub fn WSGetShortIntegerArray(
4443        mlp: WSLINK,
4444        datap: *mut *mut ::std::os::raw::c_short,
4445        dimsp: *mut *mut ::std::os::raw::c_long,
4446        headsp: *mut *mut *mut ::std::os::raw::c_char,
4447        depthp: *mut ::std::os::raw::c_long,
4448    ) -> ::std::os::raw::c_int;
4449}
4450extern "C" {
4451    pub fn WSGetIntegerArray(
4452        mlp: WSLINK,
4453        datap: *mut *mut ::std::os::raw::c_int,
4454        dimsp: *mut *mut ::std::os::raw::c_long,
4455        headsp: *mut *mut *mut ::std::os::raw::c_char,
4456        depthp: *mut ::std::os::raw::c_long,
4457    ) -> ::std::os::raw::c_int;
4458}
4459extern "C" {
4460    pub fn WSGetLongIntegerArray(
4461        mlp: WSLINK,
4462        datap: *mut *mut ::std::os::raw::c_long,
4463        dimsp: *mut *mut ::std::os::raw::c_long,
4464        headsp: *mut *mut *mut ::std::os::raw::c_char,
4465        depthp: *mut ::std::os::raw::c_long,
4466    ) -> ::std::os::raw::c_int;
4467}
4468extern "C" {
4469    pub fn WSGetInteger16Array(
4470        mlp: WSLINK,
4471        datap: *mut *mut ::std::os::raw::c_short,
4472        dimsp: *mut *mut ::std::os::raw::c_int,
4473        headsp: *mut *mut *mut ::std::os::raw::c_char,
4474        depthp: *mut ::std::os::raw::c_int,
4475    ) -> ::std::os::raw::c_int;
4476}
4477extern "C" {
4478    pub fn WSGetInteger32Array(
4479        mlp: WSLINK,
4480        datap: *mut *mut ::std::os::raw::c_int,
4481        dimsp: *mut *mut ::std::os::raw::c_int,
4482        headsp: *mut *mut *mut ::std::os::raw::c_char,
4483        depthp: *mut ::std::os::raw::c_int,
4484    ) -> ::std::os::raw::c_int;
4485}
4486extern "C" {
4487    pub fn WSGetInteger64Array(
4488        mlp: WSLINK,
4489        datap: *mut *mut wsint64,
4490        dimsp: *mut *mut ::std::os::raw::c_int,
4491        headsp: *mut *mut *mut ::std::os::raw::c_char,
4492        depthp: *mut ::std::os::raw::c_int,
4493    ) -> ::std::os::raw::c_int;
4494}
4495extern "C" {
4496    pub fn WSGetInteger8Array(
4497        mlp: WSLINK,
4498        datap: *mut *mut ::std::os::raw::c_uchar,
4499        dimsp: *mut *mut ::std::os::raw::c_int,
4500        headsp: *mut *mut *mut ::std::os::raw::c_char,
4501        depthp: *mut ::std::os::raw::c_int,
4502    ) -> ::std::os::raw::c_int;
4503}
4504extern "C" {
4505    pub fn WSGetFloatArray(
4506        mlp: WSLINK,
4507        datap: *mut *mut f32,
4508        dimsp: *mut *mut ::std::os::raw::c_long,
4509        headsp: *mut *mut *mut ::std::os::raw::c_char,
4510        depthp: *mut ::std::os::raw::c_long,
4511    ) -> ::std::os::raw::c_int;
4512}
4513extern "C" {
4514    pub fn WSGetDoubleArray(
4515        mlp: WSLINK,
4516        datap: *mut *mut f64,
4517        dimsp: *mut *mut ::std::os::raw::c_long,
4518        headsp: *mut *mut *mut ::std::os::raw::c_char,
4519        depthp: *mut ::std::os::raw::c_long,
4520    ) -> ::std::os::raw::c_int;
4521}
4522extern "C" {
4523    pub fn WSGetRealArray(
4524        mlp: WSLINK,
4525        datap: *mut *mut f64,
4526        dimsp: *mut *mut ::std::os::raw::c_long,
4527        headsp: *mut *mut *mut ::std::os::raw::c_char,
4528        depthp: *mut ::std::os::raw::c_long,
4529    ) -> ::std::os::raw::c_int;
4530}
4531extern "C" {
4532    pub fn WSGetLongDoubleArray(
4533        mlp: WSLINK,
4534        datap: *mut *mut wsextended_double,
4535        dimsp: *mut *mut ::std::os::raw::c_long,
4536        headsp: *mut *mut *mut ::std::os::raw::c_char,
4537        depthp: *mut ::std::os::raw::c_long,
4538    ) -> ::std::os::raw::c_int;
4539}
4540extern "C" {
4541    pub fn WSGetReal32Array(
4542        mlp: WSLINK,
4543        datap: *mut *mut f32,
4544        dimsp: *mut *mut ::std::os::raw::c_int,
4545        headsp: *mut *mut *mut ::std::os::raw::c_char,
4546        depthp: *mut ::std::os::raw::c_int,
4547    ) -> ::std::os::raw::c_int;
4548}
4549extern "C" {
4550    pub fn WSGetReal64Array(
4551        mlp: WSLINK,
4552        datap: *mut *mut f64,
4553        dimsp: *mut *mut ::std::os::raw::c_int,
4554        headsp: *mut *mut *mut ::std::os::raw::c_char,
4555        depthp: *mut ::std::os::raw::c_int,
4556    ) -> ::std::os::raw::c_int;
4557}
4558extern "C" {
4559    pub fn WSGetReal128Array(
4560        mlp: WSLINK,
4561        datap: *mut *mut wsextended_double,
4562        dimsp: *mut *mut ::std::os::raw::c_int,
4563        headsp: *mut *mut *mut ::std::os::raw::c_char,
4564        depthp: *mut ::std::os::raw::c_int,
4565    ) -> ::std::os::raw::c_int;
4566}
4567extern "C" {
4568    pub fn WSReleaseShortIntegerArray(
4569        mlp: WSLINK,
4570        data: *mut ::std::os::raw::c_short,
4571        dims: *mut ::std::os::raw::c_long,
4572        heads: *mut *mut ::std::os::raw::c_char,
4573        depth: ::std::os::raw::c_long,
4574    );
4575}
4576extern "C" {
4577    pub fn WSReleaseIntegerArray(
4578        mlp: WSLINK,
4579        data: *mut ::std::os::raw::c_int,
4580        dims: *mut ::std::os::raw::c_long,
4581        heads: *mut *mut ::std::os::raw::c_char,
4582        depth: ::std::os::raw::c_long,
4583    );
4584}
4585extern "C" {
4586    pub fn WSReleaseLongIntegerArray(
4587        mlp: WSLINK,
4588        data: *mut ::std::os::raw::c_long,
4589        dims: *mut ::std::os::raw::c_long,
4590        heads: *mut *mut ::std::os::raw::c_char,
4591        depth: ::std::os::raw::c_long,
4592    );
4593}
4594extern "C" {
4595    pub fn WSReleaseBinaryNumberArray(
4596        mlp: WSLINK,
4597        data: *mut ::std::os::raw::c_void,
4598        dimp: *mut ::std::os::raw::c_int,
4599        heads: *mut *mut ::std::os::raw::c_char,
4600        len: ::std::os::raw::c_int,
4601        type_: ::std::os::raw::c_long,
4602    );
4603}
4604extern "C" {
4605    pub fn WSReleaseByteArray(
4606        mlp: WSLINK,
4607        data: *mut ::std::os::raw::c_uchar,
4608        dims: *mut ::std::os::raw::c_int,
4609        heads: *mut *mut ::std::os::raw::c_char,
4610        depth: ::std::os::raw::c_int,
4611    );
4612}
4613extern "C" {
4614    pub fn WSReleaseInteger16Array(
4615        mlp: WSLINK,
4616        data: *mut ::std::os::raw::c_short,
4617        dims: *mut ::std::os::raw::c_int,
4618        heads: *mut *mut ::std::os::raw::c_char,
4619        depth: ::std::os::raw::c_int,
4620    );
4621}
4622extern "C" {
4623    pub fn WSReleaseInteger32Array(
4624        mlp: WSLINK,
4625        data: *mut ::std::os::raw::c_int,
4626        dims: *mut ::std::os::raw::c_int,
4627        heads: *mut *mut ::std::os::raw::c_char,
4628        depth: ::std::os::raw::c_int,
4629    );
4630}
4631extern "C" {
4632    pub fn WSReleaseInteger64Array(
4633        mlp: WSLINK,
4634        data: *mut wsint64,
4635        dims: *mut ::std::os::raw::c_int,
4636        heads: *mut *mut ::std::os::raw::c_char,
4637        depth: ::std::os::raw::c_int,
4638    );
4639}
4640extern "C" {
4641    pub fn WSReleaseInteger8Array(
4642        mlp: WSLINK,
4643        data: *mut ::std::os::raw::c_uchar,
4644        dimp: *mut ::std::os::raw::c_int,
4645        heads: *mut *mut ::std::os::raw::c_char,
4646        depth: ::std::os::raw::c_int,
4647    );
4648}
4649extern "C" {
4650    pub fn WSReleaseFloatArray(
4651        mlp: WSLINK,
4652        data: *mut f32,
4653        dims: *mut ::std::os::raw::c_long,
4654        heads: *mut *mut ::std::os::raw::c_char,
4655        depth: ::std::os::raw::c_long,
4656    );
4657}
4658extern "C" {
4659    pub fn WSReleaseDoubleArray(
4660        mlp: WSLINK,
4661        data: *mut f64,
4662        dims: *mut ::std::os::raw::c_long,
4663        heads: *mut *mut ::std::os::raw::c_char,
4664        depth: ::std::os::raw::c_long,
4665    );
4666}
4667extern "C" {
4668    pub fn WSReleaseRealArray(
4669        mlp: WSLINK,
4670        data: *mut f64,
4671        dims: *mut ::std::os::raw::c_long,
4672        heads: *mut *mut ::std::os::raw::c_char,
4673        depth: ::std::os::raw::c_long,
4674    );
4675}
4676extern "C" {
4677    pub fn WSReleaseReal32Array(
4678        mlp: WSLINK,
4679        data: *mut f32,
4680        dims: *mut ::std::os::raw::c_int,
4681        heads: *mut *mut ::std::os::raw::c_char,
4682        depth: ::std::os::raw::c_int,
4683    );
4684}
4685extern "C" {
4686    pub fn WSReleaseReal64Array(
4687        mlp: WSLINK,
4688        data: *mut f64,
4689        dims: *mut ::std::os::raw::c_int,
4690        heads: *mut *mut ::std::os::raw::c_char,
4691        depth: ::std::os::raw::c_int,
4692    );
4693}
4694extern "C" {
4695    pub fn WSReleaseReal128Array(
4696        mlp: WSLINK,
4697        data: *mut wsextended_double,
4698        dims: *mut ::std::os::raw::c_int,
4699        heads: *mut *mut ::std::os::raw::c_char,
4700        depth: ::std::os::raw::c_int,
4701    );
4702}
4703extern "C" {
4704    pub fn WSReleaseLongDoubleArray(
4705        mlp: WSLINK,
4706        data: *mut wsextended_double,
4707        dims: *mut ::std::os::raw::c_long,
4708        heads: *mut *mut ::std::os::raw::c_char,
4709        depth: ::std::os::raw::c_long,
4710    );
4711}
4712pub const WSUnicodeContainerType_UCS2ContainerType: WSUnicodeContainerType = 0;
4713pub const WSUnicodeContainerType_UTF8ContainerType: WSUnicodeContainerType = 1;
4714pub const WSUnicodeContainerType_UTF16ContainerType: WSUnicodeContainerType = 2;
4715pub const WSUnicodeContainerType_UTF32ContainerType: WSUnicodeContainerType = 3;
4716pub type WSUnicodeContainerType = ::std::os::raw::c_uint;
4717#[repr(C)]
4718#[derive(Copy, Clone)]
4719pub struct _MLUnicodeContainer {
4720    pub pointer: _MLUnicodeContainer__pointer,
4721    pub length: ::std::os::raw::c_int,
4722    pub type_: WSUnicodeContainerType,
4723}
4724#[repr(C)]
4725#[derive(Copy, Clone)]
4726pub union _MLUnicodeContainer__pointer {
4727    pub ucs2: *mut ::std::os::raw::c_ushort,
4728    pub utf8: *mut ::std::os::raw::c_uchar,
4729    pub utf16: *mut ::std::os::raw::c_ushort,
4730    pub utf32: *mut ::std::os::raw::c_uint,
4731}
4732#[test]
4733fn bindgen_test_layout__MLUnicodeContainer__pointer() {
4734    const UNINIT: ::std::mem::MaybeUninit<_MLUnicodeContainer__pointer> =
4735        ::std::mem::MaybeUninit::uninit();
4736    let ptr = UNINIT.as_ptr();
4737    assert_eq!(
4738        ::std::mem::size_of::<_MLUnicodeContainer__pointer>(),
4739        8usize,
4740        concat!("Size of: ", stringify!(_MLUnicodeContainer__pointer))
4741    );
4742    assert_eq!(
4743        ::std::mem::align_of::<_MLUnicodeContainer__pointer>(),
4744        8usize,
4745        concat!("Alignment of ", stringify!(_MLUnicodeContainer__pointer))
4746    );
4747    assert_eq!(
4748        unsafe { ::std::ptr::addr_of!((*ptr).ucs2) as usize - ptr as usize },
4749        0usize,
4750        concat!(
4751            "Offset of field: ",
4752            stringify!(_MLUnicodeContainer__pointer),
4753            "::",
4754            stringify!(ucs2)
4755        )
4756    );
4757    assert_eq!(
4758        unsafe { ::std::ptr::addr_of!((*ptr).utf8) as usize - ptr as usize },
4759        0usize,
4760        concat!(
4761            "Offset of field: ",
4762            stringify!(_MLUnicodeContainer__pointer),
4763            "::",
4764            stringify!(utf8)
4765        )
4766    );
4767    assert_eq!(
4768        unsafe { ::std::ptr::addr_of!((*ptr).utf16) as usize - ptr as usize },
4769        0usize,
4770        concat!(
4771            "Offset of field: ",
4772            stringify!(_MLUnicodeContainer__pointer),
4773            "::",
4774            stringify!(utf16)
4775        )
4776    );
4777    assert_eq!(
4778        unsafe { ::std::ptr::addr_of!((*ptr).utf32) as usize - ptr as usize },
4779        0usize,
4780        concat!(
4781            "Offset of field: ",
4782            stringify!(_MLUnicodeContainer__pointer),
4783            "::",
4784            stringify!(utf32)
4785        )
4786    );
4787}
4788#[test]
4789fn bindgen_test_layout__MLUnicodeContainer() {
4790    const UNINIT: ::std::mem::MaybeUninit<_MLUnicodeContainer> =
4791        ::std::mem::MaybeUninit::uninit();
4792    let ptr = UNINIT.as_ptr();
4793    assert_eq!(
4794        ::std::mem::size_of::<_MLUnicodeContainer>(),
4795        16usize,
4796        concat!("Size of: ", stringify!(_MLUnicodeContainer))
4797    );
4798    assert_eq!(
4799        ::std::mem::align_of::<_MLUnicodeContainer>(),
4800        8usize,
4801        concat!("Alignment of ", stringify!(_MLUnicodeContainer))
4802    );
4803    assert_eq!(
4804        unsafe { ::std::ptr::addr_of!((*ptr).pointer) as usize - ptr as usize },
4805        0usize,
4806        concat!(
4807            "Offset of field: ",
4808            stringify!(_MLUnicodeContainer),
4809            "::",
4810            stringify!(pointer)
4811        )
4812    );
4813    assert_eq!(
4814        unsafe { ::std::ptr::addr_of!((*ptr).length) as usize - ptr as usize },
4815        8usize,
4816        concat!(
4817            "Offset of field: ",
4818            stringify!(_MLUnicodeContainer),
4819            "::",
4820            stringify!(length)
4821        )
4822    );
4823    assert_eq!(
4824        unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize },
4825        12usize,
4826        concat!(
4827            "Offset of field: ",
4828            stringify!(_MLUnicodeContainer),
4829            "::",
4830            stringify!(type_)
4831        )
4832    );
4833}
4834pub type WSUnicodeContainer = _MLUnicodeContainer;
4835extern "C" {
4836    pub fn WSNewUnicodeContainer(
4837        string: *const ::std::os::raw::c_void,
4838        length: ::std::os::raw::c_int,
4839        type_: WSUnicodeContainerType,
4840    ) -> *mut WSUnicodeContainer;
4841}
4842extern "C" {
4843    pub fn WSReleaseUnicodeContainer(string: *mut WSUnicodeContainer);
4844}
4845extern "C" {
4846    pub fn WSCreateMark(mlp: WSLINK) -> MLINKMark;
4847}
4848extern "C" {
4849    pub fn WSSeekToMark(
4850        mlp: WSLINK,
4851        mark: MLINKMark,
4852        index: ::std::os::raw::c_int,
4853    ) -> MLINKMark;
4854}
4855extern "C" {
4856    pub fn WSSeekMark(
4857        mlp: WSLINK,
4858        mark: MLINKMark,
4859        index: ::std::os::raw::c_int,
4860    ) -> MLINKMark;
4861}
4862extern "C" {
4863    pub fn WSDestroyMark(mlp: WSLINK, mark: MLINKMark);
4864}
4865extern "C" {
4866    pub fn WSTransferExpression(dmlp: WSLINK, smlp: WSLINK) -> ::std::os::raw::c_int;
4867}
4868extern "C" {
4869    pub fn WSTransferToEndOfLoopbackLink(
4870        dmlp: WSLINK,
4871        smlp: WSLINK,
4872    ) -> ::std::os::raw::c_int;
4873}
4874extern "C" {
4875    pub fn WSForwardReset(
4876        mlp: WSLINK,
4877        marker: ::std::os::raw::c_ulong,
4878    ) -> ::std::os::raw::c_int;
4879}
4880extern "C" {
4881    pub fn WSAlign(lmlp: WSLINK, rmlp: WSLINK) -> ::std::os::raw::c_int;
4882}
4883extern "C" {
4884    pub fn WSNextPacket(mlp: WSLINK) -> ::std::os::raw::c_int;
4885}
4886pub type mldlg_result = ::std::os::raw::c_long;
4887pub type WSAlertProcPtr = ::std::option::Option<
4888    unsafe extern "C" fn(
4889        env: WSEnvironment,
4890        message: *const ::std::os::raw::c_char,
4891    ) -> mldlg_result,
4892>;
4893pub type WSRequestProcPtr = ::std::option::Option<
4894    unsafe extern "C" fn(
4895        env: WSEnvironment,
4896        prompt: *const ::std::os::raw::c_char,
4897        response: *mut ::std::os::raw::c_char,
4898        sizeof_response: ::std::os::raw::c_long,
4899    ) -> mldlg_result,
4900>;
4901pub type WSConfirmProcPtr = ::std::option::Option<
4902    unsafe extern "C" fn(
4903        env: WSEnvironment,
4904        question: *const ::std::os::raw::c_char,
4905        default_answer: mldlg_result,
4906    ) -> mldlg_result,
4907>;
4908pub type WSRequestArgvProcPtr = ::std::option::Option<
4909    unsafe extern "C" fn(
4910        env: WSEnvironment,
4911        argv: *mut *mut ::std::os::raw::c_char,
4912        cardof_argv: ::std::os::raw::c_long,
4913        buf: *mut ::std::os::raw::c_char,
4914        sizeof_buf: ::std::os::raw::c_long,
4915    ) -> mldlg_result,
4916>;
4917pub type WSRequestToInteractProcPtr = ::std::option::Option<
4918    unsafe extern "C" fn(
4919        env: WSEnvironment,
4920        wait_for_permission: mldlg_result,
4921    ) -> mldlg_result,
4922>;
4923pub type WSDialogProcPtr =
4924    ::std::option::Option<unsafe extern "C" fn(env: WSEnvironment) -> mldlg_result>;
4925pub type MLDialogUPP = WSDialogProcPtr;
4926pub type MLAlertUPP = WSAlertProcPtr;
4927pub type MLRequestUPP = WSRequestProcPtr;
4928pub type MLConfirmUPP = WSConfirmProcPtr;
4929pub type MLRequestArgvUPP = WSRequestArgvProcPtr;
4930pub type MLRequestToInteractUPP = WSRequestToInteractProcPtr;
4931pub type MLAlertFunctionType = MLAlertUPP;
4932pub type MLRequestFunctionType = MLRequestUPP;
4933pub type MLConfirmFunctionType = MLConfirmUPP;
4934pub type MLRequestArgvFunctionType = MLRequestArgvUPP;
4935pub type MLRequestToInteractFunctionType = MLRequestToInteractUPP;
4936pub type WSDialogFunctionType = MLDialogUPP;
4937pub const WSAlertFunction: _bindgen_ty_3 = 1;
4938pub const WSRequestFunction: _bindgen_ty_3 = 2;
4939pub const WSConfirmFunction: _bindgen_ty_3 = 3;
4940pub const WSRequestArgvFunction: _bindgen_ty_3 = 4;
4941pub const WSRequestToInteractFunction: _bindgen_ty_3 = 5;
4942pub type _bindgen_ty_3 = ::std::os::raw::c_uint;
4943extern "C" {
4944    pub fn MLAlert_unix(
4945        env: WSEnvironment,
4946        message: *const ::std::os::raw::c_char,
4947    ) -> mldlg_result;
4948}
4949extern "C" {
4950    pub fn MLRequest_unix(
4951        env: WSEnvironment,
4952        prompt: *const ::std::os::raw::c_char,
4953        response: *mut ::std::os::raw::c_char,
4954        sizeof_response: ::std::os::raw::c_long,
4955    ) -> mldlg_result;
4956}
4957extern "C" {
4958    pub fn MLConfirm_unix(
4959        env: WSEnvironment,
4960        question: *const ::std::os::raw::c_char,
4961        default_answer: mldlg_result,
4962    ) -> mldlg_result;
4963}
4964extern "C" {
4965    pub fn MLPermit_unix(
4966        env: WSEnvironment,
4967        wait_for_permission: mldlg_result,
4968    ) -> mldlg_result;
4969}
4970extern "C" {
4971    pub fn default_request_argv(
4972        ep: WSEnvironment,
4973        argv: *mut *mut ::std::os::raw::c_char,
4974        len: ::std::os::raw::c_long,
4975        buff: *mut ::std::os::raw::c_char,
4976        size: ::std::os::raw::c_long,
4977    ) -> mldlg_result;
4978}
4979extern "C" {
4980    pub fn WSAlert(
4981        env: WSEnvironment,
4982        message: *const ::std::os::raw::c_char,
4983    ) -> mldlg_result;
4984}
4985extern "C" {
4986    pub fn WSRequest(
4987        env: WSEnvironment,
4988        prompt: *const ::std::os::raw::c_char,
4989        response: *mut ::std::os::raw::c_char,
4990        sizeof_response: ::std::os::raw::c_long,
4991    ) -> mldlg_result;
4992}
4993extern "C" {
4994    pub fn WSConfirm(
4995        env: WSEnvironment,
4996        question: *const ::std::os::raw::c_char,
4997        default_answer: mldlg_result,
4998    ) -> mldlg_result;
4999}
5000extern "C" {
5001    pub fn WSRequestArgv(
5002        env: WSEnvironment,
5003        argv: *mut *mut ::std::os::raw::c_char,
5004        cardof_argv: ::std::os::raw::c_long,
5005        buff: *mut ::std::os::raw::c_char,
5006        size: ::std::os::raw::c_long,
5007    ) -> mldlg_result;
5008}
5009extern "C" {
5010    pub fn WSRequestToInteract(
5011        env: WSEnvironment,
5012        wait_for_permission: mldlg_result,
5013    ) -> mldlg_result;
5014}
5015extern "C" {
5016    pub fn WSSetDialogFunction(
5017        env: WSEnvironment,
5018        funcnum: ::std::os::raw::c_long,
5019        func: WSDialogFunctionType,
5020    ) -> ::std::os::raw::c_int;
5021}
5022extern "C" {
5023    pub fn WSAlertCast(f: WSAlertProcPtr) -> WSDialogProcPtr;
5024}
5025extern "C" {
5026    pub fn WSRequestCast(f: WSRequestProcPtr) -> WSDialogProcPtr;
5027}
5028extern "C" {
5029    pub fn WSConfirmCast(f: WSConfirmProcPtr) -> WSDialogProcPtr;
5030}
5031extern "C" {
5032    pub fn WSRequestArgvCast(f: WSRequestArgvProcPtr) -> WSDialogProcPtr;
5033}
5034extern "C" {
5035    pub fn WSRequestToInteractCast(f: WSRequestToInteractProcPtr) -> WSDialogProcPtr;
5036}
5037#[repr(C)]
5038#[derive(Debug, Copy, Clone)]
5039pub struct _mltimeval {
5040    pub tv_sec: ::std::os::raw::c_ulong,
5041    pub tv_usec: ::std::os::raw::c_ulong,
5042}
5043#[test]
5044fn bindgen_test_layout__mltimeval() {
5045    const UNINIT: ::std::mem::MaybeUninit<_mltimeval> = ::std::mem::MaybeUninit::uninit();
5046    let ptr = UNINIT.as_ptr();
5047    assert_eq!(
5048        ::std::mem::size_of::<_mltimeval>(),
5049        16usize,
5050        concat!("Size of: ", stringify!(_mltimeval))
5051    );
5052    assert_eq!(
5053        ::std::mem::align_of::<_mltimeval>(),
5054        8usize,
5055        concat!("Alignment of ", stringify!(_mltimeval))
5056    );
5057    assert_eq!(
5058        unsafe { ::std::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
5059        0usize,
5060        concat!(
5061            "Offset of field: ",
5062            stringify!(_mltimeval),
5063            "::",
5064            stringify!(tv_sec)
5065        )
5066    );
5067    assert_eq!(
5068        unsafe { ::std::ptr::addr_of!((*ptr).tv_usec) as usize - ptr as usize },
5069        8usize,
5070        concat!(
5071            "Offset of field: ",
5072            stringify!(_mltimeval),
5073            "::",
5074            stringify!(tv_usec)
5075        )
5076    );
5077}
5078pub type wstimeval = _mltimeval;
5079extern "C" {
5080    pub fn WSReady(mlp: WSLINK) -> ::std::os::raw::c_int;
5081}
5082pub type WSREADYPARALLELENV = *mut ::std::os::raw::c_void;
5083extern "C" {
5084    pub fn WSReadyParallel(
5085        arg1: WSENV,
5086        arg2: *mut WSLINK,
5087        arg3: ::std::os::raw::c_int,
5088        arg4: wstimeval,
5089    ) -> ::std::os::raw::c_int;
5090}
5091pub type WSLinkWaitCallBackObject = ::std::option::Option<
5092    unsafe extern "C" fn(
5093        arg1: WSLINK,
5094        arg2: *mut ::std::os::raw::c_void,
5095    ) -> ::std::os::raw::c_int,
5096>;
5097extern "C" {
5098    pub fn WSWaitForLinkActivity(mlp: WSLINK) -> ::std::os::raw::c_int;
5099}
5100extern "C" {
5101    pub fn WSWaitForLinkActivityWithCallback(
5102        mlp: WSLINK,
5103        callback: WSLinkWaitCallBackObject,
5104    ) -> ::std::os::raw::c_int;
5105}
5106extern "C" {
5107    #[doc = " Template interface"]
5108    pub static mut stdlink: WSLINK;
5109}
5110extern "C" {
5111    pub static mut stdenv: WSEnvironment;
5112}
5113extern "C" {
5114    pub static mut stdyielder: WSYieldFunctionObject;
5115}
5116extern "C" {
5117    pub static mut stdhandler: WSMessageHandlerObject;
5118}
5119extern "C" {
5120    pub fn WSMain(
5121        arg1: ::std::os::raw::c_int,
5122        arg2: *mut *mut ::std::os::raw::c_char,
5123    ) -> ::std::os::raw::c_int;
5124}
5125extern "C" {
5126    pub fn WSMainString(
5127        commandline: *mut ::std::os::raw::c_char,
5128    ) -> ::std::os::raw::c_int;
5129}
5130extern "C" {
5131    pub fn WSMainArgv(
5132        argv: *mut *mut ::std::os::raw::c_char,
5133        argv_end: *mut *mut ::std::os::raw::c_char,
5134    ) -> ::std::os::raw::c_int;
5135}
5136extern "C" {
5137    pub fn WSInstall(arg1: WSLINK) -> ::std::os::raw::c_int;
5138}
5139extern "C" {
5140    pub fn WSAnswer(arg1: WSLINK) -> wsapi_packet;
5141}
5142extern "C" {
5143    pub fn WSDoCallPacket(arg1: WSLINK) -> ::std::os::raw::c_int;
5144}
5145extern "C" {
5146    pub fn WSEvaluate(
5147        arg1: WSLINK,
5148        arg2: *mut ::std::os::raw::c_char,
5149    ) -> ::std::os::raw::c_int;
5150}
5151extern "C" {
5152    pub fn WSEvaluateString(
5153        arg1: WSLINK,
5154        arg2: *mut ::std::os::raw::c_char,
5155    ) -> ::std::os::raw::c_int;
5156}
5157extern "C" {
5158    pub fn WSDefaultHandler(
5159        arg1: WSLINK,
5160        arg2: ::std::os::raw::c_int,
5161        arg3: ::std::os::raw::c_int,
5162    );
5163}
5164extern "C" {
5165    pub fn WSDefaultYielder(
5166        arg1: WSLINK,
5167        arg2: WSYieldParameters,
5168    ) -> ::std::os::raw::c_int;
5169}
5170extern "C" {
5171    pub static mut WSAbort: ::std::os::raw::c_int;
5172}
5173extern "C" {
5174    pub static mut WSDone: ::std::os::raw::c_int;
5175}
5176extern "C" {
5177    pub static mut WSSpecialCharacter: ::std::os::raw::c_long;
5178}