1#![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 _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION: u32 = 0;
18pub const _LIBCPP_AVAILABILITY_HAS_FILESYSTEM_LIBRARY: u32 = 1;
19pub const _LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT: u32 = 1;
20pub const _LIBCPP_AVAILABILITY_HAS_SYNC: u32 = 1;
21pub const _LIBCPP_AVAILABILITY_HAS_VERBOSE_ABORT: u32 = 0;
22pub const _LIBCPP_AVAILABILITY_HAS_PMR: u32 = 1;
23pub const _LIBCPP_AVAILABILITY_HAS_TZDB: u32 = 0;
24pub const _LIBCPP_AVAILABILITY_HAS_PRINT: u32 = 0;
25pub const _LIBCPP_AVAILABILITY_HAS_ADDITIONAL_IOSTREAM_EXPLICIT_INSTANTIATIONS_1: u32 = 1;
26pub const __WORDSIZE: u32 = 64;
27pub const __has_safe_buffers: u32 = 1;
28pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1;
29pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1;
30pub const __DARWIN_ONLY_VERS_1050: u32 = 1;
31pub const __DARWIN_UNIX03: u32 = 1;
32pub const __DARWIN_64_BIT_INO_T: u32 = 1;
33pub const __DARWIN_VERS_1050: u32 = 1;
34pub const __DARWIN_NON_CANCELABLE: u32 = 0;
35pub const __DARWIN_SUF_EXTSN: &[u8; 14] = b"$DARWIN_EXTSN\0";
36pub const __DARWIN_C_ANSI: u32 = 4096;
37pub const __DARWIN_C_FULL: u32 = 900000;
38pub const __DARWIN_C_LEVEL: u32 = 900000;
39pub const __DARWIN_NO_LONG_LONG: u32 = 0;
40pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1;
41pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1;
42pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1;
43pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1;
44pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3;
45pub const __has_ptrcheck: u32 = 0;
46pub const USE_CLANG_TYPES: u32 = 0;
47pub const __PTHREAD_SIZE__: u32 = 8176;
48pub const __PTHREAD_ATTR_SIZE__: u32 = 56;
49pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8;
50pub const __PTHREAD_MUTEX_SIZE__: u32 = 56;
51pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8;
52pub const __PTHREAD_COND_SIZE__: u32 = 40;
53pub const __PTHREAD_ONCE_SIZE__: u32 = 8;
54pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192;
55pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16;
56pub const INT8_MAX: u32 = 127;
57pub const INT16_MAX: u32 = 32767;
58pub const INT32_MAX: u32 = 2147483647;
59pub const INT64_MAX: u64 = 9223372036854775807;
60pub const INT8_MIN: i32 = -128;
61pub const INT16_MIN: i32 = -32768;
62pub const INT32_MIN: i32 = -2147483648;
63pub const INT64_MIN: i64 = -9223372036854775808;
64pub const UINT8_MAX: u32 = 255;
65pub const UINT16_MAX: u32 = 65535;
66pub const UINT32_MAX: u32 = 4294967295;
67pub const UINT64_MAX: i32 = -1;
68pub const INT_LEAST8_MIN: i32 = -128;
69pub const INT_LEAST16_MIN: i32 = -32768;
70pub const INT_LEAST32_MIN: i32 = -2147483648;
71pub const INT_LEAST64_MIN: i64 = -9223372036854775808;
72pub const INT_LEAST8_MAX: u32 = 127;
73pub const INT_LEAST16_MAX: u32 = 32767;
74pub const INT_LEAST32_MAX: u32 = 2147483647;
75pub const INT_LEAST64_MAX: u64 = 9223372036854775807;
76pub const UINT_LEAST8_MAX: u32 = 255;
77pub const UINT_LEAST16_MAX: u32 = 65535;
78pub const UINT_LEAST32_MAX: u32 = 4294967295;
79pub const UINT_LEAST64_MAX: i32 = -1;
80pub const INT_FAST8_MIN: i32 = -128;
81pub const INT_FAST16_MIN: i32 = -32768;
82pub const INT_FAST32_MIN: i32 = -2147483648;
83pub const INT_FAST64_MIN: i64 = -9223372036854775808;
84pub const INT_FAST8_MAX: u32 = 127;
85pub const INT_FAST16_MAX: u32 = 32767;
86pub const INT_FAST32_MAX: u32 = 2147483647;
87pub const INT_FAST64_MAX: u64 = 9223372036854775807;
88pub const UINT_FAST8_MAX: u32 = 255;
89pub const UINT_FAST16_MAX: u32 = 65535;
90pub const UINT_FAST32_MAX: u32 = 4294967295;
91pub const UINT_FAST64_MAX: i32 = -1;
92pub const INTPTR_MAX: u64 = 9223372036854775807;
93pub const INTPTR_MIN: i64 = -9223372036854775808;
94pub const UINTPTR_MAX: i32 = -1;
95pub const SIZE_MAX: i32 = -1;
96pub const WINT_MIN: i32 = -2147483648;
97pub const WINT_MAX: u32 = 2147483647;
98pub const SIG_ATOMIC_MIN: i32 = -2147483648;
99pub const SIG_ATOMIC_MAX: u32 = 2147483647;
100pub const SWIFT_COMPILER_IS_MSVC: u32 = 0;
101pub const SWIFT_BUG_REPORT_URL: &[u8; 47] = b"https://swift.org/contributing/#reporting-bugs\0";
102pub const SWIFT_BUG_REPORT_MESSAGE_BASE: &[u8; 69] =
103 b"submit a bug report (https://swift.org/contributing/#reporting-bugs)\0";
104pub const SWIFT_BUG_REPORT_MESSAGE: &[u8; 76] =
105 b"please submit a bug report (https://swift.org/contributing/#reporting-bugs)\0";
106pub 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" ;
107pub const SWIFT_POINTER_IS_8_BYTES: u32 = 1;
108pub const SWIFT_POINTER_IS_4_BYTES: u32 = 0;
109pub const SWIFT_OBJC_INTEROP: u32 = 1;
110pub const SWIFT_HAS_ISA_MASKING: u32 = 1;
111pub const SWIFT_HAS_OPAQUE_ISAS: u32 = 0;
112pub const SWIFT_STDLIB_HAS_MALLOC_TYPE: u32 = 0;
113pub const SWIFT_CLASS_IS_SWIFT_MASK: u32 = 2;
114pub const SWIFT_IMAGE_EXPORTS_swiftCore: u32 = 0;
115pub const SWIFT_IMAGE_EXPORTS_swift_Concurrency: u32 = 0;
116pub const SWIFT_IMAGE_EXPORTS_swiftDistributed: u32 = 0;
117pub const SWIFT_IMAGE_EXPORTS_swift_Differentiation: u32 = 0;
118pub const SWIFT_COMPACT_ABSOLUTE_FUNCTION_POINTER: u32 = 0;
119pub const SWIFT_PTRAUTH: u32 = 0;
120pub const DYNAMIC_TARGETS_ENABLED: u32 = 0;
121pub const TARGET_OS_MAC: u32 = 1;
122pub const TARGET_OS_OSX: u32 = 1;
123pub const TARGET_OS_IPHONE: u32 = 0;
124pub const TARGET_OS_IOS: u32 = 0;
125pub const TARGET_OS_WATCH: u32 = 0;
126pub const TARGET_OS_TV: u32 = 0;
127pub const TARGET_OS_MACCATALYST: u32 = 0;
128pub const TARGET_OS_UIKITFORMAC: u32 = 0;
129pub const TARGET_OS_SIMULATOR: u32 = 0;
130pub const TARGET_OS_EMBEDDED: u32 = 0;
131pub const TARGET_OS_UNIX: u32 = 0;
132pub const TARGET_OS_RTKIT: u32 = 0;
133pub const TARGET_RT_LITTLE_ENDIAN: u32 = 1;
134pub const TARGET_RT_BIG_ENDIAN: u32 = 0;
135pub const TARGET_RT_64_BIT: u32 = 1;
136pub const TARGET_RT_MAC_CFM: u32 = 0;
137pub const TARGET_RT_MAC_MACHO: u32 = 1;
138pub const TARGET_CPU_ARM64: u32 = 1;
139pub const TARGET_OS_VISION: u32 = 0;
140pub const TARGET_OS_DRIVERKIT: u32 = 0;
141pub const TARGET_OS_WIN32: u32 = 0;
142pub const TARGET_OS_WINDOWS: u32 = 0;
143pub const TARGET_OS_LINUX: u32 = 0;
144pub const TARGET_CPU_PPC: u32 = 0;
145pub const TARGET_CPU_PPC64: u32 = 0;
146pub const TARGET_CPU_68K: u32 = 0;
147pub const TARGET_CPU_X86: u32 = 0;
148pub const TARGET_CPU_X86_64: u32 = 0;
149pub const TARGET_CPU_ARM: u32 = 0;
150pub const TARGET_CPU_MIPS: u32 = 0;
151pub const TARGET_CPU_SPARC: u32 = 0;
152pub const TARGET_CPU_ALPHA: u32 = 0;
153pub const TARGET_IPHONE_SIMULATOR: u32 = 0;
154pub const TARGET_OS_NANO: u32 = 0;
155pub const SWIFT_BACKTRACE_ON_CRASH_SUPPORTED: u32 = 1;
156pub const SWIFT_BACKTRACE_SECTION: &[u8; 24] = b"__DATA,swift5_backtrace\0";
157pub const SWIFT_PAGE_SIZE: u32 = 16384;
158extern "C" {
159 #[link_name = "\u{1}__ZNSt3__122__libcpp_verbose_abortEPKcz"]
160 pub fn std___1___libcpp_verbose_abort(__format: *const ::std::os::raw::c_char, ...);
161}
162extern "C" {
163 #[link_name = "\u{1}__ZNSt3__15__useEPKcz"]
164 pub fn std___1___use(arg1: *const ::std::os::raw::c_char, ...);
165}
166pub type int_least8_t = i8;
167pub type int_least16_t = i16;
168pub type int_least32_t = i32;
169pub type int_least64_t = i64;
170pub type uint_least8_t = u8;
171pub type uint_least16_t = u16;
172pub type uint_least32_t = u32;
173pub type uint_least64_t = u64;
174pub type int_fast8_t = i8;
175pub type int_fast16_t = i16;
176pub type int_fast32_t = i32;
177pub type int_fast64_t = i64;
178pub type uint_fast8_t = u8;
179pub type uint_fast16_t = u16;
180pub type uint_fast32_t = u32;
181pub type uint_fast64_t = u64;
182pub type __int8_t = ::std::os::raw::c_schar;
183pub type __uint8_t = ::std::os::raw::c_uchar;
184pub type __int16_t = ::std::os::raw::c_short;
185pub type __uint16_t = ::std::os::raw::c_ushort;
186pub type __int32_t = ::std::os::raw::c_int;
187pub type __uint32_t = ::std::os::raw::c_uint;
188pub type __int64_t = ::std::os::raw::c_longlong;
189pub type __uint64_t = ::std::os::raw::c_ulonglong;
190pub type __darwin_intptr_t = ::std::os::raw::c_long;
191pub type __darwin_natural_t = ::std::os::raw::c_uint;
192pub type __darwin_ct_rune_t = ::std::os::raw::c_int;
193#[repr(C)]
194#[derive(Copy, Clone)]
195pub union __mbstate_t {
196 pub __mbstate8: [::std::os::raw::c_char; 128usize],
197 pub _mbstateL: ::std::os::raw::c_longlong,
198}
199const _: () = {
200 ["Size of __mbstate_t"][::std::mem::size_of::<__mbstate_t>() - 128usize];
201 ["Alignment of __mbstate_t"][::std::mem::align_of::<__mbstate_t>() - 8usize];
202 ["Offset of field: __mbstate_t::__mbstate8"]
203 [::std::mem::offset_of!(__mbstate_t, __mbstate8) - 0usize];
204 ["Offset of field: __mbstate_t::_mbstateL"]
205 [::std::mem::offset_of!(__mbstate_t, _mbstateL) - 0usize];
206};
207pub type __darwin_mbstate_t = __mbstate_t;
208pub type __darwin_ptrdiff_t = ::std::os::raw::c_long;
209pub type __darwin_size_t = ::std::os::raw::c_ulong;
210pub type __darwin_va_list = __builtin_va_list;
211pub type __darwin_wchar_t = ::std::os::raw::c_int;
212pub type __darwin_rune_t = __darwin_wchar_t;
213pub type __darwin_wint_t = ::std::os::raw::c_int;
214pub type __darwin_clock_t = ::std::os::raw::c_ulong;
215pub type __darwin_socklen_t = __uint32_t;
216pub type __darwin_ssize_t = ::std::os::raw::c_long;
217pub type __darwin_time_t = ::std::os::raw::c_long;
218pub type __darwin_blkcnt_t = __int64_t;
219pub type __darwin_blksize_t = __int32_t;
220pub type __darwin_dev_t = __int32_t;
221pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint;
222pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint;
223pub type __darwin_gid_t = __uint32_t;
224pub type __darwin_id_t = __uint32_t;
225pub type __darwin_ino64_t = __uint64_t;
226pub type __darwin_ino_t = __darwin_ino64_t;
227pub type __darwin_mach_port_name_t = __darwin_natural_t;
228pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
229pub type __darwin_mode_t = __uint16_t;
230pub type __darwin_off_t = __int64_t;
231pub type __darwin_pid_t = __int32_t;
232pub type __darwin_sigset_t = __uint32_t;
233pub type __darwin_suseconds_t = __int32_t;
234pub type __darwin_uid_t = __uint32_t;
235pub type __darwin_useconds_t = __uint32_t;
236pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize];
237pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize];
238#[repr(C)]
239#[derive(Debug, Copy, Clone)]
240pub struct __darwin_pthread_handler_rec {
241 pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
242 pub __arg: *mut ::std::os::raw::c_void,
243 pub __next: *mut __darwin_pthread_handler_rec,
244}
245const _: () = {
246 ["Size of __darwin_pthread_handler_rec"]
247 [::std::mem::size_of::<__darwin_pthread_handler_rec>() - 24usize];
248 ["Alignment of __darwin_pthread_handler_rec"]
249 [::std::mem::align_of::<__darwin_pthread_handler_rec>() - 8usize];
250 ["Offset of field: __darwin_pthread_handler_rec::__routine"]
251 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __routine) - 0usize];
252 ["Offset of field: __darwin_pthread_handler_rec::__arg"]
253 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __arg) - 8usize];
254 ["Offset of field: __darwin_pthread_handler_rec::__next"]
255 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __next) - 16usize];
256};
257#[repr(C)]
258#[derive(Debug, Copy, Clone)]
259pub struct _opaque_pthread_attr_t {
260 pub __sig: ::std::os::raw::c_long,
261 pub __opaque: [::std::os::raw::c_char; 56usize],
262}
263const _: () = {
264 ["Size of _opaque_pthread_attr_t"][::std::mem::size_of::<_opaque_pthread_attr_t>() - 64usize];
265 ["Alignment of _opaque_pthread_attr_t"]
266 [::std::mem::align_of::<_opaque_pthread_attr_t>() - 8usize];
267 ["Offset of field: _opaque_pthread_attr_t::__sig"]
268 [::std::mem::offset_of!(_opaque_pthread_attr_t, __sig) - 0usize];
269 ["Offset of field: _opaque_pthread_attr_t::__opaque"]
270 [::std::mem::offset_of!(_opaque_pthread_attr_t, __opaque) - 8usize];
271};
272#[repr(C)]
273#[derive(Debug, Copy, Clone)]
274pub struct _opaque_pthread_cond_t {
275 pub __sig: ::std::os::raw::c_long,
276 pub __opaque: [::std::os::raw::c_char; 40usize],
277}
278const _: () = {
279 ["Size of _opaque_pthread_cond_t"][::std::mem::size_of::<_opaque_pthread_cond_t>() - 48usize];
280 ["Alignment of _opaque_pthread_cond_t"]
281 [::std::mem::align_of::<_opaque_pthread_cond_t>() - 8usize];
282 ["Offset of field: _opaque_pthread_cond_t::__sig"]
283 [::std::mem::offset_of!(_opaque_pthread_cond_t, __sig) - 0usize];
284 ["Offset of field: _opaque_pthread_cond_t::__opaque"]
285 [::std::mem::offset_of!(_opaque_pthread_cond_t, __opaque) - 8usize];
286};
287#[repr(C)]
288#[derive(Debug, Copy, Clone)]
289pub struct _opaque_pthread_condattr_t {
290 pub __sig: ::std::os::raw::c_long,
291 pub __opaque: [::std::os::raw::c_char; 8usize],
292}
293const _: () = {
294 ["Size of _opaque_pthread_condattr_t"]
295 [::std::mem::size_of::<_opaque_pthread_condattr_t>() - 16usize];
296 ["Alignment of _opaque_pthread_condattr_t"]
297 [::std::mem::align_of::<_opaque_pthread_condattr_t>() - 8usize];
298 ["Offset of field: _opaque_pthread_condattr_t::__sig"]
299 [::std::mem::offset_of!(_opaque_pthread_condattr_t, __sig) - 0usize];
300 ["Offset of field: _opaque_pthread_condattr_t::__opaque"]
301 [::std::mem::offset_of!(_opaque_pthread_condattr_t, __opaque) - 8usize];
302};
303#[repr(C)]
304#[derive(Debug, Copy, Clone)]
305pub struct _opaque_pthread_mutex_t {
306 pub __sig: ::std::os::raw::c_long,
307 pub __opaque: [::std::os::raw::c_char; 56usize],
308}
309const _: () = {
310 ["Size of _opaque_pthread_mutex_t"][::std::mem::size_of::<_opaque_pthread_mutex_t>() - 64usize];
311 ["Alignment of _opaque_pthread_mutex_t"]
312 [::std::mem::align_of::<_opaque_pthread_mutex_t>() - 8usize];
313 ["Offset of field: _opaque_pthread_mutex_t::__sig"]
314 [::std::mem::offset_of!(_opaque_pthread_mutex_t, __sig) - 0usize];
315 ["Offset of field: _opaque_pthread_mutex_t::__opaque"]
316 [::std::mem::offset_of!(_opaque_pthread_mutex_t, __opaque) - 8usize];
317};
318#[repr(C)]
319#[derive(Debug, Copy, Clone)]
320pub struct _opaque_pthread_mutexattr_t {
321 pub __sig: ::std::os::raw::c_long,
322 pub __opaque: [::std::os::raw::c_char; 8usize],
323}
324const _: () = {
325 ["Size of _opaque_pthread_mutexattr_t"]
326 [::std::mem::size_of::<_opaque_pthread_mutexattr_t>() - 16usize];
327 ["Alignment of _opaque_pthread_mutexattr_t"]
328 [::std::mem::align_of::<_opaque_pthread_mutexattr_t>() - 8usize];
329 ["Offset of field: _opaque_pthread_mutexattr_t::__sig"]
330 [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __sig) - 0usize];
331 ["Offset of field: _opaque_pthread_mutexattr_t::__opaque"]
332 [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __opaque) - 8usize];
333};
334#[repr(C)]
335#[derive(Debug, Copy, Clone)]
336pub struct _opaque_pthread_once_t {
337 pub __sig: ::std::os::raw::c_long,
338 pub __opaque: [::std::os::raw::c_char; 8usize],
339}
340const _: () = {
341 ["Size of _opaque_pthread_once_t"][::std::mem::size_of::<_opaque_pthread_once_t>() - 16usize];
342 ["Alignment of _opaque_pthread_once_t"]
343 [::std::mem::align_of::<_opaque_pthread_once_t>() - 8usize];
344 ["Offset of field: _opaque_pthread_once_t::__sig"]
345 [::std::mem::offset_of!(_opaque_pthread_once_t, __sig) - 0usize];
346 ["Offset of field: _opaque_pthread_once_t::__opaque"]
347 [::std::mem::offset_of!(_opaque_pthread_once_t, __opaque) - 8usize];
348};
349#[repr(C)]
350#[derive(Debug, Copy, Clone)]
351pub struct _opaque_pthread_rwlock_t {
352 pub __sig: ::std::os::raw::c_long,
353 pub __opaque: [::std::os::raw::c_char; 192usize],
354}
355const _: () = {
356 ["Size of _opaque_pthread_rwlock_t"]
357 [::std::mem::size_of::<_opaque_pthread_rwlock_t>() - 200usize];
358 ["Alignment of _opaque_pthread_rwlock_t"]
359 [::std::mem::align_of::<_opaque_pthread_rwlock_t>() - 8usize];
360 ["Offset of field: _opaque_pthread_rwlock_t::__sig"]
361 [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __sig) - 0usize];
362 ["Offset of field: _opaque_pthread_rwlock_t::__opaque"]
363 [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __opaque) - 8usize];
364};
365#[repr(C)]
366#[derive(Debug, Copy, Clone)]
367pub struct _opaque_pthread_rwlockattr_t {
368 pub __sig: ::std::os::raw::c_long,
369 pub __opaque: [::std::os::raw::c_char; 16usize],
370}
371const _: () = {
372 ["Size of _opaque_pthread_rwlockattr_t"]
373 [::std::mem::size_of::<_opaque_pthread_rwlockattr_t>() - 24usize];
374 ["Alignment of _opaque_pthread_rwlockattr_t"]
375 [::std::mem::align_of::<_opaque_pthread_rwlockattr_t>() - 8usize];
376 ["Offset of field: _opaque_pthread_rwlockattr_t::__sig"]
377 [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __sig) - 0usize];
378 ["Offset of field: _opaque_pthread_rwlockattr_t::__opaque"]
379 [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __opaque) - 8usize];
380};
381#[repr(C)]
382#[derive(Debug, Copy, Clone)]
383pub struct _opaque_pthread_t {
384 pub __sig: ::std::os::raw::c_long,
385 pub __cleanup_stack: *mut __darwin_pthread_handler_rec,
386 pub __opaque: [::std::os::raw::c_char; 8176usize],
387}
388const _: () = {
389 ["Size of _opaque_pthread_t"][::std::mem::size_of::<_opaque_pthread_t>() - 8192usize];
390 ["Alignment of _opaque_pthread_t"][::std::mem::align_of::<_opaque_pthread_t>() - 8usize];
391 ["Offset of field: _opaque_pthread_t::__sig"]
392 [::std::mem::offset_of!(_opaque_pthread_t, __sig) - 0usize];
393 ["Offset of field: _opaque_pthread_t::__cleanup_stack"]
394 [::std::mem::offset_of!(_opaque_pthread_t, __cleanup_stack) - 8usize];
395 ["Offset of field: _opaque_pthread_t::__opaque"]
396 [::std::mem::offset_of!(_opaque_pthread_t, __opaque) - 16usize];
397};
398pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t;
399pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t;
400pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t;
401pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong;
402pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t;
403pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t;
404pub type __darwin_pthread_once_t = _opaque_pthread_once_t;
405pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t;
406pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t;
407pub type __darwin_pthread_t = *mut _opaque_pthread_t;
408pub type intmax_t = ::std::os::raw::c_long;
409pub type uintmax_t = ::std::os::raw::c_ulong;
410pub type max_align_t = f64;
411pub type swift_ExclusivityFlags = usize;
412#[repr(C)]
413#[derive(Debug, Copy, Clone)]
414pub struct swift_TargetValueBuffer {
415 pub _address: u8,
416}
417#[repr(C)]
418#[derive(Debug, Copy, Clone)]
419pub struct swift_InProcess {
420 _unused: [u8; 0],
421}
422pub type swift_ValueBuffer = swift_TargetValueBuffer;
423extern "C" {
424 #[doc = " Begin dynamically tracking an access.\n\n The buffer is opaque scratch space that the runtime may use for\n the duration of the access.\n\n The PC argument is an instruction pointer to associate with the start\n of the access. If it is null, the return address of the call to\n swift_beginAccess will be used."]
425 #[link_name = "\u{1}_swift_beginAccess"]
426 pub fn swift_swift_beginAccess(
427 pointer: *mut ::std::os::raw::c_void,
428 buffer: *mut swift_ValueBuffer,
429 flags: swift_ExclusivityFlags,
430 pc: *mut ::std::os::raw::c_void,
431 );
432}
433extern "C" {
434 #[doc = " Stop dynamically tracking an access."]
435 #[link_name = "\u{1}_swift_endAccess"]
436 pub fn swift_swift_endAccess(buffer: *mut swift_ValueBuffer);
437}
438extern "C" {
439 #[doc = " A flag which, if set, causes access tracking to be suspended.\n Accesses which begin while this flag is set will not be tracked,\n will not cause exclusivity failures, and do not need to be ended.\n\n This is here to support tools like debuggers. Debuggers need to\n be able to run code at breakpoints that does things like read\n from a variable while there are ongoing formal accesses to it.\n Such code may also crash, and we need to be able to recover\n without leaving various objects in a permanent \"accessed\"\n state. (We also need to not leave references to scratch\n buffers on the stack sitting around in the runtime.)"]
440 #[link_name = "\u{1}__swift_disableExclusivityChecking"]
441 pub static mut swift__swift_disableExclusivityChecking: bool;
442}
443extern "C" {
444 #[doc = " Dump all accesses currently tracked by the runtime.\n\n This is a debug routine that is intended to be used from the debugger and is\n compiled out when asserts are disabled. The intention is that it allows one\n to dump the access state to easily see if/when exclusivity violations will\n happen. This eases debugging."]
445 #[link_name = "\u{1}_swift_dumpTrackedAccesses"]
446 pub fn swift_swift_dumpTrackedAccesses();
447}
448extern "C" {
449 #[doc = " Called when a task inits, resumes and returns control to caller synchronous\n code to update any exclusivity specific state associated with the task.\n\n State is assumed to point to a buffer of memory with\n swift_task_threadLocalContextSize bytes that was initialized with\n swift_task_initThreadLocalContext.\n\n We describe the algorithm in detail on SwiftTaskThreadLocalContext in\n Exclusivity.cpp."]
450 #[link_name = "\u{1}_swift_task_enterThreadLocalContext"]
451 pub fn swift_swift_task_enterThreadLocalContext(state: *mut ::std::os::raw::c_char);
452}
453extern "C" {
454 #[doc = " Called when a task suspends and returns control to caller synchronous code\n to update any exclusivity specific state associated with the task.\n\n State is assumed to point to a buffer of memory with\n swift_task_threadLocalContextSize bytes that was initialized with\n swift_task_initThreadLocalContext.\n\n We describe the algorithm in detail on SwiftTaskThreadLocalContext in\n Exclusivity.cpp."]
455 #[link_name = "\u{1}_swift_task_exitThreadLocalContext"]
456 pub fn swift_swift_task_exitThreadLocalContext(state: *mut ::std::os::raw::c_char);
457}
458pub type __builtin_va_list = *mut ::std::os::raw::c_char;