1#![allow(dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals, improper_ctypes)]
4pub type _Tp = ();
5
6#[repr(C)]
7#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
8pub struct __BindgenBitfieldUnit<Storage> {
9 storage: Storage,
10}
11impl<Storage> __BindgenBitfieldUnit<Storage> {
12 #[inline]
13 pub const fn new(storage: Storage) -> Self {
14 Self { storage }
15 }
16}
17impl<Storage> __BindgenBitfieldUnit<Storage>
18where
19 Storage: AsRef<[u8]> + AsMut<[u8]>,
20{
21 #[inline]
22 pub fn get_bit(&self, index: usize) -> bool {
23 debug_assert!(index / 8 < self.storage.as_ref().len());
24 let byte_index = index / 8;
25 let byte = self.storage.as_ref()[byte_index];
26 let bit_index = if cfg!(target_endian = "big") {
27 7 - (index % 8)
28 } else {
29 index % 8
30 };
31 let mask = 1 << bit_index;
32 byte & mask == mask
33 }
34 #[inline]
35 pub fn set_bit(&mut self, index: usize, val: bool) {
36 debug_assert!(index / 8 < self.storage.as_ref().len());
37 let byte_index = index / 8;
38 let byte = &mut self.storage.as_mut()[byte_index];
39 let bit_index = if cfg!(target_endian = "big") {
40 7 - (index % 8)
41 } else {
42 index % 8
43 };
44 let mask = 1 << bit_index;
45 if val {
46 *byte |= mask;
47 } else {
48 *byte &= !mask;
49 }
50 }
51 #[inline]
52 pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
53 debug_assert!(bit_width <= 64);
54 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
55 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
56 let mut val = 0;
57 for i in 0..(bit_width as usize) {
58 if self.get_bit(i + bit_offset) {
59 let index = if cfg!(target_endian = "big") {
60 bit_width as usize - 1 - i
61 } else {
62 i
63 };
64 val |= 1 << index;
65 }
66 }
67 val
68 }
69 #[inline]
70 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
71 debug_assert!(bit_width <= 64);
72 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
73 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
74 for i in 0..(bit_width as usize) {
75 let mask = 1 << i;
76 let val_bit_is_set = val & mask == mask;
77 let index = if cfg!(target_endian = "big") {
78 bit_width as usize - 1 - i
79 } else {
80 i
81 };
82 self.set_bit(index + bit_offset, val_bit_is_set);
83 }
84 }
85}
86pub const _LIBCPP_ABI_VERSION: u32 = 1;
87pub const _LIBCPP_HARDENING_MODE_DEFAULT: u32 = 2;
88pub const _LIBCPP_VERSION: u32 = 180100;
89pub const _LIBCPP_STD_VER: u32 = 14;
90pub const _LIBCPP_OBJECT_FORMAT_MACHO: u32 = 1;
91pub const _LIBCPP_HARDENING_MODE_NONE: u32 = 2;
92pub const _LIBCPP_HARDENING_MODE_FAST: u32 = 4;
93pub const _LIBCPP_HARDENING_MODE_EXTENSIVE: u32 = 16;
94pub const _LIBCPP_HARDENING_MODE_DEBUG: u32 = 8;
95pub const _LIBCPP_HARDENING_MODE: u32 = 2;
96pub const _LIBCPP_LOCALE__L_EXTENSIONS: u32 = 1;
97pub const SWIFT_COMPILER_IS_MSVC: u32 = 0;
98pub const SWIFT_BUG_REPORT_URL: &[u8; 47] = b"https://swift.org/contributing/#reporting-bugs\0";
99pub const SWIFT_BUG_REPORT_MESSAGE_BASE: &[u8; 69] =
100 b"submit a bug report (https://swift.org/contributing/#reporting-bugs)\0";
101pub const SWIFT_BUG_REPORT_MESSAGE: &[u8; 76] =
102 b"please submit a bug report (https://swift.org/contributing/#reporting-bugs)\0";
103pub const SWIFT_CRASH_BUG_REPORT_MESSAGE : & [u8 ; 109] = b"Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.\0" ;
104pub const SWIFT_POINTER_IS_8_BYTES: u32 = 1;
105pub const SWIFT_POINTER_IS_4_BYTES: u32 = 0;
106pub const SWIFT_OBJC_INTEROP: u32 = 1;
107pub const SWIFT_HAS_ISA_MASKING: u32 = 1;
108pub const SWIFT_HAS_OPAQUE_ISAS: u32 = 0;
109pub const SWIFT_STDLIB_HAS_MALLOC_TYPE: u32 = 0;
110pub const SWIFT_CLASS_IS_SWIFT_MASK: u32 = 2;
111pub const SWIFT_IMAGE_EXPORTS_swiftCore: u32 = 0;
112pub const SWIFT_IMAGE_EXPORTS_swift_Concurrency: u32 = 0;
113pub const SWIFT_IMAGE_EXPORTS_swiftDistributed: u32 = 0;
114pub const SWIFT_IMAGE_EXPORTS_swift_Differentiation: u32 = 0;
115pub const SWIFT_COMPACT_ABSOLUTE_FUNCTION_POINTER: u32 = 0;
116pub const SWIFT_PTRAUTH: u32 = 0;
117pub const DYNAMIC_TARGETS_ENABLED: u32 = 0;
118pub const TARGET_OS_MAC: u32 = 1;
119pub const TARGET_OS_OSX: u32 = 1;
120pub const TARGET_OS_IPHONE: u32 = 0;
121pub const TARGET_OS_IOS: u32 = 0;
122pub const TARGET_OS_WATCH: u32 = 0;
123pub const TARGET_OS_TV: u32 = 0;
124pub const TARGET_OS_MACCATALYST: u32 = 0;
125pub const TARGET_OS_UIKITFORMAC: u32 = 0;
126pub const TARGET_OS_SIMULATOR: u32 = 0;
127pub const TARGET_OS_EMBEDDED: u32 = 0;
128pub const TARGET_OS_UNIX: u32 = 0;
129pub const TARGET_OS_RTKIT: u32 = 0;
130pub const TARGET_RT_LITTLE_ENDIAN: u32 = 1;
131pub const TARGET_RT_BIG_ENDIAN: u32 = 0;
132pub const TARGET_RT_64_BIT: u32 = 1;
133pub const TARGET_RT_MAC_CFM: u32 = 0;
134pub const TARGET_RT_MAC_MACHO: u32 = 1;
135pub const TARGET_CPU_ARM64: u32 = 1;
136pub const TARGET_OS_VISION: u32 = 0;
137pub const TARGET_OS_DRIVERKIT: u32 = 0;
138pub const TARGET_OS_WIN32: u32 = 0;
139pub const TARGET_OS_WINDOWS: u32 = 0;
140pub const TARGET_OS_LINUX: u32 = 0;
141pub const TARGET_CPU_PPC: u32 = 0;
142pub const TARGET_CPU_PPC64: u32 = 0;
143pub const TARGET_CPU_68K: u32 = 0;
144pub const TARGET_CPU_X86: u32 = 0;
145pub const TARGET_CPU_X86_64: u32 = 0;
146pub const TARGET_CPU_ARM: u32 = 0;
147pub const TARGET_CPU_MIPS: u32 = 0;
148pub const TARGET_CPU_SPARC: u32 = 0;
149pub const TARGET_CPU_ALPHA: u32 = 0;
150pub const TARGET_IPHONE_SIMULATOR: u32 = 0;
151pub const TARGET_OS_NANO: u32 = 0;
152pub const SWIFT_BACKTRACE_ON_CRASH_SUPPORTED: u32 = 1;
153pub const SWIFT_BACKTRACE_SECTION: &[u8; 24] = b"__DATA,swift5_backtrace\0";
154pub const SWIFT_PAGE_SIZE: u32 = 16384;
155pub const __API_TO_BE_DEPRECATED: u32 = 100000;
156pub const __API_TO_BE_DEPRECATED_MACOS: u32 = 100000;
157pub const __API_TO_BE_DEPRECATED_IOS: u32 = 100000;
158pub const __API_TO_BE_DEPRECATED_MACCATALYST: u32 = 100000;
159pub const __API_TO_BE_DEPRECATED_WATCHOS: u32 = 100000;
160pub const __API_TO_BE_DEPRECATED_TVOS: u32 = 100000;
161pub const __API_TO_BE_DEPRECATED_DRIVERKIT: u32 = 100000;
162pub const __API_TO_BE_DEPRECATED_VISIONOS: u32 = 100000;
163pub const __MAC_10_0: u32 = 1000;
164pub const __MAC_10_1: u32 = 1010;
165pub const __MAC_10_2: u32 = 1020;
166pub const __MAC_10_3: u32 = 1030;
167pub const __MAC_10_4: u32 = 1040;
168pub const __MAC_10_5: u32 = 1050;
169pub const __MAC_10_6: u32 = 1060;
170pub const __MAC_10_7: u32 = 1070;
171pub const __MAC_10_8: u32 = 1080;
172pub const __MAC_10_9: u32 = 1090;
173pub const __MAC_10_10: u32 = 101000;
174pub const __MAC_10_10_2: u32 = 101002;
175pub const __MAC_10_10_3: u32 = 101003;
176pub const __MAC_10_11: u32 = 101100;
177pub const __MAC_10_11_2: u32 = 101102;
178pub const __MAC_10_11_3: u32 = 101103;
179pub const __MAC_10_11_4: u32 = 101104;
180pub const __MAC_10_12: u32 = 101200;
181pub const __MAC_10_12_1: u32 = 101201;
182pub const __MAC_10_12_2: u32 = 101202;
183pub const __MAC_10_12_4: u32 = 101204;
184pub const __MAC_10_13: u32 = 101300;
185pub const __MAC_10_13_1: u32 = 101301;
186pub const __MAC_10_13_2: u32 = 101302;
187pub const __MAC_10_13_4: u32 = 101304;
188pub const __MAC_10_14: u32 = 101400;
189pub const __MAC_10_14_1: u32 = 101401;
190pub const __MAC_10_14_4: u32 = 101404;
191pub const __MAC_10_14_5: u32 = 101405;
192pub const __MAC_10_14_6: u32 = 101406;
193pub const __MAC_10_15: u32 = 101500;
194pub const __MAC_10_15_1: u32 = 101501;
195pub const __MAC_10_15_4: u32 = 101504;
196pub const __MAC_10_16: u32 = 101600;
197pub const __MAC_11_0: u32 = 110000;
198pub const __MAC_11_1: u32 = 110100;
199pub const __MAC_11_3: u32 = 110300;
200pub const __MAC_11_4: u32 = 110400;
201pub const __MAC_11_5: u32 = 110500;
202pub const __MAC_11_6: u32 = 110600;
203pub const __MAC_12_0: u32 = 120000;
204pub const __MAC_12_1: u32 = 120100;
205pub const __MAC_12_2: u32 = 120200;
206pub const __MAC_12_3: u32 = 120300;
207pub const __MAC_12_4: u32 = 120400;
208pub const __MAC_12_5: u32 = 120500;
209pub const __MAC_12_6: u32 = 120600;
210pub const __MAC_12_7: u32 = 120700;
211pub const __MAC_13_0: u32 = 130000;
212pub const __MAC_13_1: u32 = 130100;
213pub const __MAC_13_2: u32 = 130200;
214pub const __MAC_13_3: u32 = 130300;
215pub const __MAC_13_4: u32 = 130400;
216pub const __MAC_13_5: u32 = 130500;
217pub const __MAC_13_6: u32 = 130600;
218pub const __MAC_14_0: u32 = 140000;
219pub const __MAC_14_1: u32 = 140100;
220pub const __MAC_14_2: u32 = 140200;
221pub const __MAC_14_3: u32 = 140300;
222pub const __MAC_14_4: u32 = 140400;
223pub const __MAC_14_5: u32 = 140500;
224pub const __MAC_15_0: u32 = 150000;
225pub const __IPHONE_2_0: u32 = 20000;
226pub const __IPHONE_2_1: u32 = 20100;
227pub const __IPHONE_2_2: u32 = 20200;
228pub const __IPHONE_3_0: u32 = 30000;
229pub const __IPHONE_3_1: u32 = 30100;
230pub const __IPHONE_3_2: u32 = 30200;
231pub const __IPHONE_4_0: u32 = 40000;
232pub const __IPHONE_4_1: u32 = 40100;
233pub const __IPHONE_4_2: u32 = 40200;
234pub const __IPHONE_4_3: u32 = 40300;
235pub const __IPHONE_5_0: u32 = 50000;
236pub const __IPHONE_5_1: u32 = 50100;
237pub const __IPHONE_6_0: u32 = 60000;
238pub const __IPHONE_6_1: u32 = 60100;
239pub const __IPHONE_7_0: u32 = 70000;
240pub const __IPHONE_7_1: u32 = 70100;
241pub const __IPHONE_8_0: u32 = 80000;
242pub const __IPHONE_8_1: u32 = 80100;
243pub const __IPHONE_8_2: u32 = 80200;
244pub const __IPHONE_8_3: u32 = 80300;
245pub const __IPHONE_8_4: u32 = 80400;
246pub const __IPHONE_9_0: u32 = 90000;
247pub const __IPHONE_9_1: u32 = 90100;
248pub const __IPHONE_9_2: u32 = 90200;
249pub const __IPHONE_9_3: u32 = 90300;
250pub const __IPHONE_10_0: u32 = 100000;
251pub const __IPHONE_10_1: u32 = 100100;
252pub const __IPHONE_10_2: u32 = 100200;
253pub const __IPHONE_10_3: u32 = 100300;
254pub const __IPHONE_11_0: u32 = 110000;
255pub const __IPHONE_11_1: u32 = 110100;
256pub const __IPHONE_11_2: u32 = 110200;
257pub const __IPHONE_11_3: u32 = 110300;
258pub const __IPHONE_11_4: u32 = 110400;
259pub const __IPHONE_12_0: u32 = 120000;
260pub const __IPHONE_12_1: u32 = 120100;
261pub const __IPHONE_12_2: u32 = 120200;
262pub const __IPHONE_12_3: u32 = 120300;
263pub const __IPHONE_12_4: u32 = 120400;
264pub const __IPHONE_13_0: u32 = 130000;
265pub const __IPHONE_13_1: u32 = 130100;
266pub const __IPHONE_13_2: u32 = 130200;
267pub const __IPHONE_13_3: u32 = 130300;
268pub const __IPHONE_13_4: u32 = 130400;
269pub const __IPHONE_13_5: u32 = 130500;
270pub const __IPHONE_13_6: u32 = 130600;
271pub const __IPHONE_13_7: u32 = 130700;
272pub const __IPHONE_14_0: u32 = 140000;
273pub const __IPHONE_14_1: u32 = 140100;
274pub const __IPHONE_14_2: u32 = 140200;
275pub const __IPHONE_14_3: u32 = 140300;
276pub const __IPHONE_14_5: u32 = 140500;
277pub const __IPHONE_14_4: u32 = 140400;
278pub const __IPHONE_14_6: u32 = 140600;
279pub const __IPHONE_14_7: u32 = 140700;
280pub const __IPHONE_14_8: u32 = 140800;
281pub const __IPHONE_15_0: u32 = 150000;
282pub const __IPHONE_15_1: u32 = 150100;
283pub const __IPHONE_15_2: u32 = 150200;
284pub const __IPHONE_15_3: u32 = 150300;
285pub const __IPHONE_15_4: u32 = 150400;
286pub const __IPHONE_15_5: u32 = 150500;
287pub const __IPHONE_15_6: u32 = 150600;
288pub const __IPHONE_15_7: u32 = 150700;
289pub const __IPHONE_15_8: u32 = 150800;
290pub const __IPHONE_16_0: u32 = 160000;
291pub const __IPHONE_16_1: u32 = 160100;
292pub const __IPHONE_16_2: u32 = 160200;
293pub const __IPHONE_16_3: u32 = 160300;
294pub const __IPHONE_16_4: u32 = 160400;
295pub const __IPHONE_16_5: u32 = 160500;
296pub const __IPHONE_16_6: u32 = 160600;
297pub const __IPHONE_16_7: u32 = 160700;
298pub const __IPHONE_17_0: u32 = 170000;
299pub const __IPHONE_17_1: u32 = 170100;
300pub const __IPHONE_17_2: u32 = 170200;
301pub const __IPHONE_17_3: u32 = 170300;
302pub const __IPHONE_17_4: u32 = 170400;
303pub const __IPHONE_17_5: u32 = 170500;
304pub const __IPHONE_18_0: u32 = 180000;
305pub const __WATCHOS_1_0: u32 = 10000;
306pub const __WATCHOS_2_0: u32 = 20000;
307pub const __WATCHOS_2_1: u32 = 20100;
308pub const __WATCHOS_2_2: u32 = 20200;
309pub const __WATCHOS_3_0: u32 = 30000;
310pub const __WATCHOS_3_1: u32 = 30100;
311pub const __WATCHOS_3_1_1: u32 = 30101;
312pub const __WATCHOS_3_2: u32 = 30200;
313pub const __WATCHOS_4_0: u32 = 40000;
314pub const __WATCHOS_4_1: u32 = 40100;
315pub const __WATCHOS_4_2: u32 = 40200;
316pub const __WATCHOS_4_3: u32 = 40300;
317pub const __WATCHOS_5_0: u32 = 50000;
318pub const __WATCHOS_5_1: u32 = 50100;
319pub const __WATCHOS_5_2: u32 = 50200;
320pub const __WATCHOS_5_3: u32 = 50300;
321pub const __WATCHOS_6_0: u32 = 60000;
322pub const __WATCHOS_6_1: u32 = 60100;
323pub const __WATCHOS_6_2: u32 = 60200;
324pub const __WATCHOS_7_0: u32 = 70000;
325pub const __WATCHOS_7_1: u32 = 70100;
326pub const __WATCHOS_7_2: u32 = 70200;
327pub const __WATCHOS_7_3: u32 = 70300;
328pub const __WATCHOS_7_4: u32 = 70400;
329pub const __WATCHOS_7_5: u32 = 70500;
330pub const __WATCHOS_7_6: u32 = 70600;
331pub const __WATCHOS_8_0: u32 = 80000;
332pub const __WATCHOS_8_1: u32 = 80100;
333pub const __WATCHOS_8_3: u32 = 80300;
334pub const __WATCHOS_8_4: u32 = 80400;
335pub const __WATCHOS_8_5: u32 = 80500;
336pub const __WATCHOS_8_6: u32 = 80600;
337pub const __WATCHOS_8_7: u32 = 80700;
338pub const __WATCHOS_8_8: u32 = 80800;
339pub const __WATCHOS_9_0: u32 = 90000;
340pub const __WATCHOS_9_1: u32 = 90100;
341pub const __WATCHOS_9_2: u32 = 90200;
342pub const __WATCHOS_9_3: u32 = 90300;
343pub const __WATCHOS_9_4: u32 = 90400;
344pub const __WATCHOS_9_5: u32 = 90500;
345pub const __WATCHOS_9_6: u32 = 90600;
346pub const __WATCHOS_10_0: u32 = 100000;
347pub const __WATCHOS_10_1: u32 = 100100;
348pub const __WATCHOS_10_2: u32 = 100200;
349pub const __WATCHOS_10_3: u32 = 100300;
350pub const __WATCHOS_10_4: u32 = 100400;
351pub const __WATCHOS_10_5: u32 = 100500;
352pub const __WATCHOS_11_0: u32 = 110000;
353pub const __TVOS_9_0: u32 = 90000;
354pub const __TVOS_9_1: u32 = 90100;
355pub const __TVOS_9_2: u32 = 90200;
356pub const __TVOS_10_0: u32 = 100000;
357pub const __TVOS_10_0_1: u32 = 100001;
358pub const __TVOS_10_1: u32 = 100100;
359pub const __TVOS_10_2: u32 = 100200;
360pub const __TVOS_11_0: u32 = 110000;
361pub const __TVOS_11_1: u32 = 110100;
362pub const __TVOS_11_2: u32 = 110200;
363pub const __TVOS_11_3: u32 = 110300;
364pub const __TVOS_11_4: u32 = 110400;
365pub const __TVOS_12_0: u32 = 120000;
366pub const __TVOS_12_1: u32 = 120100;
367pub const __TVOS_12_2: u32 = 120200;
368pub const __TVOS_12_3: u32 = 120300;
369pub const __TVOS_12_4: u32 = 120400;
370pub const __TVOS_13_0: u32 = 130000;
371pub const __TVOS_13_2: u32 = 130200;
372pub const __TVOS_13_3: u32 = 130300;
373pub const __TVOS_13_4: u32 = 130400;
374pub const __TVOS_14_0: u32 = 140000;
375pub const __TVOS_14_1: u32 = 140100;
376pub const __TVOS_14_2: u32 = 140200;
377pub const __TVOS_14_3: u32 = 140300;
378pub const __TVOS_14_5: u32 = 140500;
379pub const __TVOS_14_6: u32 = 140600;
380pub const __TVOS_14_7: u32 = 140700;
381pub const __TVOS_15_0: u32 = 150000;
382pub const __TVOS_15_1: u32 = 150100;
383pub const __TVOS_15_2: u32 = 150200;
384pub const __TVOS_15_3: u32 = 150300;
385pub const __TVOS_15_4: u32 = 150400;
386pub const __TVOS_15_5: u32 = 150500;
387pub const __TVOS_15_6: u32 = 150600;
388pub const __TVOS_16_0: u32 = 160000;
389pub const __TVOS_16_1: u32 = 160100;
390pub const __TVOS_16_2: u32 = 160200;
391pub const __TVOS_16_3: u32 = 160300;
392pub const __TVOS_16_4: u32 = 160400;
393pub const __TVOS_16_5: u32 = 160500;
394pub const __TVOS_16_6: u32 = 160600;
395pub const __TVOS_17_0: u32 = 170000;
396pub const __TVOS_17_1: u32 = 170100;
397pub const __TVOS_17_2: u32 = 170200;
398pub const __TVOS_17_3: u32 = 170300;
399pub const __TVOS_17_4: u32 = 170400;
400pub const __TVOS_17_5: u32 = 170500;
401pub const __TVOS_18_0: u32 = 180000;
402pub const __BRIDGEOS_2_0: u32 = 20000;
403pub const __BRIDGEOS_3_0: u32 = 30000;
404pub const __BRIDGEOS_3_1: u32 = 30100;
405pub const __BRIDGEOS_3_4: u32 = 30400;
406pub const __BRIDGEOS_4_0: u32 = 40000;
407pub const __BRIDGEOS_4_1: u32 = 40100;
408pub const __BRIDGEOS_5_0: u32 = 50000;
409pub const __BRIDGEOS_5_1: u32 = 50100;
410pub const __BRIDGEOS_5_3: u32 = 50300;
411pub const __BRIDGEOS_6_0: u32 = 60000;
412pub const __BRIDGEOS_6_2: u32 = 60200;
413pub const __BRIDGEOS_6_4: u32 = 60400;
414pub const __BRIDGEOS_6_5: u32 = 60500;
415pub const __BRIDGEOS_6_6: u32 = 60600;
416pub const __BRIDGEOS_7_0: u32 = 70000;
417pub const __BRIDGEOS_7_1: u32 = 70100;
418pub const __BRIDGEOS_7_2: u32 = 70200;
419pub const __BRIDGEOS_7_3: u32 = 70300;
420pub const __BRIDGEOS_7_4: u32 = 70400;
421pub const __BRIDGEOS_7_6: u32 = 70600;
422pub const __BRIDGEOS_8_0: u32 = 80000;
423pub const __BRIDGEOS_8_1: u32 = 80100;
424pub const __BRIDGEOS_8_2: u32 = 80200;
425pub const __BRIDGEOS_8_3: u32 = 80300;
426pub const __BRIDGEOS_8_4: u32 = 80400;
427pub const __BRIDGEOS_8_5: u32 = 80500;
428pub const __BRIDGEOS_9_0: u32 = 90000;
429pub const __DRIVERKIT_19_0: u32 = 190000;
430pub const __DRIVERKIT_20_0: u32 = 200000;
431pub const __DRIVERKIT_21_0: u32 = 210000;
432pub const __DRIVERKIT_22_0: u32 = 220000;
433pub const __DRIVERKIT_22_4: u32 = 220400;
434pub const __DRIVERKIT_22_5: u32 = 220500;
435pub const __DRIVERKIT_22_6: u32 = 220600;
436pub const __DRIVERKIT_23_0: u32 = 230000;
437pub const __DRIVERKIT_23_1: u32 = 230100;
438pub const __DRIVERKIT_23_2: u32 = 230200;
439pub const __DRIVERKIT_23_3: u32 = 230300;
440pub const __DRIVERKIT_23_4: u32 = 230400;
441pub const __DRIVERKIT_23_5: u32 = 230500;
442pub const __DRIVERKIT_24_0: u32 = 240000;
443pub const __VISIONOS_1_0: u32 = 10000;
444pub const __VISIONOS_1_1: u32 = 10100;
445pub const __VISIONOS_1_2: u32 = 10200;
446pub const __VISIONOS_2_0: u32 = 20000;
447pub const MAC_OS_X_VERSION_10_0: u32 = 1000;
448pub const MAC_OS_X_VERSION_10_1: u32 = 1010;
449pub const MAC_OS_X_VERSION_10_2: u32 = 1020;
450pub const MAC_OS_X_VERSION_10_3: u32 = 1030;
451pub const MAC_OS_X_VERSION_10_4: u32 = 1040;
452pub const MAC_OS_X_VERSION_10_5: u32 = 1050;
453pub const MAC_OS_X_VERSION_10_6: u32 = 1060;
454pub const MAC_OS_X_VERSION_10_7: u32 = 1070;
455pub const MAC_OS_X_VERSION_10_8: u32 = 1080;
456pub const MAC_OS_X_VERSION_10_9: u32 = 1090;
457pub const MAC_OS_X_VERSION_10_10: u32 = 101000;
458pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002;
459pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003;
460pub const MAC_OS_X_VERSION_10_11: u32 = 101100;
461pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102;
462pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103;
463pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104;
464pub const MAC_OS_X_VERSION_10_12: u32 = 101200;
465pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201;
466pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202;
467pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204;
468pub const MAC_OS_X_VERSION_10_13: u32 = 101300;
469pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301;
470pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302;
471pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304;
472pub const MAC_OS_X_VERSION_10_14: u32 = 101400;
473pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401;
474pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404;
475pub const MAC_OS_X_VERSION_10_14_5: u32 = 101405;
476pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406;
477pub const MAC_OS_X_VERSION_10_15: u32 = 101500;
478pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501;
479pub const MAC_OS_X_VERSION_10_15_4: u32 = 101504;
480pub const MAC_OS_X_VERSION_10_16: u32 = 101600;
481pub const MAC_OS_VERSION_11_0: u32 = 110000;
482pub const MAC_OS_VERSION_11_1: u32 = 110100;
483pub const MAC_OS_VERSION_11_3: u32 = 110300;
484pub const MAC_OS_VERSION_11_4: u32 = 110400;
485pub const MAC_OS_VERSION_11_5: u32 = 110500;
486pub const MAC_OS_VERSION_11_6: u32 = 110600;
487pub const MAC_OS_VERSION_12_0: u32 = 120000;
488pub const MAC_OS_VERSION_12_1: u32 = 120100;
489pub const MAC_OS_VERSION_12_2: u32 = 120200;
490pub const MAC_OS_VERSION_12_3: u32 = 120300;
491pub const MAC_OS_VERSION_12_4: u32 = 120400;
492pub const MAC_OS_VERSION_12_5: u32 = 120500;
493pub const MAC_OS_VERSION_12_6: u32 = 120600;
494pub const MAC_OS_VERSION_12_7: u32 = 120700;
495pub const MAC_OS_VERSION_13_0: u32 = 130000;
496pub const MAC_OS_VERSION_13_1: u32 = 130100;
497pub const MAC_OS_VERSION_13_2: u32 = 130200;
498pub const MAC_OS_VERSION_13_3: u32 = 130300;
499pub const MAC_OS_VERSION_13_4: u32 = 130400;
500pub const MAC_OS_VERSION_13_5: u32 = 130500;
501pub const MAC_OS_VERSION_13_6: u32 = 130600;
502pub const MAC_OS_VERSION_14_0: u32 = 140000;
503pub const MAC_OS_VERSION_14_1: u32 = 140100;
504pub const MAC_OS_VERSION_14_2: u32 = 140200;
505pub const MAC_OS_VERSION_14_3: u32 = 140300;
506pub const MAC_OS_VERSION_14_4: u32 = 140400;
507pub const MAC_OS_VERSION_14_5: u32 = 140500;
508pub const MAC_OS_VERSION_15_0: u32 = 150000;
509pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 150000;
510pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1;
511pub const __has_safe_buffers: u32 = 1;
512pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1;
513pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1;
514pub const __DARWIN_ONLY_VERS_1050: u32 = 1;
515pub const __DARWIN_UNIX03: u32 = 1;
516pub const __DARWIN_64_BIT_INO_T: u32 = 1;
517pub const __DARWIN_VERS_1050: u32 = 1;
518pub const __DARWIN_NON_CANCELABLE: u32 = 0;
519pub const __DARWIN_SUF_EXTSN: &[u8; 14] = b"$DARWIN_EXTSN\0";
520pub const __DARWIN_C_ANSI: u32 = 4096;
521pub const __DARWIN_C_FULL: u32 = 900000;
522pub const __DARWIN_C_LEVEL: u32 = 900000;
523pub const __DARWIN_NO_LONG_LONG: u32 = 0;
524pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1;
525pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1;
526pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1;
527pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1;
528pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3;
529pub const __has_ptrcheck: u32 = 0;
530pub const USE_CLANG_TYPES: u32 = 0;
531pub const __PTHREAD_SIZE__: u32 = 8176;
532pub const __PTHREAD_ATTR_SIZE__: u32 = 56;
533pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8;
534pub const __PTHREAD_MUTEX_SIZE__: u32 = 56;
535pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8;
536pub const __PTHREAD_COND_SIZE__: u32 = 40;
537pub const __PTHREAD_ONCE_SIZE__: u32 = 8;
538pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192;
539pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16;
540pub const __DARWIN_WCHAR_MIN: i32 = -2147483648;
541pub const _FORTIFY_SOURCE: u32 = 2;
542pub const __DARWIN_NSIG: u32 = 32;
543pub const NSIG: u32 = 32;
544pub const _ARM_SIGNAL_: u32 = 1;
545pub const SIGHUP: u32 = 1;
546pub const SIGINT: u32 = 2;
547pub const SIGQUIT: u32 = 3;
548pub const SIGILL: u32 = 4;
549pub const SIGTRAP: u32 = 5;
550pub const SIGABRT: u32 = 6;
551pub const SIGIOT: u32 = 6;
552pub const SIGEMT: u32 = 7;
553pub const SIGFPE: u32 = 8;
554pub const SIGKILL: u32 = 9;
555pub const SIGBUS: u32 = 10;
556pub const SIGSEGV: u32 = 11;
557pub const SIGSYS: u32 = 12;
558pub const SIGPIPE: u32 = 13;
559pub const SIGALRM: u32 = 14;
560pub const SIGTERM: u32 = 15;
561pub const SIGURG: u32 = 16;
562pub const SIGSTOP: u32 = 17;
563pub const SIGTSTP: u32 = 18;
564pub const SIGCONT: u32 = 19;
565pub const SIGCHLD: u32 = 20;
566pub const SIGTTIN: u32 = 21;
567pub const SIGTTOU: u32 = 22;
568pub const SIGIO: u32 = 23;
569pub const SIGXCPU: u32 = 24;
570pub const SIGXFSZ: u32 = 25;
571pub const SIGVTALRM: u32 = 26;
572pub const SIGPROF: u32 = 27;
573pub const SIGWINCH: u32 = 28;
574pub const SIGINFO: u32 = 29;
575pub const SIGUSR1: u32 = 30;
576pub const SIGUSR2: u32 = 31;
577pub const __DARWIN_OPAQUE_ARM_THREAD_STATE64: u32 = 0;
578pub const USE_CLANG_STDDEF: u32 = 0;
579pub const SIGEV_NONE: u32 = 0;
580pub const SIGEV_SIGNAL: u32 = 1;
581pub const SIGEV_THREAD: u32 = 3;
582pub const ILL_NOOP: u32 = 0;
583pub const ILL_ILLOPC: u32 = 1;
584pub const ILL_ILLTRP: u32 = 2;
585pub const ILL_PRVOPC: u32 = 3;
586pub const ILL_ILLOPN: u32 = 4;
587pub const ILL_ILLADR: u32 = 5;
588pub const ILL_PRVREG: u32 = 6;
589pub const ILL_COPROC: u32 = 7;
590pub const ILL_BADSTK: u32 = 8;
591pub const FPE_NOOP: u32 = 0;
592pub const FPE_FLTDIV: u32 = 1;
593pub const FPE_FLTOVF: u32 = 2;
594pub const FPE_FLTUND: u32 = 3;
595pub const FPE_FLTRES: u32 = 4;
596pub const FPE_FLTINV: u32 = 5;
597pub const FPE_FLTSUB: u32 = 6;
598pub const FPE_INTDIV: u32 = 7;
599pub const FPE_INTOVF: u32 = 8;
600pub const SEGV_NOOP: u32 = 0;
601pub const SEGV_MAPERR: u32 = 1;
602pub const SEGV_ACCERR: u32 = 2;
603pub const BUS_NOOP: u32 = 0;
604pub const BUS_ADRALN: u32 = 1;
605pub const BUS_ADRERR: u32 = 2;
606pub const BUS_OBJERR: u32 = 3;
607pub const TRAP_BRKPT: u32 = 1;
608pub const TRAP_TRACE: u32 = 2;
609pub const CLD_NOOP: u32 = 0;
610pub const CLD_EXITED: u32 = 1;
611pub const CLD_KILLED: u32 = 2;
612pub const CLD_DUMPED: u32 = 3;
613pub const CLD_TRAPPED: u32 = 4;
614pub const CLD_STOPPED: u32 = 5;
615pub const CLD_CONTINUED: u32 = 6;
616pub const POLL_IN: u32 = 1;
617pub const POLL_OUT: u32 = 2;
618pub const POLL_MSG: u32 = 3;
619pub const POLL_ERR: u32 = 4;
620pub const POLL_PRI: u32 = 5;
621pub const POLL_HUP: u32 = 6;
622pub const SA_ONSTACK: u32 = 1;
623pub const SA_RESTART: u32 = 2;
624pub const SA_RESETHAND: u32 = 4;
625pub const SA_NOCLDSTOP: u32 = 8;
626pub const SA_NODEFER: u32 = 16;
627pub const SA_NOCLDWAIT: u32 = 32;
628pub const SA_SIGINFO: u32 = 64;
629pub const SA_USERTRAMP: u32 = 256;
630pub const SA_64REGSET: u32 = 512;
631pub const SA_USERSPACE_MASK: u32 = 127;
632pub const SIG_BLOCK: u32 = 1;
633pub const SIG_UNBLOCK: u32 = 2;
634pub const SIG_SETMASK: u32 = 3;
635pub const SI_USER: u32 = 65537;
636pub const SI_QUEUE: u32 = 65538;
637pub const SI_TIMER: u32 = 65539;
638pub const SI_ASYNCIO: u32 = 65540;
639pub const SI_MESGQ: u32 = 65541;
640pub const SS_ONSTACK: u32 = 1;
641pub const SS_DISABLE: u32 = 4;
642pub const MINSIGSTKSZ: u32 = 32768;
643pub const SIGSTKSZ: u32 = 131072;
644pub const SV_ONSTACK: u32 = 1;
645pub const SV_INTERRUPT: u32 = 2;
646pub const SV_RESETHAND: u32 = 4;
647pub const SV_NODEFER: u32 = 16;
648pub const SV_NOCLDSTOP: u32 = 8;
649pub const SV_SIGINFO: u32 = 64;
650pub const __WORDSIZE: u32 = 64;
651pub const INT8_MAX: u32 = 127;
652pub const INT16_MAX: u32 = 32767;
653pub const INT32_MAX: u32 = 2147483647;
654pub const INT64_MAX: u64 = 9223372036854775807;
655pub const INT8_MIN: i32 = -128;
656pub const INT16_MIN: i32 = -32768;
657pub const INT32_MIN: i32 = -2147483648;
658pub const INT64_MIN: i64 = -9223372036854775808;
659pub const UINT8_MAX: u32 = 255;
660pub const UINT16_MAX: u32 = 65535;
661pub const UINT32_MAX: u32 = 4294967295;
662pub const UINT64_MAX: i32 = -1;
663pub const INT_LEAST8_MIN: i32 = -128;
664pub const INT_LEAST16_MIN: i32 = -32768;
665pub const INT_LEAST32_MIN: i32 = -2147483648;
666pub const INT_LEAST64_MIN: i64 = -9223372036854775808;
667pub const INT_LEAST8_MAX: u32 = 127;
668pub const INT_LEAST16_MAX: u32 = 32767;
669pub const INT_LEAST32_MAX: u32 = 2147483647;
670pub const INT_LEAST64_MAX: u64 = 9223372036854775807;
671pub const UINT_LEAST8_MAX: u32 = 255;
672pub const UINT_LEAST16_MAX: u32 = 65535;
673pub const UINT_LEAST32_MAX: u32 = 4294967295;
674pub const UINT_LEAST64_MAX: i32 = -1;
675pub const INT_FAST8_MIN: i32 = -128;
676pub const INT_FAST16_MIN: i32 = -32768;
677pub const INT_FAST32_MIN: i32 = -2147483648;
678pub const INT_FAST64_MIN: i64 = -9223372036854775808;
679pub const INT_FAST8_MAX: u32 = 127;
680pub const INT_FAST16_MAX: u32 = 32767;
681pub const INT_FAST32_MAX: u32 = 2147483647;
682pub const INT_FAST64_MAX: u64 = 9223372036854775807;
683pub const UINT_FAST8_MAX: u32 = 255;
684pub const UINT_FAST16_MAX: u32 = 65535;
685pub const UINT_FAST32_MAX: u32 = 4294967295;
686pub const UINT_FAST64_MAX: i32 = -1;
687pub const INTPTR_MAX: u64 = 9223372036854775807;
688pub const INTPTR_MIN: i64 = -9223372036854775808;
689pub const UINTPTR_MAX: i32 = -1;
690pub const SIZE_MAX: i32 = -1;
691pub const WINT_MIN: i32 = -2147483648;
692pub const WINT_MAX: u32 = 2147483647;
693pub const SIG_ATOMIC_MIN: i32 = -2147483648;
694pub const SIG_ATOMIC_MAX: u32 = 2147483647;
695pub const PRIO_PROCESS: u32 = 0;
696pub const PRIO_PGRP: u32 = 1;
697pub const PRIO_USER: u32 = 2;
698pub const PRIO_DARWIN_THREAD: u32 = 3;
699pub const PRIO_DARWIN_PROCESS: u32 = 4;
700pub const PRIO_MIN: i32 = -20;
701pub const PRIO_MAX: u32 = 20;
702pub const PRIO_DARWIN_BG: u32 = 4096;
703pub const PRIO_DARWIN_NONUI: u32 = 4097;
704pub const RUSAGE_SELF: u32 = 0;
705pub const RUSAGE_CHILDREN: i32 = -1;
706pub const RUSAGE_INFO_V0: u32 = 0;
707pub const RUSAGE_INFO_V1: u32 = 1;
708pub const RUSAGE_INFO_V2: u32 = 2;
709pub const RUSAGE_INFO_V3: u32 = 3;
710pub const RUSAGE_INFO_V4: u32 = 4;
711pub const RUSAGE_INFO_V5: u32 = 5;
712pub const RUSAGE_INFO_V6: u32 = 6;
713pub const RUSAGE_INFO_CURRENT: u32 = 6;
714pub const RU_PROC_RUNS_RESLIDE: u32 = 1;
715pub const RLIMIT_CPU: u32 = 0;
716pub const RLIMIT_FSIZE: u32 = 1;
717pub const RLIMIT_DATA: u32 = 2;
718pub const RLIMIT_STACK: u32 = 3;
719pub const RLIMIT_CORE: u32 = 4;
720pub const RLIMIT_AS: u32 = 5;
721pub const RLIMIT_RSS: u32 = 5;
722pub const RLIMIT_MEMLOCK: u32 = 6;
723pub const RLIMIT_NPROC: u32 = 7;
724pub const RLIMIT_NOFILE: u32 = 8;
725pub const RLIM_NLIMITS: u32 = 9;
726pub const _RLIMIT_POSIX_FLAG: u32 = 4096;
727pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1;
728pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2;
729pub const RLIMIT_THREAD_CPULIMITS: u32 = 3;
730pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4;
731pub const WAKEMON_ENABLE: u32 = 1;
732pub const WAKEMON_DISABLE: u32 = 2;
733pub const WAKEMON_GET_PARAMS: u32 = 4;
734pub const WAKEMON_SET_DEFAULTS: u32 = 8;
735pub const WAKEMON_MAKE_FATAL: u32 = 16;
736pub const CPUMON_MAKE_FATAL: u32 = 4096;
737pub const FOOTPRINT_INTERVAL_RESET: u32 = 1;
738pub const IOPOL_TYPE_DISK: u32 = 0;
739pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2;
740pub const IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES: u32 = 3;
741pub const IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME: u32 = 4;
742pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5;
743pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6;
744pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7;
745pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8;
746pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9;
747pub const IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY: u32 = 10;
748pub const IOPOL_SCOPE_PROCESS: u32 = 0;
749pub const IOPOL_SCOPE_THREAD: u32 = 1;
750pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2;
751pub const IOPOL_DEFAULT: u32 = 0;
752pub const IOPOL_IMPORTANT: u32 = 1;
753pub const IOPOL_PASSIVE: u32 = 2;
754pub const IOPOL_THROTTLE: u32 = 3;
755pub const IOPOL_UTILITY: u32 = 4;
756pub const IOPOL_STANDARD: u32 = 5;
757pub const IOPOL_APPLICATION: u32 = 5;
758pub const IOPOL_NORMAL: u32 = 1;
759pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0;
760pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1;
761pub const IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT: u32 = 0;
762pub const IOPOL_MATERIALIZE_DATALESS_FILES_OFF: u32 = 1;
763pub const IOPOL_MATERIALIZE_DATALESS_FILES_ON: u32 = 2;
764pub const IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT: u32 = 0;
765pub const IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME: u32 = 1;
766pub const IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT: u32 = 0;
767pub const IOPOL_VFS_TRIGGER_RESOLVE_OFF: u32 = 1;
768pub const IOPOL_VFS_CONTENT_PROTECTION_DEFAULT: u32 = 0;
769pub const IOPOL_VFS_CONTENT_PROTECTION_IGNORE: u32 = 1;
770pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0;
771pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1;
772pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0;
773pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1;
774pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0;
775pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1;
776pub const IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT: u32 = 0;
777pub const IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON: u32 = 1;
778pub const IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_DEFAULT: u32 = 0;
779pub const IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_ON: u32 = 1;
780pub const WNOHANG: u32 = 1;
781pub const WUNTRACED: u32 = 2;
782pub const WCOREFLAG: u32 = 128;
783pub const _WSTOPPED: u32 = 127;
784pub const WEXITED: u32 = 4;
785pub const WSTOPPED: u32 = 8;
786pub const WCONTINUED: u32 = 16;
787pub const WNOWAIT: u32 = 32;
788pub const WAIT_ANY: i32 = -1;
789pub const WAIT_MYPGRP: u32 = 0;
790pub const _QUAD_HIGHWORD: u32 = 1;
791pub const _QUAD_LOWWORD: u32 = 0;
792pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234;
793pub const __DARWIN_BIG_ENDIAN: u32 = 4321;
794pub const __DARWIN_PDP_ENDIAN: u32 = 3412;
795pub const LITTLE_ENDIAN: u32 = 1234;
796pub const BIG_ENDIAN: u32 = 4321;
797pub const PDP_ENDIAN: u32 = 3412;
798pub const __DARWIN_BYTE_ORDER: u32 = 1234;
799pub const BYTE_ORDER: u32 = 1234;
800pub const EXIT_FAILURE: u32 = 1;
801pub const EXIT_SUCCESS: u32 = 0;
802pub const RAND_MAX: u32 = 2147483647;
803pub const __AVAILABILITY_MACROS_USES_AVAILABILITY: u32 = 1;
804pub const __DARWIN_FD_SETSIZE: u32 = 1024;
805pub const __DARWIN_NBBY: u32 = 8;
806pub const NBBY: u32 = 8;
807pub const FD_SETSIZE: u32 = 1024;
808pub const OBJC_API_VERSION: u32 = 2;
809pub const OBJC_NO_GC: u32 = 1;
810pub const NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER: u32 = 1;
811pub const OBJC_OLD_DISPATCH_PROTOTYPES: u32 = 0;
812pub const __bool_true_false_are_defined: u32 = 1;
813pub const OBJC_BOOL_IS_BOOL: u32 = 1;
814pub const OBJC_GETCLASSHOOK_DEFINED: u32 = 1;
815pub const OBJC_ADDLOADIMAGEFUNC_DEFINED: u32 = 1;
816pub const OBJC_SETHOOK_LAZYCLASSNAMER_DEFINED: u32 = 1;
817pub const OBJC_REALIZECLASSFROMSWIFT_DEFINED: u32 = 1;
818pub const _C_ID: u8 = 64u8;
819pub const _C_CLASS: u8 = 35u8;
820pub const _C_SEL: u8 = 58u8;
821pub const _C_CHR: u8 = 99u8;
822pub const _C_UCHR: u8 = 67u8;
823pub const _C_SHT: u8 = 115u8;
824pub const _C_USHT: u8 = 83u8;
825pub const _C_INT: u8 = 105u8;
826pub const _C_UINT: u8 = 73u8;
827pub const _C_LNG: u8 = 108u8;
828pub const _C_ULNG: u8 = 76u8;
829pub const _C_LNG_LNG: u8 = 113u8;
830pub const _C_ULNG_LNG: u8 = 81u8;
831pub const _C_INT128: u8 = 116u8;
832pub const _C_UINT128: u8 = 84u8;
833pub const _C_FLT: u8 = 102u8;
834pub const _C_DBL: u8 = 100u8;
835pub const _C_LNG_DBL: u8 = 68u8;
836pub const _C_BFLD: u8 = 98u8;
837pub const _C_BOOL: u8 = 66u8;
838pub const _C_VOID: u8 = 118u8;
839pub const _C_UNDEF: u8 = 63u8;
840pub const _C_PTR: u8 = 94u8;
841pub const _C_CHARPTR: u8 = 42u8;
842pub const _C_ATOM: u8 = 37u8;
843pub const _C_ARY_B: u8 = 91u8;
844pub const _C_ARY_E: u8 = 93u8;
845pub const _C_UNION_B: u8 = 40u8;
846pub const _C_UNION_E: u8 = 41u8;
847pub const _C_STRUCT_B: u8 = 123u8;
848pub const _C_STRUCT_E: u8 = 125u8;
849pub const _C_VECTOR: u8 = 33u8;
850pub const _C_COMPLEX: u8 = 106u8;
851pub const _C_ATOMIC: u8 = 65u8;
852pub const _C_CONST: u8 = 114u8;
853pub const _C_IN: u8 = 110u8;
854pub const _C_INOUT: u8 = 78u8;
855pub const _C_OUT: u8 = 111u8;
856pub const _C_BYCOPY: u8 = 79u8;
857pub const _C_BYREF: u8 = 82u8;
858pub const _C_ONEWAY: u8 = 86u8;
859pub const _C_GNUREGISTER: u8 = 43u8;
860pub type max_align_t = f64;
861pub type __int8_t = ::std::os::raw::c_schar;
862pub type __uint8_t = ::std::os::raw::c_uchar;
863pub type __int16_t = ::std::os::raw::c_short;
864pub type __uint16_t = ::std::os::raw::c_ushort;
865pub type __int32_t = ::std::os::raw::c_int;
866pub type __uint32_t = ::std::os::raw::c_uint;
867pub type __int64_t = ::std::os::raw::c_longlong;
868pub type __uint64_t = ::std::os::raw::c_ulonglong;
869pub type __darwin_intptr_t = ::std::os::raw::c_long;
870pub type __darwin_natural_t = ::std::os::raw::c_uint;
871pub type __darwin_ct_rune_t = ::std::os::raw::c_int;
872#[repr(C)]
873#[derive(Copy, Clone)]
874pub union __mbstate_t {
875 pub __mbstate8: [::std::os::raw::c_char; 128usize],
876 pub _mbstateL: ::std::os::raw::c_longlong,
877}
878const _: () = {
879 ["Size of __mbstate_t"][::std::mem::size_of::<__mbstate_t>() - 128usize];
880 ["Alignment of __mbstate_t"][::std::mem::align_of::<__mbstate_t>() - 8usize];
881 ["Offset of field: __mbstate_t::__mbstate8"]
882 [::std::mem::offset_of!(__mbstate_t, __mbstate8) - 0usize];
883 ["Offset of field: __mbstate_t::_mbstateL"]
884 [::std::mem::offset_of!(__mbstate_t, _mbstateL) - 0usize];
885};
886pub type __darwin_mbstate_t = __mbstate_t;
887pub type __darwin_ptrdiff_t = ::std::os::raw::c_long;
888pub type __darwin_size_t = ::std::os::raw::c_ulong;
889pub type __darwin_va_list = __builtin_va_list;
890pub type __darwin_wchar_t = ::std::os::raw::c_int;
891pub type __darwin_rune_t = __darwin_wchar_t;
892pub type __darwin_wint_t = ::std::os::raw::c_int;
893pub type __darwin_clock_t = ::std::os::raw::c_ulong;
894pub type __darwin_socklen_t = __uint32_t;
895pub type __darwin_ssize_t = ::std::os::raw::c_long;
896pub type __darwin_time_t = ::std::os::raw::c_long;
897pub type __darwin_blkcnt_t = __int64_t;
898pub type __darwin_blksize_t = __int32_t;
899pub type __darwin_dev_t = __int32_t;
900pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint;
901pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint;
902pub type __darwin_gid_t = __uint32_t;
903pub type __darwin_id_t = __uint32_t;
904pub type __darwin_ino64_t = __uint64_t;
905pub type __darwin_ino_t = __darwin_ino64_t;
906pub type __darwin_mach_port_name_t = __darwin_natural_t;
907pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
908pub type __darwin_mode_t = __uint16_t;
909pub type __darwin_off_t = __int64_t;
910pub type __darwin_pid_t = __int32_t;
911pub type __darwin_sigset_t = __uint32_t;
912pub type __darwin_suseconds_t = __int32_t;
913pub type __darwin_uid_t = __uint32_t;
914pub type __darwin_useconds_t = __uint32_t;
915pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize];
916pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize];
917#[repr(C)]
918#[derive(Debug, Copy, Clone)]
919pub struct __darwin_pthread_handler_rec {
920 pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
921 pub __arg: *mut ::std::os::raw::c_void,
922 pub __next: *mut __darwin_pthread_handler_rec,
923}
924const _: () = {
925 ["Size of __darwin_pthread_handler_rec"]
926 [::std::mem::size_of::<__darwin_pthread_handler_rec>() - 24usize];
927 ["Alignment of __darwin_pthread_handler_rec"]
928 [::std::mem::align_of::<__darwin_pthread_handler_rec>() - 8usize];
929 ["Offset of field: __darwin_pthread_handler_rec::__routine"]
930 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __routine) - 0usize];
931 ["Offset of field: __darwin_pthread_handler_rec::__arg"]
932 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __arg) - 8usize];
933 ["Offset of field: __darwin_pthread_handler_rec::__next"]
934 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __next) - 16usize];
935};
936#[repr(C)]
937#[derive(Debug, Copy, Clone)]
938pub struct _opaque_pthread_attr_t {
939 pub __sig: ::std::os::raw::c_long,
940 pub __opaque: [::std::os::raw::c_char; 56usize],
941}
942const _: () = {
943 ["Size of _opaque_pthread_attr_t"][::std::mem::size_of::<_opaque_pthread_attr_t>() - 64usize];
944 ["Alignment of _opaque_pthread_attr_t"]
945 [::std::mem::align_of::<_opaque_pthread_attr_t>() - 8usize];
946 ["Offset of field: _opaque_pthread_attr_t::__sig"]
947 [::std::mem::offset_of!(_opaque_pthread_attr_t, __sig) - 0usize];
948 ["Offset of field: _opaque_pthread_attr_t::__opaque"]
949 [::std::mem::offset_of!(_opaque_pthread_attr_t, __opaque) - 8usize];
950};
951#[repr(C)]
952#[derive(Debug, Copy, Clone)]
953pub struct _opaque_pthread_cond_t {
954 pub __sig: ::std::os::raw::c_long,
955 pub __opaque: [::std::os::raw::c_char; 40usize],
956}
957const _: () = {
958 ["Size of _opaque_pthread_cond_t"][::std::mem::size_of::<_opaque_pthread_cond_t>() - 48usize];
959 ["Alignment of _opaque_pthread_cond_t"]
960 [::std::mem::align_of::<_opaque_pthread_cond_t>() - 8usize];
961 ["Offset of field: _opaque_pthread_cond_t::__sig"]
962 [::std::mem::offset_of!(_opaque_pthread_cond_t, __sig) - 0usize];
963 ["Offset of field: _opaque_pthread_cond_t::__opaque"]
964 [::std::mem::offset_of!(_opaque_pthread_cond_t, __opaque) - 8usize];
965};
966#[repr(C)]
967#[derive(Debug, Copy, Clone)]
968pub struct _opaque_pthread_condattr_t {
969 pub __sig: ::std::os::raw::c_long,
970 pub __opaque: [::std::os::raw::c_char; 8usize],
971}
972const _: () = {
973 ["Size of _opaque_pthread_condattr_t"]
974 [::std::mem::size_of::<_opaque_pthread_condattr_t>() - 16usize];
975 ["Alignment of _opaque_pthread_condattr_t"]
976 [::std::mem::align_of::<_opaque_pthread_condattr_t>() - 8usize];
977 ["Offset of field: _opaque_pthread_condattr_t::__sig"]
978 [::std::mem::offset_of!(_opaque_pthread_condattr_t, __sig) - 0usize];
979 ["Offset of field: _opaque_pthread_condattr_t::__opaque"]
980 [::std::mem::offset_of!(_opaque_pthread_condattr_t, __opaque) - 8usize];
981};
982#[repr(C)]
983#[derive(Debug, Copy, Clone)]
984pub struct _opaque_pthread_mutex_t {
985 pub __sig: ::std::os::raw::c_long,
986 pub __opaque: [::std::os::raw::c_char; 56usize],
987}
988const _: () = {
989 ["Size of _opaque_pthread_mutex_t"][::std::mem::size_of::<_opaque_pthread_mutex_t>() - 64usize];
990 ["Alignment of _opaque_pthread_mutex_t"]
991 [::std::mem::align_of::<_opaque_pthread_mutex_t>() - 8usize];
992 ["Offset of field: _opaque_pthread_mutex_t::__sig"]
993 [::std::mem::offset_of!(_opaque_pthread_mutex_t, __sig) - 0usize];
994 ["Offset of field: _opaque_pthread_mutex_t::__opaque"]
995 [::std::mem::offset_of!(_opaque_pthread_mutex_t, __opaque) - 8usize];
996};
997#[repr(C)]
998#[derive(Debug, Copy, Clone)]
999pub struct _opaque_pthread_mutexattr_t {
1000 pub __sig: ::std::os::raw::c_long,
1001 pub __opaque: [::std::os::raw::c_char; 8usize],
1002}
1003const _: () = {
1004 ["Size of _opaque_pthread_mutexattr_t"]
1005 [::std::mem::size_of::<_opaque_pthread_mutexattr_t>() - 16usize];
1006 ["Alignment of _opaque_pthread_mutexattr_t"]
1007 [::std::mem::align_of::<_opaque_pthread_mutexattr_t>() - 8usize];
1008 ["Offset of field: _opaque_pthread_mutexattr_t::__sig"]
1009 [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __sig) - 0usize];
1010 ["Offset of field: _opaque_pthread_mutexattr_t::__opaque"]
1011 [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __opaque) - 8usize];
1012};
1013#[repr(C)]
1014#[derive(Debug, Copy, Clone)]
1015pub struct _opaque_pthread_once_t {
1016 pub __sig: ::std::os::raw::c_long,
1017 pub __opaque: [::std::os::raw::c_char; 8usize],
1018}
1019const _: () = {
1020 ["Size of _opaque_pthread_once_t"][::std::mem::size_of::<_opaque_pthread_once_t>() - 16usize];
1021 ["Alignment of _opaque_pthread_once_t"]
1022 [::std::mem::align_of::<_opaque_pthread_once_t>() - 8usize];
1023 ["Offset of field: _opaque_pthread_once_t::__sig"]
1024 [::std::mem::offset_of!(_opaque_pthread_once_t, __sig) - 0usize];
1025 ["Offset of field: _opaque_pthread_once_t::__opaque"]
1026 [::std::mem::offset_of!(_opaque_pthread_once_t, __opaque) - 8usize];
1027};
1028#[repr(C)]
1029#[derive(Debug, Copy, Clone)]
1030pub struct _opaque_pthread_rwlock_t {
1031 pub __sig: ::std::os::raw::c_long,
1032 pub __opaque: [::std::os::raw::c_char; 192usize],
1033}
1034const _: () = {
1035 ["Size of _opaque_pthread_rwlock_t"]
1036 [::std::mem::size_of::<_opaque_pthread_rwlock_t>() - 200usize];
1037 ["Alignment of _opaque_pthread_rwlock_t"]
1038 [::std::mem::align_of::<_opaque_pthread_rwlock_t>() - 8usize];
1039 ["Offset of field: _opaque_pthread_rwlock_t::__sig"]
1040 [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __sig) - 0usize];
1041 ["Offset of field: _opaque_pthread_rwlock_t::__opaque"]
1042 [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __opaque) - 8usize];
1043};
1044#[repr(C)]
1045#[derive(Debug, Copy, Clone)]
1046pub struct _opaque_pthread_rwlockattr_t {
1047 pub __sig: ::std::os::raw::c_long,
1048 pub __opaque: [::std::os::raw::c_char; 16usize],
1049}
1050const _: () = {
1051 ["Size of _opaque_pthread_rwlockattr_t"]
1052 [::std::mem::size_of::<_opaque_pthread_rwlockattr_t>() - 24usize];
1053 ["Alignment of _opaque_pthread_rwlockattr_t"]
1054 [::std::mem::align_of::<_opaque_pthread_rwlockattr_t>() - 8usize];
1055 ["Offset of field: _opaque_pthread_rwlockattr_t::__sig"]
1056 [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __sig) - 0usize];
1057 ["Offset of field: _opaque_pthread_rwlockattr_t::__opaque"]
1058 [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __opaque) - 8usize];
1059};
1060#[repr(C)]
1061#[derive(Debug, Copy, Clone)]
1062pub struct _opaque_pthread_t {
1063 pub __sig: ::std::os::raw::c_long,
1064 pub __cleanup_stack: *mut __darwin_pthread_handler_rec,
1065 pub __opaque: [::std::os::raw::c_char; 8176usize],
1066}
1067const _: () = {
1068 ["Size of _opaque_pthread_t"][::std::mem::size_of::<_opaque_pthread_t>() - 8192usize];
1069 ["Alignment of _opaque_pthread_t"][::std::mem::align_of::<_opaque_pthread_t>() - 8usize];
1070 ["Offset of field: _opaque_pthread_t::__sig"]
1071 [::std::mem::offset_of!(_opaque_pthread_t, __sig) - 0usize];
1072 ["Offset of field: _opaque_pthread_t::__cleanup_stack"]
1073 [::std::mem::offset_of!(_opaque_pthread_t, __cleanup_stack) - 8usize];
1074 ["Offset of field: _opaque_pthread_t::__opaque"]
1075 [::std::mem::offset_of!(_opaque_pthread_t, __opaque) - 16usize];
1076};
1077pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t;
1078pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t;
1079pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t;
1080pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong;
1081pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t;
1082pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t;
1083pub type __darwin_pthread_once_t = _opaque_pthread_once_t;
1084pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t;
1085pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t;
1086pub type __darwin_pthread_t = *mut _opaque_pthread_t;
1087pub type __darwin_nl_item = ::std::os::raw::c_int;
1088pub type __darwin_wctrans_t = ::std::os::raw::c_int;
1089pub type __darwin_wctype_t = __uint32_t;
1090pub const idtype_t_P_ALL: idtype_t = 0;
1091pub const idtype_t_P_PID: idtype_t = 1;
1092pub const idtype_t_P_PGID: idtype_t = 2;
1093pub type idtype_t = ::std::os::raw::c_uint;
1094pub type pid_t = __darwin_pid_t;
1095pub type id_t = __darwin_id_t;
1096pub type sig_atomic_t = ::std::os::raw::c_int;
1097pub type u_int8_t = ::std::os::raw::c_uchar;
1098pub type u_int16_t = ::std::os::raw::c_ushort;
1099pub type u_int32_t = ::std::os::raw::c_uint;
1100pub type u_int64_t = ::std::os::raw::c_ulonglong;
1101pub type register_t = i64;
1102pub type user_addr_t = u_int64_t;
1103pub type user_size_t = u_int64_t;
1104pub type user_ssize_t = i64;
1105pub type user_long_t = i64;
1106pub type user_ulong_t = u_int64_t;
1107pub type user_time_t = i64;
1108pub type user_off_t = i64;
1109pub type syscall_arg_t = u_int64_t;
1110#[repr(C)]
1111#[derive(Debug, Copy, Clone)]
1112pub struct __darwin_arm_exception_state {
1113 pub __exception: __uint32_t,
1114 pub __fsr: __uint32_t,
1115 pub __far: __uint32_t,
1116}
1117const _: () = {
1118 ["Size of __darwin_arm_exception_state"]
1119 [::std::mem::size_of::<__darwin_arm_exception_state>() - 12usize];
1120 ["Alignment of __darwin_arm_exception_state"]
1121 [::std::mem::align_of::<__darwin_arm_exception_state>() - 4usize];
1122 ["Offset of field: __darwin_arm_exception_state::__exception"]
1123 [::std::mem::offset_of!(__darwin_arm_exception_state, __exception) - 0usize];
1124 ["Offset of field: __darwin_arm_exception_state::__fsr"]
1125 [::std::mem::offset_of!(__darwin_arm_exception_state, __fsr) - 4usize];
1126 ["Offset of field: __darwin_arm_exception_state::__far"]
1127 [::std::mem::offset_of!(__darwin_arm_exception_state, __far) - 8usize];
1128};
1129#[repr(C)]
1130#[derive(Debug, Copy, Clone)]
1131pub struct __darwin_arm_exception_state64 {
1132 pub __far: __uint64_t,
1133 pub __esr: __uint32_t,
1134 pub __exception: __uint32_t,
1135}
1136const _: () = {
1137 ["Size of __darwin_arm_exception_state64"]
1138 [::std::mem::size_of::<__darwin_arm_exception_state64>() - 16usize];
1139 ["Alignment of __darwin_arm_exception_state64"]
1140 [::std::mem::align_of::<__darwin_arm_exception_state64>() - 8usize];
1141 ["Offset of field: __darwin_arm_exception_state64::__far"]
1142 [::std::mem::offset_of!(__darwin_arm_exception_state64, __far) - 0usize];
1143 ["Offset of field: __darwin_arm_exception_state64::__esr"]
1144 [::std::mem::offset_of!(__darwin_arm_exception_state64, __esr) - 8usize];
1145 ["Offset of field: __darwin_arm_exception_state64::__exception"]
1146 [::std::mem::offset_of!(__darwin_arm_exception_state64, __exception) - 12usize];
1147};
1148#[repr(C)]
1149#[derive(Debug, Copy, Clone)]
1150pub struct __darwin_arm_exception_state64_v2 {
1151 pub __far: __uint64_t,
1152 pub __esr: __uint64_t,
1153}
1154const _: () = {
1155 ["Size of __darwin_arm_exception_state64_v2"]
1156 [::std::mem::size_of::<__darwin_arm_exception_state64_v2>() - 16usize];
1157 ["Alignment of __darwin_arm_exception_state64_v2"]
1158 [::std::mem::align_of::<__darwin_arm_exception_state64_v2>() - 8usize];
1159 ["Offset of field: __darwin_arm_exception_state64_v2::__far"]
1160 [::std::mem::offset_of!(__darwin_arm_exception_state64_v2, __far) - 0usize];
1161 ["Offset of field: __darwin_arm_exception_state64_v2::__esr"]
1162 [::std::mem::offset_of!(__darwin_arm_exception_state64_v2, __esr) - 8usize];
1163};
1164#[repr(C)]
1165#[derive(Debug, Copy, Clone)]
1166pub struct __darwin_arm_thread_state {
1167 pub __r: [__uint32_t; 13usize],
1168 pub __sp: __uint32_t,
1169 pub __lr: __uint32_t,
1170 pub __pc: __uint32_t,
1171 pub __cpsr: __uint32_t,
1172}
1173const _: () = {
1174 ["Size of __darwin_arm_thread_state"]
1175 [::std::mem::size_of::<__darwin_arm_thread_state>() - 68usize];
1176 ["Alignment of __darwin_arm_thread_state"]
1177 [::std::mem::align_of::<__darwin_arm_thread_state>() - 4usize];
1178 ["Offset of field: __darwin_arm_thread_state::__r"]
1179 [::std::mem::offset_of!(__darwin_arm_thread_state, __r) - 0usize];
1180 ["Offset of field: __darwin_arm_thread_state::__sp"]
1181 [::std::mem::offset_of!(__darwin_arm_thread_state, __sp) - 52usize];
1182 ["Offset of field: __darwin_arm_thread_state::__lr"]
1183 [::std::mem::offset_of!(__darwin_arm_thread_state, __lr) - 56usize];
1184 ["Offset of field: __darwin_arm_thread_state::__pc"]
1185 [::std::mem::offset_of!(__darwin_arm_thread_state, __pc) - 60usize];
1186 ["Offset of field: __darwin_arm_thread_state::__cpsr"]
1187 [::std::mem::offset_of!(__darwin_arm_thread_state, __cpsr) - 64usize];
1188};
1189#[repr(C)]
1190#[derive(Debug, Copy, Clone)]
1191pub struct __darwin_arm_thread_state64 {
1192 pub __x: [__uint64_t; 29usize],
1193 pub __fp: __uint64_t,
1194 pub __lr: __uint64_t,
1195 pub __sp: __uint64_t,
1196 pub __pc: __uint64_t,
1197 pub __cpsr: __uint32_t,
1198 pub __pad: __uint32_t,
1199}
1200const _: () = {
1201 ["Size of __darwin_arm_thread_state64"]
1202 [::std::mem::size_of::<__darwin_arm_thread_state64>() - 272usize];
1203 ["Alignment of __darwin_arm_thread_state64"]
1204 [::std::mem::align_of::<__darwin_arm_thread_state64>() - 8usize];
1205 ["Offset of field: __darwin_arm_thread_state64::__x"]
1206 [::std::mem::offset_of!(__darwin_arm_thread_state64, __x) - 0usize];
1207 ["Offset of field: __darwin_arm_thread_state64::__fp"]
1208 [::std::mem::offset_of!(__darwin_arm_thread_state64, __fp) - 232usize];
1209 ["Offset of field: __darwin_arm_thread_state64::__lr"]
1210 [::std::mem::offset_of!(__darwin_arm_thread_state64, __lr) - 240usize];
1211 ["Offset of field: __darwin_arm_thread_state64::__sp"]
1212 [::std::mem::offset_of!(__darwin_arm_thread_state64, __sp) - 248usize];
1213 ["Offset of field: __darwin_arm_thread_state64::__pc"]
1214 [::std::mem::offset_of!(__darwin_arm_thread_state64, __pc) - 256usize];
1215 ["Offset of field: __darwin_arm_thread_state64::__cpsr"]
1216 [::std::mem::offset_of!(__darwin_arm_thread_state64, __cpsr) - 264usize];
1217 ["Offset of field: __darwin_arm_thread_state64::__pad"]
1218 [::std::mem::offset_of!(__darwin_arm_thread_state64, __pad) - 268usize];
1219};
1220#[repr(C)]
1221#[derive(Debug, Copy, Clone)]
1222pub struct __darwin_arm_vfp_state {
1223 pub __r: [__uint32_t; 64usize],
1224 pub __fpscr: __uint32_t,
1225}
1226const _: () = {
1227 ["Size of __darwin_arm_vfp_state"][::std::mem::size_of::<__darwin_arm_vfp_state>() - 260usize];
1228 ["Alignment of __darwin_arm_vfp_state"]
1229 [::std::mem::align_of::<__darwin_arm_vfp_state>() - 4usize];
1230 ["Offset of field: __darwin_arm_vfp_state::__r"]
1231 [::std::mem::offset_of!(__darwin_arm_vfp_state, __r) - 0usize];
1232 ["Offset of field: __darwin_arm_vfp_state::__fpscr"]
1233 [::std::mem::offset_of!(__darwin_arm_vfp_state, __fpscr) - 256usize];
1234};
1235#[repr(C)]
1236#[repr(align(16))]
1237#[derive(Debug, Copy, Clone)]
1238pub struct __darwin_arm_neon_state64 {
1239 pub __v: [__uint128_t; 32usize],
1240 pub __fpsr: __uint32_t,
1241 pub __fpcr: __uint32_t,
1242}
1243const _: () = {
1244 ["Size of __darwin_arm_neon_state64"]
1245 [::std::mem::size_of::<__darwin_arm_neon_state64>() - 528usize];
1246 ["Alignment of __darwin_arm_neon_state64"]
1247 [::std::mem::align_of::<__darwin_arm_neon_state64>() - 16usize];
1248 ["Offset of field: __darwin_arm_neon_state64::__v"]
1249 [::std::mem::offset_of!(__darwin_arm_neon_state64, __v) - 0usize];
1250 ["Offset of field: __darwin_arm_neon_state64::__fpsr"]
1251 [::std::mem::offset_of!(__darwin_arm_neon_state64, __fpsr) - 512usize];
1252 ["Offset of field: __darwin_arm_neon_state64::__fpcr"]
1253 [::std::mem::offset_of!(__darwin_arm_neon_state64, __fpcr) - 516usize];
1254};
1255#[repr(C)]
1256#[repr(align(16))]
1257#[derive(Debug, Copy, Clone)]
1258pub struct __darwin_arm_neon_state {
1259 pub __v: [__uint128_t; 16usize],
1260 pub __fpsr: __uint32_t,
1261 pub __fpcr: __uint32_t,
1262}
1263const _: () = {
1264 ["Size of __darwin_arm_neon_state"]
1265 [::std::mem::size_of::<__darwin_arm_neon_state>() - 272usize];
1266 ["Alignment of __darwin_arm_neon_state"]
1267 [::std::mem::align_of::<__darwin_arm_neon_state>() - 16usize];
1268 ["Offset of field: __darwin_arm_neon_state::__v"]
1269 [::std::mem::offset_of!(__darwin_arm_neon_state, __v) - 0usize];
1270 ["Offset of field: __darwin_arm_neon_state::__fpsr"]
1271 [::std::mem::offset_of!(__darwin_arm_neon_state, __fpsr) - 256usize];
1272 ["Offset of field: __darwin_arm_neon_state::__fpcr"]
1273 [::std::mem::offset_of!(__darwin_arm_neon_state, __fpcr) - 260usize];
1274};
1275#[repr(C)]
1276#[derive(Debug, Copy, Clone)]
1277pub struct __arm_pagein_state {
1278 pub __pagein_error: ::std::os::raw::c_int,
1279}
1280const _: () = {
1281 ["Size of __arm_pagein_state"][::std::mem::size_of::<__arm_pagein_state>() - 4usize];
1282 ["Alignment of __arm_pagein_state"][::std::mem::align_of::<__arm_pagein_state>() - 4usize];
1283 ["Offset of field: __arm_pagein_state::__pagein_error"]
1284 [::std::mem::offset_of!(__arm_pagein_state, __pagein_error) - 0usize];
1285};
1286#[repr(C)]
1287#[derive(Debug, Copy, Clone)]
1288pub struct __arm_legacy_debug_state {
1289 pub __bvr: [__uint32_t; 16usize],
1290 pub __bcr: [__uint32_t; 16usize],
1291 pub __wvr: [__uint32_t; 16usize],
1292 pub __wcr: [__uint32_t; 16usize],
1293}
1294const _: () = {
1295 ["Size of __arm_legacy_debug_state"]
1296 [::std::mem::size_of::<__arm_legacy_debug_state>() - 256usize];
1297 ["Alignment of __arm_legacy_debug_state"]
1298 [::std::mem::align_of::<__arm_legacy_debug_state>() - 4usize];
1299 ["Offset of field: __arm_legacy_debug_state::__bvr"]
1300 [::std::mem::offset_of!(__arm_legacy_debug_state, __bvr) - 0usize];
1301 ["Offset of field: __arm_legacy_debug_state::__bcr"]
1302 [::std::mem::offset_of!(__arm_legacy_debug_state, __bcr) - 64usize];
1303 ["Offset of field: __arm_legacy_debug_state::__wvr"]
1304 [::std::mem::offset_of!(__arm_legacy_debug_state, __wvr) - 128usize];
1305 ["Offset of field: __arm_legacy_debug_state::__wcr"]
1306 [::std::mem::offset_of!(__arm_legacy_debug_state, __wcr) - 192usize];
1307};
1308#[repr(C)]
1309#[derive(Debug, Copy, Clone)]
1310pub struct __darwin_arm_debug_state32 {
1311 pub __bvr: [__uint32_t; 16usize],
1312 pub __bcr: [__uint32_t; 16usize],
1313 pub __wvr: [__uint32_t; 16usize],
1314 pub __wcr: [__uint32_t; 16usize],
1315 pub __mdscr_el1: __uint64_t,
1316}
1317const _: () = {
1318 ["Size of __darwin_arm_debug_state32"]
1319 [::std::mem::size_of::<__darwin_arm_debug_state32>() - 264usize];
1320 ["Alignment of __darwin_arm_debug_state32"]
1321 [::std::mem::align_of::<__darwin_arm_debug_state32>() - 8usize];
1322 ["Offset of field: __darwin_arm_debug_state32::__bvr"]
1323 [::std::mem::offset_of!(__darwin_arm_debug_state32, __bvr) - 0usize];
1324 ["Offset of field: __darwin_arm_debug_state32::__bcr"]
1325 [::std::mem::offset_of!(__darwin_arm_debug_state32, __bcr) - 64usize];
1326 ["Offset of field: __darwin_arm_debug_state32::__wvr"]
1327 [::std::mem::offset_of!(__darwin_arm_debug_state32, __wvr) - 128usize];
1328 ["Offset of field: __darwin_arm_debug_state32::__wcr"]
1329 [::std::mem::offset_of!(__darwin_arm_debug_state32, __wcr) - 192usize];
1330 ["Offset of field: __darwin_arm_debug_state32::__mdscr_el1"]
1331 [::std::mem::offset_of!(__darwin_arm_debug_state32, __mdscr_el1) - 256usize];
1332};
1333#[repr(C)]
1334#[derive(Debug, Copy, Clone)]
1335pub struct __darwin_arm_debug_state64 {
1336 pub __bvr: [__uint64_t; 16usize],
1337 pub __bcr: [__uint64_t; 16usize],
1338 pub __wvr: [__uint64_t; 16usize],
1339 pub __wcr: [__uint64_t; 16usize],
1340 pub __mdscr_el1: __uint64_t,
1341}
1342const _: () = {
1343 ["Size of __darwin_arm_debug_state64"]
1344 [::std::mem::size_of::<__darwin_arm_debug_state64>() - 520usize];
1345 ["Alignment of __darwin_arm_debug_state64"]
1346 [::std::mem::align_of::<__darwin_arm_debug_state64>() - 8usize];
1347 ["Offset of field: __darwin_arm_debug_state64::__bvr"]
1348 [::std::mem::offset_of!(__darwin_arm_debug_state64, __bvr) - 0usize];
1349 ["Offset of field: __darwin_arm_debug_state64::__bcr"]
1350 [::std::mem::offset_of!(__darwin_arm_debug_state64, __bcr) - 128usize];
1351 ["Offset of field: __darwin_arm_debug_state64::__wvr"]
1352 [::std::mem::offset_of!(__darwin_arm_debug_state64, __wvr) - 256usize];
1353 ["Offset of field: __darwin_arm_debug_state64::__wcr"]
1354 [::std::mem::offset_of!(__darwin_arm_debug_state64, __wcr) - 384usize];
1355 ["Offset of field: __darwin_arm_debug_state64::__mdscr_el1"]
1356 [::std::mem::offset_of!(__darwin_arm_debug_state64, __mdscr_el1) - 512usize];
1357};
1358#[repr(C)]
1359#[derive(Debug, Copy, Clone)]
1360pub struct __darwin_arm_cpmu_state64 {
1361 pub __ctrs: [__uint64_t; 16usize],
1362}
1363const _: () = {
1364 ["Size of __darwin_arm_cpmu_state64"]
1365 [::std::mem::size_of::<__darwin_arm_cpmu_state64>() - 128usize];
1366 ["Alignment of __darwin_arm_cpmu_state64"]
1367 [::std::mem::align_of::<__darwin_arm_cpmu_state64>() - 8usize];
1368 ["Offset of field: __darwin_arm_cpmu_state64::__ctrs"]
1369 [::std::mem::offset_of!(__darwin_arm_cpmu_state64, __ctrs) - 0usize];
1370};
1371#[repr(C)]
1372#[derive(Debug, Copy, Clone)]
1373pub struct __darwin_mcontext32 {
1374 pub __es: __darwin_arm_exception_state,
1375 pub __ss: __darwin_arm_thread_state,
1376 pub __fs: __darwin_arm_vfp_state,
1377}
1378const _: () = {
1379 ["Size of __darwin_mcontext32"][::std::mem::size_of::<__darwin_mcontext32>() - 340usize];
1380 ["Alignment of __darwin_mcontext32"][::std::mem::align_of::<__darwin_mcontext32>() - 4usize];
1381 ["Offset of field: __darwin_mcontext32::__es"]
1382 [::std::mem::offset_of!(__darwin_mcontext32, __es) - 0usize];
1383 ["Offset of field: __darwin_mcontext32::__ss"]
1384 [::std::mem::offset_of!(__darwin_mcontext32, __ss) - 12usize];
1385 ["Offset of field: __darwin_mcontext32::__fs"]
1386 [::std::mem::offset_of!(__darwin_mcontext32, __fs) - 80usize];
1387};
1388#[repr(C)]
1389#[repr(align(16))]
1390#[derive(Debug, Copy, Clone)]
1391pub struct __darwin_mcontext64 {
1392 pub __es: __darwin_arm_exception_state64,
1393 pub __ss: __darwin_arm_thread_state64,
1394 pub __ns: __darwin_arm_neon_state64,
1395}
1396const _: () = {
1397 ["Size of __darwin_mcontext64"][::std::mem::size_of::<__darwin_mcontext64>() - 816usize];
1398 ["Alignment of __darwin_mcontext64"][::std::mem::align_of::<__darwin_mcontext64>() - 16usize];
1399 ["Offset of field: __darwin_mcontext64::__es"]
1400 [::std::mem::offset_of!(__darwin_mcontext64, __es) - 0usize];
1401 ["Offset of field: __darwin_mcontext64::__ss"]
1402 [::std::mem::offset_of!(__darwin_mcontext64, __ss) - 16usize];
1403 ["Offset of field: __darwin_mcontext64::__ns"]
1404 [::std::mem::offset_of!(__darwin_mcontext64, __ns) - 288usize];
1405};
1406pub type mcontext_t = *mut __darwin_mcontext64;
1407pub type pthread_attr_t = __darwin_pthread_attr_t;
1408#[repr(C)]
1409#[derive(Debug, Copy, Clone)]
1410pub struct __darwin_sigaltstack {
1411 pub ss_sp: *mut ::std::os::raw::c_void,
1412 pub ss_size: __darwin_size_t,
1413 pub ss_flags: ::std::os::raw::c_int,
1414}
1415const _: () = {
1416 ["Size of __darwin_sigaltstack"][::std::mem::size_of::<__darwin_sigaltstack>() - 24usize];
1417 ["Alignment of __darwin_sigaltstack"][::std::mem::align_of::<__darwin_sigaltstack>() - 8usize];
1418 ["Offset of field: __darwin_sigaltstack::ss_sp"]
1419 [::std::mem::offset_of!(__darwin_sigaltstack, ss_sp) - 0usize];
1420 ["Offset of field: __darwin_sigaltstack::ss_size"]
1421 [::std::mem::offset_of!(__darwin_sigaltstack, ss_size) - 8usize];
1422 ["Offset of field: __darwin_sigaltstack::ss_flags"]
1423 [::std::mem::offset_of!(__darwin_sigaltstack, ss_flags) - 16usize];
1424};
1425pub type stack_t = __darwin_sigaltstack;
1426#[repr(C)]
1427#[derive(Debug, Copy, Clone)]
1428pub struct __darwin_ucontext {
1429 pub uc_onstack: ::std::os::raw::c_int,
1430 pub uc_sigmask: __darwin_sigset_t,
1431 pub uc_stack: __darwin_sigaltstack,
1432 pub uc_link: *mut __darwin_ucontext,
1433 pub uc_mcsize: __darwin_size_t,
1434 pub uc_mcontext: *mut __darwin_mcontext64,
1435}
1436const _: () = {
1437 ["Size of __darwin_ucontext"][::std::mem::size_of::<__darwin_ucontext>() - 56usize];
1438 ["Alignment of __darwin_ucontext"][::std::mem::align_of::<__darwin_ucontext>() - 8usize];
1439 ["Offset of field: __darwin_ucontext::uc_onstack"]
1440 [::std::mem::offset_of!(__darwin_ucontext, uc_onstack) - 0usize];
1441 ["Offset of field: __darwin_ucontext::uc_sigmask"]
1442 [::std::mem::offset_of!(__darwin_ucontext, uc_sigmask) - 4usize];
1443 ["Offset of field: __darwin_ucontext::uc_stack"]
1444 [::std::mem::offset_of!(__darwin_ucontext, uc_stack) - 8usize];
1445 ["Offset of field: __darwin_ucontext::uc_link"]
1446 [::std::mem::offset_of!(__darwin_ucontext, uc_link) - 32usize];
1447 ["Offset of field: __darwin_ucontext::uc_mcsize"]
1448 [::std::mem::offset_of!(__darwin_ucontext, uc_mcsize) - 40usize];
1449 ["Offset of field: __darwin_ucontext::uc_mcontext"]
1450 [::std::mem::offset_of!(__darwin_ucontext, uc_mcontext) - 48usize];
1451};
1452pub type ucontext_t = __darwin_ucontext;
1453pub type sigset_t = __darwin_sigset_t;
1454pub type uid_t = __darwin_uid_t;
1455#[repr(C)]
1456#[derive(Copy, Clone)]
1457pub union sigval {
1458 pub sival_int: ::std::os::raw::c_int,
1459 pub sival_ptr: *mut ::std::os::raw::c_void,
1460}
1461const _: () = {
1462 ["Size of sigval"][::std::mem::size_of::<sigval>() - 8usize];
1463 ["Alignment of sigval"][::std::mem::align_of::<sigval>() - 8usize];
1464 ["Offset of field: sigval::sival_int"][::std::mem::offset_of!(sigval, sival_int) - 0usize];
1465 ["Offset of field: sigval::sival_ptr"][::std::mem::offset_of!(sigval, sival_ptr) - 0usize];
1466};
1467#[repr(C)]
1468#[derive(Copy, Clone)]
1469pub struct sigevent {
1470 pub sigev_notify: ::std::os::raw::c_int,
1471 pub sigev_signo: ::std::os::raw::c_int,
1472 pub sigev_value: sigval,
1473 pub sigev_notify_function: ::std::option::Option<unsafe extern "C" fn(arg1: sigval)>,
1474 pub sigev_notify_attributes: *mut pthread_attr_t,
1475}
1476const _: () = {
1477 ["Size of sigevent"][::std::mem::size_of::<sigevent>() - 32usize];
1478 ["Alignment of sigevent"][::std::mem::align_of::<sigevent>() - 8usize];
1479 ["Offset of field: sigevent::sigev_notify"]
1480 [::std::mem::offset_of!(sigevent, sigev_notify) - 0usize];
1481 ["Offset of field: sigevent::sigev_signo"]
1482 [::std::mem::offset_of!(sigevent, sigev_signo) - 4usize];
1483 ["Offset of field: sigevent::sigev_value"]
1484 [::std::mem::offset_of!(sigevent, sigev_value) - 8usize];
1485 ["Offset of field: sigevent::sigev_notify_function"]
1486 [::std::mem::offset_of!(sigevent, sigev_notify_function) - 16usize];
1487 ["Offset of field: sigevent::sigev_notify_attributes"]
1488 [::std::mem::offset_of!(sigevent, sigev_notify_attributes) - 24usize];
1489};
1490#[repr(C)]
1491#[derive(Copy, Clone)]
1492pub struct __siginfo {
1493 pub si_signo: ::std::os::raw::c_int,
1494 pub si_errno: ::std::os::raw::c_int,
1495 pub si_code: ::std::os::raw::c_int,
1496 pub si_pid: pid_t,
1497 pub si_uid: uid_t,
1498 pub si_status: ::std::os::raw::c_int,
1499 pub si_addr: *mut ::std::os::raw::c_void,
1500 pub si_value: sigval,
1501 pub si_band: ::std::os::raw::c_long,
1502 pub __pad: [::std::os::raw::c_ulong; 7usize],
1503}
1504const _: () = {
1505 ["Size of __siginfo"][::std::mem::size_of::<__siginfo>() - 104usize];
1506 ["Alignment of __siginfo"][::std::mem::align_of::<__siginfo>() - 8usize];
1507 ["Offset of field: __siginfo::si_signo"][::std::mem::offset_of!(__siginfo, si_signo) - 0usize];
1508 ["Offset of field: __siginfo::si_errno"][::std::mem::offset_of!(__siginfo, si_errno) - 4usize];
1509 ["Offset of field: __siginfo::si_code"][::std::mem::offset_of!(__siginfo, si_code) - 8usize];
1510 ["Offset of field: __siginfo::si_pid"][::std::mem::offset_of!(__siginfo, si_pid) - 12usize];
1511 ["Offset of field: __siginfo::si_uid"][::std::mem::offset_of!(__siginfo, si_uid) - 16usize];
1512 ["Offset of field: __siginfo::si_status"]
1513 [::std::mem::offset_of!(__siginfo, si_status) - 20usize];
1514 ["Offset of field: __siginfo::si_addr"][::std::mem::offset_of!(__siginfo, si_addr) - 24usize];
1515 ["Offset of field: __siginfo::si_value"][::std::mem::offset_of!(__siginfo, si_value) - 32usize];
1516 ["Offset of field: __siginfo::si_band"][::std::mem::offset_of!(__siginfo, si_band) - 40usize];
1517 ["Offset of field: __siginfo::__pad"][::std::mem::offset_of!(__siginfo, __pad) - 48usize];
1518};
1519pub type siginfo_t = __siginfo;
1520#[repr(C)]
1521#[derive(Copy, Clone)]
1522pub union __sigaction_u {
1523 pub __sa_handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
1524 pub __sa_sigaction: ::std::option::Option<
1525 unsafe extern "C" fn(
1526 arg1: ::std::os::raw::c_int,
1527 arg2: *mut __siginfo,
1528 arg3: *mut ::std::os::raw::c_void,
1529 ),
1530 >,
1531}
1532const _: () = {
1533 ["Size of __sigaction_u"][::std::mem::size_of::<__sigaction_u>() - 8usize];
1534 ["Alignment of __sigaction_u"][::std::mem::align_of::<__sigaction_u>() - 8usize];
1535 ["Offset of field: __sigaction_u::__sa_handler"]
1536 [::std::mem::offset_of!(__sigaction_u, __sa_handler) - 0usize];
1537 ["Offset of field: __sigaction_u::__sa_sigaction"]
1538 [::std::mem::offset_of!(__sigaction_u, __sa_sigaction) - 0usize];
1539};
1540#[repr(C)]
1541#[derive(Copy, Clone)]
1542pub struct __sigaction {
1543 pub __sigaction_u: __sigaction_u,
1544 pub sa_tramp: ::std::option::Option<
1545 unsafe extern "C" fn(
1546 arg1: *mut ::std::os::raw::c_void,
1547 arg2: ::std::os::raw::c_int,
1548 arg3: ::std::os::raw::c_int,
1549 arg4: *mut siginfo_t,
1550 arg5: *mut ::std::os::raw::c_void,
1551 ),
1552 >,
1553 pub sa_mask: sigset_t,
1554 pub sa_flags: ::std::os::raw::c_int,
1555}
1556const _: () = {
1557 ["Size of __sigaction"][::std::mem::size_of::<__sigaction>() - 24usize];
1558 ["Alignment of __sigaction"][::std::mem::align_of::<__sigaction>() - 8usize];
1559 ["Offset of field: __sigaction::__sigaction_u"]
1560 [::std::mem::offset_of!(__sigaction, __sigaction_u) - 0usize];
1561 ["Offset of field: __sigaction::sa_tramp"]
1562 [::std::mem::offset_of!(__sigaction, sa_tramp) - 8usize];
1563 ["Offset of field: __sigaction::sa_mask"]
1564 [::std::mem::offset_of!(__sigaction, sa_mask) - 16usize];
1565 ["Offset of field: __sigaction::sa_flags"]
1566 [::std::mem::offset_of!(__sigaction, sa_flags) - 20usize];
1567};
1568#[repr(C)]
1569#[derive(Copy, Clone)]
1570pub struct sigaction {
1571 pub __sigaction_u: __sigaction_u,
1572 pub sa_mask: sigset_t,
1573 pub sa_flags: ::std::os::raw::c_int,
1574}
1575const _: () = {
1576 ["Size of sigaction"][::std::mem::size_of::<sigaction>() - 16usize];
1577 ["Alignment of sigaction"][::std::mem::align_of::<sigaction>() - 8usize];
1578 ["Offset of field: sigaction::__sigaction_u"]
1579 [::std::mem::offset_of!(sigaction, __sigaction_u) - 0usize];
1580 ["Offset of field: sigaction::sa_mask"][::std::mem::offset_of!(sigaction, sa_mask) - 8usize];
1581 ["Offset of field: sigaction::sa_flags"][::std::mem::offset_of!(sigaction, sa_flags) - 12usize];
1582};
1583pub type sig_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
1584#[repr(C)]
1585#[derive(Debug, Copy, Clone)]
1586pub struct sigvec {
1587 pub sv_handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
1588 pub sv_mask: ::std::os::raw::c_int,
1589 pub sv_flags: ::std::os::raw::c_int,
1590}
1591const _: () = {
1592 ["Size of sigvec"][::std::mem::size_of::<sigvec>() - 16usize];
1593 ["Alignment of sigvec"][::std::mem::align_of::<sigvec>() - 8usize];
1594 ["Offset of field: sigvec::sv_handler"][::std::mem::offset_of!(sigvec, sv_handler) - 0usize];
1595 ["Offset of field: sigvec::sv_mask"][::std::mem::offset_of!(sigvec, sv_mask) - 8usize];
1596 ["Offset of field: sigvec::sv_flags"][::std::mem::offset_of!(sigvec, sv_flags) - 12usize];
1597};
1598#[repr(C)]
1599#[derive(Debug, Copy, Clone)]
1600pub struct sigstack {
1601 pub ss_sp: *mut ::std::os::raw::c_char,
1602 pub ss_onstack: ::std::os::raw::c_int,
1603}
1604const _: () = {
1605 ["Size of sigstack"][::std::mem::size_of::<sigstack>() - 16usize];
1606 ["Alignment of sigstack"][::std::mem::align_of::<sigstack>() - 8usize];
1607 ["Offset of field: sigstack::ss_sp"][::std::mem::offset_of!(sigstack, ss_sp) - 0usize];
1608 ["Offset of field: sigstack::ss_onstack"]
1609 [::std::mem::offset_of!(sigstack, ss_onstack) - 8usize];
1610};
1611extern "C" {
1612 pub fn signal(
1613 arg1: ::std::os::raw::c_int,
1614 arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
1615 ) -> ::std::option::Option<
1616 unsafe extern "C" fn(
1617 arg1: ::std::os::raw::c_int,
1618 arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
1619 ),
1620 >;
1621}
1622pub type int_least8_t = i8;
1623pub type int_least16_t = i16;
1624pub type int_least32_t = i32;
1625pub type int_least64_t = i64;
1626pub type uint_least8_t = u8;
1627pub type uint_least16_t = u16;
1628pub type uint_least32_t = u32;
1629pub type uint_least64_t = u64;
1630pub type int_fast8_t = i8;
1631pub type int_fast16_t = i16;
1632pub type int_fast32_t = i32;
1633pub type int_fast64_t = i64;
1634pub type uint_fast8_t = u8;
1635pub type uint_fast16_t = u16;
1636pub type uint_fast32_t = u32;
1637pub type uint_fast64_t = u64;
1638pub type intmax_t = ::std::os::raw::c_long;
1639pub type uintmax_t = ::std::os::raw::c_ulong;
1640#[repr(C)]
1641#[derive(Debug, Copy, Clone)]
1642pub struct timeval {
1643 pub tv_sec: __darwin_time_t,
1644 pub tv_usec: __darwin_suseconds_t,
1645}
1646const _: () = {
1647 ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
1648 ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
1649 ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
1650 ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
1651};
1652pub type rlim_t = __uint64_t;
1653#[repr(C)]
1654#[derive(Debug, Copy, Clone)]
1655pub struct rusage {
1656 pub ru_utime: timeval,
1657 pub ru_stime: timeval,
1658 pub ru_maxrss: ::std::os::raw::c_long,
1659 pub ru_ixrss: ::std::os::raw::c_long,
1660 pub ru_idrss: ::std::os::raw::c_long,
1661 pub ru_isrss: ::std::os::raw::c_long,
1662 pub ru_minflt: ::std::os::raw::c_long,
1663 pub ru_majflt: ::std::os::raw::c_long,
1664 pub ru_nswap: ::std::os::raw::c_long,
1665 pub ru_inblock: ::std::os::raw::c_long,
1666 pub ru_oublock: ::std::os::raw::c_long,
1667 pub ru_msgsnd: ::std::os::raw::c_long,
1668 pub ru_msgrcv: ::std::os::raw::c_long,
1669 pub ru_nsignals: ::std::os::raw::c_long,
1670 pub ru_nvcsw: ::std::os::raw::c_long,
1671 pub ru_nivcsw: ::std::os::raw::c_long,
1672}
1673const _: () = {
1674 ["Size of rusage"][::std::mem::size_of::<rusage>() - 144usize];
1675 ["Alignment of rusage"][::std::mem::align_of::<rusage>() - 8usize];
1676 ["Offset of field: rusage::ru_utime"][::std::mem::offset_of!(rusage, ru_utime) - 0usize];
1677 ["Offset of field: rusage::ru_stime"][::std::mem::offset_of!(rusage, ru_stime) - 16usize];
1678 ["Offset of field: rusage::ru_maxrss"][::std::mem::offset_of!(rusage, ru_maxrss) - 32usize];
1679 ["Offset of field: rusage::ru_ixrss"][::std::mem::offset_of!(rusage, ru_ixrss) - 40usize];
1680 ["Offset of field: rusage::ru_idrss"][::std::mem::offset_of!(rusage, ru_idrss) - 48usize];
1681 ["Offset of field: rusage::ru_isrss"][::std::mem::offset_of!(rusage, ru_isrss) - 56usize];
1682 ["Offset of field: rusage::ru_minflt"][::std::mem::offset_of!(rusage, ru_minflt) - 64usize];
1683 ["Offset of field: rusage::ru_majflt"][::std::mem::offset_of!(rusage, ru_majflt) - 72usize];
1684 ["Offset of field: rusage::ru_nswap"][::std::mem::offset_of!(rusage, ru_nswap) - 80usize];
1685 ["Offset of field: rusage::ru_inblock"][::std::mem::offset_of!(rusage, ru_inblock) - 88usize];
1686 ["Offset of field: rusage::ru_oublock"][::std::mem::offset_of!(rusage, ru_oublock) - 96usize];
1687 ["Offset of field: rusage::ru_msgsnd"][::std::mem::offset_of!(rusage, ru_msgsnd) - 104usize];
1688 ["Offset of field: rusage::ru_msgrcv"][::std::mem::offset_of!(rusage, ru_msgrcv) - 112usize];
1689 ["Offset of field: rusage::ru_nsignals"]
1690 [::std::mem::offset_of!(rusage, ru_nsignals) - 120usize];
1691 ["Offset of field: rusage::ru_nvcsw"][::std::mem::offset_of!(rusage, ru_nvcsw) - 128usize];
1692 ["Offset of field: rusage::ru_nivcsw"][::std::mem::offset_of!(rusage, ru_nivcsw) - 136usize];
1693};
1694pub type rusage_info_t = *mut ::std::os::raw::c_void;
1695#[repr(C)]
1696#[derive(Debug, Copy, Clone)]
1697pub struct rusage_info_v0 {
1698 pub ri_uuid: [u8; 16usize],
1699 pub ri_user_time: u64,
1700 pub ri_system_time: u64,
1701 pub ri_pkg_idle_wkups: u64,
1702 pub ri_interrupt_wkups: u64,
1703 pub ri_pageins: u64,
1704 pub ri_wired_size: u64,
1705 pub ri_resident_size: u64,
1706 pub ri_phys_footprint: u64,
1707 pub ri_proc_start_abstime: u64,
1708 pub ri_proc_exit_abstime: u64,
1709}
1710const _: () = {
1711 ["Size of rusage_info_v0"][::std::mem::size_of::<rusage_info_v0>() - 96usize];
1712 ["Alignment of rusage_info_v0"][::std::mem::align_of::<rusage_info_v0>() - 8usize];
1713 ["Offset of field: rusage_info_v0::ri_uuid"]
1714 [::std::mem::offset_of!(rusage_info_v0, ri_uuid) - 0usize];
1715 ["Offset of field: rusage_info_v0::ri_user_time"]
1716 [::std::mem::offset_of!(rusage_info_v0, ri_user_time) - 16usize];
1717 ["Offset of field: rusage_info_v0::ri_system_time"]
1718 [::std::mem::offset_of!(rusage_info_v0, ri_system_time) - 24usize];
1719 ["Offset of field: rusage_info_v0::ri_pkg_idle_wkups"]
1720 [::std::mem::offset_of!(rusage_info_v0, ri_pkg_idle_wkups) - 32usize];
1721 ["Offset of field: rusage_info_v0::ri_interrupt_wkups"]
1722 [::std::mem::offset_of!(rusage_info_v0, ri_interrupt_wkups) - 40usize];
1723 ["Offset of field: rusage_info_v0::ri_pageins"]
1724 [::std::mem::offset_of!(rusage_info_v0, ri_pageins) - 48usize];
1725 ["Offset of field: rusage_info_v0::ri_wired_size"]
1726 [::std::mem::offset_of!(rusage_info_v0, ri_wired_size) - 56usize];
1727 ["Offset of field: rusage_info_v0::ri_resident_size"]
1728 [::std::mem::offset_of!(rusage_info_v0, ri_resident_size) - 64usize];
1729 ["Offset of field: rusage_info_v0::ri_phys_footprint"]
1730 [::std::mem::offset_of!(rusage_info_v0, ri_phys_footprint) - 72usize];
1731 ["Offset of field: rusage_info_v0::ri_proc_start_abstime"]
1732 [::std::mem::offset_of!(rusage_info_v0, ri_proc_start_abstime) - 80usize];
1733 ["Offset of field: rusage_info_v0::ri_proc_exit_abstime"]
1734 [::std::mem::offset_of!(rusage_info_v0, ri_proc_exit_abstime) - 88usize];
1735};
1736#[repr(C)]
1737#[derive(Debug, Copy, Clone)]
1738pub struct rusage_info_v1 {
1739 pub ri_uuid: [u8; 16usize],
1740 pub ri_user_time: u64,
1741 pub ri_system_time: u64,
1742 pub ri_pkg_idle_wkups: u64,
1743 pub ri_interrupt_wkups: u64,
1744 pub ri_pageins: u64,
1745 pub ri_wired_size: u64,
1746 pub ri_resident_size: u64,
1747 pub ri_phys_footprint: u64,
1748 pub ri_proc_start_abstime: u64,
1749 pub ri_proc_exit_abstime: u64,
1750 pub ri_child_user_time: u64,
1751 pub ri_child_system_time: u64,
1752 pub ri_child_pkg_idle_wkups: u64,
1753 pub ri_child_interrupt_wkups: u64,
1754 pub ri_child_pageins: u64,
1755 pub ri_child_elapsed_abstime: u64,
1756}
1757const _: () = {
1758 ["Size of rusage_info_v1"][::std::mem::size_of::<rusage_info_v1>() - 144usize];
1759 ["Alignment of rusage_info_v1"][::std::mem::align_of::<rusage_info_v1>() - 8usize];
1760 ["Offset of field: rusage_info_v1::ri_uuid"]
1761 [::std::mem::offset_of!(rusage_info_v1, ri_uuid) - 0usize];
1762 ["Offset of field: rusage_info_v1::ri_user_time"]
1763 [::std::mem::offset_of!(rusage_info_v1, ri_user_time) - 16usize];
1764 ["Offset of field: rusage_info_v1::ri_system_time"]
1765 [::std::mem::offset_of!(rusage_info_v1, ri_system_time) - 24usize];
1766 ["Offset of field: rusage_info_v1::ri_pkg_idle_wkups"]
1767 [::std::mem::offset_of!(rusage_info_v1, ri_pkg_idle_wkups) - 32usize];
1768 ["Offset of field: rusage_info_v1::ri_interrupt_wkups"]
1769 [::std::mem::offset_of!(rusage_info_v1, ri_interrupt_wkups) - 40usize];
1770 ["Offset of field: rusage_info_v1::ri_pageins"]
1771 [::std::mem::offset_of!(rusage_info_v1, ri_pageins) - 48usize];
1772 ["Offset of field: rusage_info_v1::ri_wired_size"]
1773 [::std::mem::offset_of!(rusage_info_v1, ri_wired_size) - 56usize];
1774 ["Offset of field: rusage_info_v1::ri_resident_size"]
1775 [::std::mem::offset_of!(rusage_info_v1, ri_resident_size) - 64usize];
1776 ["Offset of field: rusage_info_v1::ri_phys_footprint"]
1777 [::std::mem::offset_of!(rusage_info_v1, ri_phys_footprint) - 72usize];
1778 ["Offset of field: rusage_info_v1::ri_proc_start_abstime"]
1779 [::std::mem::offset_of!(rusage_info_v1, ri_proc_start_abstime) - 80usize];
1780 ["Offset of field: rusage_info_v1::ri_proc_exit_abstime"]
1781 [::std::mem::offset_of!(rusage_info_v1, ri_proc_exit_abstime) - 88usize];
1782 ["Offset of field: rusage_info_v1::ri_child_user_time"]
1783 [::std::mem::offset_of!(rusage_info_v1, ri_child_user_time) - 96usize];
1784 ["Offset of field: rusage_info_v1::ri_child_system_time"]
1785 [::std::mem::offset_of!(rusage_info_v1, ri_child_system_time) - 104usize];
1786 ["Offset of field: rusage_info_v1::ri_child_pkg_idle_wkups"]
1787 [::std::mem::offset_of!(rusage_info_v1, ri_child_pkg_idle_wkups) - 112usize];
1788 ["Offset of field: rusage_info_v1::ri_child_interrupt_wkups"]
1789 [::std::mem::offset_of!(rusage_info_v1, ri_child_interrupt_wkups) - 120usize];
1790 ["Offset of field: rusage_info_v1::ri_child_pageins"]
1791 [::std::mem::offset_of!(rusage_info_v1, ri_child_pageins) - 128usize];
1792 ["Offset of field: rusage_info_v1::ri_child_elapsed_abstime"]
1793 [::std::mem::offset_of!(rusage_info_v1, ri_child_elapsed_abstime) - 136usize];
1794};
1795#[repr(C)]
1796#[derive(Debug, Copy, Clone)]
1797pub struct rusage_info_v2 {
1798 pub ri_uuid: [u8; 16usize],
1799 pub ri_user_time: u64,
1800 pub ri_system_time: u64,
1801 pub ri_pkg_idle_wkups: u64,
1802 pub ri_interrupt_wkups: u64,
1803 pub ri_pageins: u64,
1804 pub ri_wired_size: u64,
1805 pub ri_resident_size: u64,
1806 pub ri_phys_footprint: u64,
1807 pub ri_proc_start_abstime: u64,
1808 pub ri_proc_exit_abstime: u64,
1809 pub ri_child_user_time: u64,
1810 pub ri_child_system_time: u64,
1811 pub ri_child_pkg_idle_wkups: u64,
1812 pub ri_child_interrupt_wkups: u64,
1813 pub ri_child_pageins: u64,
1814 pub ri_child_elapsed_abstime: u64,
1815 pub ri_diskio_bytesread: u64,
1816 pub ri_diskio_byteswritten: u64,
1817}
1818const _: () = {
1819 ["Size of rusage_info_v2"][::std::mem::size_of::<rusage_info_v2>() - 160usize];
1820 ["Alignment of rusage_info_v2"][::std::mem::align_of::<rusage_info_v2>() - 8usize];
1821 ["Offset of field: rusage_info_v2::ri_uuid"]
1822 [::std::mem::offset_of!(rusage_info_v2, ri_uuid) - 0usize];
1823 ["Offset of field: rusage_info_v2::ri_user_time"]
1824 [::std::mem::offset_of!(rusage_info_v2, ri_user_time) - 16usize];
1825 ["Offset of field: rusage_info_v2::ri_system_time"]
1826 [::std::mem::offset_of!(rusage_info_v2, ri_system_time) - 24usize];
1827 ["Offset of field: rusage_info_v2::ri_pkg_idle_wkups"]
1828 [::std::mem::offset_of!(rusage_info_v2, ri_pkg_idle_wkups) - 32usize];
1829 ["Offset of field: rusage_info_v2::ri_interrupt_wkups"]
1830 [::std::mem::offset_of!(rusage_info_v2, ri_interrupt_wkups) - 40usize];
1831 ["Offset of field: rusage_info_v2::ri_pageins"]
1832 [::std::mem::offset_of!(rusage_info_v2, ri_pageins) - 48usize];
1833 ["Offset of field: rusage_info_v2::ri_wired_size"]
1834 [::std::mem::offset_of!(rusage_info_v2, ri_wired_size) - 56usize];
1835 ["Offset of field: rusage_info_v2::ri_resident_size"]
1836 [::std::mem::offset_of!(rusage_info_v2, ri_resident_size) - 64usize];
1837 ["Offset of field: rusage_info_v2::ri_phys_footprint"]
1838 [::std::mem::offset_of!(rusage_info_v2, ri_phys_footprint) - 72usize];
1839 ["Offset of field: rusage_info_v2::ri_proc_start_abstime"]
1840 [::std::mem::offset_of!(rusage_info_v2, ri_proc_start_abstime) - 80usize];
1841 ["Offset of field: rusage_info_v2::ri_proc_exit_abstime"]
1842 [::std::mem::offset_of!(rusage_info_v2, ri_proc_exit_abstime) - 88usize];
1843 ["Offset of field: rusage_info_v2::ri_child_user_time"]
1844 [::std::mem::offset_of!(rusage_info_v2, ri_child_user_time) - 96usize];
1845 ["Offset of field: rusage_info_v2::ri_child_system_time"]
1846 [::std::mem::offset_of!(rusage_info_v2, ri_child_system_time) - 104usize];
1847 ["Offset of field: rusage_info_v2::ri_child_pkg_idle_wkups"]
1848 [::std::mem::offset_of!(rusage_info_v2, ri_child_pkg_idle_wkups) - 112usize];
1849 ["Offset of field: rusage_info_v2::ri_child_interrupt_wkups"]
1850 [::std::mem::offset_of!(rusage_info_v2, ri_child_interrupt_wkups) - 120usize];
1851 ["Offset of field: rusage_info_v2::ri_child_pageins"]
1852 [::std::mem::offset_of!(rusage_info_v2, ri_child_pageins) - 128usize];
1853 ["Offset of field: rusage_info_v2::ri_child_elapsed_abstime"]
1854 [::std::mem::offset_of!(rusage_info_v2, ri_child_elapsed_abstime) - 136usize];
1855 ["Offset of field: rusage_info_v2::ri_diskio_bytesread"]
1856 [::std::mem::offset_of!(rusage_info_v2, ri_diskio_bytesread) - 144usize];
1857 ["Offset of field: rusage_info_v2::ri_diskio_byteswritten"]
1858 [::std::mem::offset_of!(rusage_info_v2, ri_diskio_byteswritten) - 152usize];
1859};
1860#[repr(C)]
1861#[derive(Debug, Copy, Clone)]
1862pub struct rusage_info_v3 {
1863 pub ri_uuid: [u8; 16usize],
1864 pub ri_user_time: u64,
1865 pub ri_system_time: u64,
1866 pub ri_pkg_idle_wkups: u64,
1867 pub ri_interrupt_wkups: u64,
1868 pub ri_pageins: u64,
1869 pub ri_wired_size: u64,
1870 pub ri_resident_size: u64,
1871 pub ri_phys_footprint: u64,
1872 pub ri_proc_start_abstime: u64,
1873 pub ri_proc_exit_abstime: u64,
1874 pub ri_child_user_time: u64,
1875 pub ri_child_system_time: u64,
1876 pub ri_child_pkg_idle_wkups: u64,
1877 pub ri_child_interrupt_wkups: u64,
1878 pub ri_child_pageins: u64,
1879 pub ri_child_elapsed_abstime: u64,
1880 pub ri_diskio_bytesread: u64,
1881 pub ri_diskio_byteswritten: u64,
1882 pub ri_cpu_time_qos_default: u64,
1883 pub ri_cpu_time_qos_maintenance: u64,
1884 pub ri_cpu_time_qos_background: u64,
1885 pub ri_cpu_time_qos_utility: u64,
1886 pub ri_cpu_time_qos_legacy: u64,
1887 pub ri_cpu_time_qos_user_initiated: u64,
1888 pub ri_cpu_time_qos_user_interactive: u64,
1889 pub ri_billed_system_time: u64,
1890 pub ri_serviced_system_time: u64,
1891}
1892const _: () = {
1893 ["Size of rusage_info_v3"][::std::mem::size_of::<rusage_info_v3>() - 232usize];
1894 ["Alignment of rusage_info_v3"][::std::mem::align_of::<rusage_info_v3>() - 8usize];
1895 ["Offset of field: rusage_info_v3::ri_uuid"]
1896 [::std::mem::offset_of!(rusage_info_v3, ri_uuid) - 0usize];
1897 ["Offset of field: rusage_info_v3::ri_user_time"]
1898 [::std::mem::offset_of!(rusage_info_v3, ri_user_time) - 16usize];
1899 ["Offset of field: rusage_info_v3::ri_system_time"]
1900 [::std::mem::offset_of!(rusage_info_v3, ri_system_time) - 24usize];
1901 ["Offset of field: rusage_info_v3::ri_pkg_idle_wkups"]
1902 [::std::mem::offset_of!(rusage_info_v3, ri_pkg_idle_wkups) - 32usize];
1903 ["Offset of field: rusage_info_v3::ri_interrupt_wkups"]
1904 [::std::mem::offset_of!(rusage_info_v3, ri_interrupt_wkups) - 40usize];
1905 ["Offset of field: rusage_info_v3::ri_pageins"]
1906 [::std::mem::offset_of!(rusage_info_v3, ri_pageins) - 48usize];
1907 ["Offset of field: rusage_info_v3::ri_wired_size"]
1908 [::std::mem::offset_of!(rusage_info_v3, ri_wired_size) - 56usize];
1909 ["Offset of field: rusage_info_v3::ri_resident_size"]
1910 [::std::mem::offset_of!(rusage_info_v3, ri_resident_size) - 64usize];
1911 ["Offset of field: rusage_info_v3::ri_phys_footprint"]
1912 [::std::mem::offset_of!(rusage_info_v3, ri_phys_footprint) - 72usize];
1913 ["Offset of field: rusage_info_v3::ri_proc_start_abstime"]
1914 [::std::mem::offset_of!(rusage_info_v3, ri_proc_start_abstime) - 80usize];
1915 ["Offset of field: rusage_info_v3::ri_proc_exit_abstime"]
1916 [::std::mem::offset_of!(rusage_info_v3, ri_proc_exit_abstime) - 88usize];
1917 ["Offset of field: rusage_info_v3::ri_child_user_time"]
1918 [::std::mem::offset_of!(rusage_info_v3, ri_child_user_time) - 96usize];
1919 ["Offset of field: rusage_info_v3::ri_child_system_time"]
1920 [::std::mem::offset_of!(rusage_info_v3, ri_child_system_time) - 104usize];
1921 ["Offset of field: rusage_info_v3::ri_child_pkg_idle_wkups"]
1922 [::std::mem::offset_of!(rusage_info_v3, ri_child_pkg_idle_wkups) - 112usize];
1923 ["Offset of field: rusage_info_v3::ri_child_interrupt_wkups"]
1924 [::std::mem::offset_of!(rusage_info_v3, ri_child_interrupt_wkups) - 120usize];
1925 ["Offset of field: rusage_info_v3::ri_child_pageins"]
1926 [::std::mem::offset_of!(rusage_info_v3, ri_child_pageins) - 128usize];
1927 ["Offset of field: rusage_info_v3::ri_child_elapsed_abstime"]
1928 [::std::mem::offset_of!(rusage_info_v3, ri_child_elapsed_abstime) - 136usize];
1929 ["Offset of field: rusage_info_v3::ri_diskio_bytesread"]
1930 [::std::mem::offset_of!(rusage_info_v3, ri_diskio_bytesread) - 144usize];
1931 ["Offset of field: rusage_info_v3::ri_diskio_byteswritten"]
1932 [::std::mem::offset_of!(rusage_info_v3, ri_diskio_byteswritten) - 152usize];
1933 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_default"]
1934 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_default) - 160usize];
1935 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_maintenance"]
1936 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_maintenance) - 168usize];
1937 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_background"]
1938 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_background) - 176usize];
1939 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_utility"]
1940 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_utility) - 184usize];
1941 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_legacy"]
1942 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_legacy) - 192usize];
1943 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_user_initiated"]
1944 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_user_initiated) - 200usize];
1945 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_user_interactive"]
1946 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_user_interactive) - 208usize];
1947 ["Offset of field: rusage_info_v3::ri_billed_system_time"]
1948 [::std::mem::offset_of!(rusage_info_v3, ri_billed_system_time) - 216usize];
1949 ["Offset of field: rusage_info_v3::ri_serviced_system_time"]
1950 [::std::mem::offset_of!(rusage_info_v3, ri_serviced_system_time) - 224usize];
1951};
1952#[repr(C)]
1953#[derive(Debug, Copy, Clone)]
1954pub struct rusage_info_v4 {
1955 pub ri_uuid: [u8; 16usize],
1956 pub ri_user_time: u64,
1957 pub ri_system_time: u64,
1958 pub ri_pkg_idle_wkups: u64,
1959 pub ri_interrupt_wkups: u64,
1960 pub ri_pageins: u64,
1961 pub ri_wired_size: u64,
1962 pub ri_resident_size: u64,
1963 pub ri_phys_footprint: u64,
1964 pub ri_proc_start_abstime: u64,
1965 pub ri_proc_exit_abstime: u64,
1966 pub ri_child_user_time: u64,
1967 pub ri_child_system_time: u64,
1968 pub ri_child_pkg_idle_wkups: u64,
1969 pub ri_child_interrupt_wkups: u64,
1970 pub ri_child_pageins: u64,
1971 pub ri_child_elapsed_abstime: u64,
1972 pub ri_diskio_bytesread: u64,
1973 pub ri_diskio_byteswritten: u64,
1974 pub ri_cpu_time_qos_default: u64,
1975 pub ri_cpu_time_qos_maintenance: u64,
1976 pub ri_cpu_time_qos_background: u64,
1977 pub ri_cpu_time_qos_utility: u64,
1978 pub ri_cpu_time_qos_legacy: u64,
1979 pub ri_cpu_time_qos_user_initiated: u64,
1980 pub ri_cpu_time_qos_user_interactive: u64,
1981 pub ri_billed_system_time: u64,
1982 pub ri_serviced_system_time: u64,
1983 pub ri_logical_writes: u64,
1984 pub ri_lifetime_max_phys_footprint: u64,
1985 pub ri_instructions: u64,
1986 pub ri_cycles: u64,
1987 pub ri_billed_energy: u64,
1988 pub ri_serviced_energy: u64,
1989 pub ri_interval_max_phys_footprint: u64,
1990 pub ri_runnable_time: u64,
1991}
1992const _: () = {
1993 ["Size of rusage_info_v4"][::std::mem::size_of::<rusage_info_v4>() - 296usize];
1994 ["Alignment of rusage_info_v4"][::std::mem::align_of::<rusage_info_v4>() - 8usize];
1995 ["Offset of field: rusage_info_v4::ri_uuid"]
1996 [::std::mem::offset_of!(rusage_info_v4, ri_uuid) - 0usize];
1997 ["Offset of field: rusage_info_v4::ri_user_time"]
1998 [::std::mem::offset_of!(rusage_info_v4, ri_user_time) - 16usize];
1999 ["Offset of field: rusage_info_v4::ri_system_time"]
2000 [::std::mem::offset_of!(rusage_info_v4, ri_system_time) - 24usize];
2001 ["Offset of field: rusage_info_v4::ri_pkg_idle_wkups"]
2002 [::std::mem::offset_of!(rusage_info_v4, ri_pkg_idle_wkups) - 32usize];
2003 ["Offset of field: rusage_info_v4::ri_interrupt_wkups"]
2004 [::std::mem::offset_of!(rusage_info_v4, ri_interrupt_wkups) - 40usize];
2005 ["Offset of field: rusage_info_v4::ri_pageins"]
2006 [::std::mem::offset_of!(rusage_info_v4, ri_pageins) - 48usize];
2007 ["Offset of field: rusage_info_v4::ri_wired_size"]
2008 [::std::mem::offset_of!(rusage_info_v4, ri_wired_size) - 56usize];
2009 ["Offset of field: rusage_info_v4::ri_resident_size"]
2010 [::std::mem::offset_of!(rusage_info_v4, ri_resident_size) - 64usize];
2011 ["Offset of field: rusage_info_v4::ri_phys_footprint"]
2012 [::std::mem::offset_of!(rusage_info_v4, ri_phys_footprint) - 72usize];
2013 ["Offset of field: rusage_info_v4::ri_proc_start_abstime"]
2014 [::std::mem::offset_of!(rusage_info_v4, ri_proc_start_abstime) - 80usize];
2015 ["Offset of field: rusage_info_v4::ri_proc_exit_abstime"]
2016 [::std::mem::offset_of!(rusage_info_v4, ri_proc_exit_abstime) - 88usize];
2017 ["Offset of field: rusage_info_v4::ri_child_user_time"]
2018 [::std::mem::offset_of!(rusage_info_v4, ri_child_user_time) - 96usize];
2019 ["Offset of field: rusage_info_v4::ri_child_system_time"]
2020 [::std::mem::offset_of!(rusage_info_v4, ri_child_system_time) - 104usize];
2021 ["Offset of field: rusage_info_v4::ri_child_pkg_idle_wkups"]
2022 [::std::mem::offset_of!(rusage_info_v4, ri_child_pkg_idle_wkups) - 112usize];
2023 ["Offset of field: rusage_info_v4::ri_child_interrupt_wkups"]
2024 [::std::mem::offset_of!(rusage_info_v4, ri_child_interrupt_wkups) - 120usize];
2025 ["Offset of field: rusage_info_v4::ri_child_pageins"]
2026 [::std::mem::offset_of!(rusage_info_v4, ri_child_pageins) - 128usize];
2027 ["Offset of field: rusage_info_v4::ri_child_elapsed_abstime"]
2028 [::std::mem::offset_of!(rusage_info_v4, ri_child_elapsed_abstime) - 136usize];
2029 ["Offset of field: rusage_info_v4::ri_diskio_bytesread"]
2030 [::std::mem::offset_of!(rusage_info_v4, ri_diskio_bytesread) - 144usize];
2031 ["Offset of field: rusage_info_v4::ri_diskio_byteswritten"]
2032 [::std::mem::offset_of!(rusage_info_v4, ri_diskio_byteswritten) - 152usize];
2033 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_default"]
2034 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_default) - 160usize];
2035 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_maintenance"]
2036 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_maintenance) - 168usize];
2037 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_background"]
2038 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_background) - 176usize];
2039 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_utility"]
2040 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_utility) - 184usize];
2041 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_legacy"]
2042 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_legacy) - 192usize];
2043 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_user_initiated"]
2044 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_user_initiated) - 200usize];
2045 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_user_interactive"]
2046 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_user_interactive) - 208usize];
2047 ["Offset of field: rusage_info_v4::ri_billed_system_time"]
2048 [::std::mem::offset_of!(rusage_info_v4, ri_billed_system_time) - 216usize];
2049 ["Offset of field: rusage_info_v4::ri_serviced_system_time"]
2050 [::std::mem::offset_of!(rusage_info_v4, ri_serviced_system_time) - 224usize];
2051 ["Offset of field: rusage_info_v4::ri_logical_writes"]
2052 [::std::mem::offset_of!(rusage_info_v4, ri_logical_writes) - 232usize];
2053 ["Offset of field: rusage_info_v4::ri_lifetime_max_phys_footprint"]
2054 [::std::mem::offset_of!(rusage_info_v4, ri_lifetime_max_phys_footprint) - 240usize];
2055 ["Offset of field: rusage_info_v4::ri_instructions"]
2056 [::std::mem::offset_of!(rusage_info_v4, ri_instructions) - 248usize];
2057 ["Offset of field: rusage_info_v4::ri_cycles"]
2058 [::std::mem::offset_of!(rusage_info_v4, ri_cycles) - 256usize];
2059 ["Offset of field: rusage_info_v4::ri_billed_energy"]
2060 [::std::mem::offset_of!(rusage_info_v4, ri_billed_energy) - 264usize];
2061 ["Offset of field: rusage_info_v4::ri_serviced_energy"]
2062 [::std::mem::offset_of!(rusage_info_v4, ri_serviced_energy) - 272usize];
2063 ["Offset of field: rusage_info_v4::ri_interval_max_phys_footprint"]
2064 [::std::mem::offset_of!(rusage_info_v4, ri_interval_max_phys_footprint) - 280usize];
2065 ["Offset of field: rusage_info_v4::ri_runnable_time"]
2066 [::std::mem::offset_of!(rusage_info_v4, ri_runnable_time) - 288usize];
2067};
2068#[repr(C)]
2069#[derive(Debug, Copy, Clone)]
2070pub struct rusage_info_v5 {
2071 pub ri_uuid: [u8; 16usize],
2072 pub ri_user_time: u64,
2073 pub ri_system_time: u64,
2074 pub ri_pkg_idle_wkups: u64,
2075 pub ri_interrupt_wkups: u64,
2076 pub ri_pageins: u64,
2077 pub ri_wired_size: u64,
2078 pub ri_resident_size: u64,
2079 pub ri_phys_footprint: u64,
2080 pub ri_proc_start_abstime: u64,
2081 pub ri_proc_exit_abstime: u64,
2082 pub ri_child_user_time: u64,
2083 pub ri_child_system_time: u64,
2084 pub ri_child_pkg_idle_wkups: u64,
2085 pub ri_child_interrupt_wkups: u64,
2086 pub ri_child_pageins: u64,
2087 pub ri_child_elapsed_abstime: u64,
2088 pub ri_diskio_bytesread: u64,
2089 pub ri_diskio_byteswritten: u64,
2090 pub ri_cpu_time_qos_default: u64,
2091 pub ri_cpu_time_qos_maintenance: u64,
2092 pub ri_cpu_time_qos_background: u64,
2093 pub ri_cpu_time_qos_utility: u64,
2094 pub ri_cpu_time_qos_legacy: u64,
2095 pub ri_cpu_time_qos_user_initiated: u64,
2096 pub ri_cpu_time_qos_user_interactive: u64,
2097 pub ri_billed_system_time: u64,
2098 pub ri_serviced_system_time: u64,
2099 pub ri_logical_writes: u64,
2100 pub ri_lifetime_max_phys_footprint: u64,
2101 pub ri_instructions: u64,
2102 pub ri_cycles: u64,
2103 pub ri_billed_energy: u64,
2104 pub ri_serviced_energy: u64,
2105 pub ri_interval_max_phys_footprint: u64,
2106 pub ri_runnable_time: u64,
2107 pub ri_flags: u64,
2108}
2109const _: () = {
2110 ["Size of rusage_info_v5"][::std::mem::size_of::<rusage_info_v5>() - 304usize];
2111 ["Alignment of rusage_info_v5"][::std::mem::align_of::<rusage_info_v5>() - 8usize];
2112 ["Offset of field: rusage_info_v5::ri_uuid"]
2113 [::std::mem::offset_of!(rusage_info_v5, ri_uuid) - 0usize];
2114 ["Offset of field: rusage_info_v5::ri_user_time"]
2115 [::std::mem::offset_of!(rusage_info_v5, ri_user_time) - 16usize];
2116 ["Offset of field: rusage_info_v5::ri_system_time"]
2117 [::std::mem::offset_of!(rusage_info_v5, ri_system_time) - 24usize];
2118 ["Offset of field: rusage_info_v5::ri_pkg_idle_wkups"]
2119 [::std::mem::offset_of!(rusage_info_v5, ri_pkg_idle_wkups) - 32usize];
2120 ["Offset of field: rusage_info_v5::ri_interrupt_wkups"]
2121 [::std::mem::offset_of!(rusage_info_v5, ri_interrupt_wkups) - 40usize];
2122 ["Offset of field: rusage_info_v5::ri_pageins"]
2123 [::std::mem::offset_of!(rusage_info_v5, ri_pageins) - 48usize];
2124 ["Offset of field: rusage_info_v5::ri_wired_size"]
2125 [::std::mem::offset_of!(rusage_info_v5, ri_wired_size) - 56usize];
2126 ["Offset of field: rusage_info_v5::ri_resident_size"]
2127 [::std::mem::offset_of!(rusage_info_v5, ri_resident_size) - 64usize];
2128 ["Offset of field: rusage_info_v5::ri_phys_footprint"]
2129 [::std::mem::offset_of!(rusage_info_v5, ri_phys_footprint) - 72usize];
2130 ["Offset of field: rusage_info_v5::ri_proc_start_abstime"]
2131 [::std::mem::offset_of!(rusage_info_v5, ri_proc_start_abstime) - 80usize];
2132 ["Offset of field: rusage_info_v5::ri_proc_exit_abstime"]
2133 [::std::mem::offset_of!(rusage_info_v5, ri_proc_exit_abstime) - 88usize];
2134 ["Offset of field: rusage_info_v5::ri_child_user_time"]
2135 [::std::mem::offset_of!(rusage_info_v5, ri_child_user_time) - 96usize];
2136 ["Offset of field: rusage_info_v5::ri_child_system_time"]
2137 [::std::mem::offset_of!(rusage_info_v5, ri_child_system_time) - 104usize];
2138 ["Offset of field: rusage_info_v5::ri_child_pkg_idle_wkups"]
2139 [::std::mem::offset_of!(rusage_info_v5, ri_child_pkg_idle_wkups) - 112usize];
2140 ["Offset of field: rusage_info_v5::ri_child_interrupt_wkups"]
2141 [::std::mem::offset_of!(rusage_info_v5, ri_child_interrupt_wkups) - 120usize];
2142 ["Offset of field: rusage_info_v5::ri_child_pageins"]
2143 [::std::mem::offset_of!(rusage_info_v5, ri_child_pageins) - 128usize];
2144 ["Offset of field: rusage_info_v5::ri_child_elapsed_abstime"]
2145 [::std::mem::offset_of!(rusage_info_v5, ri_child_elapsed_abstime) - 136usize];
2146 ["Offset of field: rusage_info_v5::ri_diskio_bytesread"]
2147 [::std::mem::offset_of!(rusage_info_v5, ri_diskio_bytesread) - 144usize];
2148 ["Offset of field: rusage_info_v5::ri_diskio_byteswritten"]
2149 [::std::mem::offset_of!(rusage_info_v5, ri_diskio_byteswritten) - 152usize];
2150 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_default"]
2151 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_default) - 160usize];
2152 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_maintenance"]
2153 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_maintenance) - 168usize];
2154 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_background"]
2155 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_background) - 176usize];
2156 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_utility"]
2157 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_utility) - 184usize];
2158 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_legacy"]
2159 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_legacy) - 192usize];
2160 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_user_initiated"]
2161 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_user_initiated) - 200usize];
2162 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_user_interactive"]
2163 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_user_interactive) - 208usize];
2164 ["Offset of field: rusage_info_v5::ri_billed_system_time"]
2165 [::std::mem::offset_of!(rusage_info_v5, ri_billed_system_time) - 216usize];
2166 ["Offset of field: rusage_info_v5::ri_serviced_system_time"]
2167 [::std::mem::offset_of!(rusage_info_v5, ri_serviced_system_time) - 224usize];
2168 ["Offset of field: rusage_info_v5::ri_logical_writes"]
2169 [::std::mem::offset_of!(rusage_info_v5, ri_logical_writes) - 232usize];
2170 ["Offset of field: rusage_info_v5::ri_lifetime_max_phys_footprint"]
2171 [::std::mem::offset_of!(rusage_info_v5, ri_lifetime_max_phys_footprint) - 240usize];
2172 ["Offset of field: rusage_info_v5::ri_instructions"]
2173 [::std::mem::offset_of!(rusage_info_v5, ri_instructions) - 248usize];
2174 ["Offset of field: rusage_info_v5::ri_cycles"]
2175 [::std::mem::offset_of!(rusage_info_v5, ri_cycles) - 256usize];
2176 ["Offset of field: rusage_info_v5::ri_billed_energy"]
2177 [::std::mem::offset_of!(rusage_info_v5, ri_billed_energy) - 264usize];
2178 ["Offset of field: rusage_info_v5::ri_serviced_energy"]
2179 [::std::mem::offset_of!(rusage_info_v5, ri_serviced_energy) - 272usize];
2180 ["Offset of field: rusage_info_v5::ri_interval_max_phys_footprint"]
2181 [::std::mem::offset_of!(rusage_info_v5, ri_interval_max_phys_footprint) - 280usize];
2182 ["Offset of field: rusage_info_v5::ri_runnable_time"]
2183 [::std::mem::offset_of!(rusage_info_v5, ri_runnable_time) - 288usize];
2184 ["Offset of field: rusage_info_v5::ri_flags"]
2185 [::std::mem::offset_of!(rusage_info_v5, ri_flags) - 296usize];
2186};
2187#[repr(C)]
2188#[derive(Debug, Copy, Clone)]
2189pub struct rusage_info_v6 {
2190 pub ri_uuid: [u8; 16usize],
2191 pub ri_user_time: u64,
2192 pub ri_system_time: u64,
2193 pub ri_pkg_idle_wkups: u64,
2194 pub ri_interrupt_wkups: u64,
2195 pub ri_pageins: u64,
2196 pub ri_wired_size: u64,
2197 pub ri_resident_size: u64,
2198 pub ri_phys_footprint: u64,
2199 pub ri_proc_start_abstime: u64,
2200 pub ri_proc_exit_abstime: u64,
2201 pub ri_child_user_time: u64,
2202 pub ri_child_system_time: u64,
2203 pub ri_child_pkg_idle_wkups: u64,
2204 pub ri_child_interrupt_wkups: u64,
2205 pub ri_child_pageins: u64,
2206 pub ri_child_elapsed_abstime: u64,
2207 pub ri_diskio_bytesread: u64,
2208 pub ri_diskio_byteswritten: u64,
2209 pub ri_cpu_time_qos_default: u64,
2210 pub ri_cpu_time_qos_maintenance: u64,
2211 pub ri_cpu_time_qos_background: u64,
2212 pub ri_cpu_time_qos_utility: u64,
2213 pub ri_cpu_time_qos_legacy: u64,
2214 pub ri_cpu_time_qos_user_initiated: u64,
2215 pub ri_cpu_time_qos_user_interactive: u64,
2216 pub ri_billed_system_time: u64,
2217 pub ri_serviced_system_time: u64,
2218 pub ri_logical_writes: u64,
2219 pub ri_lifetime_max_phys_footprint: u64,
2220 pub ri_instructions: u64,
2221 pub ri_cycles: u64,
2222 pub ri_billed_energy: u64,
2223 pub ri_serviced_energy: u64,
2224 pub ri_interval_max_phys_footprint: u64,
2225 pub ri_runnable_time: u64,
2226 pub ri_flags: u64,
2227 pub ri_user_ptime: u64,
2228 pub ri_system_ptime: u64,
2229 pub ri_pinstructions: u64,
2230 pub ri_pcycles: u64,
2231 pub ri_energy_nj: u64,
2232 pub ri_penergy_nj: u64,
2233 pub ri_secure_time_in_system: u64,
2234 pub ri_secure_ptime_in_system: u64,
2235 pub ri_neural_footprint: u64,
2236 pub ri_lifetime_max_neural_footprint: u64,
2237 pub ri_interval_max_neural_footprint: u64,
2238 pub ri_reserved: [u64; 9usize],
2239}
2240const _: () = {
2241 ["Size of rusage_info_v6"][::std::mem::size_of::<rusage_info_v6>() - 464usize];
2242 ["Alignment of rusage_info_v6"][::std::mem::align_of::<rusage_info_v6>() - 8usize];
2243 ["Offset of field: rusage_info_v6::ri_uuid"]
2244 [::std::mem::offset_of!(rusage_info_v6, ri_uuid) - 0usize];
2245 ["Offset of field: rusage_info_v6::ri_user_time"]
2246 [::std::mem::offset_of!(rusage_info_v6, ri_user_time) - 16usize];
2247 ["Offset of field: rusage_info_v6::ri_system_time"]
2248 [::std::mem::offset_of!(rusage_info_v6, ri_system_time) - 24usize];
2249 ["Offset of field: rusage_info_v6::ri_pkg_idle_wkups"]
2250 [::std::mem::offset_of!(rusage_info_v6, ri_pkg_idle_wkups) - 32usize];
2251 ["Offset of field: rusage_info_v6::ri_interrupt_wkups"]
2252 [::std::mem::offset_of!(rusage_info_v6, ri_interrupt_wkups) - 40usize];
2253 ["Offset of field: rusage_info_v6::ri_pageins"]
2254 [::std::mem::offset_of!(rusage_info_v6, ri_pageins) - 48usize];
2255 ["Offset of field: rusage_info_v6::ri_wired_size"]
2256 [::std::mem::offset_of!(rusage_info_v6, ri_wired_size) - 56usize];
2257 ["Offset of field: rusage_info_v6::ri_resident_size"]
2258 [::std::mem::offset_of!(rusage_info_v6, ri_resident_size) - 64usize];
2259 ["Offset of field: rusage_info_v6::ri_phys_footprint"]
2260 [::std::mem::offset_of!(rusage_info_v6, ri_phys_footprint) - 72usize];
2261 ["Offset of field: rusage_info_v6::ri_proc_start_abstime"]
2262 [::std::mem::offset_of!(rusage_info_v6, ri_proc_start_abstime) - 80usize];
2263 ["Offset of field: rusage_info_v6::ri_proc_exit_abstime"]
2264 [::std::mem::offset_of!(rusage_info_v6, ri_proc_exit_abstime) - 88usize];
2265 ["Offset of field: rusage_info_v6::ri_child_user_time"]
2266 [::std::mem::offset_of!(rusage_info_v6, ri_child_user_time) - 96usize];
2267 ["Offset of field: rusage_info_v6::ri_child_system_time"]
2268 [::std::mem::offset_of!(rusage_info_v6, ri_child_system_time) - 104usize];
2269 ["Offset of field: rusage_info_v6::ri_child_pkg_idle_wkups"]
2270 [::std::mem::offset_of!(rusage_info_v6, ri_child_pkg_idle_wkups) - 112usize];
2271 ["Offset of field: rusage_info_v6::ri_child_interrupt_wkups"]
2272 [::std::mem::offset_of!(rusage_info_v6, ri_child_interrupt_wkups) - 120usize];
2273 ["Offset of field: rusage_info_v6::ri_child_pageins"]
2274 [::std::mem::offset_of!(rusage_info_v6, ri_child_pageins) - 128usize];
2275 ["Offset of field: rusage_info_v6::ri_child_elapsed_abstime"]
2276 [::std::mem::offset_of!(rusage_info_v6, ri_child_elapsed_abstime) - 136usize];
2277 ["Offset of field: rusage_info_v6::ri_diskio_bytesread"]
2278 [::std::mem::offset_of!(rusage_info_v6, ri_diskio_bytesread) - 144usize];
2279 ["Offset of field: rusage_info_v6::ri_diskio_byteswritten"]
2280 [::std::mem::offset_of!(rusage_info_v6, ri_diskio_byteswritten) - 152usize];
2281 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_default"]
2282 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_default) - 160usize];
2283 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_maintenance"]
2284 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_maintenance) - 168usize];
2285 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_background"]
2286 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_background) - 176usize];
2287 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_utility"]
2288 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_utility) - 184usize];
2289 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_legacy"]
2290 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_legacy) - 192usize];
2291 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_user_initiated"]
2292 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_user_initiated) - 200usize];
2293 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_user_interactive"]
2294 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_user_interactive) - 208usize];
2295 ["Offset of field: rusage_info_v6::ri_billed_system_time"]
2296 [::std::mem::offset_of!(rusage_info_v6, ri_billed_system_time) - 216usize];
2297 ["Offset of field: rusage_info_v6::ri_serviced_system_time"]
2298 [::std::mem::offset_of!(rusage_info_v6, ri_serviced_system_time) - 224usize];
2299 ["Offset of field: rusage_info_v6::ri_logical_writes"]
2300 [::std::mem::offset_of!(rusage_info_v6, ri_logical_writes) - 232usize];
2301 ["Offset of field: rusage_info_v6::ri_lifetime_max_phys_footprint"]
2302 [::std::mem::offset_of!(rusage_info_v6, ri_lifetime_max_phys_footprint) - 240usize];
2303 ["Offset of field: rusage_info_v6::ri_instructions"]
2304 [::std::mem::offset_of!(rusage_info_v6, ri_instructions) - 248usize];
2305 ["Offset of field: rusage_info_v6::ri_cycles"]
2306 [::std::mem::offset_of!(rusage_info_v6, ri_cycles) - 256usize];
2307 ["Offset of field: rusage_info_v6::ri_billed_energy"]
2308 [::std::mem::offset_of!(rusage_info_v6, ri_billed_energy) - 264usize];
2309 ["Offset of field: rusage_info_v6::ri_serviced_energy"]
2310 [::std::mem::offset_of!(rusage_info_v6, ri_serviced_energy) - 272usize];
2311 ["Offset of field: rusage_info_v6::ri_interval_max_phys_footprint"]
2312 [::std::mem::offset_of!(rusage_info_v6, ri_interval_max_phys_footprint) - 280usize];
2313 ["Offset of field: rusage_info_v6::ri_runnable_time"]
2314 [::std::mem::offset_of!(rusage_info_v6, ri_runnable_time) - 288usize];
2315 ["Offset of field: rusage_info_v6::ri_flags"]
2316 [::std::mem::offset_of!(rusage_info_v6, ri_flags) - 296usize];
2317 ["Offset of field: rusage_info_v6::ri_user_ptime"]
2318 [::std::mem::offset_of!(rusage_info_v6, ri_user_ptime) - 304usize];
2319 ["Offset of field: rusage_info_v6::ri_system_ptime"]
2320 [::std::mem::offset_of!(rusage_info_v6, ri_system_ptime) - 312usize];
2321 ["Offset of field: rusage_info_v6::ri_pinstructions"]
2322 [::std::mem::offset_of!(rusage_info_v6, ri_pinstructions) - 320usize];
2323 ["Offset of field: rusage_info_v6::ri_pcycles"]
2324 [::std::mem::offset_of!(rusage_info_v6, ri_pcycles) - 328usize];
2325 ["Offset of field: rusage_info_v6::ri_energy_nj"]
2326 [::std::mem::offset_of!(rusage_info_v6, ri_energy_nj) - 336usize];
2327 ["Offset of field: rusage_info_v6::ri_penergy_nj"]
2328 [::std::mem::offset_of!(rusage_info_v6, ri_penergy_nj) - 344usize];
2329 ["Offset of field: rusage_info_v6::ri_secure_time_in_system"]
2330 [::std::mem::offset_of!(rusage_info_v6, ri_secure_time_in_system) - 352usize];
2331 ["Offset of field: rusage_info_v6::ri_secure_ptime_in_system"]
2332 [::std::mem::offset_of!(rusage_info_v6, ri_secure_ptime_in_system) - 360usize];
2333 ["Offset of field: rusage_info_v6::ri_neural_footprint"]
2334 [::std::mem::offset_of!(rusage_info_v6, ri_neural_footprint) - 368usize];
2335 ["Offset of field: rusage_info_v6::ri_lifetime_max_neural_footprint"]
2336 [::std::mem::offset_of!(rusage_info_v6, ri_lifetime_max_neural_footprint) - 376usize];
2337 ["Offset of field: rusage_info_v6::ri_interval_max_neural_footprint"]
2338 [::std::mem::offset_of!(rusage_info_v6, ri_interval_max_neural_footprint) - 384usize];
2339 ["Offset of field: rusage_info_v6::ri_reserved"]
2340 [::std::mem::offset_of!(rusage_info_v6, ri_reserved) - 392usize];
2341};
2342pub type rusage_info_current = rusage_info_v6;
2343#[repr(C)]
2344#[derive(Debug, Copy, Clone)]
2345pub struct rlimit {
2346 pub rlim_cur: rlim_t,
2347 pub rlim_max: rlim_t,
2348}
2349const _: () = {
2350 ["Size of rlimit"][::std::mem::size_of::<rlimit>() - 16usize];
2351 ["Alignment of rlimit"][::std::mem::align_of::<rlimit>() - 8usize];
2352 ["Offset of field: rlimit::rlim_cur"][::std::mem::offset_of!(rlimit, rlim_cur) - 0usize];
2353 ["Offset of field: rlimit::rlim_max"][::std::mem::offset_of!(rlimit, rlim_max) - 8usize];
2354};
2355#[repr(C)]
2356#[derive(Debug, Copy, Clone)]
2357pub struct proc_rlimit_control_wakeupmon {
2358 pub wm_flags: u32,
2359 pub wm_rate: i32,
2360}
2361const _: () = {
2362 ["Size of proc_rlimit_control_wakeupmon"]
2363 [::std::mem::size_of::<proc_rlimit_control_wakeupmon>() - 8usize];
2364 ["Alignment of proc_rlimit_control_wakeupmon"]
2365 [::std::mem::align_of::<proc_rlimit_control_wakeupmon>() - 4usize];
2366 ["Offset of field: proc_rlimit_control_wakeupmon::wm_flags"]
2367 [::std::mem::offset_of!(proc_rlimit_control_wakeupmon, wm_flags) - 0usize];
2368 ["Offset of field: proc_rlimit_control_wakeupmon::wm_rate"]
2369 [::std::mem::offset_of!(proc_rlimit_control_wakeupmon, wm_rate) - 4usize];
2370};
2371extern "C" {
2372 pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int;
2373}
2374extern "C" {
2375 pub fn getiopolicy_np(
2376 arg1: ::std::os::raw::c_int,
2377 arg2: ::std::os::raw::c_int,
2378 ) -> ::std::os::raw::c_int;
2379}
2380extern "C" {
2381 pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int;
2382}
2383extern "C" {
2384 pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int;
2385}
2386extern "C" {
2387 pub fn setpriority(
2388 arg1: ::std::os::raw::c_int,
2389 arg2: id_t,
2390 arg3: ::std::os::raw::c_int,
2391 ) -> ::std::os::raw::c_int;
2392}
2393extern "C" {
2394 pub fn setiopolicy_np(
2395 arg1: ::std::os::raw::c_int,
2396 arg2: ::std::os::raw::c_int,
2397 arg3: ::std::os::raw::c_int,
2398 ) -> ::std::os::raw::c_int;
2399}
2400extern "C" {
2401 pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int;
2402}
2403#[repr(C)]
2404#[derive(Copy, Clone)]
2405pub union wait {
2406 pub w_status: ::std::os::raw::c_int,
2407 pub w_T: wait__bindgen_ty_1,
2408 pub w_S: wait__bindgen_ty_2,
2409}
2410#[repr(C)]
2411#[repr(align(4))]
2412#[derive(Debug, Copy, Clone)]
2413pub struct wait__bindgen_ty_1 {
2414 pub _bitfield_align_1: [u16; 0],
2415 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
2416}
2417const _: () = {
2418 ["Size of wait__bindgen_ty_1"][::std::mem::size_of::<wait__bindgen_ty_1>() - 4usize];
2419 ["Alignment of wait__bindgen_ty_1"][::std::mem::align_of::<wait__bindgen_ty_1>() - 4usize];
2420};
2421impl wait__bindgen_ty_1 {
2422 #[inline]
2423 pub fn w_Termsig(&self) -> ::std::os::raw::c_uint {
2424 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) }
2425 }
2426 #[inline]
2427 pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) {
2428 unsafe {
2429 let val: u32 = ::std::mem::transmute(val);
2430 self._bitfield_1.set(0usize, 7u8, val as u64)
2431 }
2432 }
2433 #[inline]
2434 pub fn w_Coredump(&self) -> ::std::os::raw::c_uint {
2435 unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
2436 }
2437 #[inline]
2438 pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) {
2439 unsafe {
2440 let val: u32 = ::std::mem::transmute(val);
2441 self._bitfield_1.set(7usize, 1u8, val as u64)
2442 }
2443 }
2444 #[inline]
2445 pub fn w_Retcode(&self) -> ::std::os::raw::c_uint {
2446 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) }
2447 }
2448 #[inline]
2449 pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) {
2450 unsafe {
2451 let val: u32 = ::std::mem::transmute(val);
2452 self._bitfield_1.set(8usize, 8u8, val as u64)
2453 }
2454 }
2455 #[inline]
2456 pub fn w_Filler(&self) -> ::std::os::raw::c_uint {
2457 unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) }
2458 }
2459 #[inline]
2460 pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) {
2461 unsafe {
2462 let val: u32 = ::std::mem::transmute(val);
2463 self._bitfield_1.set(16usize, 16u8, val as u64)
2464 }
2465 }
2466 #[inline]
2467 pub fn new_bitfield_1(
2468 w_Termsig: ::std::os::raw::c_uint,
2469 w_Coredump: ::std::os::raw::c_uint,
2470 w_Retcode: ::std::os::raw::c_uint,
2471 w_Filler: ::std::os::raw::c_uint,
2472 ) -> __BindgenBitfieldUnit<[u8; 4usize]> {
2473 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
2474 __bindgen_bitfield_unit.set(0usize, 7u8, {
2475 let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) };
2476 w_Termsig as u64
2477 });
2478 __bindgen_bitfield_unit.set(7usize, 1u8, {
2479 let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) };
2480 w_Coredump as u64
2481 });
2482 __bindgen_bitfield_unit.set(8usize, 8u8, {
2483 let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) };
2484 w_Retcode as u64
2485 });
2486 __bindgen_bitfield_unit.set(16usize, 16u8, {
2487 let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) };
2488 w_Filler as u64
2489 });
2490 __bindgen_bitfield_unit
2491 }
2492}
2493#[repr(C)]
2494#[repr(align(4))]
2495#[derive(Debug, Copy, Clone)]
2496pub struct wait__bindgen_ty_2 {
2497 pub _bitfield_align_1: [u16; 0],
2498 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
2499}
2500const _: () = {
2501 ["Size of wait__bindgen_ty_2"][::std::mem::size_of::<wait__bindgen_ty_2>() - 4usize];
2502 ["Alignment of wait__bindgen_ty_2"][::std::mem::align_of::<wait__bindgen_ty_2>() - 4usize];
2503};
2504impl wait__bindgen_ty_2 {
2505 #[inline]
2506 pub fn w_Stopval(&self) -> ::std::os::raw::c_uint {
2507 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) }
2508 }
2509 #[inline]
2510 pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) {
2511 unsafe {
2512 let val: u32 = ::std::mem::transmute(val);
2513 self._bitfield_1.set(0usize, 8u8, val as u64)
2514 }
2515 }
2516 #[inline]
2517 pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint {
2518 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) }
2519 }
2520 #[inline]
2521 pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) {
2522 unsafe {
2523 let val: u32 = ::std::mem::transmute(val);
2524 self._bitfield_1.set(8usize, 8u8, val as u64)
2525 }
2526 }
2527 #[inline]
2528 pub fn w_Filler(&self) -> ::std::os::raw::c_uint {
2529 unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) }
2530 }
2531 #[inline]
2532 pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) {
2533 unsafe {
2534 let val: u32 = ::std::mem::transmute(val);
2535 self._bitfield_1.set(16usize, 16u8, val as u64)
2536 }
2537 }
2538 #[inline]
2539 pub fn new_bitfield_1(
2540 w_Stopval: ::std::os::raw::c_uint,
2541 w_Stopsig: ::std::os::raw::c_uint,
2542 w_Filler: ::std::os::raw::c_uint,
2543 ) -> __BindgenBitfieldUnit<[u8; 4usize]> {
2544 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
2545 __bindgen_bitfield_unit.set(0usize, 8u8, {
2546 let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) };
2547 w_Stopval as u64
2548 });
2549 __bindgen_bitfield_unit.set(8usize, 8u8, {
2550 let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) };
2551 w_Stopsig as u64
2552 });
2553 __bindgen_bitfield_unit.set(16usize, 16u8, {
2554 let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) };
2555 w_Filler as u64
2556 });
2557 __bindgen_bitfield_unit
2558 }
2559}
2560const _: () = {
2561 ["Size of wait"][::std::mem::size_of::<wait>() - 4usize];
2562 ["Alignment of wait"][::std::mem::align_of::<wait>() - 4usize];
2563 ["Offset of field: wait::w_status"][::std::mem::offset_of!(wait, w_status) - 0usize];
2564 ["Offset of field: wait::w_T"][::std::mem::offset_of!(wait, w_T) - 0usize];
2565 ["Offset of field: wait::w_S"][::std::mem::offset_of!(wait, w_S) - 0usize];
2566};
2567extern "C" {
2568 pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t;
2569}
2570extern "C" {
2571 pub fn waitpid(
2572 arg1: pid_t,
2573 arg2: *mut ::std::os::raw::c_int,
2574 arg3: ::std::os::raw::c_int,
2575 ) -> pid_t;
2576}
2577extern "C" {
2578 pub fn waitid(
2579 arg1: idtype_t,
2580 arg2: id_t,
2581 arg3: *mut siginfo_t,
2582 arg4: ::std::os::raw::c_int,
2583 ) -> ::std::os::raw::c_int;
2584}
2585extern "C" {
2586 pub fn wait3(
2587 arg1: *mut ::std::os::raw::c_int,
2588 arg2: ::std::os::raw::c_int,
2589 arg3: *mut rusage,
2590 ) -> pid_t;
2591}
2592extern "C" {
2593 pub fn wait4(
2594 arg1: pid_t,
2595 arg2: *mut ::std::os::raw::c_int,
2596 arg3: ::std::os::raw::c_int,
2597 arg4: *mut rusage,
2598 ) -> pid_t;
2599}
2600extern "C" {
2601 pub fn alloca(arg1: usize) -> *mut ::std::os::raw::c_void;
2602}
2603pub type ct_rune_t = __darwin_ct_rune_t;
2604pub type rune_t = __darwin_rune_t;
2605#[repr(C)]
2606#[derive(Debug, Copy, Clone)]
2607pub struct div_t {
2608 pub quot: ::std::os::raw::c_int,
2609 pub rem: ::std::os::raw::c_int,
2610}
2611const _: () = {
2612 ["Size of div_t"][::std::mem::size_of::<div_t>() - 8usize];
2613 ["Alignment of div_t"][::std::mem::align_of::<div_t>() - 4usize];
2614 ["Offset of field: div_t::quot"][::std::mem::offset_of!(div_t, quot) - 0usize];
2615 ["Offset of field: div_t::rem"][::std::mem::offset_of!(div_t, rem) - 4usize];
2616};
2617#[repr(C)]
2618#[derive(Debug, Copy, Clone)]
2619pub struct ldiv_t {
2620 pub quot: ::std::os::raw::c_long,
2621 pub rem: ::std::os::raw::c_long,
2622}
2623const _: () = {
2624 ["Size of ldiv_t"][::std::mem::size_of::<ldiv_t>() - 16usize];
2625 ["Alignment of ldiv_t"][::std::mem::align_of::<ldiv_t>() - 8usize];
2626 ["Offset of field: ldiv_t::quot"][::std::mem::offset_of!(ldiv_t, quot) - 0usize];
2627 ["Offset of field: ldiv_t::rem"][::std::mem::offset_of!(ldiv_t, rem) - 8usize];
2628};
2629#[repr(C)]
2630#[derive(Debug, Copy, Clone)]
2631pub struct lldiv_t {
2632 pub quot: ::std::os::raw::c_longlong,
2633 pub rem: ::std::os::raw::c_longlong,
2634}
2635const _: () = {
2636 ["Size of lldiv_t"][::std::mem::size_of::<lldiv_t>() - 16usize];
2637 ["Alignment of lldiv_t"][::std::mem::align_of::<lldiv_t>() - 8usize];
2638 ["Offset of field: lldiv_t::quot"][::std::mem::offset_of!(lldiv_t, quot) - 0usize];
2639 ["Offset of field: lldiv_t::rem"][::std::mem::offset_of!(lldiv_t, rem) - 8usize];
2640};
2641extern "C" {
2642 pub static mut __mb_cur_max: ::std::os::raw::c_int;
2643}
2644pub type malloc_type_id_t = ::std::os::raw::c_ulonglong;
2645extern "C" {
2646 pub fn malloc_type_malloc(
2647 size: usize,
2648 type_id: malloc_type_id_t,
2649 ) -> *mut ::std::os::raw::c_void;
2650}
2651extern "C" {
2652 pub fn malloc_type_calloc(
2653 count: usize,
2654 size: usize,
2655 type_id: malloc_type_id_t,
2656 ) -> *mut ::std::os::raw::c_void;
2657}
2658extern "C" {
2659 pub fn malloc_type_free(ptr: *mut ::std::os::raw::c_void, type_id: malloc_type_id_t);
2660}
2661extern "C" {
2662 pub fn malloc_type_realloc(
2663 ptr: *mut ::std::os::raw::c_void,
2664 size: usize,
2665 type_id: malloc_type_id_t,
2666 ) -> *mut ::std::os::raw::c_void;
2667}
2668extern "C" {
2669 pub fn malloc_type_valloc(
2670 size: usize,
2671 type_id: malloc_type_id_t,
2672 ) -> *mut ::std::os::raw::c_void;
2673}
2674extern "C" {
2675 pub fn malloc_type_aligned_alloc(
2676 alignment: usize,
2677 size: usize,
2678 type_id: malloc_type_id_t,
2679 ) -> *mut ::std::os::raw::c_void;
2680}
2681extern "C" {
2682 pub fn malloc_type_posix_memalign(
2683 memptr: *mut *mut ::std::os::raw::c_void,
2684 alignment: usize,
2685 size: usize,
2686 type_id: malloc_type_id_t,
2687 ) -> ::std::os::raw::c_int;
2688}
2689#[repr(C)]
2690#[derive(Debug, Copy, Clone)]
2691pub struct _malloc_zone_t {
2692 _unused: [u8; 0],
2693}
2694pub type malloc_zone_t = _malloc_zone_t;
2695extern "C" {
2696 pub fn malloc_type_zone_malloc(
2697 zone: *mut malloc_zone_t,
2698 size: usize,
2699 type_id: malloc_type_id_t,
2700 ) -> *mut ::std::os::raw::c_void;
2701}
2702extern "C" {
2703 pub fn malloc_type_zone_calloc(
2704 zone: *mut malloc_zone_t,
2705 count: usize,
2706 size: usize,
2707 type_id: malloc_type_id_t,
2708 ) -> *mut ::std::os::raw::c_void;
2709}
2710extern "C" {
2711 pub fn malloc_type_zone_free(
2712 zone: *mut malloc_zone_t,
2713 ptr: *mut ::std::os::raw::c_void,
2714 type_id: malloc_type_id_t,
2715 );
2716}
2717extern "C" {
2718 pub fn malloc_type_zone_realloc(
2719 zone: *mut malloc_zone_t,
2720 ptr: *mut ::std::os::raw::c_void,
2721 size: usize,
2722 type_id: malloc_type_id_t,
2723 ) -> *mut ::std::os::raw::c_void;
2724}
2725extern "C" {
2726 pub fn malloc_type_zone_valloc(
2727 zone: *mut malloc_zone_t,
2728 size: usize,
2729 type_id: malloc_type_id_t,
2730 ) -> *mut ::std::os::raw::c_void;
2731}
2732extern "C" {
2733 pub fn malloc_type_zone_memalign(
2734 zone: *mut malloc_zone_t,
2735 alignment: usize,
2736 size: usize,
2737 type_id: malloc_type_id_t,
2738 ) -> *mut ::std::os::raw::c_void;
2739}
2740extern "C" {
2741 pub fn malloc(__size: usize) -> *mut ::std::os::raw::c_void;
2742}
2743extern "C" {
2744 pub fn calloc(__count: usize, __size: usize) -> *mut ::std::os::raw::c_void;
2745}
2746extern "C" {
2747 pub fn free(arg1: *mut ::std::os::raw::c_void);
2748}
2749extern "C" {
2750 pub fn realloc(
2751 __ptr: *mut ::std::os::raw::c_void,
2752 __size: usize,
2753 ) -> *mut ::std::os::raw::c_void;
2754}
2755extern "C" {
2756 pub fn reallocf(
2757 __ptr: *mut ::std::os::raw::c_void,
2758 __size: usize,
2759 ) -> *mut ::std::os::raw::c_void;
2760}
2761extern "C" {
2762 pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void;
2763}
2764extern "C" {
2765 pub fn aligned_alloc(__alignment: usize, __size: usize) -> *mut ::std::os::raw::c_void;
2766}
2767extern "C" {
2768 pub fn posix_memalign(
2769 __memptr: *mut *mut ::std::os::raw::c_void,
2770 __alignment: usize,
2771 __size: usize,
2772 ) -> ::std::os::raw::c_int;
2773}
2774extern "C" {
2775 pub fn abort() -> !;
2776}
2777extern "C" {
2778 pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2779}
2780extern "C" {
2781 pub fn atexit(arg1: ::std::option::Option<unsafe extern "C" fn()>) -> ::std::os::raw::c_int;
2782}
2783extern "C" {
2784 pub fn at_quick_exit(
2785 arg1: ::std::option::Option<unsafe extern "C" fn()>,
2786 ) -> ::std::os::raw::c_int;
2787}
2788extern "C" {
2789 pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64;
2790}
2791extern "C" {
2792 pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2793}
2794extern "C" {
2795 pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
2796}
2797extern "C" {
2798 pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong;
2799}
2800extern "C" {
2801 pub fn bsearch(
2802 __key: *const ::std::os::raw::c_void,
2803 __base: *const ::std::os::raw::c_void,
2804 __nel: usize,
2805 __width: usize,
2806 __compar: ::std::option::Option<
2807 unsafe extern "C" fn(
2808 arg1: *const ::std::os::raw::c_void,
2809 arg2: *const ::std::os::raw::c_void,
2810 ) -> ::std::os::raw::c_int,
2811 >,
2812 ) -> *mut ::std::os::raw::c_void;
2813}
2814extern "C" {
2815 pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t;
2816}
2817extern "C" {
2818 pub fn exit(arg1: ::std::os::raw::c_int) -> !;
2819}
2820extern "C" {
2821 pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2822}
2823extern "C" {
2824 pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long;
2825}
2826extern "C" {
2827 pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t;
2828}
2829extern "C" {
2830 pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong;
2831}
2832extern "C" {
2833 pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t;
2834}
2835extern "C" {
2836 pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int;
2837}
2838extern "C" {
2839 pub fn mbstowcs(arg1: *mut u32, arg2: *const ::std::os::raw::c_char, arg3: usize) -> usize;
2840}
2841extern "C" {
2842 pub fn mbtowc(
2843 arg1: *mut u32,
2844 arg2: *const ::std::os::raw::c_char,
2845 arg3: usize,
2846 ) -> ::std::os::raw::c_int;
2847}
2848extern "C" {
2849 pub fn qsort(
2850 __base: *mut ::std::os::raw::c_void,
2851 __nel: usize,
2852 __width: usize,
2853 __compar: ::std::option::Option<
2854 unsafe extern "C" fn(
2855 arg1: *const ::std::os::raw::c_void,
2856 arg2: *const ::std::os::raw::c_void,
2857 ) -> ::std::os::raw::c_int,
2858 >,
2859 );
2860}
2861extern "C" {
2862 pub fn quick_exit(arg1: ::std::os::raw::c_int) -> !;
2863}
2864extern "C" {
2865 pub fn rand() -> ::std::os::raw::c_int;
2866}
2867extern "C" {
2868 pub fn srand(arg1: ::std::os::raw::c_uint);
2869}
2870extern "C" {
2871 pub fn strtod(
2872 arg1: *const ::std::os::raw::c_char,
2873 arg2: *mut *mut ::std::os::raw::c_char,
2874 ) -> f64;
2875}
2876extern "C" {
2877 pub fn strtof(
2878 arg1: *const ::std::os::raw::c_char,
2879 arg2: *mut *mut ::std::os::raw::c_char,
2880 ) -> f32;
2881}
2882extern "C" {
2883 pub fn strtol(
2884 __str: *const ::std::os::raw::c_char,
2885 __endptr: *mut *mut ::std::os::raw::c_char,
2886 __base: ::std::os::raw::c_int,
2887 ) -> ::std::os::raw::c_long;
2888}
2889extern "C" {
2890 pub fn strtold(
2891 arg1: *const ::std::os::raw::c_char,
2892 arg2: *mut *mut ::std::os::raw::c_char,
2893 ) -> f64;
2894}
2895extern "C" {
2896 pub fn strtoll(
2897 __str: *const ::std::os::raw::c_char,
2898 __endptr: *mut *mut ::std::os::raw::c_char,
2899 __base: ::std::os::raw::c_int,
2900 ) -> ::std::os::raw::c_longlong;
2901}
2902extern "C" {
2903 pub fn strtoul(
2904 __str: *const ::std::os::raw::c_char,
2905 __endptr: *mut *mut ::std::os::raw::c_char,
2906 __base: ::std::os::raw::c_int,
2907 ) -> ::std::os::raw::c_ulong;
2908}
2909extern "C" {
2910 pub fn strtoull(
2911 __str: *const ::std::os::raw::c_char,
2912 __endptr: *mut *mut ::std::os::raw::c_char,
2913 __base: ::std::os::raw::c_int,
2914 ) -> ::std::os::raw::c_ulonglong;
2915}
2916extern "C" {
2917 pub fn system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2918}
2919extern "C" {
2920 pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const u32, arg3: usize) -> usize;
2921}
2922extern "C" {
2923 pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: u32) -> ::std::os::raw::c_int;
2924}
2925extern "C" {
2926 pub fn _Exit(arg1: ::std::os::raw::c_int) -> !;
2927}
2928extern "C" {
2929 pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
2930}
2931extern "C" {
2932 pub fn drand48() -> f64;
2933}
2934extern "C" {
2935 pub fn ecvt(
2936 arg1: f64,
2937 arg2: ::std::os::raw::c_int,
2938 arg3: *mut ::std::os::raw::c_int,
2939 arg4: *mut ::std::os::raw::c_int,
2940 ) -> *mut ::std::os::raw::c_char;
2941}
2942extern "C" {
2943 pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64;
2944}
2945extern "C" {
2946 pub fn fcvt(
2947 arg1: f64,
2948 arg2: ::std::os::raw::c_int,
2949 arg3: *mut ::std::os::raw::c_int,
2950 arg4: *mut ::std::os::raw::c_int,
2951 ) -> *mut ::std::os::raw::c_char;
2952}
2953extern "C" {
2954 pub fn gcvt(
2955 arg1: f64,
2956 arg2: ::std::os::raw::c_int,
2957 arg3: *mut ::std::os::raw::c_char,
2958 ) -> *mut ::std::os::raw::c_char;
2959}
2960extern "C" {
2961 pub fn getsubopt(
2962 arg1: *mut *mut ::std::os::raw::c_char,
2963 arg2: *const *mut ::std::os::raw::c_char,
2964 arg3: *mut *mut ::std::os::raw::c_char,
2965 ) -> ::std::os::raw::c_int;
2966}
2967extern "C" {
2968 pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2969}
2970extern "C" {
2971 pub fn initstate(
2972 arg1: ::std::os::raw::c_uint,
2973 arg2: *mut ::std::os::raw::c_char,
2974 arg3: usize,
2975 ) -> *mut ::std::os::raw::c_char;
2976}
2977extern "C" {
2978 pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
2979}
2980extern "C" {
2981 pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char;
2982}
2983extern "C" {
2984 pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort);
2985}
2986extern "C" {
2987 pub fn lrand48() -> ::std::os::raw::c_long;
2988}
2989extern "C" {
2990 pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2991}
2992extern "C" {
2993 pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2994}
2995extern "C" {
2996 pub fn mrand48() -> ::std::os::raw::c_long;
2997}
2998extern "C" {
2999 pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
3000}
3001extern "C" {
3002 pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3003}
3004extern "C" {
3005 pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
3006}
3007extern "C" {
3008 pub fn ptsname_r(
3009 fildes: ::std::os::raw::c_int,
3010 buffer: *mut ::std::os::raw::c_char,
3011 buflen: usize,
3012 ) -> ::std::os::raw::c_int;
3013}
3014extern "C" {
3015 pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3016}
3017extern "C" {
3018 pub fn random() -> ::std::os::raw::c_long;
3019}
3020extern "C" {
3021 pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
3022}
3023extern "C" {
3024 #[link_name = "\u{1}_realpath$DARWIN_EXTSN"]
3025 pub fn realpath(
3026 arg1: *const ::std::os::raw::c_char,
3027 arg2: *mut ::std::os::raw::c_char,
3028 ) -> *mut ::std::os::raw::c_char;
3029}
3030extern "C" {
3031 pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort;
3032}
3033extern "C" {
3034 pub fn setenv(
3035 __name: *const ::std::os::raw::c_char,
3036 __value: *const ::std::os::raw::c_char,
3037 __overwrite: ::std::os::raw::c_int,
3038 ) -> ::std::os::raw::c_int;
3039}
3040extern "C" {
3041 pub fn setkey(arg1: *const ::std::os::raw::c_char);
3042}
3043extern "C" {
3044 pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3045}
3046extern "C" {
3047 pub fn srand48(arg1: ::std::os::raw::c_long);
3048}
3049extern "C" {
3050 pub fn srandom(arg1: ::std::os::raw::c_uint);
3051}
3052extern "C" {
3053 pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3054}
3055extern "C" {
3056 pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3057}
3058pub type dev_t = __darwin_dev_t;
3059pub type mode_t = __darwin_mode_t;
3060extern "C" {
3061 pub fn arc4random() -> u32;
3062}
3063extern "C" {
3064 pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int);
3065}
3066extern "C" {
3067 pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: usize);
3068}
3069extern "C" {
3070 pub fn arc4random_stir();
3071}
3072extern "C" {
3073 pub fn arc4random_uniform(__upper_bound: u32) -> u32;
3074}
3075extern "C" {
3076 pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
3077}
3078extern "C" {
3079 pub fn bsearch_b(
3080 __key: *const ::std::os::raw::c_void,
3081 __base: *const ::std::os::raw::c_void,
3082 __nel: usize,
3083 __width: usize,
3084 __compar: *mut ::std::os::raw::c_void,
3085 ) -> *mut ::std::os::raw::c_void;
3086}
3087extern "C" {
3088 pub fn cgetcap(
3089 arg1: *mut ::std::os::raw::c_char,
3090 arg2: *const ::std::os::raw::c_char,
3091 arg3: ::std::os::raw::c_int,
3092 ) -> *mut ::std::os::raw::c_char;
3093}
3094extern "C" {
3095 pub fn cgetclose() -> ::std::os::raw::c_int;
3096}
3097extern "C" {
3098 pub fn cgetent(
3099 arg1: *mut *mut ::std::os::raw::c_char,
3100 arg2: *mut *mut ::std::os::raw::c_char,
3101 arg3: *const ::std::os::raw::c_char,
3102 ) -> ::std::os::raw::c_int;
3103}
3104extern "C" {
3105 pub fn cgetfirst(
3106 arg1: *mut *mut ::std::os::raw::c_char,
3107 arg2: *mut *mut ::std::os::raw::c_char,
3108 ) -> ::std::os::raw::c_int;
3109}
3110extern "C" {
3111 pub fn cgetmatch(
3112 arg1: *const ::std::os::raw::c_char,
3113 arg2: *const ::std::os::raw::c_char,
3114 ) -> ::std::os::raw::c_int;
3115}
3116extern "C" {
3117 pub fn cgetnext(
3118 arg1: *mut *mut ::std::os::raw::c_char,
3119 arg2: *mut *mut ::std::os::raw::c_char,
3120 ) -> ::std::os::raw::c_int;
3121}
3122extern "C" {
3123 pub fn cgetnum(
3124 arg1: *mut ::std::os::raw::c_char,
3125 arg2: *const ::std::os::raw::c_char,
3126 arg3: *mut ::std::os::raw::c_long,
3127 ) -> ::std::os::raw::c_int;
3128}
3129extern "C" {
3130 pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3131}
3132extern "C" {
3133 pub fn cgetstr(
3134 arg1: *mut ::std::os::raw::c_char,
3135 arg2: *const ::std::os::raw::c_char,
3136 arg3: *mut *mut ::std::os::raw::c_char,
3137 ) -> ::std::os::raw::c_int;
3138}
3139extern "C" {
3140 pub fn cgetustr(
3141 arg1: *mut ::std::os::raw::c_char,
3142 arg2: *const ::std::os::raw::c_char,
3143 arg3: *mut *mut ::std::os::raw::c_char,
3144 ) -> ::std::os::raw::c_int;
3145}
3146extern "C" {
3147 pub fn daemon(
3148 arg1: ::std::os::raw::c_int,
3149 arg2: ::std::os::raw::c_int,
3150 ) -> ::std::os::raw::c_int;
3151}
3152extern "C" {
3153 pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char;
3154}
3155extern "C" {
3156 pub fn devname_r(
3157 arg1: dev_t,
3158 arg2: mode_t,
3159 buf: *mut ::std::os::raw::c_char,
3160 len: ::std::os::raw::c_int,
3161 ) -> *mut ::std::os::raw::c_char;
3162}
3163extern "C" {
3164 pub fn getbsize(
3165 arg1: *mut ::std::os::raw::c_int,
3166 arg2: *mut ::std::os::raw::c_long,
3167 ) -> *mut ::std::os::raw::c_char;
3168}
3169extern "C" {
3170 pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3171}
3172extern "C" {
3173 pub fn getprogname() -> *const ::std::os::raw::c_char;
3174}
3175extern "C" {
3176 pub fn setprogname(arg1: *const ::std::os::raw::c_char);
3177}
3178extern "C" {
3179 pub fn heapsort(
3180 __base: *mut ::std::os::raw::c_void,
3181 __nel: usize,
3182 __width: usize,
3183 __compar: ::std::option::Option<
3184 unsafe extern "C" fn(
3185 arg1: *const ::std::os::raw::c_void,
3186 arg2: *const ::std::os::raw::c_void,
3187 ) -> ::std::os::raw::c_int,
3188 >,
3189 ) -> ::std::os::raw::c_int;
3190}
3191extern "C" {
3192 pub fn heapsort_b(
3193 __base: *mut ::std::os::raw::c_void,
3194 __nel: usize,
3195 __width: usize,
3196 __compar: *mut ::std::os::raw::c_void,
3197 ) -> ::std::os::raw::c_int;
3198}
3199extern "C" {
3200 pub fn mergesort(
3201 __base: *mut ::std::os::raw::c_void,
3202 __nel: usize,
3203 __width: usize,
3204 __compar: ::std::option::Option<
3205 unsafe extern "C" fn(
3206 arg1: *const ::std::os::raw::c_void,
3207 arg2: *const ::std::os::raw::c_void,
3208 ) -> ::std::os::raw::c_int,
3209 >,
3210 ) -> ::std::os::raw::c_int;
3211}
3212extern "C" {
3213 pub fn mergesort_b(
3214 __base: *mut ::std::os::raw::c_void,
3215 __nel: usize,
3216 __width: usize,
3217 __compar: *mut ::std::os::raw::c_void,
3218 ) -> ::std::os::raw::c_int;
3219}
3220extern "C" {
3221 pub fn psort(
3222 __base: *mut ::std::os::raw::c_void,
3223 __nel: usize,
3224 __width: usize,
3225 __compar: ::std::option::Option<
3226 unsafe extern "C" fn(
3227 arg1: *const ::std::os::raw::c_void,
3228 arg2: *const ::std::os::raw::c_void,
3229 ) -> ::std::os::raw::c_int,
3230 >,
3231 );
3232}
3233extern "C" {
3234 pub fn psort_b(
3235 __base: *mut ::std::os::raw::c_void,
3236 __nel: usize,
3237 __width: usize,
3238 __compar: *mut ::std::os::raw::c_void,
3239 );
3240}
3241extern "C" {
3242 pub fn psort_r(
3243 __base: *mut ::std::os::raw::c_void,
3244 __nel: usize,
3245 __width: usize,
3246 arg1: *mut ::std::os::raw::c_void,
3247 __compar: ::std::option::Option<
3248 unsafe extern "C" fn(
3249 arg1: *mut ::std::os::raw::c_void,
3250 arg2: *const ::std::os::raw::c_void,
3251 arg3: *const ::std::os::raw::c_void,
3252 ) -> ::std::os::raw::c_int,
3253 >,
3254 );
3255}
3256extern "C" {
3257 pub fn qsort_b(
3258 __base: *mut ::std::os::raw::c_void,
3259 __nel: usize,
3260 __width: usize,
3261 __compar: *mut ::std::os::raw::c_void,
3262 );
3263}
3264extern "C" {
3265 pub fn qsort_r(
3266 __base: *mut ::std::os::raw::c_void,
3267 __nel: usize,
3268 __width: usize,
3269 arg1: *mut ::std::os::raw::c_void,
3270 __compar: ::std::option::Option<
3271 unsafe extern "C" fn(
3272 arg1: *mut ::std::os::raw::c_void,
3273 arg2: *const ::std::os::raw::c_void,
3274 arg3: *const ::std::os::raw::c_void,
3275 ) -> ::std::os::raw::c_int,
3276 >,
3277 );
3278}
3279extern "C" {
3280 pub fn radixsort(
3281 __base: *mut *const ::std::os::raw::c_uchar,
3282 __nel: ::std::os::raw::c_int,
3283 __table: *const ::std::os::raw::c_uchar,
3284 __endbyte: ::std::os::raw::c_uint,
3285 ) -> ::std::os::raw::c_int;
3286}
3287extern "C" {
3288 pub fn rpmatch(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3289}
3290extern "C" {
3291 pub fn sradixsort(
3292 __base: *mut *const ::std::os::raw::c_uchar,
3293 __nel: ::std::os::raw::c_int,
3294 __table: *const ::std::os::raw::c_uchar,
3295 __endbyte: ::std::os::raw::c_uint,
3296 ) -> ::std::os::raw::c_int;
3297}
3298extern "C" {
3299 pub fn sranddev();
3300}
3301extern "C" {
3302 pub fn srandomdev();
3303}
3304extern "C" {
3305 pub fn strtonum(
3306 __numstr: *const ::std::os::raw::c_char,
3307 __minval: ::std::os::raw::c_longlong,
3308 __maxval: ::std::os::raw::c_longlong,
3309 __errstrp: *mut *const ::std::os::raw::c_char,
3310 ) -> ::std::os::raw::c_longlong;
3311}
3312extern "C" {
3313 pub fn strtoq(
3314 __str: *const ::std::os::raw::c_char,
3315 __endptr: *mut *mut ::std::os::raw::c_char,
3316 __base: ::std::os::raw::c_int,
3317 ) -> ::std::os::raw::c_longlong;
3318}
3319extern "C" {
3320 pub fn strtouq(
3321 __str: *const ::std::os::raw::c_char,
3322 __endptr: *mut *mut ::std::os::raw::c_char,
3323 __base: ::std::os::raw::c_int,
3324 ) -> ::std::os::raw::c_ulonglong;
3325}
3326extern "C" {
3327 pub static mut suboptarg: *mut ::std::os::raw::c_char;
3328}
3329pub type u_char = ::std::os::raw::c_uchar;
3330pub type u_short = ::std::os::raw::c_ushort;
3331pub type u_int = ::std::os::raw::c_uint;
3332pub type u_long = ::std::os::raw::c_ulong;
3333pub type ushort = ::std::os::raw::c_ushort;
3334pub type uint = ::std::os::raw::c_uint;
3335pub type u_quad_t = u_int64_t;
3336pub type quad_t = i64;
3337pub type qaddr_t = *mut quad_t;
3338pub type caddr_t = *mut ::std::os::raw::c_char;
3339pub type daddr_t = i32;
3340pub type fixpt_t = u_int32_t;
3341pub type blkcnt_t = __darwin_blkcnt_t;
3342pub type blksize_t = __darwin_blksize_t;
3343pub type gid_t = __darwin_gid_t;
3344pub type in_addr_t = __uint32_t;
3345pub type in_port_t = __uint16_t;
3346pub type ino_t = __darwin_ino_t;
3347pub type ino64_t = __darwin_ino64_t;
3348pub type key_t = __int32_t;
3349pub type nlink_t = __uint16_t;
3350pub type off_t = __darwin_off_t;
3351pub type segsz_t = i32;
3352pub type swblk_t = i32;
3353pub type clock_t = __darwin_clock_t;
3354pub type time_t = __darwin_time_t;
3355pub type useconds_t = __darwin_useconds_t;
3356pub type suseconds_t = __darwin_suseconds_t;
3357pub type rsize_t = __darwin_size_t;
3358pub type errno_t = ::std::os::raw::c_int;
3359#[repr(C)]
3360#[derive(Debug, Copy, Clone)]
3361pub struct fd_set {
3362 pub fds_bits: [__int32_t; 32usize],
3363}
3364const _: () = {
3365 ["Size of fd_set"][::std::mem::size_of::<fd_set>() - 128usize];
3366 ["Alignment of fd_set"][::std::mem::align_of::<fd_set>() - 4usize];
3367 ["Offset of field: fd_set::fds_bits"][::std::mem::offset_of!(fd_set, fds_bits) - 0usize];
3368};
3369extern "C" {
3370 pub fn __darwin_check_fd_set_overflow(
3371 arg1: ::std::os::raw::c_int,
3372 arg2: *const ::std::os::raw::c_void,
3373 arg3: ::std::os::raw::c_int,
3374 ) -> ::std::os::raw::c_int;
3375}
3376pub type fd_mask = __int32_t;
3377pub type pthread_cond_t = __darwin_pthread_cond_t;
3378pub type pthread_condattr_t = __darwin_pthread_condattr_t;
3379pub type pthread_mutex_t = __darwin_pthread_mutex_t;
3380pub type pthread_mutexattr_t = __darwin_pthread_mutexattr_t;
3381pub type pthread_once_t = __darwin_pthread_once_t;
3382pub type pthread_rwlock_t = __darwin_pthread_rwlock_t;
3383pub type pthread_rwlockattr_t = __darwin_pthread_rwlockattr_t;
3384pub type pthread_t = __darwin_pthread_t;
3385pub type pthread_key_t = __darwin_pthread_key_t;
3386pub type fsblkcnt_t = __darwin_fsblkcnt_t;
3387pub type fsfilcnt_t = __darwin_fsfilcnt_t;
3388#[repr(C)]
3389#[derive(Debug, Copy, Clone)]
3390pub struct objc_class {
3391 _unused: [u8; 0],
3392}
3393pub type Class = *mut objc_class;
3394#[repr(C)]
3395#[derive(Debug, Copy, Clone)]
3396pub struct objc_object {
3397 pub isa: Class,
3398}
3399const _: () = {
3400 ["Size of objc_object"][::std::mem::size_of::<objc_object>() - 8usize];
3401 ["Alignment of objc_object"][::std::mem::align_of::<objc_object>() - 8usize];
3402 ["Offset of field: objc_object::isa"][::std::mem::offset_of!(objc_object, isa) - 0usize];
3403};
3404pub type id = *mut objc_object;
3405pub type Protocol = objc_object;
3406#[repr(C)]
3407#[derive(Debug, Copy, Clone)]
3408pub struct objc_selector {
3409 _unused: [u8; 0],
3410}
3411pub type SEL = *mut objc_selector;
3412pub type IMP = ::std::option::Option<unsafe extern "C" fn()>;
3413pub type BOOL = bool;
3414pub type objc_zone_t = *mut _malloc_zone_t;
3415extern "C" {
3416 pub fn sel_getName(sel: SEL) -> *const ::std::os::raw::c_char;
3417}
3418extern "C" {
3419 pub fn sel_registerName(str_: *const ::std::os::raw::c_char) -> SEL;
3420}
3421extern "C" {
3422 pub fn object_getClassName(obj: id) -> *const ::std::os::raw::c_char;
3423}
3424extern "C" {
3425 pub fn object_getIndexedIvars(obj: id) -> *mut ::std::os::raw::c_void;
3426}
3427extern "C" {
3428 pub fn sel_isMapped(sel: SEL) -> BOOL;
3429}
3430extern "C" {
3431 pub fn sel_getUid(str_: *const ::std::os::raw::c_char) -> SEL;
3432}
3433pub type objc_objectptr_t = *const ::std::os::raw::c_void;
3434extern "C" {
3435 pub fn objc_retainedObject(obj: objc_objectptr_t) -> id;
3436}
3437extern "C" {
3438 pub fn objc_unretainedObject(obj: objc_objectptr_t) -> id;
3439}
3440extern "C" {
3441 pub fn objc_unretainedPointer(obj: id) -> objc_objectptr_t;
3442}
3443pub type __gnuc_va_list = __builtin_va_list;
3444pub type va_list = __builtin_va_list;
3445#[repr(C)]
3446#[derive(Debug, Copy, Clone)]
3447pub struct objc_method {
3448 _unused: [u8; 0],
3449}
3450pub type Method = *mut objc_method;
3451#[repr(C)]
3452#[derive(Debug, Copy, Clone)]
3453pub struct objc_ivar {
3454 _unused: [u8; 0],
3455}
3456pub type Ivar = *mut objc_ivar;
3457#[repr(C)]
3458#[derive(Debug, Copy, Clone)]
3459pub struct objc_category {
3460 _unused: [u8; 0],
3461}
3462pub type Category = *mut objc_category;
3463#[repr(C)]
3464#[derive(Debug, Copy, Clone)]
3465pub struct objc_property {
3466 _unused: [u8; 0],
3467}
3468pub type objc_property_t = *mut objc_property;
3469#[repr(C)]
3470#[derive(Debug, Copy, Clone)]
3471pub struct objc_method_description {
3472 pub name: SEL,
3473 pub types: *mut ::std::os::raw::c_char,
3474}
3475const _: () = {
3476 ["Size of objc_method_description"][::std::mem::size_of::<objc_method_description>() - 16usize];
3477 ["Alignment of objc_method_description"]
3478 [::std::mem::align_of::<objc_method_description>() - 8usize];
3479 ["Offset of field: objc_method_description::name"]
3480 [::std::mem::offset_of!(objc_method_description, name) - 0usize];
3481 ["Offset of field: objc_method_description::types"]
3482 [::std::mem::offset_of!(objc_method_description, types) - 8usize];
3483};
3484#[repr(C)]
3485#[derive(Debug, Copy, Clone)]
3486pub struct objc_property_attribute_t {
3487 pub name: *const ::std::os::raw::c_char,
3488 pub value: *const ::std::os::raw::c_char,
3489}
3490const _: () = {
3491 ["Size of objc_property_attribute_t"]
3492 [::std::mem::size_of::<objc_property_attribute_t>() - 16usize];
3493 ["Alignment of objc_property_attribute_t"]
3494 [::std::mem::align_of::<objc_property_attribute_t>() - 8usize];
3495 ["Offset of field: objc_property_attribute_t::name"]
3496 [::std::mem::offset_of!(objc_property_attribute_t, name) - 0usize];
3497 ["Offset of field: objc_property_attribute_t::value"]
3498 [::std::mem::offset_of!(objc_property_attribute_t, value) - 8usize];
3499};
3500#[repr(C)]
3501#[derive(Debug, Copy, Clone)]
3502pub struct mach_header {
3503 _unused: [u8; 0],
3504}
3505extern "C" {
3506 pub fn object_copy(obj: id, size: usize) -> id;
3507}
3508extern "C" {
3509 pub fn object_dispose(obj: id) -> id;
3510}
3511extern "C" {
3512 pub fn object_getClass(obj: id) -> Class;
3513}
3514extern "C" {
3515 pub fn object_setClass(obj: id, cls: Class) -> Class;
3516}
3517extern "C" {
3518 pub fn object_isClass(obj: id) -> BOOL;
3519}
3520extern "C" {
3521 pub fn object_getIvar(obj: id, ivar: Ivar) -> id;
3522}
3523extern "C" {
3524 pub fn object_setIvar(obj: id, ivar: Ivar, value: id);
3525}
3526extern "C" {
3527 pub fn object_setIvarWithStrongDefault(obj: id, ivar: Ivar, value: id);
3528}
3529extern "C" {
3530 pub fn object_setInstanceVariable(
3531 obj: id,
3532 name: *const ::std::os::raw::c_char,
3533 value: *mut ::std::os::raw::c_void,
3534 ) -> Ivar;
3535}
3536extern "C" {
3537 pub fn object_setInstanceVariableWithStrongDefault(
3538 obj: id,
3539 name: *const ::std::os::raw::c_char,
3540 value: *mut ::std::os::raw::c_void,
3541 ) -> Ivar;
3542}
3543extern "C" {
3544 pub fn object_getInstanceVariable(
3545 obj: id,
3546 name: *const ::std::os::raw::c_char,
3547 outValue: *mut *mut ::std::os::raw::c_void,
3548 ) -> Ivar;
3549}
3550extern "C" {
3551 pub fn objc_getClass(name: *const ::std::os::raw::c_char) -> Class;
3552}
3553extern "C" {
3554 pub fn objc_getMetaClass(name: *const ::std::os::raw::c_char) -> Class;
3555}
3556extern "C" {
3557 pub fn objc_lookUpClass(name: *const ::std::os::raw::c_char) -> Class;
3558}
3559extern "C" {
3560 pub fn objc_getRequiredClass(name: *const ::std::os::raw::c_char) -> Class;
3561}
3562extern "C" {
3563 pub fn objc_getClassList(
3564 buffer: *mut Class,
3565 bufferCount: ::std::os::raw::c_int,
3566 ) -> ::std::os::raw::c_int;
3567}
3568extern "C" {
3569 pub fn objc_copyClassList(outCount: *mut ::std::os::raw::c_uint) -> *mut Class;
3570}
3571extern "C" {
3572 pub fn objc_enumerateClasses(
3573 image: *const ::std::os::raw::c_void,
3574 namePrefix: *const ::std::os::raw::c_char,
3575 conformingTo: *mut Protocol,
3576 subclassing: Class,
3577 block: *mut ::std::os::raw::c_void,
3578 );
3579}
3580extern "C" {
3581 pub fn class_getName(cls: Class) -> *const ::std::os::raw::c_char;
3582}
3583extern "C" {
3584 pub fn class_isMetaClass(cls: Class) -> BOOL;
3585}
3586extern "C" {
3587 pub fn class_getSuperclass(cls: Class) -> Class;
3588}
3589extern "C" {
3590 pub fn class_setSuperclass(cls: Class, newSuper: Class) -> Class;
3591}
3592extern "C" {
3593 pub fn class_getVersion(cls: Class) -> ::std::os::raw::c_int;
3594}
3595extern "C" {
3596 pub fn class_setVersion(cls: Class, version: ::std::os::raw::c_int);
3597}
3598extern "C" {
3599 pub fn class_getInstanceSize(cls: Class) -> usize;
3600}
3601extern "C" {
3602 pub fn class_getInstanceVariable(cls: Class, name: *const ::std::os::raw::c_char) -> Ivar;
3603}
3604extern "C" {
3605 pub fn class_getClassVariable(cls: Class, name: *const ::std::os::raw::c_char) -> Ivar;
3606}
3607extern "C" {
3608 pub fn class_copyIvarList(cls: Class, outCount: *mut ::std::os::raw::c_uint) -> *mut Ivar;
3609}
3610extern "C" {
3611 pub fn class_getInstanceMethod(cls: Class, name: SEL) -> Method;
3612}
3613extern "C" {
3614 pub fn class_getClassMethod(cls: Class, name: SEL) -> Method;
3615}
3616extern "C" {
3617 pub fn class_getMethodImplementation(cls: Class, name: SEL) -> IMP;
3618}
3619extern "C" {
3620 pub fn class_getMethodImplementation_stret(cls: Class, name: SEL) -> IMP;
3621}
3622extern "C" {
3623 pub fn class_respondsToSelector(cls: Class, sel: SEL) -> BOOL;
3624}
3625extern "C" {
3626 pub fn class_copyMethodList(cls: Class, outCount: *mut ::std::os::raw::c_uint) -> *mut Method;
3627}
3628extern "C" {
3629 pub fn class_conformsToProtocol(cls: Class, protocol: *mut Protocol) -> BOOL;
3630}
3631extern "C" {
3632 pub fn class_copyProtocolList(
3633 cls: Class,
3634 outCount: *mut ::std::os::raw::c_uint,
3635 ) -> *mut *mut Protocol;
3636}
3637extern "C" {
3638 pub fn class_getProperty(cls: Class, name: *const ::std::os::raw::c_char) -> objc_property_t;
3639}
3640extern "C" {
3641 pub fn class_copyPropertyList(
3642 cls: Class,
3643 outCount: *mut ::std::os::raw::c_uint,
3644 ) -> *mut objc_property_t;
3645}
3646extern "C" {
3647 pub fn class_getIvarLayout(cls: Class) -> *const u8;
3648}
3649extern "C" {
3650 pub fn class_getWeakIvarLayout(cls: Class) -> *const u8;
3651}
3652extern "C" {
3653 pub fn class_addMethod(
3654 cls: Class,
3655 name: SEL,
3656 imp: IMP,
3657 types: *const ::std::os::raw::c_char,
3658 ) -> BOOL;
3659}
3660extern "C" {
3661 pub fn class_replaceMethod(
3662 cls: Class,
3663 name: SEL,
3664 imp: IMP,
3665 types: *const ::std::os::raw::c_char,
3666 ) -> IMP;
3667}
3668extern "C" {
3669 pub fn class_addIvar(
3670 cls: Class,
3671 name: *const ::std::os::raw::c_char,
3672 size: usize,
3673 alignment: u8,
3674 types: *const ::std::os::raw::c_char,
3675 ) -> BOOL;
3676}
3677extern "C" {
3678 pub fn class_addProtocol(cls: Class, protocol: *mut Protocol) -> BOOL;
3679}
3680extern "C" {
3681 pub fn class_addProperty(
3682 cls: Class,
3683 name: *const ::std::os::raw::c_char,
3684 attributes: *const objc_property_attribute_t,
3685 attributeCount: ::std::os::raw::c_uint,
3686 ) -> BOOL;
3687}
3688extern "C" {
3689 pub fn class_replaceProperty(
3690 cls: Class,
3691 name: *const ::std::os::raw::c_char,
3692 attributes: *const objc_property_attribute_t,
3693 attributeCount: ::std::os::raw::c_uint,
3694 );
3695}
3696extern "C" {
3697 pub fn class_setIvarLayout(cls: Class, layout: *const u8);
3698}
3699extern "C" {
3700 pub fn class_setWeakIvarLayout(cls: Class, layout: *const u8);
3701}
3702extern "C" {
3703 pub fn objc_getFutureClass(name: *const ::std::os::raw::c_char) -> Class;
3704}
3705extern "C" {
3706 pub fn class_createInstance(cls: Class, extraBytes: usize) -> id;
3707}
3708extern "C" {
3709 pub fn objc_constructInstance(cls: Class, bytes: *mut ::std::os::raw::c_void) -> id;
3710}
3711extern "C" {
3712 pub fn objc_destructInstance(obj: id) -> *mut ::std::os::raw::c_void;
3713}
3714extern "C" {
3715 pub fn objc_allocateClassPair(
3716 superclass: Class,
3717 name: *const ::std::os::raw::c_char,
3718 extraBytes: usize,
3719 ) -> Class;
3720}
3721extern "C" {
3722 pub fn objc_registerClassPair(cls: Class);
3723}
3724extern "C" {
3725 pub fn objc_duplicateClass(
3726 original: Class,
3727 name: *const ::std::os::raw::c_char,
3728 extraBytes: usize,
3729 ) -> Class;
3730}
3731extern "C" {
3732 pub fn objc_disposeClassPair(cls: Class);
3733}
3734extern "C" {
3735 pub fn method_getName(m: Method) -> SEL;
3736}
3737extern "C" {
3738 pub fn method_getImplementation(m: Method) -> IMP;
3739}
3740extern "C" {
3741 pub fn method_getTypeEncoding(m: Method) -> *const ::std::os::raw::c_char;
3742}
3743extern "C" {
3744 pub fn method_getNumberOfArguments(m: Method) -> ::std::os::raw::c_uint;
3745}
3746extern "C" {
3747 pub fn method_copyReturnType(m: Method) -> *mut ::std::os::raw::c_char;
3748}
3749extern "C" {
3750 pub fn method_copyArgumentType(
3751 m: Method,
3752 index: ::std::os::raw::c_uint,
3753 ) -> *mut ::std::os::raw::c_char;
3754}
3755extern "C" {
3756 pub fn method_getReturnType(m: Method, dst: *mut ::std::os::raw::c_char, dst_len: usize);
3757}
3758extern "C" {
3759 pub fn method_getArgumentType(
3760 m: Method,
3761 index: ::std::os::raw::c_uint,
3762 dst: *mut ::std::os::raw::c_char,
3763 dst_len: usize,
3764 );
3765}
3766extern "C" {
3767 pub fn method_getDescription(m: Method) -> *mut objc_method_description;
3768}
3769extern "C" {
3770 pub fn method_setImplementation(m: Method, imp: IMP) -> IMP;
3771}
3772extern "C" {
3773 pub fn method_exchangeImplementations(m1: Method, m2: Method);
3774}
3775extern "C" {
3776 pub fn ivar_getName(v: Ivar) -> *const ::std::os::raw::c_char;
3777}
3778extern "C" {
3779 pub fn ivar_getTypeEncoding(v: Ivar) -> *const ::std::os::raw::c_char;
3780}
3781extern "C" {
3782 pub fn ivar_getOffset(v: Ivar) -> isize;
3783}
3784extern "C" {
3785 pub fn property_getName(property: objc_property_t) -> *const ::std::os::raw::c_char;
3786}
3787extern "C" {
3788 pub fn property_getAttributes(property: objc_property_t) -> *const ::std::os::raw::c_char;
3789}
3790extern "C" {
3791 pub fn property_copyAttributeList(
3792 property: objc_property_t,
3793 outCount: *mut ::std::os::raw::c_uint,
3794 ) -> *mut objc_property_attribute_t;
3795}
3796extern "C" {
3797 pub fn property_copyAttributeValue(
3798 property: objc_property_t,
3799 attributeName: *const ::std::os::raw::c_char,
3800 ) -> *mut ::std::os::raw::c_char;
3801}
3802extern "C" {
3803 pub fn objc_getProtocol(name: *const ::std::os::raw::c_char) -> *mut Protocol;
3804}
3805extern "C" {
3806 pub fn objc_copyProtocolList(outCount: *mut ::std::os::raw::c_uint) -> *mut *mut Protocol;
3807}
3808extern "C" {
3809 pub fn protocol_conformsToProtocol(proto: *mut Protocol, other: *mut Protocol) -> BOOL;
3810}
3811extern "C" {
3812 pub fn protocol_isEqual(proto: *mut Protocol, other: *mut Protocol) -> BOOL;
3813}
3814extern "C" {
3815 pub fn protocol_getName(proto: *mut Protocol) -> *const ::std::os::raw::c_char;
3816}
3817extern "C" {
3818 pub fn protocol_getMethodDescription(
3819 proto: *mut Protocol,
3820 aSel: SEL,
3821 isRequiredMethod: BOOL,
3822 isInstanceMethod: BOOL,
3823 ) -> objc_method_description;
3824}
3825extern "C" {
3826 pub fn protocol_copyMethodDescriptionList(
3827 proto: *mut Protocol,
3828 isRequiredMethod: BOOL,
3829 isInstanceMethod: BOOL,
3830 outCount: *mut ::std::os::raw::c_uint,
3831 ) -> *mut objc_method_description;
3832}
3833extern "C" {
3834 pub fn protocol_getProperty(
3835 proto: *mut Protocol,
3836 name: *const ::std::os::raw::c_char,
3837 isRequiredProperty: BOOL,
3838 isInstanceProperty: BOOL,
3839 ) -> objc_property_t;
3840}
3841extern "C" {
3842 pub fn protocol_copyPropertyList(
3843 proto: *mut Protocol,
3844 outCount: *mut ::std::os::raw::c_uint,
3845 ) -> *mut objc_property_t;
3846}
3847extern "C" {
3848 pub fn protocol_copyPropertyList2(
3849 proto: *mut Protocol,
3850 outCount: *mut ::std::os::raw::c_uint,
3851 isRequiredProperty: BOOL,
3852 isInstanceProperty: BOOL,
3853 ) -> *mut objc_property_t;
3854}
3855extern "C" {
3856 pub fn protocol_copyProtocolList(
3857 proto: *mut Protocol,
3858 outCount: *mut ::std::os::raw::c_uint,
3859 ) -> *mut *mut Protocol;
3860}
3861extern "C" {
3862 pub fn objc_allocateProtocol(name: *const ::std::os::raw::c_char) -> *mut Protocol;
3863}
3864extern "C" {
3865 pub fn objc_registerProtocol(proto: *mut Protocol);
3866}
3867extern "C" {
3868 pub fn protocol_addMethodDescription(
3869 proto: *mut Protocol,
3870 name: SEL,
3871 types: *const ::std::os::raw::c_char,
3872 isRequiredMethod: BOOL,
3873 isInstanceMethod: BOOL,
3874 );
3875}
3876extern "C" {
3877 pub fn protocol_addProtocol(proto: *mut Protocol, addition: *mut Protocol);
3878}
3879extern "C" {
3880 pub fn protocol_addProperty(
3881 proto: *mut Protocol,
3882 name: *const ::std::os::raw::c_char,
3883 attributes: *const objc_property_attribute_t,
3884 attributeCount: ::std::os::raw::c_uint,
3885 isRequiredProperty: BOOL,
3886 isInstanceProperty: BOOL,
3887 );
3888}
3889extern "C" {
3890 pub fn objc_copyImageNames(
3891 outCount: *mut ::std::os::raw::c_uint,
3892 ) -> *mut *const ::std::os::raw::c_char;
3893}
3894extern "C" {
3895 pub fn class_getImageName(cls: Class) -> *const ::std::os::raw::c_char;
3896}
3897extern "C" {
3898 pub fn objc_copyClassNamesForImage(
3899 image: *const ::std::os::raw::c_char,
3900 outCount: *mut ::std::os::raw::c_uint,
3901 ) -> *mut *const ::std::os::raw::c_char;
3902}
3903extern "C" {
3904 pub fn sel_isEqual(lhs: SEL, rhs: SEL) -> BOOL;
3905}
3906extern "C" {
3907 pub fn objc_enumerationMutation(obj: id);
3908}
3909extern "C" {
3910 pub fn objc_setEnumerationMutationHandler(
3911 handler: ::std::option::Option<unsafe extern "C" fn(arg1: id)>,
3912 );
3913}
3914extern "C" {
3915 pub fn objc_setForwardHandler(
3916 fwd: *mut ::std::os::raw::c_void,
3917 fwd_stret: *mut ::std::os::raw::c_void,
3918 );
3919}
3920extern "C" {
3921 pub fn imp_implementationWithBlock(block: id) -> IMP;
3922}
3923extern "C" {
3924 pub fn imp_getBlock(anImp: IMP) -> id;
3925}
3926extern "C" {
3927 pub fn imp_removeBlock(anImp: IMP) -> BOOL;
3928}
3929extern "C" {
3930 pub fn objc_loadWeak(location: *mut id) -> id;
3931}
3932extern "C" {
3933 pub fn objc_storeWeak(location: *mut id, obj: id) -> id;
3934}
3935pub const objc_AssociationPolicy_OBJC_ASSOCIATION_ASSIGN: objc_AssociationPolicy = 0;
3936pub const objc_AssociationPolicy_OBJC_ASSOCIATION_RETAIN_NONATOMIC: objc_AssociationPolicy = 1;
3937pub const objc_AssociationPolicy_OBJC_ASSOCIATION_COPY_NONATOMIC: objc_AssociationPolicy = 3;
3938pub const objc_AssociationPolicy_OBJC_ASSOCIATION_RETAIN: objc_AssociationPolicy = 769;
3939pub const objc_AssociationPolicy_OBJC_ASSOCIATION_COPY: objc_AssociationPolicy = 771;
3940pub type objc_AssociationPolicy = usize;
3941extern "C" {
3942 pub fn objc_setAssociatedObject(
3943 object: id,
3944 key: *const ::std::os::raw::c_void,
3945 value: id,
3946 policy: objc_AssociationPolicy,
3947 );
3948}
3949extern "C" {
3950 pub fn objc_getAssociatedObject(object: id, key: *const ::std::os::raw::c_void) -> id;
3951}
3952extern "C" {
3953 pub fn objc_removeAssociatedObjects(object: id);
3954}
3955pub type objc_hook_getImageName = ::std::option::Option<
3956 unsafe extern "C" fn(cls: Class, outImageName: *mut *const ::std::os::raw::c_char) -> BOOL,
3957>;
3958extern "C" {
3959 pub fn objc_setHook_getImageName(
3960 newValue: objc_hook_getImageName,
3961 outOldValue: *mut objc_hook_getImageName,
3962 );
3963}
3964pub type objc_hook_getClass = ::std::option::Option<
3965 unsafe extern "C" fn(name: *const ::std::os::raw::c_char, outClass: *mut Class) -> BOOL,
3966>;
3967extern "C" {
3968 pub fn objc_setHook_getClass(
3969 newValue: objc_hook_getClass,
3970 outOldValue: *mut objc_hook_getClass,
3971 );
3972}
3973pub type objc_func_loadImage =
3974 ::std::option::Option<unsafe extern "C" fn(header: *const mach_header)>;
3975extern "C" {
3976 pub fn objc_addLoadImageFunc(func: objc_func_loadImage);
3977}
3978pub type objc_hook_lazyClassNamer =
3979 ::std::option::Option<unsafe extern "C" fn(cls: Class) -> *const ::std::os::raw::c_char>;
3980extern "C" {
3981 pub fn objc_setHook_lazyClassNamer(
3982 newValue: objc_hook_lazyClassNamer,
3983 oldOutValue: *mut objc_hook_lazyClassNamer,
3984 );
3985}
3986pub type _objc_swiftMetadataInitializer = ::std::option::Option<
3987 unsafe extern "C" fn(cls: Class, arg: *mut ::std::os::raw::c_void) -> Class,
3988>;
3989extern "C" {
3990 pub fn _objc_realizeClassFromSwift(
3991 cls: Class,
3992 previously: *mut ::std::os::raw::c_void,
3993 ) -> Class;
3994}
3995#[repr(C)]
3996#[derive(Debug, Copy, Clone)]
3997pub struct objc_method_list {
3998 _unused: [u8; 0],
3999}
4000extern "C" {
4001 pub fn _objc_flush_caches(cls: Class);
4002}
4003extern "C" {
4004 pub fn class_lookupMethod(cls: Class, sel: SEL) -> IMP;
4005}
4006extern "C" {
4007 pub fn class_respondsToMethod(cls: Class, sel: SEL) -> BOOL;
4008}
4009extern "C" {
4010 pub fn object_copyFromZone(
4011 anObject: id,
4012 nBytes: usize,
4013 zone: *mut ::std::os::raw::c_void,
4014 ) -> id;
4015}
4016extern "C" {
4017 pub fn class_createInstanceFromZone(
4018 arg1: Class,
4019 idxIvars: usize,
4020 zone: *mut ::std::os::raw::c_void,
4021 ) -> id;
4022}
4023extern "C" {
4024 #[doc = " Returns a boolean indicating whether the Objective-C name of a class type is\n stable across executions, i.e., if the class name is safe to serialize. (The\n names of private and local types are unstable.)"]
4025 #[link_name = "\u{1}__swift_isObjCTypeNameSerializable"]
4026 pub fn swift__swift_isObjCTypeNameSerializable(theClass: Class) -> bool;
4027}
4028pub type __builtin_va_list = *mut ::std::os::raw::c_char;
4029pub type __uint128_t = u128;