swift_runtime_sys/
Exception.rs

1/* automatically generated by rust-bindgen 0.69.4 */
2
3#![allow(dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals, improper_ctypes)]
4pub type _Tp = ();
5
6pub const _LIBCPP_ABI_VERSION: u32 = 1;
7pub const _LIBCPP_HARDENING_MODE_DEFAULT: u32 = 2;
8pub const _LIBCPP_VERSION: u32 = 180100;
9pub const _LIBCPP_STD_VER: u32 = 14;
10pub const _LIBCPP_OBJECT_FORMAT_MACHO: u32 = 1;
11pub const _LIBCPP_HARDENING_MODE_NONE: u32 = 2;
12pub const _LIBCPP_HARDENING_MODE_FAST: u32 = 4;
13pub const _LIBCPP_HARDENING_MODE_EXTENSIVE: u32 = 16;
14pub const _LIBCPP_HARDENING_MODE_DEBUG: u32 = 8;
15pub const _LIBCPP_HARDENING_MODE: u32 = 2;
16pub const _LIBCPP_LOCALE__L_EXTENSIONS: u32 = 1;
17pub const SWIFT_COMPILER_IS_MSVC: u32 = 0;
18pub const SWIFT_BUG_REPORT_URL: &[u8; 47] = b"https://swift.org/contributing/#reporting-bugs\0";
19pub const SWIFT_BUG_REPORT_MESSAGE_BASE: &[u8; 69] =
20    b"submit a bug report (https://swift.org/contributing/#reporting-bugs)\0";
21pub const SWIFT_BUG_REPORT_MESSAGE: &[u8; 76] =
22    b"please submit a bug report (https://swift.org/contributing/#reporting-bugs)\0";
23pub 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" ;
24pub const SWIFT_POINTER_IS_8_BYTES: u32 = 1;
25pub const SWIFT_POINTER_IS_4_BYTES: u32 = 0;
26pub const SWIFT_OBJC_INTEROP: u32 = 1;
27pub const SWIFT_HAS_ISA_MASKING: u32 = 1;
28pub const SWIFT_HAS_OPAQUE_ISAS: u32 = 0;
29pub const SWIFT_STDLIB_HAS_MALLOC_TYPE: u32 = 0;
30pub const SWIFT_CLASS_IS_SWIFT_MASK: u32 = 2;
31pub const SWIFT_IMAGE_EXPORTS_swiftCore: u32 = 0;
32pub const SWIFT_IMAGE_EXPORTS_swift_Concurrency: u32 = 0;
33pub const SWIFT_IMAGE_EXPORTS_swiftDistributed: u32 = 0;
34pub const SWIFT_IMAGE_EXPORTS_swift_Differentiation: u32 = 0;
35pub const SWIFT_COMPACT_ABSOLUTE_FUNCTION_POINTER: u32 = 0;
36pub const SWIFT_PTRAUTH: u32 = 0;
37pub const DYNAMIC_TARGETS_ENABLED: u32 = 0;
38pub const TARGET_OS_MAC: u32 = 1;
39pub const TARGET_OS_OSX: u32 = 1;
40pub const TARGET_OS_IPHONE: u32 = 0;
41pub const TARGET_OS_IOS: u32 = 0;
42pub const TARGET_OS_WATCH: u32 = 0;
43pub const TARGET_OS_TV: u32 = 0;
44pub const TARGET_OS_MACCATALYST: u32 = 0;
45pub const TARGET_OS_UIKITFORMAC: u32 = 0;
46pub const TARGET_OS_SIMULATOR: u32 = 0;
47pub const TARGET_OS_EMBEDDED: u32 = 0;
48pub const TARGET_OS_UNIX: u32 = 0;
49pub const TARGET_OS_RTKIT: u32 = 0;
50pub const TARGET_RT_LITTLE_ENDIAN: u32 = 1;
51pub const TARGET_RT_BIG_ENDIAN: u32 = 0;
52pub const TARGET_RT_64_BIT: u32 = 1;
53pub const TARGET_RT_MAC_CFM: u32 = 0;
54pub const TARGET_RT_MAC_MACHO: u32 = 1;
55pub const TARGET_CPU_ARM64: u32 = 1;
56pub const TARGET_OS_VISION: u32 = 0;
57pub const TARGET_OS_DRIVERKIT: u32 = 0;
58pub const TARGET_OS_WIN32: u32 = 0;
59pub const TARGET_OS_WINDOWS: u32 = 0;
60pub const TARGET_OS_LINUX: u32 = 0;
61pub const TARGET_CPU_PPC: u32 = 0;
62pub const TARGET_CPU_PPC64: u32 = 0;
63pub const TARGET_CPU_68K: u32 = 0;
64pub const TARGET_CPU_X86: u32 = 0;
65pub const TARGET_CPU_X86_64: u32 = 0;
66pub const TARGET_CPU_ARM: u32 = 0;
67pub const TARGET_CPU_MIPS: u32 = 0;
68pub const TARGET_CPU_SPARC: u32 = 0;
69pub const TARGET_CPU_ALPHA: u32 = 0;
70pub const TARGET_IPHONE_SIMULATOR: u32 = 0;
71pub const TARGET_OS_NANO: u32 = 0;
72pub const SWIFT_BACKTRACE_ON_CRASH_SUPPORTED: u32 = 1;
73pub const SWIFT_BACKTRACE_SECTION: &[u8; 24] = b"__DATA,swift5_backtrace\0";
74pub const SWIFT_PAGE_SIZE: u32 = 16384;
75pub const _LIBUNWIND_VERSION: u32 = 15000;
76pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_X86: u32 = 8;
77pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_X86_64: u32 = 32;
78pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_PPC: u32 = 112;
79pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_PPC64: u32 = 116;
80pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_ARM64: u32 = 95;
81pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_ARM: u32 = 287;
82pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_OR1K: u32 = 32;
83pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_MIPS: u32 = 65;
84pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_SPARC: u32 = 31;
85pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_SPARC64: u32 = 31;
86pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_HEXAGON: u32 = 34;
87pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_RISCV: u32 = 64;
88pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_VE: u32 = 143;
89pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_S390X: u32 = 83;
90pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER_LOONGARCH: u32 = 64;
91pub const _LIBUNWIND_TARGET_X86_64: u32 = 1;
92pub const _LIBUNWIND_TARGET_PPC: u32 = 1;
93pub const _LIBUNWIND_TARGET_PPC64: u32 = 1;
94pub const _LIBUNWIND_TARGET_AARCH64: u32 = 1;
95pub const _LIBUNWIND_TARGET_ARM: u32 = 1;
96pub const _LIBUNWIND_TARGET_OR1K: u32 = 1;
97pub const _LIBUNWIND_TARGET_MIPS_O32: u32 = 1;
98pub const _LIBUNWIND_TARGET_MIPS_NEWABI: u32 = 1;
99pub const _LIBUNWIND_TARGET_SPARC: u32 = 1;
100pub const _LIBUNWIND_TARGET_SPARC64: u32 = 1;
101pub const _LIBUNWIND_TARGET_HEXAGON: u32 = 1;
102pub const _LIBUNWIND_TARGET_RISCV: u32 = 1;
103pub const _LIBUNWIND_TARGET_VE: u32 = 1;
104pub const _LIBUNWIND_TARGET_S390X: u32 = 1;
105pub const _LIBUNWIND_TARGET_LOONGARCH: u32 = 1;
106pub const _LIBUNWIND_CONTEXT_SIZE: u32 = 167;
107pub const _LIBUNWIND_CURSOR_SIZE: u32 = 204;
108pub const _LIBUNWIND_HIGHEST_DWARF_REGISTER: u32 = 287;
109pub const __WORDSIZE: u32 = 64;
110pub const __has_safe_buffers: u32 = 1;
111pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1;
112pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1;
113pub const __DARWIN_ONLY_VERS_1050: u32 = 1;
114pub const __DARWIN_UNIX03: u32 = 1;
115pub const __DARWIN_64_BIT_INO_T: u32 = 1;
116pub const __DARWIN_VERS_1050: u32 = 1;
117pub const __DARWIN_NON_CANCELABLE: u32 = 0;
118pub const __DARWIN_SUF_EXTSN: &[u8; 14] = b"$DARWIN_EXTSN\0";
119pub const __DARWIN_C_ANSI: u32 = 4096;
120pub const __DARWIN_C_FULL: u32 = 900000;
121pub const __DARWIN_C_LEVEL: u32 = 900000;
122pub const __DARWIN_NO_LONG_LONG: u32 = 0;
123pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1;
124pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1;
125pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1;
126pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1;
127pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3;
128pub const __has_ptrcheck: u32 = 0;
129pub const USE_CLANG_TYPES: u32 = 0;
130pub const __PTHREAD_SIZE__: u32 = 8176;
131pub const __PTHREAD_ATTR_SIZE__: u32 = 56;
132pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8;
133pub const __PTHREAD_MUTEX_SIZE__: u32 = 56;
134pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8;
135pub const __PTHREAD_COND_SIZE__: u32 = 40;
136pub const __PTHREAD_ONCE_SIZE__: u32 = 8;
137pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192;
138pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16;
139pub const INT8_MAX: u32 = 127;
140pub const INT16_MAX: u32 = 32767;
141pub const INT32_MAX: u32 = 2147483647;
142pub const INT64_MAX: u64 = 9223372036854775807;
143pub const INT8_MIN: i32 = -128;
144pub const INT16_MIN: i32 = -32768;
145pub const INT32_MIN: i32 = -2147483648;
146pub const INT64_MIN: i64 = -9223372036854775808;
147pub const UINT8_MAX: u32 = 255;
148pub const UINT16_MAX: u32 = 65535;
149pub const UINT32_MAX: u32 = 4294967295;
150pub const UINT64_MAX: i32 = -1;
151pub const INT_LEAST8_MIN: i32 = -128;
152pub const INT_LEAST16_MIN: i32 = -32768;
153pub const INT_LEAST32_MIN: i32 = -2147483648;
154pub const INT_LEAST64_MIN: i64 = -9223372036854775808;
155pub const INT_LEAST8_MAX: u32 = 127;
156pub const INT_LEAST16_MAX: u32 = 32767;
157pub const INT_LEAST32_MAX: u32 = 2147483647;
158pub const INT_LEAST64_MAX: u64 = 9223372036854775807;
159pub const UINT_LEAST8_MAX: u32 = 255;
160pub const UINT_LEAST16_MAX: u32 = 65535;
161pub const UINT_LEAST32_MAX: u32 = 4294967295;
162pub const UINT_LEAST64_MAX: i32 = -1;
163pub const INT_FAST8_MIN: i32 = -128;
164pub const INT_FAST16_MIN: i32 = -32768;
165pub const INT_FAST32_MIN: i32 = -2147483648;
166pub const INT_FAST64_MIN: i64 = -9223372036854775808;
167pub const INT_FAST8_MAX: u32 = 127;
168pub const INT_FAST16_MAX: u32 = 32767;
169pub const INT_FAST32_MAX: u32 = 2147483647;
170pub const INT_FAST64_MAX: u64 = 9223372036854775807;
171pub const UINT_FAST8_MAX: u32 = 255;
172pub const UINT_FAST16_MAX: u32 = 65535;
173pub const UINT_FAST32_MAX: u32 = 4294967295;
174pub const UINT_FAST64_MAX: i32 = -1;
175pub const INTPTR_MAX: u64 = 9223372036854775807;
176pub const INTPTR_MIN: i64 = -9223372036854775808;
177pub const UINTPTR_MAX: i32 = -1;
178pub const SIZE_MAX: i32 = -1;
179pub const WINT_MIN: i32 = -2147483648;
180pub const WINT_MAX: u32 = 2147483647;
181pub const SIG_ATOMIC_MIN: i32 = -2147483648;
182pub const SIG_ATOMIC_MAX: u32 = 2147483647;
183pub type max_align_t = f64;
184pub type int_least8_t = i8;
185pub type int_least16_t = i16;
186pub type int_least32_t = i32;
187pub type int_least64_t = i64;
188pub type uint_least8_t = u8;
189pub type uint_least16_t = u16;
190pub type uint_least32_t = u32;
191pub type uint_least64_t = u64;
192pub type int_fast8_t = i8;
193pub type int_fast16_t = i16;
194pub type int_fast32_t = i32;
195pub type int_fast64_t = i64;
196pub type uint_fast8_t = u8;
197pub type uint_fast16_t = u16;
198pub type uint_fast32_t = u32;
199pub type uint_fast64_t = u64;
200pub type __int8_t = ::std::os::raw::c_schar;
201pub type __uint8_t = ::std::os::raw::c_uchar;
202pub type __int16_t = ::std::os::raw::c_short;
203pub type __uint16_t = ::std::os::raw::c_ushort;
204pub type __int32_t = ::std::os::raw::c_int;
205pub type __uint32_t = ::std::os::raw::c_uint;
206pub type __int64_t = ::std::os::raw::c_longlong;
207pub type __uint64_t = ::std::os::raw::c_ulonglong;
208pub type __darwin_intptr_t = ::std::os::raw::c_long;
209pub type __darwin_natural_t = ::std::os::raw::c_uint;
210pub type __darwin_ct_rune_t = ::std::os::raw::c_int;
211#[repr(C)]
212#[derive(Copy, Clone)]
213pub union __mbstate_t {
214    pub __mbstate8: [::std::os::raw::c_char; 128usize],
215    pub _mbstateL: ::std::os::raw::c_longlong,
216}
217const _: () = {
218    ["Size of __mbstate_t"][::std::mem::size_of::<__mbstate_t>() - 128usize];
219    ["Alignment of __mbstate_t"][::std::mem::align_of::<__mbstate_t>() - 8usize];
220    ["Offset of field: __mbstate_t::__mbstate8"]
221        [::std::mem::offset_of!(__mbstate_t, __mbstate8) - 0usize];
222    ["Offset of field: __mbstate_t::_mbstateL"]
223        [::std::mem::offset_of!(__mbstate_t, _mbstateL) - 0usize];
224};
225pub type __darwin_mbstate_t = __mbstate_t;
226pub type __darwin_ptrdiff_t = ::std::os::raw::c_long;
227pub type __darwin_size_t = ::std::os::raw::c_ulong;
228pub type __darwin_va_list = __builtin_va_list;
229pub type __darwin_wchar_t = ::std::os::raw::c_int;
230pub type __darwin_rune_t = __darwin_wchar_t;
231pub type __darwin_wint_t = ::std::os::raw::c_int;
232pub type __darwin_clock_t = ::std::os::raw::c_ulong;
233pub type __darwin_socklen_t = __uint32_t;
234pub type __darwin_ssize_t = ::std::os::raw::c_long;
235pub type __darwin_time_t = ::std::os::raw::c_long;
236pub type __darwin_blkcnt_t = __int64_t;
237pub type __darwin_blksize_t = __int32_t;
238pub type __darwin_dev_t = __int32_t;
239pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint;
240pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint;
241pub type __darwin_gid_t = __uint32_t;
242pub type __darwin_id_t = __uint32_t;
243pub type __darwin_ino64_t = __uint64_t;
244pub type __darwin_ino_t = __darwin_ino64_t;
245pub type __darwin_mach_port_name_t = __darwin_natural_t;
246pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
247pub type __darwin_mode_t = __uint16_t;
248pub type __darwin_off_t = __int64_t;
249pub type __darwin_pid_t = __int32_t;
250pub type __darwin_sigset_t = __uint32_t;
251pub type __darwin_suseconds_t = __int32_t;
252pub type __darwin_uid_t = __uint32_t;
253pub type __darwin_useconds_t = __uint32_t;
254pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize];
255pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize];
256#[repr(C)]
257#[derive(Debug, Copy, Clone)]
258pub struct __darwin_pthread_handler_rec {
259    pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
260    pub __arg: *mut ::std::os::raw::c_void,
261    pub __next: *mut __darwin_pthread_handler_rec,
262}
263const _: () = {
264    ["Size of __darwin_pthread_handler_rec"]
265        [::std::mem::size_of::<__darwin_pthread_handler_rec>() - 24usize];
266    ["Alignment of __darwin_pthread_handler_rec"]
267        [::std::mem::align_of::<__darwin_pthread_handler_rec>() - 8usize];
268    ["Offset of field: __darwin_pthread_handler_rec::__routine"]
269        [::std::mem::offset_of!(__darwin_pthread_handler_rec, __routine) - 0usize];
270    ["Offset of field: __darwin_pthread_handler_rec::__arg"]
271        [::std::mem::offset_of!(__darwin_pthread_handler_rec, __arg) - 8usize];
272    ["Offset of field: __darwin_pthread_handler_rec::__next"]
273        [::std::mem::offset_of!(__darwin_pthread_handler_rec, __next) - 16usize];
274};
275#[repr(C)]
276#[derive(Debug, Copy, Clone)]
277pub struct _opaque_pthread_attr_t {
278    pub __sig: ::std::os::raw::c_long,
279    pub __opaque: [::std::os::raw::c_char; 56usize],
280}
281const _: () = {
282    ["Size of _opaque_pthread_attr_t"][::std::mem::size_of::<_opaque_pthread_attr_t>() - 64usize];
283    ["Alignment of _opaque_pthread_attr_t"]
284        [::std::mem::align_of::<_opaque_pthread_attr_t>() - 8usize];
285    ["Offset of field: _opaque_pthread_attr_t::__sig"]
286        [::std::mem::offset_of!(_opaque_pthread_attr_t, __sig) - 0usize];
287    ["Offset of field: _opaque_pthread_attr_t::__opaque"]
288        [::std::mem::offset_of!(_opaque_pthread_attr_t, __opaque) - 8usize];
289};
290#[repr(C)]
291#[derive(Debug, Copy, Clone)]
292pub struct _opaque_pthread_cond_t {
293    pub __sig: ::std::os::raw::c_long,
294    pub __opaque: [::std::os::raw::c_char; 40usize],
295}
296const _: () = {
297    ["Size of _opaque_pthread_cond_t"][::std::mem::size_of::<_opaque_pthread_cond_t>() - 48usize];
298    ["Alignment of _opaque_pthread_cond_t"]
299        [::std::mem::align_of::<_opaque_pthread_cond_t>() - 8usize];
300    ["Offset of field: _opaque_pthread_cond_t::__sig"]
301        [::std::mem::offset_of!(_opaque_pthread_cond_t, __sig) - 0usize];
302    ["Offset of field: _opaque_pthread_cond_t::__opaque"]
303        [::std::mem::offset_of!(_opaque_pthread_cond_t, __opaque) - 8usize];
304};
305#[repr(C)]
306#[derive(Debug, Copy, Clone)]
307pub struct _opaque_pthread_condattr_t {
308    pub __sig: ::std::os::raw::c_long,
309    pub __opaque: [::std::os::raw::c_char; 8usize],
310}
311const _: () = {
312    ["Size of _opaque_pthread_condattr_t"]
313        [::std::mem::size_of::<_opaque_pthread_condattr_t>() - 16usize];
314    ["Alignment of _opaque_pthread_condattr_t"]
315        [::std::mem::align_of::<_opaque_pthread_condattr_t>() - 8usize];
316    ["Offset of field: _opaque_pthread_condattr_t::__sig"]
317        [::std::mem::offset_of!(_opaque_pthread_condattr_t, __sig) - 0usize];
318    ["Offset of field: _opaque_pthread_condattr_t::__opaque"]
319        [::std::mem::offset_of!(_opaque_pthread_condattr_t, __opaque) - 8usize];
320};
321#[repr(C)]
322#[derive(Debug, Copy, Clone)]
323pub struct _opaque_pthread_mutex_t {
324    pub __sig: ::std::os::raw::c_long,
325    pub __opaque: [::std::os::raw::c_char; 56usize],
326}
327const _: () = {
328    ["Size of _opaque_pthread_mutex_t"][::std::mem::size_of::<_opaque_pthread_mutex_t>() - 64usize];
329    ["Alignment of _opaque_pthread_mutex_t"]
330        [::std::mem::align_of::<_opaque_pthread_mutex_t>() - 8usize];
331    ["Offset of field: _opaque_pthread_mutex_t::__sig"]
332        [::std::mem::offset_of!(_opaque_pthread_mutex_t, __sig) - 0usize];
333    ["Offset of field: _opaque_pthread_mutex_t::__opaque"]
334        [::std::mem::offset_of!(_opaque_pthread_mutex_t, __opaque) - 8usize];
335};
336#[repr(C)]
337#[derive(Debug, Copy, Clone)]
338pub struct _opaque_pthread_mutexattr_t {
339    pub __sig: ::std::os::raw::c_long,
340    pub __opaque: [::std::os::raw::c_char; 8usize],
341}
342const _: () = {
343    ["Size of _opaque_pthread_mutexattr_t"]
344        [::std::mem::size_of::<_opaque_pthread_mutexattr_t>() - 16usize];
345    ["Alignment of _opaque_pthread_mutexattr_t"]
346        [::std::mem::align_of::<_opaque_pthread_mutexattr_t>() - 8usize];
347    ["Offset of field: _opaque_pthread_mutexattr_t::__sig"]
348        [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __sig) - 0usize];
349    ["Offset of field: _opaque_pthread_mutexattr_t::__opaque"]
350        [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __opaque) - 8usize];
351};
352#[repr(C)]
353#[derive(Debug, Copy, Clone)]
354pub struct _opaque_pthread_once_t {
355    pub __sig: ::std::os::raw::c_long,
356    pub __opaque: [::std::os::raw::c_char; 8usize],
357}
358const _: () = {
359    ["Size of _opaque_pthread_once_t"][::std::mem::size_of::<_opaque_pthread_once_t>() - 16usize];
360    ["Alignment of _opaque_pthread_once_t"]
361        [::std::mem::align_of::<_opaque_pthread_once_t>() - 8usize];
362    ["Offset of field: _opaque_pthread_once_t::__sig"]
363        [::std::mem::offset_of!(_opaque_pthread_once_t, __sig) - 0usize];
364    ["Offset of field: _opaque_pthread_once_t::__opaque"]
365        [::std::mem::offset_of!(_opaque_pthread_once_t, __opaque) - 8usize];
366};
367#[repr(C)]
368#[derive(Debug, Copy, Clone)]
369pub struct _opaque_pthread_rwlock_t {
370    pub __sig: ::std::os::raw::c_long,
371    pub __opaque: [::std::os::raw::c_char; 192usize],
372}
373const _: () = {
374    ["Size of _opaque_pthread_rwlock_t"]
375        [::std::mem::size_of::<_opaque_pthread_rwlock_t>() - 200usize];
376    ["Alignment of _opaque_pthread_rwlock_t"]
377        [::std::mem::align_of::<_opaque_pthread_rwlock_t>() - 8usize];
378    ["Offset of field: _opaque_pthread_rwlock_t::__sig"]
379        [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __sig) - 0usize];
380    ["Offset of field: _opaque_pthread_rwlock_t::__opaque"]
381        [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __opaque) - 8usize];
382};
383#[repr(C)]
384#[derive(Debug, Copy, Clone)]
385pub struct _opaque_pthread_rwlockattr_t {
386    pub __sig: ::std::os::raw::c_long,
387    pub __opaque: [::std::os::raw::c_char; 16usize],
388}
389const _: () = {
390    ["Size of _opaque_pthread_rwlockattr_t"]
391        [::std::mem::size_of::<_opaque_pthread_rwlockattr_t>() - 24usize];
392    ["Alignment of _opaque_pthread_rwlockattr_t"]
393        [::std::mem::align_of::<_opaque_pthread_rwlockattr_t>() - 8usize];
394    ["Offset of field: _opaque_pthread_rwlockattr_t::__sig"]
395        [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __sig) - 0usize];
396    ["Offset of field: _opaque_pthread_rwlockattr_t::__opaque"]
397        [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __opaque) - 8usize];
398};
399#[repr(C)]
400#[derive(Debug, Copy, Clone)]
401pub struct _opaque_pthread_t {
402    pub __sig: ::std::os::raw::c_long,
403    pub __cleanup_stack: *mut __darwin_pthread_handler_rec,
404    pub __opaque: [::std::os::raw::c_char; 8176usize],
405}
406const _: () = {
407    ["Size of _opaque_pthread_t"][::std::mem::size_of::<_opaque_pthread_t>() - 8192usize];
408    ["Alignment of _opaque_pthread_t"][::std::mem::align_of::<_opaque_pthread_t>() - 8usize];
409    ["Offset of field: _opaque_pthread_t::__sig"]
410        [::std::mem::offset_of!(_opaque_pthread_t, __sig) - 0usize];
411    ["Offset of field: _opaque_pthread_t::__cleanup_stack"]
412        [::std::mem::offset_of!(_opaque_pthread_t, __cleanup_stack) - 8usize];
413    ["Offset of field: _opaque_pthread_t::__opaque"]
414        [::std::mem::offset_of!(_opaque_pthread_t, __opaque) - 16usize];
415};
416pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t;
417pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t;
418pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t;
419pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong;
420pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t;
421pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t;
422pub type __darwin_pthread_once_t = _opaque_pthread_once_t;
423pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t;
424pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t;
425pub type __darwin_pthread_t = *mut _opaque_pthread_t;
426pub type intmax_t = ::std::os::raw::c_long;
427pub type uintmax_t = ::std::os::raw::c_ulong;
428pub const _Unwind_Reason_Code__URC_NO_REASON: _Unwind_Reason_Code = 0;
429pub const _Unwind_Reason_Code__URC_OK: _Unwind_Reason_Code = 0;
430pub const _Unwind_Reason_Code__URC_FOREIGN_EXCEPTION_CAUGHT: _Unwind_Reason_Code = 1;
431pub const _Unwind_Reason_Code__URC_FATAL_PHASE2_ERROR: _Unwind_Reason_Code = 2;
432pub const _Unwind_Reason_Code__URC_FATAL_PHASE1_ERROR: _Unwind_Reason_Code = 3;
433pub const _Unwind_Reason_Code__URC_NORMAL_STOP: _Unwind_Reason_Code = 4;
434pub const _Unwind_Reason_Code__URC_END_OF_STACK: _Unwind_Reason_Code = 5;
435pub const _Unwind_Reason_Code__URC_HANDLER_FOUND: _Unwind_Reason_Code = 6;
436pub const _Unwind_Reason_Code__URC_INSTALL_CONTEXT: _Unwind_Reason_Code = 7;
437pub const _Unwind_Reason_Code__URC_CONTINUE_UNWIND: _Unwind_Reason_Code = 8;
438pub type _Unwind_Reason_Code = ::std::os::raw::c_uint;
439pub const _Unwind_Action__UA_SEARCH_PHASE: _Unwind_Action = 1;
440pub const _Unwind_Action__UA_CLEANUP_PHASE: _Unwind_Action = 2;
441pub const _Unwind_Action__UA_HANDLER_FRAME: _Unwind_Action = 4;
442pub const _Unwind_Action__UA_FORCE_UNWIND: _Unwind_Action = 8;
443pub const _Unwind_Action__UA_END_OF_STACK: _Unwind_Action = 16;
444pub type _Unwind_Action = ::std::os::raw::c_uint;
445#[repr(C)]
446#[derive(Debug, Copy, Clone)]
447pub struct _Unwind_Context {
448    _unused: [u8; 0],
449}
450pub type _Unwind_Exception_Class = u64;
451#[repr(C)]
452#[repr(align(16))]
453#[derive(Debug, Copy, Clone)]
454pub struct _Unwind_Exception {
455    pub exception_class: _Unwind_Exception_Class,
456    pub exception_cleanup: ::std::option::Option<
457        unsafe extern "C" fn(reason: _Unwind_Reason_Code, exc: *mut _Unwind_Exception),
458    >,
459    pub private_1: usize,
460    pub private_2: usize,
461}
462const _: () = {
463    ["Size of _Unwind_Exception"][::std::mem::size_of::<_Unwind_Exception>() - 32usize];
464    ["Alignment of _Unwind_Exception"][::std::mem::align_of::<_Unwind_Exception>() - 16usize];
465    ["Offset of field: _Unwind_Exception::exception_class"]
466        [::std::mem::offset_of!(_Unwind_Exception, exception_class) - 0usize];
467    ["Offset of field: _Unwind_Exception::exception_cleanup"]
468        [::std::mem::offset_of!(_Unwind_Exception, exception_cleanup) - 8usize];
469    ["Offset of field: _Unwind_Exception::private_1"]
470        [::std::mem::offset_of!(_Unwind_Exception, private_1) - 16usize];
471    ["Offset of field: _Unwind_Exception::private_2"]
472        [::std::mem::offset_of!(_Unwind_Exception, private_2) - 24usize];
473};
474pub type _Unwind_Personality_Fn = ::std::option::Option<
475    unsafe extern "C" fn(
476        version: ::std::os::raw::c_int,
477        actions: _Unwind_Action,
478        exceptionClass: u64,
479        exceptionObject: *mut _Unwind_Exception,
480        context: *mut _Unwind_Context,
481    ) -> _Unwind_Reason_Code,
482>;
483extern "C" {
484    pub fn _Unwind_RaiseException(exception_object: *mut _Unwind_Exception) -> _Unwind_Reason_Code;
485}
486extern "C" {
487    pub fn _Unwind_Resume(exception_object: *mut _Unwind_Exception);
488}
489extern "C" {
490    pub fn _Unwind_DeleteException(exception_object: *mut _Unwind_Exception);
491}
492extern "C" {
493    pub fn _Unwind_GetGR(context: *mut _Unwind_Context, index: ::std::os::raw::c_int) -> usize;
494}
495extern "C" {
496    pub fn _Unwind_SetGR(
497        context: *mut _Unwind_Context,
498        index: ::std::os::raw::c_int,
499        new_value: usize,
500    );
501}
502extern "C" {
503    pub fn _Unwind_GetIP(context: *mut _Unwind_Context) -> usize;
504}
505extern "C" {
506    pub fn _Unwind_SetIP(arg1: *mut _Unwind_Context, new_value: usize);
507}
508pub type _Unwind_Stop_Fn = ::std::option::Option<
509    unsafe extern "C" fn(
510        version: ::std::os::raw::c_int,
511        actions: _Unwind_Action,
512        exceptionClass: _Unwind_Exception_Class,
513        exceptionObject: *mut _Unwind_Exception,
514        context: *mut _Unwind_Context,
515        stop_parameter: *mut ::std::os::raw::c_void,
516    ) -> _Unwind_Reason_Code,
517>;
518extern "C" {
519    pub fn _Unwind_GetRegionStart(context: *mut _Unwind_Context) -> usize;
520}
521extern "C" {
522    pub fn _Unwind_GetLanguageSpecificData(context: *mut _Unwind_Context) -> usize;
523}
524extern "C" {
525    pub fn _Unwind_ForcedUnwind(
526        exception_object: *mut _Unwind_Exception,
527        stop: _Unwind_Stop_Fn,
528        stop_parameter: *mut ::std::os::raw::c_void,
529    ) -> _Unwind_Reason_Code;
530}
531extern "C" {
532    pub fn _Unwind_Resume_or_Rethrow(
533        exception_object: *mut _Unwind_Exception,
534    ) -> _Unwind_Reason_Code;
535}
536pub type _Unwind_Trace_Fn = ::std::option::Option<
537    unsafe extern "C" fn(
538        arg1: *mut _Unwind_Context,
539        arg2: *mut ::std::os::raw::c_void,
540    ) -> _Unwind_Reason_Code,
541>;
542extern "C" {
543    pub fn _Unwind_Backtrace(
544        arg1: _Unwind_Trace_Fn,
545        arg2: *mut ::std::os::raw::c_void,
546    ) -> _Unwind_Reason_Code;
547}
548extern "C" {
549    pub fn _Unwind_GetCFA(arg1: *mut _Unwind_Context) -> usize;
550}
551extern "C" {
552    pub fn _Unwind_GetIPInfo(
553        context: *mut _Unwind_Context,
554        ipBefore: *mut ::std::os::raw::c_int,
555    ) -> usize;
556}
557extern "C" {
558    pub fn __register_frame(fde: *const ::std::os::raw::c_void);
559}
560extern "C" {
561    pub fn __deregister_frame(fde: *const ::std::os::raw::c_void);
562}
563#[repr(C)]
564#[derive(Debug, Copy, Clone)]
565pub struct dwarf_eh_bases {
566    pub tbase: usize,
567    pub dbase: usize,
568    pub func: usize,
569}
570const _: () = {
571    ["Size of dwarf_eh_bases"][::std::mem::size_of::<dwarf_eh_bases>() - 24usize];
572    ["Alignment of dwarf_eh_bases"][::std::mem::align_of::<dwarf_eh_bases>() - 8usize];
573    ["Offset of field: dwarf_eh_bases::tbase"]
574        [::std::mem::offset_of!(dwarf_eh_bases, tbase) - 0usize];
575    ["Offset of field: dwarf_eh_bases::dbase"]
576        [::std::mem::offset_of!(dwarf_eh_bases, dbase) - 8usize];
577    ["Offset of field: dwarf_eh_bases::func"]
578        [::std::mem::offset_of!(dwarf_eh_bases, func) - 16usize];
579};
580extern "C" {
581    pub fn _Unwind_Find_FDE(
582        pc: *const ::std::os::raw::c_void,
583        arg1: *mut dwarf_eh_bases,
584    ) -> *const ::std::os::raw::c_void;
585}
586extern "C" {
587    pub fn _Unwind_FindEnclosingFunction(
588        pc: *mut ::std::os::raw::c_void,
589    ) -> *mut ::std::os::raw::c_void;
590}
591extern "C" {
592    pub fn _Unwind_GetDataRelBase(context: *mut _Unwind_Context) -> usize;
593}
594extern "C" {
595    pub fn _Unwind_GetTextRelBase(context: *mut _Unwind_Context) -> usize;
596}
597extern "C" {
598    pub fn __register_frame_info_bases(
599        fde: *const ::std::os::raw::c_void,
600        ob: *mut ::std::os::raw::c_void,
601        tb: *mut ::std::os::raw::c_void,
602        db: *mut ::std::os::raw::c_void,
603    );
604}
605extern "C" {
606    pub fn __register_frame_info(
607        fde: *const ::std::os::raw::c_void,
608        ob: *mut ::std::os::raw::c_void,
609    );
610}
611extern "C" {
612    pub fn __register_frame_info_table_bases(
613        fde: *const ::std::os::raw::c_void,
614        ob: *mut ::std::os::raw::c_void,
615        tb: *mut ::std::os::raw::c_void,
616        db: *mut ::std::os::raw::c_void,
617    );
618}
619extern "C" {
620    pub fn __register_frame_info_table(
621        fde: *const ::std::os::raw::c_void,
622        ob: *mut ::std::os::raw::c_void,
623    );
624}
625extern "C" {
626    pub fn __register_frame_table(fde: *const ::std::os::raw::c_void);
627}
628extern "C" {
629    pub fn __deregister_frame_info(
630        fde: *const ::std::os::raw::c_void,
631    ) -> *mut ::std::os::raw::c_void;
632}
633extern "C" {
634    pub fn __deregister_frame_info_bases(
635        fde: *const ::std::os::raw::c_void,
636    ) -> *mut ::std::os::raw::c_void;
637}
638extern "C" {
639    #[link_name = "\u{1}_swift_exceptionPersonality"]
640    pub fn swift_swift_exceptionPersonality(
641        version: ::std::os::raw::c_int,
642        actions: _Unwind_Action,
643        exceptionClass: u64,
644        exceptionObject: *mut _Unwind_Exception,
645        context: *mut _Unwind_Context,
646    ) -> _Unwind_Reason_Code;
647}
648pub type __builtin_va_list = *mut ::std::os::raw::c_char;