/* automatically generated by rust-bindgen */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] pub struct __BindgenBitfieldUnit { storage: Storage, align: [Align; 0], } impl __BindgenBitfieldUnit { #[inline] pub const fn new(storage: Storage) -> Self { Self { storage, align: [] } } } impl __BindgenBitfieldUnit where Storage: AsRef<[u8]> + AsMut<[u8]>, { #[inline] pub fn get_bit(&self, index: usize) -> bool { debug_assert!(index / 8 < self.storage.as_ref().len()); let byte_index = index / 8; let byte = self.storage.as_ref()[byte_index]; let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 }; let mask = 1 << bit_index; byte & mask == mask } #[inline] pub fn set_bit(&mut self, index: usize, val: bool) { debug_assert!(index / 8 < self.storage.as_ref().len()); let byte_index = index / 8; let byte = &mut self.storage.as_mut()[byte_index]; let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 }; let mask = 1 << bit_index; if val { *byte |= mask; } else { *byte &= !mask; } } #[inline] pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { debug_assert!(bit_width <= 64); debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); let mut val = 0; for i in 0..(bit_width as usize) { if self.get_bit(i + bit_offset) { let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i }; val |= 1 << index; } } val } #[inline] pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { debug_assert!(bit_width <= 64); debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); for i in 0..(bit_width as usize) { let mask = 1 << i; let val_bit_is_set = val & mask == mask; let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i }; self.set_bit(index + bit_offset, val_bit_is_set); } } } pub const _LIBCPP_HAS_MERGED_TYPEINFO_NAMES_DEFAULT: u32 = 1; pub const _LIBCPP_VERSION: u32 = 10000; pub const _LIBCPP_ABI_VERSION: u32 = 1; pub const _LIBCPP_STD_VER: u32 = 14; pub const _LIBCPP_OBJECT_FORMAT_MACHO: u32 = 1; pub const _LIBCPP_HIDE_FROM_ABI_PER_TU: u32 = 1; pub const _LIBCPP_DEBUG_LEVEL: u32 = 0; pub const _LIBCPP_LOCALE__L_EXTENSIONS: u32 = 1; pub const _LIBCPP_HAS_CATOPEN: u32 = 1; pub const __STDCPP_THREADS__: u32 = 1; pub const __cpp_lib_chrono_udls: u32 = 201304; pub const __cpp_lib_complex_udls: u32 = 201309; pub const __cpp_lib_exchange_function: u32 = 201304; pub const __cpp_lib_generic_associative_lookup: u32 = 201304; pub const __cpp_lib_integer_sequence: u32 = 201304; pub const __cpp_lib_integral_constant_callable: u32 = 201304; pub const __cpp_lib_is_final: u32 = 201402; pub const __cpp_lib_is_null_pointer: u32 = 201309; pub const __cpp_lib_make_reverse_iterator: u32 = 201402; pub const __cpp_lib_make_unique: u32 = 201304; pub const __cpp_lib_null_iterators: u32 = 201304; pub const __cpp_lib_quoted_string_io: u32 = 201304; pub const __cpp_lib_result_of_sfinae: u32 = 201210; pub const __cpp_lib_robust_nonmodifying_seq_ops: u32 = 201304; pub const __cpp_lib_shared_timed_mutex: u32 = 201402; pub const __cpp_lib_string_udls: u32 = 201304; pub const __cpp_lib_transformation_trait_aliases: u32 = 201304; pub const __cpp_lib_transparent_operators: u32 = 201210; pub const __cpp_lib_tuple_element_t: u32 = 201402; pub const __cpp_lib_tuples_by_type: u32 = 201304; pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 0; pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; pub const __DARWIN_ONLY_VERS_1050: u32 = 0; pub const __DARWIN_UNIX03: u32 = 1; pub const __DARWIN_64_BIT_INO_T: u32 = 1; pub const __DARWIN_VERS_1050: u32 = 1; pub const __DARWIN_NON_CANCELABLE: u32 = 0; pub const __DARWIN_SUF_64_BIT_INO_T: &'static [u8; 9usize] = b"$INODE64\0"; pub const __DARWIN_SUF_1050: &'static [u8; 6usize] = b"$1050\0"; pub const __DARWIN_SUF_EXTSN: &'static [u8; 14usize] = b"$DARWIN_EXTSN\0"; pub const __DARWIN_C_ANSI: u32 = 4096; pub const __DARWIN_C_FULL: u32 = 900000; pub const __DARWIN_C_LEVEL: u32 = 900000; pub const __DARWIN_NO_LONG_LONG: u32 = 0; pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; pub const __PTHREAD_SIZE__: u32 = 8176; pub const __PTHREAD_ATTR_SIZE__: u32 = 56; pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; pub const __PTHREAD_COND_SIZE__: u32 = 40; pub const __PTHREAD_ONCE_SIZE__: u32 = 8; pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; pub const _FORTIFY_SOURCE: u32 = 2; pub const __API_TO_BE_DEPRECATED: u32 = 100000; pub const __MAC_10_0: u32 = 1000; pub const __MAC_10_1: u32 = 1010; pub const __MAC_10_2: u32 = 1020; pub const __MAC_10_3: u32 = 1030; pub const __MAC_10_4: u32 = 1040; pub const __MAC_10_5: u32 = 1050; pub const __MAC_10_6: u32 = 1060; pub const __MAC_10_7: u32 = 1070; pub const __MAC_10_8: u32 = 1080; pub const __MAC_10_9: u32 = 1090; pub const __MAC_10_10: u32 = 101000; pub const __MAC_10_10_2: u32 = 101002; pub const __MAC_10_10_3: u32 = 101003; pub const __MAC_10_11: u32 = 101100; pub const __MAC_10_11_2: u32 = 101102; pub const __MAC_10_11_3: u32 = 101103; pub const __MAC_10_11_4: u32 = 101104; pub const __MAC_10_12: u32 = 101200; pub const __MAC_10_12_1: u32 = 101201; pub const __MAC_10_12_2: u32 = 101202; pub const __MAC_10_12_4: u32 = 101204; pub const __MAC_10_13: u32 = 101300; pub const __MAC_10_13_1: u32 = 101301; pub const __MAC_10_13_2: u32 = 101302; pub const __MAC_10_13_4: u32 = 101304; pub const __MAC_10_14: u32 = 101400; pub const __MAC_10_14_1: u32 = 101401; pub const __MAC_10_14_4: u32 = 101404; pub const __MAC_10_14_6: u32 = 101406; pub const __MAC_10_15: u32 = 101500; pub const __MAC_10_15_1: u32 = 101501; pub const __MAC_10_15_4: u32 = 101504; pub const __MAC_10_16: u32 = 101600; pub const __MAC_11_0: u32 = 110000; pub const __IPHONE_2_0: u32 = 20000; pub const __IPHONE_2_1: u32 = 20100; pub const __IPHONE_2_2: u32 = 20200; pub const __IPHONE_3_0: u32 = 30000; pub const __IPHONE_3_1: u32 = 30100; pub const __IPHONE_3_2: u32 = 30200; pub const __IPHONE_4_0: u32 = 40000; pub const __IPHONE_4_1: u32 = 40100; pub const __IPHONE_4_2: u32 = 40200; pub const __IPHONE_4_3: u32 = 40300; pub const __IPHONE_5_0: u32 = 50000; pub const __IPHONE_5_1: u32 = 50100; pub const __IPHONE_6_0: u32 = 60000; pub const __IPHONE_6_1: u32 = 60100; pub const __IPHONE_7_0: u32 = 70000; pub const __IPHONE_7_1: u32 = 70100; pub const __IPHONE_8_0: u32 = 80000; pub const __IPHONE_8_1: u32 = 80100; pub const __IPHONE_8_2: u32 = 80200; pub const __IPHONE_8_3: u32 = 80300; pub const __IPHONE_8_4: u32 = 80400; pub const __IPHONE_9_0: u32 = 90000; pub const __IPHONE_9_1: u32 = 90100; pub const __IPHONE_9_2: u32 = 90200; pub const __IPHONE_9_3: u32 = 90300; pub const __IPHONE_10_0: u32 = 100000; pub const __IPHONE_10_1: u32 = 100100; pub const __IPHONE_10_2: u32 = 100200; pub const __IPHONE_10_3: u32 = 100300; pub const __IPHONE_11_0: u32 = 110000; pub const __IPHONE_11_1: u32 = 110100; pub const __IPHONE_11_2: u32 = 110200; pub const __IPHONE_11_3: u32 = 110300; pub const __IPHONE_11_4: u32 = 110400; pub const __IPHONE_12_0: u32 = 120000; pub const __IPHONE_12_1: u32 = 120100; pub const __IPHONE_12_2: u32 = 120200; pub const __IPHONE_12_3: u32 = 120300; pub const __IPHONE_12_4: u32 = 120400; pub const __IPHONE_13_0: u32 = 130000; pub const __IPHONE_13_1: u32 = 130100; pub const __IPHONE_13_2: u32 = 130200; pub const __IPHONE_13_3: u32 = 130300; pub const __IPHONE_13_4: u32 = 130400; pub const __IPHONE_13_5: u32 = 130500; pub const __IPHONE_13_6: u32 = 130600; pub const __IPHONE_13_7: u32 = 130700; pub const __IPHONE_14_0: u32 = 140000; pub const __IPHONE_14_1: u32 = 140100; pub const __IPHONE_14_2: u32 = 140200; pub const __TVOS_9_0: u32 = 90000; pub const __TVOS_9_1: u32 = 90100; pub const __TVOS_9_2: u32 = 90200; pub const __TVOS_10_0: u32 = 100000; pub const __TVOS_10_0_1: u32 = 100001; pub const __TVOS_10_1: u32 = 100100; pub const __TVOS_10_2: u32 = 100200; pub const __TVOS_11_0: u32 = 110000; pub const __TVOS_11_1: u32 = 110100; pub const __TVOS_11_2: u32 = 110200; pub const __TVOS_11_3: u32 = 110300; pub const __TVOS_11_4: u32 = 110400; pub const __TVOS_12_0: u32 = 120000; pub const __TVOS_12_1: u32 = 120100; pub const __TVOS_12_2: u32 = 120200; pub const __TVOS_12_3: u32 = 120300; pub const __TVOS_12_4: u32 = 120400; pub const __TVOS_13_0: u32 = 130000; pub const __TVOS_13_2: u32 = 130200; pub const __TVOS_13_3: u32 = 130300; pub const __TVOS_13_4: u32 = 130400; pub const __TVOS_14_0: u32 = 140000; pub const __TVOS_14_1: u32 = 140100; pub const __TVOS_14_2: u32 = 140200; pub const __WATCHOS_1_0: u32 = 10000; pub const __WATCHOS_2_0: u32 = 20000; pub const __WATCHOS_2_1: u32 = 20100; pub const __WATCHOS_2_2: u32 = 20200; pub const __WATCHOS_3_0: u32 = 30000; pub const __WATCHOS_3_1: u32 = 30100; pub const __WATCHOS_3_1_1: u32 = 30101; pub const __WATCHOS_3_2: u32 = 30200; pub const __WATCHOS_4_0: u32 = 40000; pub const __WATCHOS_4_1: u32 = 40100; pub const __WATCHOS_4_2: u32 = 40200; pub const __WATCHOS_4_3: u32 = 40300; pub const __WATCHOS_5_0: u32 = 50000; pub const __WATCHOS_5_1: u32 = 50100; pub const __WATCHOS_5_2: u32 = 50200; pub const __WATCHOS_5_3: u32 = 50300; pub const __WATCHOS_6_0: u32 = 60000; pub const __WATCHOS_6_1: u32 = 60100; pub const __WATCHOS_6_2: u32 = 60200; pub const __WATCHOS_7_0: u32 = 70000; pub const __WATCHOS_7_1: u32 = 70100; pub const MAC_OS_X_VERSION_10_0: u32 = 1000; pub const MAC_OS_X_VERSION_10_1: u32 = 1010; pub const MAC_OS_X_VERSION_10_2: u32 = 1020; pub const MAC_OS_X_VERSION_10_3: u32 = 1030; pub const MAC_OS_X_VERSION_10_4: u32 = 1040; pub const MAC_OS_X_VERSION_10_5: u32 = 1050; pub const MAC_OS_X_VERSION_10_6: u32 = 1060; pub const MAC_OS_X_VERSION_10_7: u32 = 1070; pub const MAC_OS_X_VERSION_10_8: u32 = 1080; pub const MAC_OS_X_VERSION_10_9: u32 = 1090; pub const MAC_OS_X_VERSION_10_10: u32 = 101000; pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002; pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003; pub const MAC_OS_X_VERSION_10_11: u32 = 101100; pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102; pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103; pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104; pub const MAC_OS_X_VERSION_10_12: u32 = 101200; pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201; pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202; pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204; pub const MAC_OS_X_VERSION_10_13: u32 = 101300; pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301; pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302; pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304; pub const MAC_OS_X_VERSION_10_14: u32 = 101400; pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401; pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404; pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406; pub const MAC_OS_X_VERSION_10_15: u32 = 101500; pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; pub const MAC_OS_X_VERSION_10_16: u32 = 101600; pub const MAC_OS_VERSION_11_0: u32 = 110000; pub const __DRIVERKIT_19_0: u32 = 190000; pub const __DRIVERKIT_20_0: u32 = 200000; pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 110000; pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; pub const __DARWIN_NSIG: u32 = 32; pub const NSIG: u32 = 32; pub const _I386_SIGNAL_H_: u32 = 1; pub const SIGHUP: u32 = 1; pub const SIGINT: u32 = 2; pub const SIGQUIT: u32 = 3; pub const SIGILL: u32 = 4; pub const SIGTRAP: u32 = 5; pub const SIGABRT: u32 = 6; pub const SIGIOT: u32 = 6; pub const SIGEMT: u32 = 7; pub const SIGFPE: u32 = 8; pub const SIGKILL: u32 = 9; pub const SIGBUS: u32 = 10; pub const SIGSEGV: u32 = 11; pub const SIGSYS: u32 = 12; pub const SIGPIPE: u32 = 13; pub const SIGALRM: u32 = 14; pub const SIGTERM: u32 = 15; pub const SIGURG: u32 = 16; pub const SIGSTOP: u32 = 17; pub const SIGTSTP: u32 = 18; pub const SIGCONT: u32 = 19; pub const SIGCHLD: u32 = 20; pub const SIGTTIN: u32 = 21; pub const SIGTTOU: u32 = 22; pub const SIGIO: u32 = 23; pub const SIGXCPU: u32 = 24; pub const SIGXFSZ: u32 = 25; pub const SIGVTALRM: u32 = 26; pub const SIGPROF: u32 = 27; pub const SIGWINCH: u32 = 28; pub const SIGINFO: u32 = 29; pub const SIGUSR1: u32 = 30; pub const SIGUSR2: u32 = 31; pub const FP_PREC_24B: u32 = 0; pub const FP_PREC_53B: u32 = 2; pub const FP_PREC_64B: u32 = 3; pub const FP_RND_NEAR: u32 = 0; pub const FP_RND_DOWN: u32 = 1; pub const FP_RND_UP: u32 = 2; pub const FP_CHOP: u32 = 3; pub const FP_STATE_BYTES: u32 = 512; pub const _X86_INSTRUCTION_STATE_MAX_INSN_BYTES: u32 = 2380; pub const _X86_INSTRUCTION_STATE_CACHELINE_SIZE: u32 = 64; pub const __LASTBRANCH_MAX: u32 = 32; pub const SIGEV_NONE: u32 = 0; pub const SIGEV_SIGNAL: u32 = 1; pub const SIGEV_THREAD: u32 = 3; pub const ILL_NOOP: u32 = 0; pub const ILL_ILLOPC: u32 = 1; pub const ILL_ILLTRP: u32 = 2; pub const ILL_PRVOPC: u32 = 3; pub const ILL_ILLOPN: u32 = 4; pub const ILL_ILLADR: u32 = 5; pub const ILL_PRVREG: u32 = 6; pub const ILL_COPROC: u32 = 7; pub const ILL_BADSTK: u32 = 8; pub const FPE_NOOP: u32 = 0; pub const FPE_FLTDIV: u32 = 1; pub const FPE_FLTOVF: u32 = 2; pub const FPE_FLTUND: u32 = 3; pub const FPE_FLTRES: u32 = 4; pub const FPE_FLTINV: u32 = 5; pub const FPE_FLTSUB: u32 = 6; pub const FPE_INTDIV: u32 = 7; pub const FPE_INTOVF: u32 = 8; pub const SEGV_NOOP: u32 = 0; pub const SEGV_MAPERR: u32 = 1; pub const SEGV_ACCERR: u32 = 2; pub const BUS_NOOP: u32 = 0; pub const BUS_ADRALN: u32 = 1; pub const BUS_ADRERR: u32 = 2; pub const BUS_OBJERR: u32 = 3; pub const TRAP_BRKPT: u32 = 1; pub const TRAP_TRACE: u32 = 2; pub const CLD_NOOP: u32 = 0; pub const CLD_EXITED: u32 = 1; pub const CLD_KILLED: u32 = 2; pub const CLD_DUMPED: u32 = 3; pub const CLD_TRAPPED: u32 = 4; pub const CLD_STOPPED: u32 = 5; pub const CLD_CONTINUED: u32 = 6; pub const POLL_IN: u32 = 1; pub const POLL_OUT: u32 = 2; pub const POLL_MSG: u32 = 3; pub const POLL_ERR: u32 = 4; pub const POLL_PRI: u32 = 5; pub const POLL_HUP: u32 = 6; pub const SA_ONSTACK: u32 = 1; pub const SA_RESTART: u32 = 2; pub const SA_RESETHAND: u32 = 4; pub const SA_NOCLDSTOP: u32 = 8; pub const SA_NODEFER: u32 = 16; pub const SA_NOCLDWAIT: u32 = 32; pub const SA_SIGINFO: u32 = 64; pub const SA_USERTRAMP: u32 = 256; pub const SA_64REGSET: u32 = 512; pub const SA_USERSPACE_MASK: u32 = 127; pub const SIG_BLOCK: u32 = 1; pub const SIG_UNBLOCK: u32 = 2; pub const SIG_SETMASK: u32 = 3; pub const SI_USER: u32 = 65537; pub const SI_QUEUE: u32 = 65538; pub const SI_TIMER: u32 = 65539; pub const SI_ASYNCIO: u32 = 65540; pub const SI_MESGQ: u32 = 65541; pub const SS_ONSTACK: u32 = 1; pub const SS_DISABLE: u32 = 4; pub const MINSIGSTKSZ: u32 = 32768; pub const SIGSTKSZ: u32 = 131072; pub const SV_ONSTACK: u32 = 1; pub const SV_INTERRUPT: u32 = 2; pub const SV_RESETHAND: u32 = 4; pub const SV_NODEFER: u32 = 16; pub const SV_NOCLDSTOP: u32 = 8; pub const SV_SIGINFO: u32 = 64; pub const __WORDSIZE: u32 = 64; pub const INT8_MAX: u32 = 127; pub const INT16_MAX: u32 = 32767; pub const INT32_MAX: u32 = 2147483647; pub const INT64_MAX: u64 = 9223372036854775807; pub const INT8_MIN: i32 = -128; pub const INT16_MIN: i32 = -32768; pub const INT32_MIN: i32 = -2147483648; pub const INT64_MIN: i64 = -9223372036854775808; pub const UINT8_MAX: u32 = 255; pub const UINT16_MAX: u32 = 65535; pub const UINT32_MAX: u32 = 4294967295; pub const UINT64_MAX: i32 = -1; pub const INT_LEAST8_MIN: i32 = -128; pub const INT_LEAST16_MIN: i32 = -32768; pub const INT_LEAST32_MIN: i32 = -2147483648; pub const INT_LEAST64_MIN: i64 = -9223372036854775808; pub const INT_LEAST8_MAX: u32 = 127; pub const INT_LEAST16_MAX: u32 = 32767; pub const INT_LEAST32_MAX: u32 = 2147483647; pub const INT_LEAST64_MAX: u64 = 9223372036854775807; pub const UINT_LEAST8_MAX: u32 = 255; pub const UINT_LEAST16_MAX: u32 = 65535; pub const UINT_LEAST32_MAX: u32 = 4294967295; pub const UINT_LEAST64_MAX: i32 = -1; pub const INT_FAST8_MIN: i32 = -128; pub const INT_FAST16_MIN: i32 = -32768; pub const INT_FAST32_MIN: i32 = -2147483648; pub const INT_FAST64_MIN: i64 = -9223372036854775808; pub const INT_FAST8_MAX: u32 = 127; pub const INT_FAST16_MAX: u32 = 32767; pub const INT_FAST32_MAX: u32 = 2147483647; pub const INT_FAST64_MAX: u64 = 9223372036854775807; pub const UINT_FAST8_MAX: u32 = 255; pub const UINT_FAST16_MAX: u32 = 65535; pub const UINT_FAST32_MAX: u32 = 4294967295; pub const UINT_FAST64_MAX: i32 = -1; pub const INTPTR_MAX: u64 = 9223372036854775807; pub const INTPTR_MIN: i64 = -9223372036854775808; pub const UINTPTR_MAX: i32 = -1; pub const SIZE_MAX: i32 = -1; pub const WINT_MIN: i32 = -2147483648; pub const WINT_MAX: u32 = 2147483647; pub const SIG_ATOMIC_MIN: i32 = -2147483648; pub const SIG_ATOMIC_MAX: u32 = 2147483647; pub const PRIO_PROCESS: u32 = 0; pub const PRIO_PGRP: u32 = 1; pub const PRIO_USER: u32 = 2; pub const PRIO_DARWIN_THREAD: u32 = 3; pub const PRIO_DARWIN_PROCESS: u32 = 4; pub const PRIO_MIN: i32 = -20; pub const PRIO_MAX: u32 = 20; pub const PRIO_DARWIN_BG: u32 = 4096; pub const PRIO_DARWIN_NONUI: u32 = 4097; pub const RUSAGE_SELF: u32 = 0; pub const RUSAGE_CHILDREN: i32 = -1; pub const RUSAGE_INFO_V0: u32 = 0; pub const RUSAGE_INFO_V1: u32 = 1; pub const RUSAGE_INFO_V2: u32 = 2; pub const RUSAGE_INFO_V3: u32 = 3; pub const RUSAGE_INFO_V4: u32 = 4; pub const RUSAGE_INFO_V5: u32 = 5; pub const RUSAGE_INFO_CURRENT: u32 = 5; pub const RU_PROC_RUNS_RESLIDE: u32 = 1; pub const RLIMIT_CPU: u32 = 0; pub const RLIMIT_FSIZE: u32 = 1; pub const RLIMIT_DATA: u32 = 2; pub const RLIMIT_STACK: u32 = 3; pub const RLIMIT_CORE: u32 = 4; pub const RLIMIT_AS: u32 = 5; pub const RLIMIT_RSS: u32 = 5; pub const RLIMIT_MEMLOCK: u32 = 6; pub const RLIMIT_NPROC: u32 = 7; pub const RLIMIT_NOFILE: u32 = 8; pub const RLIM_NLIMITS: u32 = 9; pub const _RLIMIT_POSIX_FLAG: u32 = 4096; pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1; pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2; pub const RLIMIT_THREAD_CPULIMITS: u32 = 3; pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4; pub const WAKEMON_ENABLE: u32 = 1; pub const WAKEMON_DISABLE: u32 = 2; pub const WAKEMON_GET_PARAMS: u32 = 4; pub const WAKEMON_SET_DEFAULTS: u32 = 8; pub const WAKEMON_MAKE_FATAL: u32 = 16; pub const CPUMON_MAKE_FATAL: u32 = 4096; pub const FOOTPRINT_INTERVAL_RESET: u32 = 1; pub const IOPOL_TYPE_DISK: u32 = 0; pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2; pub const IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES: u32 = 3; pub const IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME: u32 = 4; pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; pub const IOPOL_SCOPE_PROCESS: u32 = 0; pub const IOPOL_SCOPE_THREAD: u32 = 1; pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; pub const IOPOL_DEFAULT: u32 = 0; pub const IOPOL_IMPORTANT: u32 = 1; pub const IOPOL_PASSIVE: u32 = 2; pub const IOPOL_THROTTLE: u32 = 3; pub const IOPOL_UTILITY: u32 = 4; pub const IOPOL_STANDARD: u32 = 5; pub const IOPOL_APPLICATION: u32 = 5; pub const IOPOL_NORMAL: u32 = 1; pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0; pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1; pub const IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT: u32 = 0; pub const IOPOL_MATERIALIZE_DATALESS_FILES_OFF: u32 = 1; pub const IOPOL_MATERIALIZE_DATALESS_FILES_ON: u32 = 2; pub const IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT: u32 = 0; pub const IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME: u32 = 1; pub const IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT: u32 = 0; pub const IOPOL_VFS_TRIGGER_RESOLVE_OFF: u32 = 1; pub const IOPOL_VFS_CONTENT_PROTECTION_DEFAULT: u32 = 0; pub const IOPOL_VFS_CONTENT_PROTECTION_IGNORE: u32 = 1; pub const WNOHANG: u32 = 1; pub const WUNTRACED: u32 = 2; pub const WCOREFLAG: u32 = 128; pub const _WSTOPPED: u32 = 127; pub const WEXITED: u32 = 4; pub const WSTOPPED: u32 = 8; pub const WCONTINUED: u32 = 16; pub const WNOWAIT: u32 = 32; pub const WAIT_ANY: i32 = -1; pub const WAIT_MYPGRP: u32 = 0; pub const _QUAD_HIGHWORD: u32 = 1; pub const _QUAD_LOWWORD: u32 = 0; pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234; pub const __DARWIN_BIG_ENDIAN: u32 = 4321; pub const __DARWIN_PDP_ENDIAN: u32 = 3412; pub const __DARWIN_BYTE_ORDER: u32 = 1234; pub const LITTLE_ENDIAN: u32 = 1234; pub const BIG_ENDIAN: u32 = 4321; pub const PDP_ENDIAN: u32 = 3412; pub const BYTE_ORDER: u32 = 1234; pub const EXIT_FAILURE: u32 = 1; pub const EXIT_SUCCESS: u32 = 0; pub const RAND_MAX: u32 = 2147483647; pub const __GNUC_VA_LIST: u32 = 1; pub const RENAME_SECLUDE: u32 = 1; pub const RENAME_SWAP: u32 = 2; pub const RENAME_EXCL: u32 = 4; pub const __SLBF: u32 = 1; pub const __SNBF: u32 = 2; pub const __SRD: u32 = 4; pub const __SWR: u32 = 8; pub const __SRW: u32 = 16; pub const __SEOF: u32 = 32; pub const __SERR: u32 = 64; pub const __SMBF: u32 = 128; pub const __SAPP: u32 = 256; pub const __SSTR: u32 = 512; pub const __SOPT: u32 = 1024; pub const __SNPT: u32 = 2048; pub const __SOFF: u32 = 4096; pub const __SMOD: u32 = 8192; pub const __SALC: u32 = 16384; pub const __SIGN: u32 = 32768; pub const _IOFBF: u32 = 0; pub const _IOLBF: u32 = 1; pub const _IONBF: u32 = 2; pub const BUFSIZ: u32 = 1024; pub const EOF: i32 = -1; pub const FOPEN_MAX: u32 = 20; pub const FILENAME_MAX: u32 = 1024; pub const P_tmpdir: &'static [u8; 10usize] = b"/var/tmp/\0"; pub const L_tmpnam: u32 = 1024; pub const TMP_MAX: u32 = 308915776; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; pub const L_ctermid: u32 = 1024; pub const CLOCKS_PER_SEC: u32 = 1000000; pub const _CACHED_RUNES: u32 = 256; pub const _CRMASK: i32 = -256; pub const _RUNE_MAGIC_A: &'static [u8; 9usize] = b"RuneMagA\0"; pub const _CTYPE_A: u32 = 256; pub const _CTYPE_C: u32 = 512; pub const _CTYPE_D: u32 = 1024; pub const _CTYPE_G: u32 = 2048; pub const _CTYPE_L: u32 = 4096; pub const _CTYPE_P: u32 = 8192; pub const _CTYPE_S: u32 = 16384; pub const _CTYPE_U: u32 = 32768; pub const _CTYPE_X: u32 = 65536; pub const _CTYPE_B: u32 = 131072; pub const _CTYPE_R: u32 = 262144; pub const _CTYPE_I: u32 = 524288; pub const _CTYPE_T: u32 = 1048576; pub const _CTYPE_Q: u32 = 2097152; pub const _CTYPE_SW0: u32 = 536870912; pub const _CTYPE_SW1: u32 = 1073741824; pub const _CTYPE_SW2: u32 = 2147483648; pub const _CTYPE_SW3: u32 = 3221225472; pub const _CTYPE_SWM: u32 = 3758096384; pub const _CTYPE_SWS: u32 = 30; pub const FMX_USE_AUTO_PTR: u32 = 1; pub const FMX_USE_UNIQUE_PTR: u32 = 1; pub const FMX_64BIT_PLUGIN_API: u32 = 1; pub const FMX_OBSOLETE_API: u32 = 0; pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; pub type std_max_align_t = u128; pub type std_integral_constant_value_type<_Tp> = _Tp; pub type std_integral_constant_type = u8; extern "C" { #[link_name = "\u{1}value"] pub static std_value: _Tp; } pub type std_true_type = u8; pub type std_false_type = u8; pub type std__BoolConstant = u8; pub type std__EnableIf = u8; pub type std__If = u8; pub type std__Or = u8; pub type std__And = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std__Not { pub _address: u8, } pub type std__FirstType = u8; pub type std__SecondType = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std__Lazy { pub _address: u8, } pub type std__IsValidExpansion = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___void_t { pub _address: u8, } pub type std___void_t_type = ::std::os::raw::c_void; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___identity { pub _address: u8, } pub type std___identity_type<_Tp> = _Tp; pub type std_conditional_type<_If> = _If; pub type std_conditional_t = u8; pub type std_enable_if_t = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_same { pub _base: std_false_type, } pub type std__IsSame = std__BoolConstant; pub type std__IsNotSame = std__BoolConstant; pub type std___test_for_primary_template = std__EnableIf; pub type std___is_primary_template = std__IsValidExpansion; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___two { pub __lx: [::std::os::raw::c_char; 2usize], } #[test] fn bindgen_test_layout_std___two() { assert_eq!( ::std::mem::size_of::(), 2usize, concat!("Size of: ", stringify!(std___two)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___two)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__lx as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std___two), "::", stringify!(__lx) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_const { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_volatile { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_remove_const { pub _address: u8, } pub type std_remove_const_type<_Tp> = _Tp; pub type std_remove_const_t = std_remove_const; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_remove_volatile { pub _address: u8, } pub type std_remove_volatile_type<_Tp> = _Tp; pub type std_remove_volatile_t = std_remove_volatile; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_remove_cv { pub _address: u8, } pub type std_remove_cv_type = std_remove_volatile; pub type std_remove_cv_t = std_remove_cv; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___libcpp_is_void { pub _base: std_false_type, } #[test] fn __bindgen_test_layout_std___libcpp_is_void_open0_void_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_void) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_void) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_void { pub _base: std___libcpp_is_void, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_nullptr_t_impl { pub _base: std_false_type, } #[test] fn __bindgen_test_layout_std___is_nullptr_t_impl_open0_nullptr_t_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___is_nullptr_t_impl) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___is_nullptr_t_impl) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_nullptr_t { pub _base: std___is_nullptr_t_impl, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_null_pointer { pub _base: std___is_nullptr_t_impl, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___libcpp_is_integral { pub _base: std_false_type, } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_bool__close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_char_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_signed_char_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_unsigned_char_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_wchar_t_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_char16_t_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_char32_t_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_short_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_unsigned_short_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_int_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_unsigned_int_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_long_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_unsigned_long_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_long_long_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_unsigned_long_long_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0___int128_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_integral_open0_unsigned___int128_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_integral) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_integral) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_integral { pub _base: std___libcpp_is_integral, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___libcpp_is_floating_point { pub _base: std_false_type, } #[test] fn __bindgen_test_layout_std___libcpp_is_floating_point_open0_float_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_floating_point) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_floating_point) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_floating_point_open0_double_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_floating_point) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_floating_point) ) ); } #[test] fn __bindgen_test_layout_std___libcpp_is_floating_point_open0_long_double_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___libcpp_is_floating_point) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___libcpp_is_floating_point) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_floating_point { pub _base: std___libcpp_is_floating_point, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_array { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___libcpp_is_pointer { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___libcpp_remove_objc_qualifiers { pub _address: u8, } pub type std___libcpp_remove_objc_qualifiers_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_pointer { pub _base: std___libcpp_is_pointer, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_lvalue_reference { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_rvalue_reference { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_reference { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_union { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_class { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_function { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___libcpp_is_member_pointer { pub _address: u8, } pub const std___libcpp_is_member_pointer___is_member: std___libcpp_is_member_pointer__bindgen_ty_1 = 0; pub const std___libcpp_is_member_pointer___is_func: std___libcpp_is_member_pointer__bindgen_ty_1 = 0; pub const std___libcpp_is_member_pointer___is_obj: std___libcpp_is_member_pointer__bindgen_ty_1 = 0; pub type std___libcpp_is_member_pointer__bindgen_ty_1 = i32; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_member_function_pointer { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_member_pointer { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_member_object_pointer { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_enum { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_arithmetic { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_fundamental { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_block { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_scalar { pub _address: u8, } #[test] fn __bindgen_test_layout_std_is_scalar_open0_nullptr_t_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_is_scalar) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_is_scalar) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_object { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_compound { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_referenceable_impl { pub _address: u8, } #[test] fn bindgen_test_layout_std___is_referenceable_impl() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___is_referenceable_impl)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___is_referenceable_impl)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_referenceable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_add_const { pub _address: u8, } pub type std_add_const_type<_Tp> = _Tp; pub type std_add_const_t = std_add_const; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_add_volatile { pub _address: u8, } pub type std_add_volatile_type<_Tp> = _Tp; pub type std_add_volatile_t = std_add_volatile; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_add_cv { pub _address: u8, } pub type std_add_cv_type<_Tp> = _Tp; pub type std_add_cv_t = std_add_cv; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_remove_reference { pub _address: u8, } pub type std_remove_reference_type<_Tp> = _Tp; pub type std_remove_reference_t = std_remove_reference; pub type std___add_lvalue_reference_impl_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_add_lvalue_reference { pub _address: u8, } pub type std_add_lvalue_reference_type = u8; pub type std_add_lvalue_reference_t = std_add_lvalue_reference; pub type std___add_rvalue_reference_impl_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_add_rvalue_reference { pub _address: u8, } pub type std_add_rvalue_reference_type = u8; pub type std_add_rvalue_reference_t = std_add_rvalue_reference; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___uncvref { pub _address: u8, } pub type std___uncvref_type = std_remove_cv; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___unconstref { pub _address: u8, } pub type std___unconstref_type = std_remove_const; pub type std___uncvref_t = std___uncvref; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_same_uncvref { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___any { pub _address: u8, } #[test] fn bindgen_test_layout_std___any() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___any)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___any)) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__15__anyC1Ez"] pub fn std___any___any(this: *mut std___any, ...); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_remove_pointer { pub _address: u8, } pub type std_remove_pointer_type<_Tp> = _Tp; pub type std_remove_pointer_t = std_remove_pointer; pub type std___add_pointer_impl_type = *mut std_remove_reference; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_add_pointer { pub _address: u8, } pub type std_add_pointer_type = u8; pub type std_add_pointer_t = std_add_pointer; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_signed { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_unsigned { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_rank { pub _base: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_remove_extent { pub _address: u8, } pub type std_remove_extent_type<_Tp> = _Tp; pub type std_remove_extent_t = std_remove_extent; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_remove_all_extents { pub _address: u8, } pub type std_remove_all_extents_type<_Tp> = _Tp; pub type std_remove_all_extents_t = std_remove_all_extents; pub type std___decay_type = std_remove_cv; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_decay { pub _address: u8, } pub type std_decay__Up = std_remove_reference; pub type std_decay_type = u8; pub type std_decay_t = std_decay; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_abstract { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___libcpp_is_final { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_final { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_base_of { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_convertible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_empty { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_polymorphic { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_has_virtual_destructor { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_alignment_of { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___type_list { pub _address: u8, } pub type std___type_list__Head<_Hp> = _Hp; pub type std___type_list__Tail<_Tp> = _Tp; #[repr(C)] #[derive(Debug)] pub struct std___nat { pub _address: u8, } #[test] fn bindgen_test_layout_std___nat() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___nat)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___nat)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___align_type { pub _address: u8, } pub type std___align_type_type<_Tp> = _Tp; #[repr(C)] #[repr(align(16))] #[derive(Debug, Copy, Clone)] pub struct std___struct_double { pub __lx: u128, } #[test] fn bindgen_test_layout_std___struct_double() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std___struct_double)) ); assert_eq!( ::std::mem::align_of::(), 16usize, concat!("Alignment of ", stringify!(std___struct_double)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__lx as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std___struct_double), "::", stringify!(__lx) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___struct_double4 { pub __lx: [f64; 4usize], } #[test] fn bindgen_test_layout_std___struct_double4() { assert_eq!( ::std::mem::size_of::(), 32usize, concat!("Size of: ", stringify!(std___struct_double4)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std___struct_double4)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__lx as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std___struct_double4), "::", stringify!(__lx) ) ); } pub type std___all_types = std___type_list; extern "C" { #[link_name = "\u{1}__min"] pub static std___select_align___min: size_t; } extern "C" { #[link_name = "\u{1}__max"] pub static std___select_align___max: size_t; } extern "C" { #[link_name = "\u{1}value"] pub static std___select_align_value: size_t; } pub type std_aligned_storage__Aligner = u8; #[repr(C)] #[derive(Copy, Clone)] pub union std_aligned_storage_type { pub __align: std_aligned_storage__Aligner, pub __data: *mut ::std::os::raw::c_uchar, _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_std_aligned_storage_type() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std_aligned_storage_type)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_aligned_storage_type)) ); } pub type std_aligned_storage_t = u8; pub type std_aligned_union_type = u8; pub type std_aligned_union_t = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___numeric_type { pub _address: u8, } pub type std___numeric_type_type<_Tp> = _Tp; #[test] fn __bindgen_test_layout_std___numeric_type_open0_void_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___numeric_type) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___numeric_type) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___promote { pub _address: u8, } pub type std___signed_types = std___type_list; pub type std___unsigned_types = std___type_list; pub type std___apply_cv_type<_Up> = _Up; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_make_signed { pub _address: u8, } pub type std_make_signed_type = u8; pub type std_make_signed_t = std_make_signed; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_make_unsigned { pub _address: u8, } pub type std_make_unsigned_type = u8; pub type std_make_unsigned_t = std_make_unsigned; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___common_type2_imp { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___common_type_impl { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___common_types { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_common_type { pub _address: u8, } #[test] fn __bindgen_test_layout_std_common_type_open0_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_common_type) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_common_type) ) ); } pub type std_common_type_t = std_common_type; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___select_2nd { pub _address: u8, } pub type std___select_2nd_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_assignable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_copy_assignable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_move_assignable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_destructible_apply { pub _address: u8, } pub type std___is_destructible_apply_type = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_destructor_wellformed { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_destructible { pub _address: u8, } #[test] fn __bindgen_test_layout_std_is_destructible_open0_void_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_is_destructible) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_is_destructible) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___member_pointer_traits { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___member_pointer_class_type { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_result_of { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_construct___nat { pub _address: u8, } #[test] fn bindgen_test_layout_std___is_construct___nat() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___is_construct___nat)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___is_construct___nat)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_default_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_copy_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_move_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivially_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivially_default_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivially_copy_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivially_move_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivially_assignable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivially_copy_assignable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivially_move_assignable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivially_destructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_nothrow_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_nothrow_default_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_nothrow_copy_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_nothrow_move_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_nothrow_assignable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_nothrow_copy_assignable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_nothrow_move_assignable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_nothrow_destructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_pod { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_literal_type { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_standard_layout { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivially_copyable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_is_trivial { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_reference_wrapper_impl { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_reference_wrapper { pub _base: std___is_reference_wrapper_impl, } pub type std___enable_if_bullet1 = u8; pub type std___enable_if_bullet2 = u8; pub type std___enable_if_bullet3 = u8; pub type std___enable_if_bullet4 = u8; pub type std___enable_if_bullet5 = u8; pub type std___enable_if_bullet6 = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___invokable_r { pub _address: u8, } pub type std___invokable_r__Result<_Fp> = _Fp; pub type std___invokable_r_type = u8; pub type std___invokable = std___invokable_r; pub type std___nothrow_invokable_r = u8; pub type std___nothrow_invokable = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___invoke_of { pub _address: u8, } pub type std_result_of_t = std_result_of; pub type std___detail___swappable_with___swap1<_Tp> = _Tp; pub type std___detail___swappable_with___swap2<_Up> = _Up; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_swappable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_nothrow_swappable { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_underlying_type { pub _address: u8, } pub type std_underlying_type_t = std_underlying_type; pub type std___sfinae_underlying_type_type = std_underlying_type; pub type std___sfinae_underlying_type___promoted_type = std___sfinae_underlying_type_type; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_operator_addressof_member_imp { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_operator_addressof_free_imp { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_operator_addressof { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___extract_key_fail_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std___extract_key_fail_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___extract_key_fail_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___extract_key_fail_tag)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___extract_key_self_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std___extract_key_self_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___extract_key_self_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___extract_key_self_tag)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___extract_key_first_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std___extract_key_first_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___extract_key_first_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___extract_key_first_tag)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___can_extract_key { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___can_extract_map_key { pub _address: u8, } pub type std__IsCharLikeType = std__And; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_ios_base { _unused: [u8; 0], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_char_traits { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_ios { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_streambuf { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_istream { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_ostream { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_iostream { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_stringbuf { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_istringstream { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_ostringstream { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_stringstream { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_filebuf { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_ifstream { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_ofstream { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_fstream { pub _address: u8, } pub type std_ios = std_basic_ios; pub type std_wios = std_basic_ios; pub type std_streambuf = std_basic_streambuf; pub type std_istream = std_basic_istream; pub type std_ostream = std_basic_ostream; pub type std_iostream = std_basic_iostream; pub type std_stringbuf = std_basic_stringbuf; pub type std_istringstream = std_basic_istringstream; pub type std_ostringstream = std_basic_ostringstream; pub type std_stringstream = std_basic_stringstream; pub type std_filebuf = std_basic_filebuf; pub type std_ifstream = std_basic_ifstream; pub type std_ofstream = std_basic_ofstream; pub type std_fstream = std_basic_fstream; pub type std_wstreambuf = std_basic_streambuf; pub type std_wistream = std_basic_istream; pub type std_wostream = std_basic_ostream; pub type std_wiostream = std_basic_iostream; pub type std_wstringbuf = std_basic_stringbuf; pub type std_wistringstream = std_basic_istringstream; pub type std_wostringstream = std_basic_ostringstream; pub type std_wstringstream = std_basic_stringstream; pub type std_wfilebuf = std_basic_filebuf; pub type std_wifstream = std_basic_ifstream; pub type std_wofstream = std_basic_ofstream; pub type std_wfstream = std_basic_fstream; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_fpos { pub _address: u8, } pub type std_streampos = std_fpos; pub type std_wstreampos = std_fpos; pub type std_u16streampos = std_fpos; pub type std_u32streampos = std_fpos; pub type std_streamoff = ::std::os::raw::c_longlong; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_basic_string { pub _address: u8, } pub type std_string = std_basic_string; pub type std_wstring = std_basic_string; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_vector { pub _address: u8, } #[repr(C)] #[derive(Debug)] pub struct std___libcpp_refstring { pub __imp_: *const ::std::os::raw::c_char, } #[test] fn bindgen_test_layout_std___libcpp_refstring() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std___libcpp_refstring)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std___libcpp_refstring)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__imp_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std___libcpp_refstring), "::", stringify!(__imp_) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__121__throw_runtime_errorEPKc"] pub fn std___throw_runtime_error(arg1: *const ::std::os::raw::c_char); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std__DeallocateCaller { pub _address: u8, } #[test] fn bindgen_test_layout_std__DeallocateCaller() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std__DeallocateCaller)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std__DeallocateCaller)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_tuple_size { pub _address: u8, } pub type std___enable_if_tuple_size_imp<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___tuple_like { pub _base: std_false_type, } pub type std___integer_sequence___convert = u8; pub type std___integer_sequence___to_tuple_indices = u8; pub type std___make_indices_imp = u8; pub type std___make_tuple_indices_type = std___make_indices_imp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___tuple_types { pub _address: u8, } pub type std___apply_cv_t = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___make_tuple_types_flat { pub _address: u8, } pub type std___make_tuple_types__RawTp = std_remove_cv; pub type std___make_tuple_types__Maker = std___make_tuple_types_flat; pub type std___make_tuple_types_type = std___make_tuple_types__Maker; pub type std___all = std__IsSame; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___tuple_sfinae_base { pub _address: u8, } pub type std___tuple_sfinae_base___constructible = std_is_constructible; pub type std___tuple_sfinae_base___convertible = std_is_convertible; pub type std___tuple_sfinae_base___assignable = std_is_assignable; #[test] fn bindgen_test_layout_std___tuple_sfinae_base() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___tuple_sfinae_base)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___tuple_sfinae_base)) ); } pub type std_tuple_element_t = u8; pub type std___tuple_like_with_size = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___check_tuple_constructor_fail { pub _address: u8, } #[test] fn bindgen_test_layout_std___check_tuple_constructor_fail() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___check_tuple_constructor_fail)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of ", stringify!(std___check_tuple_constructor_fail) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___libcpp_debug_info { pub __file_: *const ::std::os::raw::c_char, pub __line_: ::std::os::raw::c_int, pub __pred_: *const ::std::os::raw::c_char, pub __msg_: *const ::std::os::raw::c_char, } #[test] fn bindgen_test_layout_std___libcpp_debug_info() { assert_eq!( ::std::mem::size_of::(), 32usize, concat!("Size of: ", stringify!(std___libcpp_debug_info)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std___libcpp_debug_info)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__file_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std___libcpp_debug_info), "::", stringify!(__file_) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__line_ as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(std___libcpp_debug_info), "::", stringify!(__line_) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__pred_ as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(std___libcpp_debug_info), "::", stringify!(__pred_) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__msg_ as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(std___libcpp_debug_info), "::", stringify!(__msg_) ) ); } extern "C" { #[link_name = "\u{1}__ZNKSt3__119__libcpp_debug_info4whatEv"] pub fn std___libcpp_debug_info_what(this: *const std___libcpp_debug_info) -> std_string; } impl std___libcpp_debug_info { #[inline] pub unsafe fn what(&self) -> std_string { std___libcpp_debug_info_what(self) } } pub type std___libcpp_debug_function_type = ::std::option::Option; extern "C" { #[link_name = "\u{1}__ZNSt3__123__libcpp_debug_functionE"] pub static mut std___libcpp_debug_function: std___libcpp_debug_function_type; } extern "C" { #[link_name = "\u{1}__ZNSt3__129__libcpp_abort_debug_functionERKNS_19__libcpp_debug_infoE"] pub fn std___libcpp_abort_debug_function(arg1: *const std___libcpp_debug_info); } extern "C" { #[link_name = "\u{1}__ZNSt3__127__libcpp_set_debug_functionEPFvRKNS_19__libcpp_debug_infoEE"] pub fn std___libcpp_set_debug_function(__func: std___libcpp_debug_function_type) -> bool; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_piecewise_construct_t { pub _address: u8, } #[test] fn bindgen_test_layout_std_piecewise_construct_t() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std_piecewise_construct_t)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std_piecewise_construct_t)) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__1L19piecewise_constructE"] pub static std_piecewise_construct: std_piecewise_construct_t; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_pair<_T1, _T2> { pub first: _T1, pub second: _T2, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_T1>>, pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<_T2>>, } pub type std_pair_first_type<_T1> = _T1; pub type std_pair_second_type<_T2> = _T2; pub type std_pair__EnableB = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_pair__CheckArgs { pub _address: u8, } pub type std_pair__CheckArgsDep = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_pair__CheckTupleLikeConstructor { pub _address: u8, } pub type std_pair__CheckTLC = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___unwrap_reference { pub _address: u8, } pub type std___unwrap_reference_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___unwrap_ref_decay { pub _address: u8, } pub type std_integer_sequence_value_type<_Tp> = _Tp; pub type std_index_sequence = u8; pub type std___make_integer_sequence = u8; pub type std_make_integer_sequence = std___make_integer_sequence; pub type std_make_index_sequence = std_make_integer_sequence; pub type std_index_sequence_for = std_make_index_sequence; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_unary_function { pub _address: u8, } pub type std_unary_function_argument_type<_Arg> = _Arg; pub type std_unary_function_result_type<_Result> = _Result; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std__PairT { pub first: size_t, pub second: size_t, } #[test] fn bindgen_test_layout_std__PairT() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std__PairT)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std__PairT)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).first as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std__PairT), "::", stringify!(first) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).second as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(std__PairT), "::", stringify!(second) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_bool__close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_char_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_signed_char_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_unsigned_char_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_char16_t_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_char32_t_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_wchar_t_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_short_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_unsigned_short_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_int_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_unsigned_int_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_long_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_unsigned_long_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_long_long_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_unsigned_long_long_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0___int128_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_unsigned___int128_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_float_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_double_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[test] fn __bindgen_test_layout_std_hash_open0_long_double_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_hash)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_hash) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_hash { pub _address: u8, } pub type std___check_hash_requirements = u8; pub type std___has_enabled_hash = u8; pub type std___enable_hash_helper<_Type> = _Type; pub const std_float_round_style_round_indeterminate: std_float_round_style = -1; pub const std_float_round_style_round_toward_zero: std_float_round_style = 0; pub const std_float_round_style_round_to_nearest: std_float_round_style = 1; pub const std_float_round_style_round_toward_infinity: std_float_round_style = 2; pub const std_float_round_style_round_toward_neg_infinity: std_float_round_style = 3; pub type std_float_round_style = i32; pub const std_float_denorm_style_denorm_indeterminate: std_float_denorm_style = -1; pub const std_float_denorm_style_denorm_absent: std_float_denorm_style = 0; pub const std_float_denorm_style_denorm_present: std_float_denorm_style = 1; pub type std_float_denorm_style = i32; pub type std___libcpp_numeric_limits_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_numeric_limits { pub _address: u8, } pub type std_numeric_limits___base = u8; pub type std_numeric_limits_type = std_numeric_limits___base; extern "C" { #[link_name = "\u{1}is_specialized"] pub static std_is_specialized: bool; } extern "C" { #[link_name = "\u{1}digits"] pub static std_digits: ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}digits10"] pub static std_digits10: ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}max_digits10"] pub static std_max_digits10: ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}is_signed"] pub static std_is_signed: bool; } extern "C" { #[link_name = "\u{1}is_integer"] pub static std_is_integer: bool; } extern "C" { #[link_name = "\u{1}is_exact"] pub static std_is_exact: bool; } extern "C" { #[link_name = "\u{1}radix"] pub static std_radix: ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}min_exponent"] pub static std_min_exponent: ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}min_exponent10"] pub static std_min_exponent10: ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}max_exponent"] pub static std_max_exponent: ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}max_exponent10"] pub static std_max_exponent10: ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}has_infinity"] pub static std_has_infinity: bool; } extern "C" { #[link_name = "\u{1}has_quiet_NaN"] pub static std_has_quiet_NaN: bool; } extern "C" { #[link_name = "\u{1}has_signaling_NaN"] pub static std_has_signaling_NaN: bool; } extern "C" { #[link_name = "\u{1}has_denorm"] pub static std_has_denorm: std_float_denorm_style; } extern "C" { #[link_name = "\u{1}has_denorm_loss"] pub static std_has_denorm_loss: bool; } extern "C" { #[link_name = "\u{1}is_iec559"] pub static std_is_iec559: bool; } extern "C" { #[link_name = "\u{1}is_bounded"] pub static std_is_bounded: bool; } extern "C" { #[link_name = "\u{1}is_modulo"] pub static std_is_modulo: bool; } extern "C" { #[link_name = "\u{1}traps"] pub static std_traps: bool; } extern "C" { #[link_name = "\u{1}tinyness_before"] pub static std_tinyness_before: bool; } extern "C" { #[link_name = "\u{1}round_style"] pub static std_round_style: std_float_round_style; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_binary_function { pub _address: u8, } pub type std_binary_function_first_argument_type<_Arg1> = _Arg1; pub type std_binary_function_second_argument_type<_Arg2> = _Arg2; pub type std_binary_function_result_type<_Result> = _Result; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_result_type { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_result_type___two { pub __lx: ::std::os::raw::c_char, pub __lxx: ::std::os::raw::c_char, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_less { pub _address: u8, } #[test] fn __bindgen_test_layout_std_less_open0_void_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_less)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_less) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___derives_from_unary_function { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___derives_from_unary_function___two { pub __lx: ::std::os::raw::c_char, pub __lxx: ::std::os::raw::c_char, } pub type std___derives_from_unary_function_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___derives_from_binary_function { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___derives_from_binary_function___two { pub __lx: ::std::os::raw::c_char, pub __lxx: ::std::os::raw::c_char, } pub type std___derives_from_binary_function_type<_Tp> = _Tp; pub type std___weak_result_type_imp_result_type = [u8; 0usize]; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___weak_result_type { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___invoke_return { pub _address: u8, } pub type std___invoke_return_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___invoke_void_return_wrapper { pub _address: u8, } #[test] fn __bindgen_test_layout_std___invoke_void_return_wrapper_open0_void_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___invoke_void_return_wrapper) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___invoke_void_return_wrapper) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_reference_wrapper<_Tp> { pub __f_: *mut std_reference_wrapper_type<_Tp>, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Tp>>, } pub type std_reference_wrapper_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_transparent { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_allocator_arg_t { pub _address: u8, } #[test] fn bindgen_test_layout_std_allocator_arg_t() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std_allocator_arg_t)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std_allocator_arg_t)) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__1L13allocator_argE"] pub static std_allocator_arg: std_allocator_arg_t; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_allocator_type { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_allocator_type___two { pub __lx: ::std::os::raw::c_char, pub __lxx: ::std::os::raw::c_char, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_uses_allocator { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___uses_alloc_ctor_imp { pub _address: u8, } pub type std___uses_alloc_ctor_imp__RawAlloc = std___uncvref; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___uses_alloc_ctor { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_input_iterator_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std_input_iterator_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std_input_iterator_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std_input_iterator_tag)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_output_iterator_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std_output_iterator_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std_output_iterator_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std_output_iterator_tag)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_forward_iterator_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std_forward_iterator_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std_forward_iterator_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std_forward_iterator_tag)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_bidirectional_iterator_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std_bidirectional_iterator_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std_bidirectional_iterator_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std_bidirectional_iterator_tag)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_random_access_iterator_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std_random_access_iterator_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std_random_access_iterator_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std_random_access_iterator_tag)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___iter_traits_cache { pub _address: u8, } pub type std___iter_traits_cache_type = std__If; pub type std__ITER_TRAITS = std___iter_traits_cache; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___iter_concept_concept_test { pub _address: u8, } pub type std___iter_concept_concept_test__Apply = std__ITER_TRAITS; #[test] fn bindgen_test_layout_std___iter_concept_concept_test() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___iter_concept_concept_test)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___iter_concept_concept_test)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___iter_concept_category_test { pub _address: u8, } pub type std___iter_concept_category_test__Apply = std__ITER_TRAITS; #[test] fn bindgen_test_layout_std___iter_concept_category_test() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___iter_concept_category_test)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of ", stringify!(std___iter_concept_category_test) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___iter_concept_random_fallback { pub _address: u8, } pub type std___iter_concept_random_fallback__Apply = std__EnableIf; #[test] fn bindgen_test_layout_std___iter_concept_random_fallback() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___iter_concept_random_fallback)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of ", stringify!(std___iter_concept_random_fallback) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___test_iter_concept<_Tester> { pub _base_1: _Tester, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Tester>>, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___iter_concept_cache { pub _address: u8, } pub type std___iter_concept_cache_type = std__Or; pub type std__ITER_CONCEPT = std___iter_concept_cache; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_iterator_typedefs { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_iterator_typedefs___two { pub __lx: ::std::os::raw::c_char, pub __lxx: ::std::os::raw::c_char, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_iterator_category { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_iterator_category___two { pub __lx: ::std::os::raw::c_char, pub __lxx: ::std::os::raw::c_char, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_iterator_traits { pub _address: u8, } pub type std_iterator_traits___primary_template = std_iterator_traits; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_cpp17_input_iterator { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_cpp17_forward_iterator { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_cpp17_bidirectional_iterator { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_cpp17_random_access_iterator { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_cpp17_contiguous_iterator { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_exactly_cpp17_input_iterator { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_iterator { pub _address: u8, } pub type std_iterator_value_type<_Tp> = _Tp; pub type std_iterator_difference_type<_Distance> = _Distance; pub type std_iterator_pointer<_Pointer> = _Pointer; pub type std_iterator_reference<_Reference> = _Reference; pub type std_iterator_iterator_category<_Category> = _Category; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_stashing_iterator { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_reverse_iterator<_Iter> { pub __t: _Iter, pub current: _Iter, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Iter>>, } pub type std_reverse_iterator_iterator_type<_Iter> = _Iter; pub type std_reverse_iterator_difference_type = std_iterator_traits; pub type std_reverse_iterator_reference = std_iterator_traits; pub type std_reverse_iterator_pointer = std_iterator_traits; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_back_insert_iterator<_Container> { pub container: *mut _Container, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Container>>, } pub type std_back_insert_iterator_container_type<_Container> = _Container; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_front_insert_iterator<_Container> { pub container: *mut _Container, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Container>>, } pub type std_front_insert_iterator_container_type<_Container> = _Container; #[repr(C)] pub struct std_insert_iterator<_Container> { pub container: *mut _Container, pub iter: [u8; 0usize], pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Container>>, } pub type std_insert_iterator_container_type<_Container> = _Container; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_istream_iterator<_Tp> { pub __in_stream_: *mut std_istream_iterator_istream_type, pub __value_: _Tp, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Tp>>, } pub type std_istream_iterator_char_type<_CharT> = _CharT; pub type std_istream_iterator_traits_type<_Traits> = _Traits; pub type std_istream_iterator_istream_type = std_basic_istream; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_ostream_iterator<_CharT> { pub __out_stream_: *mut std_ostream_iterator_ostream_type, pub __delim_: *const std_ostream_iterator_char_type<_CharT>, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_CharT>>, } pub type std_ostream_iterator_char_type<_CharT> = _CharT; pub type std_ostream_iterator_traits_type<_Traits> = _Traits; pub type std_ostream_iterator_ostream_type = std_basic_ostream; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_istreambuf_iterator { pub __sbuf_: *mut std_istreambuf_iterator_streambuf_type, } pub type std_istreambuf_iterator_char_type<_CharT> = _CharT; pub type std_istreambuf_iterator_traits_type<_Traits> = _Traits; pub type std_istreambuf_iterator_int_type = [u8; 0usize]; pub type std_istreambuf_iterator_streambuf_type = std_basic_streambuf; pub type std_istreambuf_iterator_istream_type = std_basic_istream; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_istreambuf_iterator___proxy<_CharT> { pub __keep_: std_istreambuf_iterator_char_type<_CharT>, pub __sbuf_: *mut std_istreambuf_iterator_streambuf_type, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_CharT>>, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_ostreambuf_iterator { pub __sbuf_: *mut std_ostreambuf_iterator_streambuf_type, } pub type std_ostreambuf_iterator_char_type<_CharT> = _CharT; pub type std_ostreambuf_iterator_traits_type<_Traits> = _Traits; pub type std_ostreambuf_iterator_streambuf_type = std_basic_streambuf; pub type std_ostreambuf_iterator_ostream_type = std_basic_ostream; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_move_iterator<_Iter> { pub __i: _Iter, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Iter>>, } pub type std_move_iterator_iterator_type<_Iter> = _Iter; pub type std_move_iterator_iterator_category = std_iterator_traits; pub type std_move_iterator_value_type = std_iterator_traits; pub type std_move_iterator_difference_type = std_iterator_traits; pub type std_move_iterator_pointer<_Iter> = std_move_iterator_iterator_type<_Iter>; pub type std_move_iterator___reference = std_iterator_traits; pub type std_move_iterator_reference = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___wrap_iter<_Iter> { pub __i: std___wrap_iter_iterator_type<_Iter>, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Iter>>, } pub type std___wrap_iter_iterator_type<_Iter> = _Iter; pub type std___wrap_iter_iterator_category = std_iterator_traits; pub type std___wrap_iter_value_type = std_iterator_traits; pub type std___wrap_iter_difference_type = std_iterator_traits; pub type std___wrap_iter_pointer = std_iterator_traits; pub type std___wrap_iter_reference = std_iterator_traits; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___libcpp_is_trivial_iterator { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___all_default_constructible { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___tuple_impl { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_tuple { pub __base_: std_tuple__BaseT, } pub type std_tuple__BaseT = std___tuple_impl; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_tuple__PackExpandsToThisTuple { pub _base: std_false_type, } pub type std_tuple__EnableImplicitTupleLikeConstructor = std__EnableIf; pub type std_tuple__EnableExplicitTupleLikeConstructor = std__EnableIf; pub type std_tuple__CanCopyAssign = std___all; pub type std_tuple__CanMoveAssign = std___all; #[test] fn __bindgen_test_layout_std_tuple_open0_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_tuple)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_tuple) ) ); } pub const std___find_detail___not_found: size_t = 18446744073709551615; extern "C" { #[link_name = "\u{1}__ZNSt3__113__find_detailL11__ambiguousE"] pub static std___find_detail___ambiguous: size_t; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___find_detail___find_exactly_one_checked { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___find_exactly_one_t { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___ignore_t { pub _address: u8, } #[test] fn __bindgen_test_layout_std___ignore_t_open0_unsigned_char_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___ignore_t) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___ignore_t) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__112_GLOBAL__N_16ignoreE"] pub static std__bindgen_mod_id_16285_ignore: std___ignore_t; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___tuple_cat_type { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___tuple_cat_return { pub _address: u8, } #[test] fn __bindgen_test_layout_std___tuple_cat_return_open0_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___tuple_cat_return) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___tuple_cat_return) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___tuple_cat_return_ref_imp { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___tuple_cat_return_ref { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___tuple_cat { pub _address: u8, } pub const std___legacy_memory_order___mo_relaxed: std___legacy_memory_order = 0; pub const std___legacy_memory_order___mo_consume: std___legacy_memory_order = 1; pub const std___legacy_memory_order___mo_acquire: std___legacy_memory_order = 2; pub const std___legacy_memory_order___mo_release: std___legacy_memory_order = 3; pub const std___legacy_memory_order___mo_acq_rel: std___legacy_memory_order = 4; pub const std___legacy_memory_order___mo_seq_cst: std___legacy_memory_order = 5; pub type std___legacy_memory_order = u32; pub type std___memory_order_underlying_t = type_; pub const std_memory_order_memory_order_relaxed: std_memory_order = 0; pub const std_memory_order_memory_order_consume: std_memory_order = 1; pub const std_memory_order_memory_order_acquire: std_memory_order = 2; pub const std_memory_order_memory_order_release: std_memory_order = 3; pub const std_memory_order_memory_order_acq_rel: std_memory_order = 4; pub const std_memory_order_memory_order_seq_cst: std_memory_order = 5; pub type std_memory_order = u32; #[repr(C)] pub struct std___cxx_atomic_base_impl { pub __a_value: [u8; 0usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___cxx_atomic_impl<_Base> { pub _base: _Base, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Base>>, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_atomic { pub _address: u8, } pub type std_atomic___base = u8; #[repr(C)] pub struct std_atomic_flag { pub __a_: std___cxx_atomic_impl, } #[test] fn bindgen_test_layout_std_atomic_flag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std_atomic_flag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std_atomic_flag)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__a_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std_atomic_flag), "::", stringify!(__a_) ) ); } pub type std_atomic_bool = std_atomic; pub type std_atomic_char = std_atomic; pub type std_atomic_schar = std_atomic; pub type std_atomic_uchar = std_atomic; pub type std_atomic_short = std_atomic; pub type std_atomic_ushort = std_atomic; pub type std_atomic_int = std_atomic; pub type std_atomic_uint = std_atomic; pub type std_atomic_long = std_atomic; pub type std_atomic_ulong = std_atomic; pub type std_atomic_llong = std_atomic; pub type std_atomic_ullong = std_atomic; pub type std_atomic_char16_t = std_atomic; pub type std_atomic_char32_t = std_atomic; pub type std_atomic_wchar_t = std_atomic; pub type std_atomic_int_least8_t = std_atomic; pub type std_atomic_uint_least8_t = std_atomic; pub type std_atomic_int_least16_t = std_atomic; pub type std_atomic_uint_least16_t = std_atomic; pub type std_atomic_int_least32_t = std_atomic; pub type std_atomic_uint_least32_t = std_atomic; pub type std_atomic_int_least64_t = std_atomic; pub type std_atomic_uint_least64_t = std_atomic; pub type std_atomic_int_fast8_t = std_atomic; pub type std_atomic_uint_fast8_t = std_atomic; pub type std_atomic_int_fast16_t = std_atomic; pub type std_atomic_uint_fast16_t = std_atomic; pub type std_atomic_int_fast32_t = std_atomic; pub type std_atomic_uint_fast32_t = std_atomic; pub type std_atomic_int_fast64_t = std_atomic; pub type std_atomic_uint_fast64_t = std_atomic; pub type std_atomic_int8_t = std_atomic; pub type std_atomic_uint8_t = std_atomic; pub type std_atomic_int16_t = std_atomic; pub type std_atomic_uint16_t = std_atomic; pub type std_atomic_int32_t = std_atomic; pub type std_atomic_uint32_t = std_atomic; pub type std_atomic_int64_t = std_atomic; pub type std_atomic_uint64_t = std_atomic; pub type std_atomic_intptr_t = std_atomic; pub type std_atomic_uintptr_t = std_atomic; pub type std_atomic_size_t = std_atomic; pub type std_atomic_ptrdiff_t = std_atomic; pub type std_atomic_intmax_t = std_atomic; pub type std_atomic_uintmax_t = std_atomic; #[test] fn __bindgen_test_layout_std_allocator_open0_void_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_allocator) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_allocator) ) ); } #[test] fn __bindgen_test_layout_std_allocator_open0_const_void_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_allocator) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_allocator) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_element_type { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_difference_type { pub _base: std_false_type, } pub type std___pointer_traits_difference_type_type = isize; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_rebind { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_rebind___two { pub __lx: ::std::os::raw::c_char, pub __lxx: ::std::os::raw::c_char, } pub type std___pointer_traits_rebind_type = [u8; 0usize]; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_pointer_traits { pub _address: u8, } pub type std_pointer_traits_pointer<_Ptr> = _Ptr; pub type std_pointer_traits_element_type = u8; pub type std_pointer_traits_difference_type = u8; pub type std_pointer_traits_rebind = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_pointer_traits___nat { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___rebind_pointer { pub _address: u8, } pub type std___rebind_pointer_type = std_pointer_traits; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_pointer_type { pub _base: std_false_type, } pub type std___pointer_type_imp___pointer_type_type = [u8; 0usize]; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___pointer_type { pub _address: u8, } pub type std___pointer_type_type = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_const_pointer { pub _base: std_false_type, } pub type std___const_pointer_type = [u8; 0usize]; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_void_pointer { pub _base: std_false_type, } pub type std___void_pointer_type = [u8; 0usize]; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_const_void_pointer { pub _base: std_false_type, } pub type std___const_void_pointer_type = [u8; 0usize]; pub type std___choose_to_address = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_size_type { pub _base: std_false_type, } pub type std___size_type_type = std_make_unsigned; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_propagate_on_container_copy_assignment { pub _base: std_false_type, } pub type std___propagate_on_container_copy_assignment_type = std_false_type; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_propagate_on_container_move_assignment { pub _base: std_false_type, } pub type std___propagate_on_container_move_assignment_type = std_false_type; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_propagate_on_container_swap { pub _base: std_false_type, } pub type std___propagate_on_container_swap_type = std_false_type; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_is_always_equal { pub _base: std_false_type, } pub type std___is_always_equal_type = std_is_empty; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_rebind_other___two { pub __lx: ::std::os::raw::c_char, pub __lxx: ::std::os::raw::c_char, } pub type std___allocator_traits_rebind_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_allocate_hint { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_construct { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_destroy { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_max_size { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___has_select_on_container_copy_construction { pub _address: u8, } pub type std___alloc_traits_difference_type_type = std_pointer_traits; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_default_allocator { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_allocator_traits { pub _address: u8, } pub type std_allocator_traits_allocator_type<_Alloc> = _Alloc; pub type std_allocator_traits_value_type = [u8; 0usize]; pub type std_allocator_traits_pointer = [u8; 0usize]; pub type std_allocator_traits_const_pointer = [u8; 0usize]; pub type std_allocator_traits_void_pointer = [u8; 0usize]; pub type std_allocator_traits_const_void_pointer = [u8; 0usize]; pub type std_allocator_traits_difference_type = [u8; 0usize]; pub type std_allocator_traits_size_type = [u8; 0usize]; pub type std_allocator_traits_propagate_on_container_copy_assignment = u8; pub type std_allocator_traits_propagate_on_container_move_assignment = u8; pub type std_allocator_traits_propagate_on_container_swap = u8; pub type std_allocator_traits_is_always_equal = u8; pub type std_allocator_traits_rebind_alloc = u8; pub type std_allocator_traits_rebind_traits = std_allocator_traits; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___rebind_alloc_helper { pub _address: u8, } pub type std___rebind_alloc_helper_type = [u8; 0usize]; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_allocator { pub _address: u8, } pub type std_allocator_size_type = size_t; pub type std_allocator_difference_type = isize; pub type std_allocator_pointer<_Tp> = *mut _Tp; pub type std_allocator_const_pointer<_Tp> = *const _Tp; pub type std_allocator_reference<_Tp> = *mut _Tp; pub type std_allocator_const_reference<_Tp> = *const _Tp; pub type std_allocator_value_type<_Tp> = _Tp; pub type std_allocator_propagate_on_container_move_assignment = std_true_type; pub type std_allocator_is_always_equal = std_true_type; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_allocator_rebind { pub _address: u8, } pub type std_allocator_rebind_other = std_allocator; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_raw_storage_iterator<_OutputIterator> { pub __x_: _OutputIterator, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_OutputIterator>>, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_auto_ptr_ref<_Tp> { pub __ptr_: *mut _Tp, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Tp>>, } #[repr(C)] #[derive(Debug)] pub struct std_auto_ptr<_Tp> { pub __ptr_: *mut _Tp, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Tp>>, } pub type std_auto_ptr_element_type<_Tp> = _Tp; #[test] fn __bindgen_test_layout_std_auto_ptr_open0_void_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 1usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr<::std::os::raw::c_void>) ) ); assert_eq!( ::std::mem::align_of::>(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr<::std::os::raw::c_void>) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___default_init_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std___default_init_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___default_init_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___default_init_tag)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___value_init_tag { pub _address: u8, } #[test] fn bindgen_test_layout_std___value_init_tag() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___value_init_tag)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___value_init_tag)) ); } pub type std___compressed_pair_elem__ParamT<_Tp> = _Tp; pub type std___compressed_pair_elem_reference<_Tp> = *mut _Tp; pub type std___compressed_pair_elem_const_reference<_Tp> = *const _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___compressed_pair { pub _address: u8, } pub type std___compressed_pair__Base1 = u8; pub type std___compressed_pair__Base2 = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_default_delete { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___unique_ptr_deleter_sfinae { pub _address: u8, } pub type std___unique_ptr_deleter_sfinae___lval_ref_type<_Deleter> = *const _Deleter; pub type std___unique_ptr_deleter_sfinae___good_rval_ref_type<_Deleter> = *mut _Deleter; pub type std___unique_ptr_deleter_sfinae___enable_rval_overload = std_true_type; #[repr(C)] #[derive(Debug)] pub struct std_unique_ptr { pub __ptr_: std___compressed_pair, } pub type std_unique_ptr_element_type<_Tp> = _Tp; pub type std_unique_ptr_deleter_type<_Dp> = _Dp; pub type std_unique_ptr_pointer = std___pointer_type; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_unique_ptr___nat { pub __for_bool_: ::std::os::raw::c_int, } pub type std_unique_ptr__DeleterSFINAE = std___unique_ptr_deleter_sfinae; pub type std_unique_ptr__LValRefType = u8; pub type std_unique_ptr__GoodRValRefType = u8; pub type std_unique_ptr__BadRValRefType = u8; pub type std_unique_ptr__EnableIfDeleterDefaultConstructible = u8; pub type std_unique_ptr__EnableIfDeleterConstructible = u8; pub type std_unique_ptr__EnableIfMoveConvertible = u8; pub type std_unique_ptr__EnableIfDeleterConvertible = u8; pub type std_unique_ptr__EnableIfDeleterAssignable = u8; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___unique_if { pub _address: u8, } pub type std___unique_if___unique_single = std_unique_ptr; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___destruct_n { pub __size_: size_t, } #[test] fn bindgen_test_layout_std___destruct_n() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std___destruct_n)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std___destruct_n)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__size_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std___destruct_n), "::", stringify!(__size_) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___allocator_destructor<_Alloc> { pub __alloc_: *mut _Alloc, pub __s_: std___allocator_destructor_size_type, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Alloc>>, } pub type std___allocator_destructor___alloc_traits = std_allocator_traits; pub type std___allocator_destructor_pointer = std___allocator_destructor___alloc_traits; pub type std___allocator_destructor_size_type = std___allocator_destructor___alloc_traits; #[repr(C)] #[derive(Debug)] pub struct std_bad_weak_ptr { pub _base: std_exception, } #[test] fn bindgen_test_layout_std_bad_weak_ptr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std_bad_weak_ptr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_bad_weak_ptr)) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__112bad_weak_ptrD1Ev"] pub fn std_bad_weak_ptr_bad_weak_ptr_destructor(this: *mut std_bad_weak_ptr); } extern "C" { #[link_name = "\u{1}__ZNKSt3__112bad_weak_ptr4whatEv"] pub fn std_bad_weak_ptr_what( this: *mut ::std::os::raw::c_void, ) -> *const ::std::os::raw::c_char; } #[repr(C)] pub struct std___shared_count__bindgen_vtable(::std::os::raw::c_void); #[repr(C)] #[derive(Debug)] pub struct std___shared_count { pub vtable_: *const std___shared_count__bindgen_vtable, pub __shared_owners_: ::std::os::raw::c_long, } #[test] fn bindgen_test_layout_std___shared_count() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std___shared_count)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std___shared_count)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__shared_owners_ as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(std___shared_count), "::", stringify!(__shared_owners_) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__114__shared_countD1Ev"] pub fn std___shared_count___shared_count_destructor(this: *mut std___shared_count); } #[repr(C)] #[derive(Debug)] pub struct std___shared_weak_count { pub _base: std___shared_count, pub __shared_weak_owners_: ::std::os::raw::c_long, } #[test] fn bindgen_test_layout_std___shared_weak_count() { assert_eq!( ::std::mem::size_of::(), 24usize, concat!("Size of: ", stringify!(std___shared_weak_count)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std___shared_weak_count)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__shared_weak_owners_ as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(std___shared_weak_count), "::", stringify!(__shared_weak_owners_) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__119__shared_weak_count14__release_weakEv"] pub fn std___shared_weak_count___release_weak(this: *mut std___shared_weak_count); } extern "C" { #[link_name = "\u{1}__ZNSt3__119__shared_weak_count4lockEv"] pub fn std___shared_weak_count_lock( this: *mut std___shared_weak_count, ) -> *mut std___shared_weak_count; } impl std___shared_weak_count { #[inline] pub unsafe fn __release_weak(&mut self) { std___shared_weak_count___release_weak(self) } #[inline] pub unsafe fn lock(&mut self) -> *mut std___shared_weak_count { std___shared_weak_count_lock(self) } } extern "C" { #[link_name = "\u{1}__ZNSt3__119__shared_weak_countD1Ev"] pub fn std___shared_weak_count___shared_weak_count_destructor( this: *mut std___shared_weak_count, ); } extern "C" { #[link_name = "\u{1}__ZNKSt3__119__shared_weak_count13__get_deleterERKSt9type_info"] pub fn std___shared_weak_count___get_deleter( this: *mut ::std::os::raw::c_void, arg1: *const std_type_info, ) -> *const ::std::os::raw::c_void; } #[repr(C)] #[derive(Debug)] pub struct std___shared_ptr_pointer { pub _base: std___shared_weak_count, pub __data_: std___compressed_pair, } #[repr(C)] #[derive(Debug)] pub struct std___shared_ptr_emplace { pub _base: std___shared_weak_count, pub __data_: std___compressed_pair, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___shared_ptr_dummy_rebind_allocator_type { _unused: [u8; 0], } #[test] fn __bindgen_test_layout_std_allocator_open0_std___shared_ptr_dummy_rebind_allocator_type_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_allocator) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_allocator) ) ); } #[repr(C)] #[derive(Debug)] pub struct std_shared_ptr<_Tp> { pub __ptr_: *mut std_shared_ptr_element_type<_Tp>, pub __cntrl_: *mut std___shared_weak_count, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Tp>>, } pub type std_shared_ptr_element_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_shared_ptr___nat { pub __for_bool_: ::std::os::raw::c_int, } pub type std_shared_ptr___shared_ptr_default_allocator_type = std_allocator; #[repr(C)] #[derive(Debug)] pub struct std_weak_ptr<_Tp> { pub __ptr_: *mut std_weak_ptr_element_type<_Tp>, pub __cntrl_: *mut std___shared_weak_count, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Tp>>, } pub type std_weak_ptr_element_type<_Tp> = _Tp; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_owner_less { pub _address: u8, } #[repr(C)] #[derive(Debug)] pub struct std_enable_shared_from_this<_Tp> { pub __weak_this_: std_weak_ptr<_Tp>, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Tp>>, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___sp_mut { pub __lx: *mut ::std::os::raw::c_void, } #[test] fn bindgen_test_layout_std___sp_mut() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std___sp_mut)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std___sp_mut)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__lx as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std___sp_mut), "::", stringify!(__lx) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__18__sp_mut4lockEv"] pub fn std___sp_mut_lock(this: *mut std___sp_mut); } extern "C" { #[link_name = "\u{1}__ZNSt3__18__sp_mut6unlockEv"] pub fn std___sp_mut_unlock(this: *mut std___sp_mut); } impl std___sp_mut { #[inline] pub unsafe fn lock(&mut self) { std___sp_mut_lock(self) } #[inline] pub unsafe fn unlock(&mut self) { std___sp_mut_unlock(self) } } extern "C" { #[link_name = "\u{1}__ZNSt3__112__get_sp_mutEPKv"] pub fn std___get_sp_mut(arg1: *const ::std::os::raw::c_void) -> *mut std___sp_mut; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_pointer_safety { pub __v_: std_pointer_safety___lx, } pub const std_pointer_safety___lx_relaxed: std_pointer_safety___lx = 0; pub const std_pointer_safety___lx_preferred: std_pointer_safety___lx = 1; pub const std_pointer_safety___lx_strict: std_pointer_safety___lx = 2; pub type std_pointer_safety___lx = u32; #[test] fn bindgen_test_layout_std_pointer_safety() { assert_eq!( ::std::mem::size_of::(), 4usize, concat!("Size of: ", stringify!(std_pointer_safety)) ); assert_eq!( ::std::mem::align_of::(), 4usize, concat!("Alignment of ", stringify!(std_pointer_safety)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__v_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std_pointer_safety), "::", stringify!(__v_) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt3__117declare_reachableEPv"] pub fn std_declare_reachable(__p: *mut ::std::os::raw::c_void); } extern "C" { #[link_name = "\u{1}__ZNSt3__119declare_no_pointersEPcm"] pub fn std_declare_no_pointers(__p: *mut ::std::os::raw::c_char, __n: size_t); } extern "C" { #[link_name = "\u{1}__ZNSt3__121undeclare_no_pointersEPcm"] pub fn std_undeclare_no_pointers(__p: *mut ::std::os::raw::c_char, __n: size_t); } extern "C" { #[link_name = "\u{1}__ZNSt3__121__undeclare_reachableEPv"] pub fn std___undeclare_reachable( __p: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void; } extern "C" { #[link_name = "\u{1}__ZNSt3__15alignEmmRPvRm"] pub fn std_align( __align: size_t, __sz: size_t, __ptr: *mut *mut ::std::os::raw::c_void, __space: *mut size_t, ) -> *mut ::std::os::raw::c_void; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___noexcept_move_assign_container { pub _address: u8, } #[repr(C)] #[derive(Debug)] pub struct std___temp_value<_Alloc> { pub __v: u8, pub __a: *mut _Alloc, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Alloc>>, } pub type std___temp_value__Traits = std_allocator_traits; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___is_allocator { pub _base: std_false_type, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___builtin_new_allocator { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___builtin_new_allocator___builtin_new_deleter { pub __size_: size_t, pub __align_: size_t, } pub type std___builtin_new_allocator___builtin_new_deleter_pointer_type = *mut ::std::os::raw::c_void; #[test] fn bindgen_test_layout_std___builtin_new_allocator___builtin_new_deleter() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!( "Size of: ", stringify!(std___builtin_new_allocator___builtin_new_deleter) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of ", stringify!(std___builtin_new_allocator___builtin_new_deleter) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__size_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std___builtin_new_allocator___builtin_new_deleter), "::", stringify!(__size_) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__align_ as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(std___builtin_new_allocator___builtin_new_deleter), "::", stringify!(__align_) ) ); } pub type std___builtin_new_allocator___holder_t = std_unique_ptr; #[test] fn bindgen_test_layout_std___builtin_new_allocator() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___builtin_new_allocator)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___builtin_new_allocator)) ); } pub type std_nullptr_t = *const ::std::os::raw::c_void; #[repr(C)] pub struct std_exception__bindgen_vtable(::std::os::raw::c_void); #[repr(C)] #[derive(Debug)] pub struct std_exception { pub vtable_: *const std_exception__bindgen_vtable, } #[test] fn bindgen_test_layout_std_exception() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std_exception)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_exception)) ); } extern "C" { #[link_name = "\u{1}__ZNSt9exceptionD1Ev"] pub fn std_exception_exception_destructor(this: *mut std_exception); } extern "C" { #[link_name = "\u{1}__ZNKSt9exception4whatEv"] pub fn std_exception_what(this: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char; } #[repr(C)] #[derive(Debug)] pub struct std_bad_exception { pub _base: std_exception, } #[test] fn bindgen_test_layout_std_bad_exception() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std_bad_exception)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_bad_exception)) ); } extern "C" { #[link_name = "\u{1}__ZNSt13bad_exceptionD1Ev"] pub fn std_bad_exception_bad_exception_destructor(this: *mut std_bad_exception); } extern "C" { #[link_name = "\u{1}__ZNKSt13bad_exception4whatEv"] pub fn std_bad_exception_what( this: *mut ::std::os::raw::c_void, ) -> *const ::std::os::raw::c_char; } pub type std_unexpected_handler = ::std::option::Option; extern "C" { #[link_name = "\u{1}__ZSt14set_unexpectedPFvvE"] pub fn std_set_unexpected(arg1: std_unexpected_handler) -> std_unexpected_handler; } extern "C" { #[link_name = "\u{1}__ZSt14get_unexpectedv"] pub fn std_get_unexpected() -> std_unexpected_handler; } extern "C" { #[link_name = "\u{1}__ZSt10unexpectedv"] pub fn std_unexpected(); } pub type std_terminate_handler = ::std::option::Option; extern "C" { #[link_name = "\u{1}__ZSt13set_terminatePFvvE"] pub fn std_set_terminate(arg1: std_terminate_handler) -> std_terminate_handler; } extern "C" { #[link_name = "\u{1}__ZSt13get_terminatev"] pub fn std_get_terminate() -> std_terminate_handler; } extern "C" { #[link_name = "\u{1}__ZSt9terminatev"] pub fn std_terminate(); } extern "C" { #[link_name = "\u{1}__ZSt18uncaught_exceptionv"] pub fn std_uncaught_exception() -> bool; } extern "C" { #[link_name = "\u{1}__ZSt19uncaught_exceptionsv"] pub fn std_uncaught_exceptions() -> ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}__ZSt17current_exceptionv"] pub fn std_current_exception() -> std_exception_ptr; } extern "C" { #[link_name = "\u{1}__ZSt17rethrow_exceptionSt13exception_ptr"] pub fn std_rethrow_exception(arg1: std_exception_ptr); } #[repr(C)] #[derive(Debug)] pub struct std_exception_ptr { pub __ptr_: *mut ::std::os::raw::c_void, } #[test] fn bindgen_test_layout_std_exception_ptr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std_exception_ptr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_exception_ptr)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__ptr_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(std_exception_ptr), "::", stringify!(__ptr_) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt13exception_ptrC1ERKS_"] pub fn std_exception_ptr_exception_ptr( this: *mut std_exception_ptr, arg1: *const std_exception_ptr, ); } extern "C" { #[link_name = "\u{1}__ZNSt13exception_ptrD1Ev"] pub fn std_exception_ptr_exception_ptr_destructor(this: *mut std_exception_ptr); } impl std_exception_ptr { #[inline] pub unsafe fn new(arg1: *const std_exception_ptr) -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_exception_ptr_exception_ptr(__bindgen_tmp.as_mut_ptr(), arg1); __bindgen_tmp.assume_init() } #[inline] pub unsafe fn destruct(&mut self) { std_exception_ptr_exception_ptr_destructor(self) } } #[repr(C)] pub struct std_nested_exception__bindgen_vtable(::std::os::raw::c_void); #[repr(C)] #[derive(Debug)] pub struct std_nested_exception { pub vtable_: *const std_nested_exception__bindgen_vtable, pub __ptr_: std_exception_ptr, } #[test] fn bindgen_test_layout_std_nested_exception() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_nested_exception)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_nested_exception)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__ptr_ as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(std_nested_exception), "::", stringify!(__ptr_) ) ); } extern "C" { #[link_name = "\u{1}__ZNKSt16nested_exception14rethrow_nestedEv"] pub fn std_nested_exception_rethrow_nested(this: *const std_nested_exception); } extern "C" { #[link_name = "\u{1}__ZNSt16nested_exceptionC1Ev"] pub fn std_nested_exception_nested_exception(this: *mut std_nested_exception); } impl std_nested_exception { #[inline] pub unsafe fn rethrow_nested(&self) { std_nested_exception_rethrow_nested(self) } #[inline] pub unsafe fn new() -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_nested_exception_nested_exception(__bindgen_tmp.as_mut_ptr()); __bindgen_tmp.assume_init() } } extern "C" { #[link_name = "\u{1}__ZNSt16nested_exceptionD1Ev"] pub fn std_nested_exception_nested_exception_destructor(this: *mut std_nested_exception); } #[repr(C)] #[derive(Debug)] pub struct std___nested<_Tp> { pub _base: _Tp, pub _base_1: std_nested_exception, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Tp>>, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___can_dynamic_cast { pub _address: u8, } #[repr(C)] #[derive(Debug)] pub struct std_logic_error { pub _base: std_exception, pub __imp_: std___libcpp_refstring, } #[test] fn bindgen_test_layout_std_logic_error() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_logic_error)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_logic_error)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__imp_ as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(std_logic_error), "::", stringify!(__imp_) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt11logic_errorC1ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE"] pub fn std_logic_error_logic_error(this: *mut std_logic_error, arg1: *const std_string); } extern "C" { #[link_name = "\u{1}__ZNSt11logic_errorC1EPKc"] pub fn std_logic_error_logic_error1( this: *mut std_logic_error, arg1: *const ::std::os::raw::c_char, ); } extern "C" { #[link_name = "\u{1}__ZNSt11logic_errorC1ERKS_"] pub fn std_logic_error_logic_error2(this: *mut std_logic_error, arg1: *const std_logic_error); } impl std_logic_error { #[inline] pub unsafe fn new(arg1: *const std_string) -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_logic_error_logic_error(__bindgen_tmp.as_mut_ptr(), arg1); __bindgen_tmp.assume_init() } #[inline] pub unsafe fn new1(arg1: *const ::std::os::raw::c_char) -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_logic_error_logic_error1(__bindgen_tmp.as_mut_ptr(), arg1); __bindgen_tmp.assume_init() } #[inline] pub unsafe fn new2(arg1: *const std_logic_error) -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_logic_error_logic_error2(__bindgen_tmp.as_mut_ptr(), arg1); __bindgen_tmp.assume_init() } } extern "C" { #[link_name = "\u{1}__ZNSt11logic_errorD1Ev"] pub fn std_logic_error_logic_error_destructor(this: *mut std_logic_error); } extern "C" { #[link_name = "\u{1}__ZNKSt11logic_error4whatEv"] pub fn std_logic_error_what(this: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char; } #[repr(C)] #[derive(Debug)] pub struct std_runtime_error { pub _base: std_exception, pub __imp_: std___libcpp_refstring, } #[test] fn bindgen_test_layout_std_runtime_error() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_runtime_error)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_runtime_error)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__imp_ as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(std_runtime_error), "::", stringify!(__imp_) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt13runtime_errorC1ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE"] pub fn std_runtime_error_runtime_error(this: *mut std_runtime_error, arg1: *const std_string); } extern "C" { #[link_name = "\u{1}__ZNSt13runtime_errorC1EPKc"] pub fn std_runtime_error_runtime_error1( this: *mut std_runtime_error, arg1: *const ::std::os::raw::c_char, ); } extern "C" { #[link_name = "\u{1}__ZNSt13runtime_errorC1ERKS_"] pub fn std_runtime_error_runtime_error2( this: *mut std_runtime_error, arg1: *const std_runtime_error, ); } impl std_runtime_error { #[inline] pub unsafe fn new(arg1: *const std_string) -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_runtime_error_runtime_error(__bindgen_tmp.as_mut_ptr(), arg1); __bindgen_tmp.assume_init() } #[inline] pub unsafe fn new1(arg1: *const ::std::os::raw::c_char) -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_runtime_error_runtime_error1(__bindgen_tmp.as_mut_ptr(), arg1); __bindgen_tmp.assume_init() } #[inline] pub unsafe fn new2(arg1: *const std_runtime_error) -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_runtime_error_runtime_error2(__bindgen_tmp.as_mut_ptr(), arg1); __bindgen_tmp.assume_init() } } extern "C" { #[link_name = "\u{1}__ZNSt13runtime_errorD1Ev"] pub fn std_runtime_error_runtime_error_destructor(this: *mut std_runtime_error); } extern "C" { #[link_name = "\u{1}__ZNKSt13runtime_error4whatEv"] pub fn std_runtime_error_what( this: *mut ::std::os::raw::c_void, ) -> *const ::std::os::raw::c_char; } #[repr(C)] #[derive(Debug)] pub struct std_domain_error { pub _base: std_logic_error, } #[test] fn bindgen_test_layout_std_domain_error() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_domain_error)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_domain_error)) ); } extern "C" { #[link_name = "\u{1}__ZNSt12domain_errorD1Ev"] pub fn std_domain_error_domain_error_destructor(this: *mut std_domain_error); } #[repr(C)] #[derive(Debug)] pub struct std_invalid_argument { pub _base: std_logic_error, } #[test] fn bindgen_test_layout_std_invalid_argument() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_invalid_argument)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_invalid_argument)) ); } extern "C" { #[link_name = "\u{1}__ZNSt16invalid_argumentD1Ev"] pub fn std_invalid_argument_invalid_argument_destructor(this: *mut std_invalid_argument); } #[repr(C)] #[derive(Debug)] pub struct std_length_error { pub _base: std_logic_error, } #[test] fn bindgen_test_layout_std_length_error() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_length_error)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_length_error)) ); } extern "C" { #[link_name = "\u{1}__ZNSt12length_errorD1Ev"] pub fn std_length_error_length_error_destructor(this: *mut std_length_error); } #[repr(C)] #[derive(Debug)] pub struct std_out_of_range { pub _base: std_logic_error, } #[test] fn bindgen_test_layout_std_out_of_range() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_out_of_range)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_out_of_range)) ); } extern "C" { #[link_name = "\u{1}__ZNSt12out_of_rangeD1Ev"] pub fn std_out_of_range_out_of_range_destructor(this: *mut std_out_of_range); } #[repr(C)] #[derive(Debug)] pub struct std_range_error { pub _base: std_runtime_error, } #[test] fn bindgen_test_layout_std_range_error() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_range_error)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_range_error)) ); } extern "C" { #[link_name = "\u{1}__ZNSt11range_errorD1Ev"] pub fn std_range_error_range_error_destructor(this: *mut std_range_error); } #[repr(C)] #[derive(Debug)] pub struct std_overflow_error { pub _base: std_runtime_error, } #[test] fn bindgen_test_layout_std_overflow_error() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_overflow_error)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_overflow_error)) ); } extern "C" { #[link_name = "\u{1}__ZNSt14overflow_errorD1Ev"] pub fn std_overflow_error_overflow_error_destructor(this: *mut std_overflow_error); } #[repr(C)] #[derive(Debug)] pub struct std_underflow_error { pub _base: std_runtime_error, } #[test] fn bindgen_test_layout_std_underflow_error() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_underflow_error)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_underflow_error)) ); } extern "C" { #[link_name = "\u{1}__ZNSt15underflow_errorD1Ev"] pub fn std_underflow_error_underflow_error_destructor(this: *mut std_underflow_error); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___type_info_implementations { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___type_info_implementations___string_impl_base { pub _address: u8, } pub type std___type_info_implementations___string_impl_base___type_name_t = *const ::std::os::raw::c_char; #[test] fn bindgen_test_layout_std___type_info_implementations___string_impl_base() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of: ", stringify!(std___type_info_implementations___string_impl_base) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of ", stringify!(std___type_info_implementations___string_impl_base) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___type_info_implementations___unique_impl { pub _address: u8, } #[test] fn bindgen_test_layout_std___type_info_implementations___unique_impl() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of: ", stringify!(std___type_info_implementations___unique_impl) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of ", stringify!(std___type_info_implementations___unique_impl) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___type_info_implementations___non_unique_impl { pub _address: u8, } #[test] fn bindgen_test_layout_std___type_info_implementations___non_unique_impl() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of: ", stringify!(std___type_info_implementations___non_unique_impl) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of ", stringify!(std___type_info_implementations___non_unique_impl) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std___type_info_implementations___non_unique_arm_rtti_bit_impl { pub _address: u8, } pub type std___type_info_implementations___non_unique_arm_rtti_bit_impl___type_name_t = usize; pub type std___type_info_implementations___non_unique_arm_rtti_bit_impl___non_unique_rtti_bit = u8; #[test] fn bindgen_test_layout_std___type_info_implementations___non_unique_arm_rtti_bit_impl() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of: ", stringify!(std___type_info_implementations___non_unique_arm_rtti_bit_impl) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of ", stringify!(std___type_info_implementations___non_unique_arm_rtti_bit_impl) ) ); } pub type std___type_info_implementations___impl = std___type_info_implementations___unique_impl; #[test] fn bindgen_test_layout_std___type_info_implementations() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std___type_info_implementations)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std___type_info_implementations)) ); } #[repr(C)] pub struct std_type_info__bindgen_vtable(::std::os::raw::c_void); #[repr(C)] #[derive(Debug)] pub struct std_type_info { pub vtable_: *const std_type_info__bindgen_vtable, pub __type_name: std___type_info_implementations___string_impl_base___type_name_t, } pub type std_type_info___impl = std___type_info_implementations___impl; #[test] fn bindgen_test_layout_std_type_info() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(std_type_info)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_type_info)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__type_name as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(std_type_info), "::", stringify!(__type_name) ) ); } extern "C" { #[link_name = "\u{1}__ZNSt9type_infoD1Ev"] pub fn std_type_info_type_info_destructor(this: *mut std_type_info); } #[repr(C)] #[derive(Debug)] pub struct std_bad_cast { pub _base: std_exception, } #[test] fn bindgen_test_layout_std_bad_cast() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std_bad_cast)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_bad_cast)) ); } extern "C" { #[link_name = "\u{1}__ZNSt8bad_castC1Ev"] pub fn std_bad_cast_bad_cast(this: *mut std_bad_cast); } impl std_bad_cast { #[inline] pub unsafe fn new() -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_bad_cast_bad_cast(__bindgen_tmp.as_mut_ptr()); __bindgen_tmp.assume_init() } } extern "C" { #[link_name = "\u{1}__ZNSt8bad_castD1Ev"] pub fn std_bad_cast_bad_cast_destructor(this: *mut std_bad_cast); } extern "C" { #[link_name = "\u{1}__ZNKSt8bad_cast4whatEv"] pub fn std_bad_cast_what(this: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char; } #[repr(C)] #[derive(Debug)] pub struct std_bad_typeid { pub _base: std_exception, } #[test] fn bindgen_test_layout_std_bad_typeid() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std_bad_typeid)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_bad_typeid)) ); } extern "C" { #[link_name = "\u{1}__ZNSt10bad_typeidC1Ev"] pub fn std_bad_typeid_bad_typeid(this: *mut std_bad_typeid); } impl std_bad_typeid { #[inline] pub unsafe fn new() -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_bad_typeid_bad_typeid(__bindgen_tmp.as_mut_ptr()); __bindgen_tmp.assume_init() } } extern "C" { #[link_name = "\u{1}__ZNSt10bad_typeidD1Ev"] pub fn std_bad_typeid_bad_typeid_destructor(this: *mut std_bad_typeid); } extern "C" { #[link_name = "\u{1}__ZNKSt10bad_typeid4whatEv"] pub fn std_bad_typeid_what(this: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char; } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_nothrow_t { pub _address: u8, } #[test] fn bindgen_test_layout_std_nothrow_t() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(std_nothrow_t)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(std_nothrow_t)) ); } extern "C" { #[link_name = "\u{1}__ZSt7nothrow"] pub static std_nothrow: std_nothrow_t; } #[repr(C)] #[derive(Debug)] pub struct std_bad_alloc { pub _base: std_exception, } #[test] fn bindgen_test_layout_std_bad_alloc() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std_bad_alloc)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_bad_alloc)) ); } extern "C" { #[link_name = "\u{1}__ZNSt9bad_allocC1Ev"] pub fn std_bad_alloc_bad_alloc(this: *mut std_bad_alloc); } impl std_bad_alloc { #[inline] pub unsafe fn new() -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_bad_alloc_bad_alloc(__bindgen_tmp.as_mut_ptr()); __bindgen_tmp.assume_init() } } extern "C" { #[link_name = "\u{1}__ZNSt9bad_allocD1Ev"] pub fn std_bad_alloc_bad_alloc_destructor(this: *mut std_bad_alloc); } extern "C" { #[link_name = "\u{1}__ZNKSt9bad_alloc4whatEv"] pub fn std_bad_alloc_what(this: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char; } #[repr(C)] #[derive(Debug)] pub struct std_bad_array_new_length { pub _base: std_bad_alloc, } #[test] fn bindgen_test_layout_std_bad_array_new_length() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(std_bad_array_new_length)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(std_bad_array_new_length)) ); } extern "C" { #[link_name = "\u{1}__ZNSt20bad_array_new_lengthC1Ev"] pub fn std_bad_array_new_length_bad_array_new_length(this: *mut std_bad_array_new_length); } impl std_bad_array_new_length { #[inline] pub unsafe fn new() -> Self { let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); std_bad_array_new_length_bad_array_new_length(__bindgen_tmp.as_mut_ptr()); __bindgen_tmp.assume_init() } } extern "C" { #[link_name = "\u{1}__ZNSt20bad_array_new_lengthD1Ev"] pub fn std_bad_array_new_length_bad_array_new_length_destructor( this: *mut std_bad_array_new_length, ); } extern "C" { #[link_name = "\u{1}__ZNKSt20bad_array_new_length4whatEv"] pub fn std_bad_array_new_length_what( this: *mut ::std::os::raw::c_void, ) -> *const ::std::os::raw::c_char; } pub type std_new_handler = ::std::option::Option; extern "C" { #[link_name = "\u{1}__ZSt15set_new_handlerPFvvE"] pub fn std_set_new_handler(arg1: std_new_handler) -> std_new_handler; } extern "C" { #[link_name = "\u{1}__ZSt15get_new_handlerv"] pub fn std_get_new_handler() -> std_new_handler; } extern "C" { #[link_name = "\u{1}__ZSt17__throw_bad_allocv"] pub fn std___throw_bad_alloc(); } pub type std_align_val_t = u64; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct std_initializer_list<_Ep> { pub __begin_: *const _Ep, pub __size_: size_t, pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_Ep>>, } pub type std_initializer_list_value_type<_Ep> = _Ep; pub type std_initializer_list_reference<_Ep> = *const _Ep; pub type std_initializer_list_const_reference<_Ep> = *const _Ep; pub type std_initializer_list_size_type = size_t; pub type std_initializer_list_iterator<_Ep> = *const _Ep; pub type std_initializer_list_const_iterator<_Ep> = *const _Ep; pub type __int8_t = ::std::os::raw::c_schar; pub type __uint8_t = ::std::os::raw::c_uchar; pub type __int16_t = ::std::os::raw::c_short; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __int32_t = ::std::os::raw::c_int; pub type __uint32_t = ::std::os::raw::c_uint; pub type __int64_t = ::std::os::raw::c_longlong; pub type __uint64_t = ::std::os::raw::c_ulonglong; pub type __darwin_intptr_t = ::std::os::raw::c_long; pub type __darwin_natural_t = ::std::os::raw::c_uint; pub type __darwin_ct_rune_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Copy, Clone)] pub union __mbstate_t { pub __mbstate8: [::std::os::raw::c_char; 128usize], pub _mbstateL: ::std::os::raw::c_longlong, _bindgen_union_align: [u64; 16usize], } #[test] fn bindgen_test_layout___mbstate_t() { assert_eq!( ::std::mem::size_of::<__mbstate_t>(), 128usize, concat!("Size of: ", stringify!(__mbstate_t)) ); assert_eq!( ::std::mem::align_of::<__mbstate_t>(), 8usize, concat!("Alignment of ", stringify!(__mbstate_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__mbstate8 as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__mbstate_t), "::", stringify!(__mbstate8) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__mbstate_t>()))._mbstateL as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__mbstate_t), "::", stringify!(_mbstateL) ) ); } pub type __darwin_mbstate_t = __mbstate_t; pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; pub type __darwin_size_t = ::std::os::raw::c_ulong; pub type __darwin_va_list = __builtin_va_list; pub type __darwin_wchar_t = ::std::os::raw::c_int; pub type __darwin_rune_t = __darwin_wchar_t; pub type __darwin_wint_t = ::std::os::raw::c_int; pub type __darwin_clock_t = ::std::os::raw::c_ulong; pub type __darwin_socklen_t = __uint32_t; pub type __darwin_ssize_t = ::std::os::raw::c_long; pub type __darwin_time_t = ::std::os::raw::c_long; pub type __darwin_blkcnt_t = __int64_t; pub type __darwin_blksize_t = __int32_t; pub type __darwin_dev_t = __int32_t; pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; pub type __darwin_gid_t = __uint32_t; pub type __darwin_id_t = __uint32_t; pub type __darwin_ino64_t = __uint64_t; pub type __darwin_ino_t = __darwin_ino64_t; pub type __darwin_mach_port_name_t = __darwin_natural_t; pub type __darwin_mach_port_t = __darwin_mach_port_name_t; pub type __darwin_mode_t = __uint16_t; pub type __darwin_off_t = __int64_t; pub type __darwin_pid_t = __int32_t; pub type __darwin_sigset_t = __uint32_t; pub type __darwin_suseconds_t = __int32_t; pub type __darwin_uid_t = __uint32_t; pub type __darwin_useconds_t = __uint32_t; pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_pthread_handler_rec { pub __routine: ::std::option::Option, pub __arg: *mut ::std::os::raw::c_void, pub __next: *mut __darwin_pthread_handler_rec, } #[test] fn bindgen_test_layout___darwin_pthread_handler_rec() { assert_eq!( ::std::mem::size_of::<__darwin_pthread_handler_rec>(), 24usize, concat!("Size of: ", stringify!(__darwin_pthread_handler_rec)) ); assert_eq!( ::std::mem::align_of::<__darwin_pthread_handler_rec>(), 8usize, concat!("Alignment of ", stringify!(__darwin_pthread_handler_rec)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__routine as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_pthread_handler_rec), "::", stringify!(__routine) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__arg as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_pthread_handler_rec), "::", stringify!(__arg) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__next as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_pthread_handler_rec), "::", stringify!(__next) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct _opaque_pthread_attr_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 56usize], } #[test] fn bindgen_test_layout__opaque_pthread_attr_t() { assert_eq!( ::std::mem::size_of::<_opaque_pthread_attr_t>(), 64usize, concat!("Size of: ", stringify!(_opaque_pthread_attr_t)) ); assert_eq!( ::std::mem::align_of::<_opaque_pthread_attr_t>(), 8usize, concat!("Alignment of ", stringify!(_opaque_pthread_attr_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__sig as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_attr_t), "::", stringify!(__sig) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__opaque as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_attr_t), "::", stringify!(__opaque) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct _opaque_pthread_cond_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 40usize], } #[test] fn bindgen_test_layout__opaque_pthread_cond_t() { assert_eq!( ::std::mem::size_of::<_opaque_pthread_cond_t>(), 48usize, concat!("Size of: ", stringify!(_opaque_pthread_cond_t)) ); assert_eq!( ::std::mem::align_of::<_opaque_pthread_cond_t>(), 8usize, concat!("Alignment of ", stringify!(_opaque_pthread_cond_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__sig as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_cond_t), "::", stringify!(__sig) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__opaque as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_cond_t), "::", stringify!(__opaque) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_condattr_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 8usize], } #[test] fn bindgen_test_layout__opaque_pthread_condattr_t() { assert_eq!( ::std::mem::size_of::<_opaque_pthread_condattr_t>(), 16usize, concat!("Size of: ", stringify!(_opaque_pthread_condattr_t)) ); assert_eq!( ::std::mem::align_of::<_opaque_pthread_condattr_t>(), 8usize, concat!("Alignment of ", stringify!(_opaque_pthread_condattr_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__sig as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_condattr_t), "::", stringify!(__sig) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__opaque as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_condattr_t), "::", stringify!(__opaque) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct _opaque_pthread_mutex_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 56usize], } #[test] fn bindgen_test_layout__opaque_pthread_mutex_t() { assert_eq!( ::std::mem::size_of::<_opaque_pthread_mutex_t>(), 64usize, concat!("Size of: ", stringify!(_opaque_pthread_mutex_t)) ); assert_eq!( ::std::mem::align_of::<_opaque_pthread_mutex_t>(), 8usize, concat!("Alignment of ", stringify!(_opaque_pthread_mutex_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__sig as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_mutex_t), "::", stringify!(__sig) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__opaque as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_mutex_t), "::", stringify!(__opaque) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_mutexattr_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 8usize], } #[test] fn bindgen_test_layout__opaque_pthread_mutexattr_t() { assert_eq!( ::std::mem::size_of::<_opaque_pthread_mutexattr_t>(), 16usize, concat!("Size of: ", stringify!(_opaque_pthread_mutexattr_t)) ); assert_eq!( ::std::mem::align_of::<_opaque_pthread_mutexattr_t>(), 8usize, concat!("Alignment of ", stringify!(_opaque_pthread_mutexattr_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__sig as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_mutexattr_t), "::", stringify!(__sig) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__opaque as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_mutexattr_t), "::", stringify!(__opaque) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_once_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 8usize], } #[test] fn bindgen_test_layout__opaque_pthread_once_t() { assert_eq!( ::std::mem::size_of::<_opaque_pthread_once_t>(), 16usize, concat!("Size of: ", stringify!(_opaque_pthread_once_t)) ); assert_eq!( ::std::mem::align_of::<_opaque_pthread_once_t>(), 8usize, concat!("Alignment of ", stringify!(_opaque_pthread_once_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__sig as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_once_t), "::", stringify!(__sig) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__opaque as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_once_t), "::", stringify!(__opaque) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct _opaque_pthread_rwlock_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 192usize], } #[test] fn bindgen_test_layout__opaque_pthread_rwlock_t() { assert_eq!( ::std::mem::size_of::<_opaque_pthread_rwlock_t>(), 200usize, concat!("Size of: ", stringify!(_opaque_pthread_rwlock_t)) ); assert_eq!( ::std::mem::align_of::<_opaque_pthread_rwlock_t>(), 8usize, concat!("Alignment of ", stringify!(_opaque_pthread_rwlock_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__sig as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_rwlock_t), "::", stringify!(__sig) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__opaque as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_rwlock_t), "::", stringify!(__opaque) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _opaque_pthread_rwlockattr_t { pub __sig: ::std::os::raw::c_long, pub __opaque: [::std::os::raw::c_char; 16usize], } #[test] fn bindgen_test_layout__opaque_pthread_rwlockattr_t() { assert_eq!( ::std::mem::size_of::<_opaque_pthread_rwlockattr_t>(), 24usize, concat!("Size of: ", stringify!(_opaque_pthread_rwlockattr_t)) ); assert_eq!( ::std::mem::align_of::<_opaque_pthread_rwlockattr_t>(), 8usize, concat!("Alignment of ", stringify!(_opaque_pthread_rwlockattr_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__sig as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_rwlockattr_t), "::", stringify!(__sig) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__opaque as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_rwlockattr_t), "::", stringify!(__opaque) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct _opaque_pthread_t { pub __sig: ::std::os::raw::c_long, pub __cleanup_stack: *mut __darwin_pthread_handler_rec, pub __opaque: [::std::os::raw::c_char; 8176usize], } #[test] fn bindgen_test_layout__opaque_pthread_t() { assert_eq!( ::std::mem::size_of::<_opaque_pthread_t>(), 8192usize, concat!("Size of: ", stringify!(_opaque_pthread_t)) ); assert_eq!( ::std::mem::align_of::<_opaque_pthread_t>(), 8usize, concat!("Alignment of ", stringify!(_opaque_pthread_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__sig as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_t), "::", stringify!(__sig) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__cleanup_stack as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_t), "::", stringify!(__cleanup_stack) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__opaque as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(_opaque_pthread_t), "::", stringify!(__opaque) ) ); } pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; pub type __darwin_pthread_once_t = _opaque_pthread_once_t; pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; pub type __darwin_pthread_t = *mut _opaque_pthread_t; pub type __darwin_nl_item = ::std::os::raw::c_int; pub type __darwin_wctrans_t = ::std::os::raw::c_int; pub type __darwin_wctype_t = __uint32_t; pub type u_int8_t = ::std::os::raw::c_uchar; pub type u_int16_t = ::std::os::raw::c_ushort; pub type u_int32_t = ::std::os::raw::c_uint; pub type u_int64_t = ::std::os::raw::c_ulonglong; pub type register_t = i64; pub type user_addr_t = u_int64_t; pub type user_size_t = u_int64_t; pub type user_ssize_t = i64; pub type user_long_t = i64; pub type user_ulong_t = u_int64_t; pub type user_time_t = i64; pub type user_off_t = i64; pub type syscall_arg_t = u_int64_t; pub type size_t = __darwin_size_t; pub type wint_t = __darwin_wint_t; pub type max_align_t = u128; pub const idtype_t_P_ALL: idtype_t = 0; pub const idtype_t_P_PID: idtype_t = 1; pub const idtype_t_P_PGID: idtype_t = 2; pub type idtype_t = u32; pub type pid_t = __darwin_pid_t; pub type id_t = __darwin_id_t; pub type sig_atomic_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_i386_thread_state { pub __eax: ::std::os::raw::c_uint, pub __ebx: ::std::os::raw::c_uint, pub __ecx: ::std::os::raw::c_uint, pub __edx: ::std::os::raw::c_uint, pub __edi: ::std::os::raw::c_uint, pub __esi: ::std::os::raw::c_uint, pub __ebp: ::std::os::raw::c_uint, pub __esp: ::std::os::raw::c_uint, pub __ss: ::std::os::raw::c_uint, pub __eflags: ::std::os::raw::c_uint, pub __eip: ::std::os::raw::c_uint, pub __cs: ::std::os::raw::c_uint, pub __ds: ::std::os::raw::c_uint, pub __es: ::std::os::raw::c_uint, pub __fs: ::std::os::raw::c_uint, pub __gs: ::std::os::raw::c_uint, } #[test] fn bindgen_test_layout___darwin_i386_thread_state() { assert_eq!( ::std::mem::size_of::<__darwin_i386_thread_state>(), 64usize, concat!("Size of: ", stringify!(__darwin_i386_thread_state)) ); assert_eq!( ::std::mem::align_of::<__darwin_i386_thread_state>(), 4usize, concat!("Alignment of ", stringify!(__darwin_i386_thread_state)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__eax as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__eax) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ebx as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__ebx) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ecx as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__ecx) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__edx as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__edx) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__edi as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__edi) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__esi as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__esi) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ebp as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__ebp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__esp as *const _ as usize }, 28usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__esp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ss as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__eflags as *const _ as usize }, 36usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__eflags) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__eip as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__eip) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__cs as *const _ as usize }, 44usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__cs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__ds as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__ds) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__es as *const _ as usize }, 52usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__fs as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__fs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_thread_state>())).__gs as *const _ as usize }, 60usize, concat!( "Offset of field: ", stringify!(__darwin_i386_thread_state), "::", stringify!(__gs) ) ); } #[repr(C)] #[repr(align(2))] #[derive(Debug, Copy, Clone)] pub struct __darwin_fp_control { pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>, } #[test] fn bindgen_test_layout___darwin_fp_control() { assert_eq!( ::std::mem::size_of::<__darwin_fp_control>(), 2usize, concat!("Size of: ", stringify!(__darwin_fp_control)) ); assert_eq!( ::std::mem::align_of::<__darwin_fp_control>(), 2usize, concat!("Alignment of ", stringify!(__darwin_fp_control)) ); } impl __darwin_fp_control { #[inline] pub fn __invalid(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) } } #[inline] pub fn set___invalid(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(0usize, 1u8, val as u64) } } #[inline] pub fn __denorm(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u16) } } #[inline] pub fn set___denorm(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(1usize, 1u8, val as u64) } } #[inline] pub fn __zdiv(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u16) } } #[inline] pub fn set___zdiv(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(2usize, 1u8, val as u64) } } #[inline] pub fn __ovrfl(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u16) } } #[inline] pub fn set___ovrfl(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(3usize, 1u8, val as u64) } } #[inline] pub fn __undfl(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u16) } } #[inline] pub fn set___undfl(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(4usize, 1u8, val as u64) } } #[inline] pub fn __precis(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u16) } } #[inline] pub fn set___precis(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(5usize, 1u8, val as u64) } } #[inline] pub fn __pc(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 2u8) as u16) } } #[inline] pub fn set___pc(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(8usize, 2u8, val as u64) } } #[inline] pub fn __rc(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 2u8) as u16) } } #[inline] pub fn set___rc(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(10usize, 2u8, val as u64) } } #[inline] pub fn new_bitfield_1( __invalid: ::std::os::raw::c_ushort, __denorm: ::std::os::raw::c_ushort, __zdiv: ::std::os::raw::c_ushort, __ovrfl: ::std::os::raw::c_ushort, __undfl: ::std::os::raw::c_ushort, __precis: ::std::os::raw::c_ushort, __pc: ::std::os::raw::c_ushort, __rc: ::std::os::raw::c_ushort, ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> { let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> = Default::default(); __bindgen_bitfield_unit.set(0usize, 1u8, { let __invalid: u16 = unsafe { ::std::mem::transmute(__invalid) }; __invalid as u64 }); __bindgen_bitfield_unit.set(1usize, 1u8, { let __denorm: u16 = unsafe { ::std::mem::transmute(__denorm) }; __denorm as u64 }); __bindgen_bitfield_unit.set(2usize, 1u8, { let __zdiv: u16 = unsafe { ::std::mem::transmute(__zdiv) }; __zdiv as u64 }); __bindgen_bitfield_unit.set(3usize, 1u8, { let __ovrfl: u16 = unsafe { ::std::mem::transmute(__ovrfl) }; __ovrfl as u64 }); __bindgen_bitfield_unit.set(4usize, 1u8, { let __undfl: u16 = unsafe { ::std::mem::transmute(__undfl) }; __undfl as u64 }); __bindgen_bitfield_unit.set(5usize, 1u8, { let __precis: u16 = unsafe { ::std::mem::transmute(__precis) }; __precis as u64 }); __bindgen_bitfield_unit.set(8usize, 2u8, { let __pc: u16 = unsafe { ::std::mem::transmute(__pc) }; __pc as u64 }); __bindgen_bitfield_unit.set(10usize, 2u8, { let __rc: u16 = unsafe { ::std::mem::transmute(__rc) }; __rc as u64 }); __bindgen_bitfield_unit } } pub type __darwin_fp_control_t = __darwin_fp_control; #[repr(C)] #[repr(align(2))] #[derive(Debug, Copy, Clone)] pub struct __darwin_fp_status { pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>, } #[test] fn bindgen_test_layout___darwin_fp_status() { assert_eq!( ::std::mem::size_of::<__darwin_fp_status>(), 2usize, concat!("Size of: ", stringify!(__darwin_fp_status)) ); assert_eq!( ::std::mem::align_of::<__darwin_fp_status>(), 2usize, concat!("Alignment of ", stringify!(__darwin_fp_status)) ); } impl __darwin_fp_status { #[inline] pub fn __invalid(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u16) } } #[inline] pub fn set___invalid(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(0usize, 1u8, val as u64) } } #[inline] pub fn __denorm(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u16) } } #[inline] pub fn set___denorm(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(1usize, 1u8, val as u64) } } #[inline] pub fn __zdiv(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u16) } } #[inline] pub fn set___zdiv(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(2usize, 1u8, val as u64) } } #[inline] pub fn __ovrfl(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u16) } } #[inline] pub fn set___ovrfl(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(3usize, 1u8, val as u64) } } #[inline] pub fn __undfl(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u16) } } #[inline] pub fn set___undfl(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(4usize, 1u8, val as u64) } } #[inline] pub fn __precis(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u16) } } #[inline] pub fn set___precis(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(5usize, 1u8, val as u64) } } #[inline] pub fn __stkflt(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u16) } } #[inline] pub fn set___stkflt(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(6usize, 1u8, val as u64) } } #[inline] pub fn __errsumm(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u16) } } #[inline] pub fn set___errsumm(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(7usize, 1u8, val as u64) } } #[inline] pub fn __c0(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) } } #[inline] pub fn set___c0(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(8usize, 1u8, val as u64) } } #[inline] pub fn __c1(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) } } #[inline] pub fn set___c1(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(9usize, 1u8, val as u64) } } #[inline] pub fn __c2(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u16) } } #[inline] pub fn set___c2(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(10usize, 1u8, val as u64) } } #[inline] pub fn __tos(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 3u8) as u16) } } #[inline] pub fn set___tos(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(11usize, 3u8, val as u64) } } #[inline] pub fn __c3(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u16) } } #[inline] pub fn set___c3(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(14usize, 1u8, val as u64) } } #[inline] pub fn __busy(&self) -> ::std::os::raw::c_ushort { unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u16) } } #[inline] pub fn set___busy(&mut self, val: ::std::os::raw::c_ushort) { unsafe { let val: u16 = ::std::mem::transmute(val); self._bitfield_1.set(15usize, 1u8, val as u64) } } #[inline] pub fn new_bitfield_1( __invalid: ::std::os::raw::c_ushort, __denorm: ::std::os::raw::c_ushort, __zdiv: ::std::os::raw::c_ushort, __ovrfl: ::std::os::raw::c_ushort, __undfl: ::std::os::raw::c_ushort, __precis: ::std::os::raw::c_ushort, __stkflt: ::std::os::raw::c_ushort, __errsumm: ::std::os::raw::c_ushort, __c0: ::std::os::raw::c_ushort, __c1: ::std::os::raw::c_ushort, __c2: ::std::os::raw::c_ushort, __tos: ::std::os::raw::c_ushort, __c3: ::std::os::raw::c_ushort, __busy: ::std::os::raw::c_ushort, ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> { let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> = Default::default(); __bindgen_bitfield_unit.set(0usize, 1u8, { let __invalid: u16 = unsafe { ::std::mem::transmute(__invalid) }; __invalid as u64 }); __bindgen_bitfield_unit.set(1usize, 1u8, { let __denorm: u16 = unsafe { ::std::mem::transmute(__denorm) }; __denorm as u64 }); __bindgen_bitfield_unit.set(2usize, 1u8, { let __zdiv: u16 = unsafe { ::std::mem::transmute(__zdiv) }; __zdiv as u64 }); __bindgen_bitfield_unit.set(3usize, 1u8, { let __ovrfl: u16 = unsafe { ::std::mem::transmute(__ovrfl) }; __ovrfl as u64 }); __bindgen_bitfield_unit.set(4usize, 1u8, { let __undfl: u16 = unsafe { ::std::mem::transmute(__undfl) }; __undfl as u64 }); __bindgen_bitfield_unit.set(5usize, 1u8, { let __precis: u16 = unsafe { ::std::mem::transmute(__precis) }; __precis as u64 }); __bindgen_bitfield_unit.set(6usize, 1u8, { let __stkflt: u16 = unsafe { ::std::mem::transmute(__stkflt) }; __stkflt as u64 }); __bindgen_bitfield_unit.set(7usize, 1u8, { let __errsumm: u16 = unsafe { ::std::mem::transmute(__errsumm) }; __errsumm as u64 }); __bindgen_bitfield_unit.set(8usize, 1u8, { let __c0: u16 = unsafe { ::std::mem::transmute(__c0) }; __c0 as u64 }); __bindgen_bitfield_unit.set(9usize, 1u8, { let __c1: u16 = unsafe { ::std::mem::transmute(__c1) }; __c1 as u64 }); __bindgen_bitfield_unit.set(10usize, 1u8, { let __c2: u16 = unsafe { ::std::mem::transmute(__c2) }; __c2 as u64 }); __bindgen_bitfield_unit.set(11usize, 3u8, { let __tos: u16 = unsafe { ::std::mem::transmute(__tos) }; __tos as u64 }); __bindgen_bitfield_unit.set(14usize, 1u8, { let __c3: u16 = unsafe { ::std::mem::transmute(__c3) }; __c3 as u64 }); __bindgen_bitfield_unit.set(15usize, 1u8, { let __busy: u16 = unsafe { ::std::mem::transmute(__busy) }; __busy as u64 }); __bindgen_bitfield_unit } } pub type __darwin_fp_status_t = __darwin_fp_status; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_mmst_reg { pub __mmst_reg: [::std::os::raw::c_char; 10usize], pub __mmst_rsrv: [::std::os::raw::c_char; 6usize], } #[test] fn bindgen_test_layout___darwin_mmst_reg() { assert_eq!( ::std::mem::size_of::<__darwin_mmst_reg>(), 16usize, concat!("Size of: ", stringify!(__darwin_mmst_reg)) ); assert_eq!( ::std::mem::align_of::<__darwin_mmst_reg>(), 1usize, concat!("Alignment of ", stringify!(__darwin_mmst_reg)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mmst_reg>())).__mmst_reg as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mmst_reg), "::", stringify!(__mmst_reg) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mmst_reg>())).__mmst_rsrv as *const _ as usize }, 10usize, concat!( "Offset of field: ", stringify!(__darwin_mmst_reg), "::", stringify!(__mmst_rsrv) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_xmm_reg { pub __xmm_reg: [::std::os::raw::c_char; 16usize], } #[test] fn bindgen_test_layout___darwin_xmm_reg() { assert_eq!( ::std::mem::size_of::<__darwin_xmm_reg>(), 16usize, concat!("Size of: ", stringify!(__darwin_xmm_reg)) ); assert_eq!( ::std::mem::align_of::<__darwin_xmm_reg>(), 1usize, concat!("Alignment of ", stringify!(__darwin_xmm_reg)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_xmm_reg>())).__xmm_reg as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_xmm_reg), "::", stringify!(__xmm_reg) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_ymm_reg { pub __ymm_reg: [::std::os::raw::c_char; 32usize], } #[test] fn bindgen_test_layout___darwin_ymm_reg() { assert_eq!( ::std::mem::size_of::<__darwin_ymm_reg>(), 32usize, concat!("Size of: ", stringify!(__darwin_ymm_reg)) ); assert_eq!( ::std::mem::align_of::<__darwin_ymm_reg>(), 1usize, concat!("Alignment of ", stringify!(__darwin_ymm_reg)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_ymm_reg>())).__ymm_reg as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_ymm_reg), "::", stringify!(__ymm_reg) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_zmm_reg { pub __zmm_reg: [::std::os::raw::c_char; 64usize], } #[test] fn bindgen_test_layout___darwin_zmm_reg() { assert_eq!( ::std::mem::size_of::<__darwin_zmm_reg>(), 64usize, concat!("Size of: ", stringify!(__darwin_zmm_reg)) ); assert_eq!( ::std::mem::align_of::<__darwin_zmm_reg>(), 1usize, concat!("Alignment of ", stringify!(__darwin_zmm_reg)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_zmm_reg>())).__zmm_reg as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_zmm_reg), "::", stringify!(__zmm_reg) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_opmask_reg { pub __opmask_reg: [::std::os::raw::c_char; 8usize], } #[test] fn bindgen_test_layout___darwin_opmask_reg() { assert_eq!( ::std::mem::size_of::<__darwin_opmask_reg>(), 8usize, concat!("Size of: ", stringify!(__darwin_opmask_reg)) ); assert_eq!( ::std::mem::align_of::<__darwin_opmask_reg>(), 1usize, concat!("Alignment of ", stringify!(__darwin_opmask_reg)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_opmask_reg>())).__opmask_reg as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_opmask_reg), "::", stringify!(__opmask_reg) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_i386_float_state { pub __fpu_reserved: [::std::os::raw::c_int; 2usize], pub __fpu_fcw: __darwin_fp_control, pub __fpu_fsw: __darwin_fp_status, pub __fpu_ftw: __uint8_t, pub __fpu_rsrv1: __uint8_t, pub __fpu_fop: __uint16_t, pub __fpu_ip: __uint32_t, pub __fpu_cs: __uint16_t, pub __fpu_rsrv2: __uint16_t, pub __fpu_dp: __uint32_t, pub __fpu_ds: __uint16_t, pub __fpu_rsrv3: __uint16_t, pub __fpu_mxcsr: __uint32_t, pub __fpu_mxcsrmask: __uint32_t, pub __fpu_stmm0: __darwin_mmst_reg, pub __fpu_stmm1: __darwin_mmst_reg, pub __fpu_stmm2: __darwin_mmst_reg, pub __fpu_stmm3: __darwin_mmst_reg, pub __fpu_stmm4: __darwin_mmst_reg, pub __fpu_stmm5: __darwin_mmst_reg, pub __fpu_stmm6: __darwin_mmst_reg, pub __fpu_stmm7: __darwin_mmst_reg, pub __fpu_xmm0: __darwin_xmm_reg, pub __fpu_xmm1: __darwin_xmm_reg, pub __fpu_xmm2: __darwin_xmm_reg, pub __fpu_xmm3: __darwin_xmm_reg, pub __fpu_xmm4: __darwin_xmm_reg, pub __fpu_xmm5: __darwin_xmm_reg, pub __fpu_xmm6: __darwin_xmm_reg, pub __fpu_xmm7: __darwin_xmm_reg, pub __fpu_rsrv4: [::std::os::raw::c_char; 224usize], pub __fpu_reserved1: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout___darwin_i386_float_state() { assert_eq!( ::std::mem::size_of::<__darwin_i386_float_state>(), 524usize, concat!("Size of: ", stringify!(__darwin_i386_float_state)) ); assert_eq!( ::std::mem::align_of::<__darwin_i386_float_state>(), 4usize, concat!("Alignment of ", stringify!(__darwin_i386_float_state)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_reserved as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_reserved) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_fcw as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_fcw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_fsw as *const _ as usize }, 10usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_fsw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_ftw as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_ftw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_rsrv1 as *const _ as usize }, 13usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_rsrv1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_fop as *const _ as usize }, 14usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_fop) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_ip as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_ip) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_cs as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_cs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_rsrv2 as *const _ as usize }, 22usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_rsrv2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_dp as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_dp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_ds as *const _ as usize }, 28usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_ds) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_rsrv3 as *const _ as usize }, 30usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_rsrv3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_mxcsr as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_mxcsr) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_mxcsrmask as *const _ as usize }, 36usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_mxcsrmask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm0 as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_stmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm1 as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_stmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm2 as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_stmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm3 as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_stmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm4 as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_stmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm5 as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_stmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm6 as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_stmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_stmm7 as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_stmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm0 as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_xmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm1 as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_xmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm2 as *const _ as usize }, 200usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_xmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm3 as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_xmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm4 as *const _ as usize }, 232usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_xmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm5 as *const _ as usize }, 248usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_xmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm6 as *const _ as usize }, 264usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_xmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_xmm7 as *const _ as usize }, 280usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_xmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_rsrv4 as *const _ as usize }, 296usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_rsrv4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_float_state>())).__fpu_reserved1 as *const _ as usize }, 520usize, concat!( "Offset of field: ", stringify!(__darwin_i386_float_state), "::", stringify!(__fpu_reserved1) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_i386_avx_state { pub __fpu_reserved: [::std::os::raw::c_int; 2usize], pub __fpu_fcw: __darwin_fp_control, pub __fpu_fsw: __darwin_fp_status, pub __fpu_ftw: __uint8_t, pub __fpu_rsrv1: __uint8_t, pub __fpu_fop: __uint16_t, pub __fpu_ip: __uint32_t, pub __fpu_cs: __uint16_t, pub __fpu_rsrv2: __uint16_t, pub __fpu_dp: __uint32_t, pub __fpu_ds: __uint16_t, pub __fpu_rsrv3: __uint16_t, pub __fpu_mxcsr: __uint32_t, pub __fpu_mxcsrmask: __uint32_t, pub __fpu_stmm0: __darwin_mmst_reg, pub __fpu_stmm1: __darwin_mmst_reg, pub __fpu_stmm2: __darwin_mmst_reg, pub __fpu_stmm3: __darwin_mmst_reg, pub __fpu_stmm4: __darwin_mmst_reg, pub __fpu_stmm5: __darwin_mmst_reg, pub __fpu_stmm6: __darwin_mmst_reg, pub __fpu_stmm7: __darwin_mmst_reg, pub __fpu_xmm0: __darwin_xmm_reg, pub __fpu_xmm1: __darwin_xmm_reg, pub __fpu_xmm2: __darwin_xmm_reg, pub __fpu_xmm3: __darwin_xmm_reg, pub __fpu_xmm4: __darwin_xmm_reg, pub __fpu_xmm5: __darwin_xmm_reg, pub __fpu_xmm6: __darwin_xmm_reg, pub __fpu_xmm7: __darwin_xmm_reg, pub __fpu_rsrv4: [::std::os::raw::c_char; 224usize], pub __fpu_reserved1: ::std::os::raw::c_int, pub __avx_reserved1: [::std::os::raw::c_char; 64usize], pub __fpu_ymmh0: __darwin_xmm_reg, pub __fpu_ymmh1: __darwin_xmm_reg, pub __fpu_ymmh2: __darwin_xmm_reg, pub __fpu_ymmh3: __darwin_xmm_reg, pub __fpu_ymmh4: __darwin_xmm_reg, pub __fpu_ymmh5: __darwin_xmm_reg, pub __fpu_ymmh6: __darwin_xmm_reg, pub __fpu_ymmh7: __darwin_xmm_reg, } #[test] fn bindgen_test_layout___darwin_i386_avx_state() { assert_eq!( ::std::mem::size_of::<__darwin_i386_avx_state>(), 716usize, concat!("Size of: ", stringify!(__darwin_i386_avx_state)) ); assert_eq!( ::std::mem::align_of::<__darwin_i386_avx_state>(), 4usize, concat!("Alignment of ", stringify!(__darwin_i386_avx_state)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_reserved as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_reserved) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_fcw as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_fcw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_fsw as *const _ as usize }, 10usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_fsw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ftw as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ftw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_rsrv1 as *const _ as usize }, 13usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_rsrv1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_fop as *const _ as usize }, 14usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_fop) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ip as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ip) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_cs as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_cs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_rsrv2 as *const _ as usize }, 22usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_rsrv2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_dp as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_dp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ds as *const _ as usize }, 28usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ds) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_rsrv3 as *const _ as usize }, 30usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_rsrv3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_mxcsr as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_mxcsr) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_mxcsrmask as *const _ as usize }, 36usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_mxcsrmask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm0 as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_stmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm1 as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_stmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm2 as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_stmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm3 as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_stmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm4 as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_stmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm5 as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_stmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm6 as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_stmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_stmm7 as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_stmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm0 as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_xmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm1 as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_xmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm2 as *const _ as usize }, 200usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_xmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm3 as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_xmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm4 as *const _ as usize }, 232usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_xmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm5 as *const _ as usize }, 248usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_xmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm6 as *const _ as usize }, 264usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_xmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_xmm7 as *const _ as usize }, 280usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_xmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_rsrv4 as *const _ as usize }, 296usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_rsrv4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_reserved1 as *const _ as usize }, 520usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_reserved1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__avx_reserved1 as *const _ as usize }, 524usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__avx_reserved1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh0 as *const _ as usize }, 588usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ymmh0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh1 as *const _ as usize }, 604usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ymmh1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh2 as *const _ as usize }, 620usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ymmh2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh3 as *const _ as usize }, 636usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ymmh3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh4 as *const _ as usize }, 652usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ymmh4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh5 as *const _ as usize }, 668usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ymmh5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh6 as *const _ as usize }, 684usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ymmh6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx_state>())).__fpu_ymmh7 as *const _ as usize }, 700usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx_state), "::", stringify!(__fpu_ymmh7) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_i386_avx512_state { pub __fpu_reserved: [::std::os::raw::c_int; 2usize], pub __fpu_fcw: __darwin_fp_control, pub __fpu_fsw: __darwin_fp_status, pub __fpu_ftw: __uint8_t, pub __fpu_rsrv1: __uint8_t, pub __fpu_fop: __uint16_t, pub __fpu_ip: __uint32_t, pub __fpu_cs: __uint16_t, pub __fpu_rsrv2: __uint16_t, pub __fpu_dp: __uint32_t, pub __fpu_ds: __uint16_t, pub __fpu_rsrv3: __uint16_t, pub __fpu_mxcsr: __uint32_t, pub __fpu_mxcsrmask: __uint32_t, pub __fpu_stmm0: __darwin_mmst_reg, pub __fpu_stmm1: __darwin_mmst_reg, pub __fpu_stmm2: __darwin_mmst_reg, pub __fpu_stmm3: __darwin_mmst_reg, pub __fpu_stmm4: __darwin_mmst_reg, pub __fpu_stmm5: __darwin_mmst_reg, pub __fpu_stmm6: __darwin_mmst_reg, pub __fpu_stmm7: __darwin_mmst_reg, pub __fpu_xmm0: __darwin_xmm_reg, pub __fpu_xmm1: __darwin_xmm_reg, pub __fpu_xmm2: __darwin_xmm_reg, pub __fpu_xmm3: __darwin_xmm_reg, pub __fpu_xmm4: __darwin_xmm_reg, pub __fpu_xmm5: __darwin_xmm_reg, pub __fpu_xmm6: __darwin_xmm_reg, pub __fpu_xmm7: __darwin_xmm_reg, pub __fpu_rsrv4: [::std::os::raw::c_char; 224usize], pub __fpu_reserved1: ::std::os::raw::c_int, pub __avx_reserved1: [::std::os::raw::c_char; 64usize], pub __fpu_ymmh0: __darwin_xmm_reg, pub __fpu_ymmh1: __darwin_xmm_reg, pub __fpu_ymmh2: __darwin_xmm_reg, pub __fpu_ymmh3: __darwin_xmm_reg, pub __fpu_ymmh4: __darwin_xmm_reg, pub __fpu_ymmh5: __darwin_xmm_reg, pub __fpu_ymmh6: __darwin_xmm_reg, pub __fpu_ymmh7: __darwin_xmm_reg, pub __fpu_k0: __darwin_opmask_reg, pub __fpu_k1: __darwin_opmask_reg, pub __fpu_k2: __darwin_opmask_reg, pub __fpu_k3: __darwin_opmask_reg, pub __fpu_k4: __darwin_opmask_reg, pub __fpu_k5: __darwin_opmask_reg, pub __fpu_k6: __darwin_opmask_reg, pub __fpu_k7: __darwin_opmask_reg, pub __fpu_zmmh0: __darwin_ymm_reg, pub __fpu_zmmh1: __darwin_ymm_reg, pub __fpu_zmmh2: __darwin_ymm_reg, pub __fpu_zmmh3: __darwin_ymm_reg, pub __fpu_zmmh4: __darwin_ymm_reg, pub __fpu_zmmh5: __darwin_ymm_reg, pub __fpu_zmmh6: __darwin_ymm_reg, pub __fpu_zmmh7: __darwin_ymm_reg, } #[test] fn bindgen_test_layout___darwin_i386_avx512_state() { assert_eq!( ::std::mem::size_of::<__darwin_i386_avx512_state>(), 1036usize, concat!("Size of: ", stringify!(__darwin_i386_avx512_state)) ); assert_eq!( ::std::mem::align_of::<__darwin_i386_avx512_state>(), 4usize, concat!("Alignment of ", stringify!(__darwin_i386_avx512_state)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_reserved as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_reserved) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_fcw as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_fcw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_fsw as *const _ as usize }, 10usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_fsw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ftw as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ftw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_rsrv1 as *const _ as usize }, 13usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_rsrv1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_fop as *const _ as usize }, 14usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_fop) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ip as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ip) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_cs as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_cs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_rsrv2 as *const _ as usize }, 22usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_rsrv2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_dp as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_dp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ds as *const _ as usize }, 28usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ds) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_rsrv3 as *const _ as usize }, 30usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_rsrv3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_mxcsr as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_mxcsr) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_mxcsrmask as *const _ as usize }, 36usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_mxcsrmask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm0 as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_stmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm1 as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_stmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm2 as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_stmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm3 as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_stmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm4 as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_stmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm5 as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_stmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm6 as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_stmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_stmm7 as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_stmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm0 as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_xmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm1 as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_xmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm2 as *const _ as usize }, 200usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_xmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm3 as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_xmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm4 as *const _ as usize }, 232usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_xmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm5 as *const _ as usize }, 248usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_xmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm6 as *const _ as usize }, 264usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_xmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_xmm7 as *const _ as usize }, 280usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_xmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_rsrv4 as *const _ as usize }, 296usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_rsrv4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_reserved1 as *const _ as usize }, 520usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_reserved1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__avx_reserved1 as *const _ as usize }, 524usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__avx_reserved1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh0 as *const _ as usize }, 588usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ymmh0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh1 as *const _ as usize }, 604usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ymmh1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh2 as *const _ as usize }, 620usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ymmh2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh3 as *const _ as usize }, 636usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ymmh3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh4 as *const _ as usize }, 652usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ymmh4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh5 as *const _ as usize }, 668usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ymmh5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh6 as *const _ as usize }, 684usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ymmh6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_ymmh7 as *const _ as usize }, 700usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_ymmh7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k0 as *const _ as usize }, 716usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_k0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k1 as *const _ as usize }, 724usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_k1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k2 as *const _ as usize }, 732usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_k2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k3 as *const _ as usize }, 740usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_k3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k4 as *const _ as usize }, 748usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_k4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k5 as *const _ as usize }, 756usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_k5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k6 as *const _ as usize }, 764usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_k6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_k7 as *const _ as usize }, 772usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_k7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh0 as *const _ as usize }, 780usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_zmmh0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh1 as *const _ as usize }, 812usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_zmmh1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh2 as *const _ as usize }, 844usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_zmmh2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh3 as *const _ as usize }, 876usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_zmmh3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh4 as *const _ as usize }, 908usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_zmmh4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh5 as *const _ as usize }, 940usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_zmmh5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh6 as *const _ as usize }, 972usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_zmmh6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_avx512_state>())).__fpu_zmmh7 as *const _ as usize }, 1004usize, concat!( "Offset of field: ", stringify!(__darwin_i386_avx512_state), "::", stringify!(__fpu_zmmh7) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_i386_exception_state { pub __trapno: __uint16_t, pub __cpu: __uint16_t, pub __err: __uint32_t, pub __faultvaddr: __uint32_t, } #[test] fn bindgen_test_layout___darwin_i386_exception_state() { assert_eq!( ::std::mem::size_of::<__darwin_i386_exception_state>(), 12usize, concat!("Size of: ", stringify!(__darwin_i386_exception_state)) ); assert_eq!( ::std::mem::align_of::<__darwin_i386_exception_state>(), 4usize, concat!("Alignment of ", stringify!(__darwin_i386_exception_state)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_exception_state>())).__trapno as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_i386_exception_state), "::", stringify!(__trapno) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_exception_state>())).__cpu as *const _ as usize }, 2usize, concat!( "Offset of field: ", stringify!(__darwin_i386_exception_state), "::", stringify!(__cpu) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_exception_state>())).__err as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(__darwin_i386_exception_state), "::", stringify!(__err) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_i386_exception_state>())).__faultvaddr as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_i386_exception_state), "::", stringify!(__faultvaddr) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_x86_debug_state32 { pub __dr0: ::std::os::raw::c_uint, pub __dr1: ::std::os::raw::c_uint, pub __dr2: ::std::os::raw::c_uint, pub __dr3: ::std::os::raw::c_uint, pub __dr4: ::std::os::raw::c_uint, pub __dr5: ::std::os::raw::c_uint, pub __dr6: ::std::os::raw::c_uint, pub __dr7: ::std::os::raw::c_uint, } #[test] fn bindgen_test_layout___darwin_x86_debug_state32() { assert_eq!( ::std::mem::size_of::<__darwin_x86_debug_state32>(), 32usize, concat!("Size of: ", stringify!(__darwin_x86_debug_state32)) ); assert_eq!( ::std::mem::align_of::<__darwin_x86_debug_state32>(), 4usize, concat!("Alignment of ", stringify!(__darwin_x86_debug_state32)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr0 as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state32), "::", stringify!(__dr0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr1 as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state32), "::", stringify!(__dr1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr2 as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state32), "::", stringify!(__dr2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr3 as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state32), "::", stringify!(__dr3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr4 as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state32), "::", stringify!(__dr4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr5 as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state32), "::", stringify!(__dr5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr6 as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state32), "::", stringify!(__dr6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state32>())).__dr7 as *const _ as usize }, 28usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state32), "::", stringify!(__dr7) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __x86_instruction_state { pub __insn_stream_valid_bytes: ::std::os::raw::c_int, pub __insn_offset: ::std::os::raw::c_int, pub __out_of_synch: ::std::os::raw::c_int, pub __insn_bytes: [__uint8_t; 2380usize], pub __insn_cacheline: [__uint8_t; 64usize], } #[test] fn bindgen_test_layout___x86_instruction_state() { assert_eq!( ::std::mem::size_of::<__x86_instruction_state>(), 2456usize, concat!("Size of: ", stringify!(__x86_instruction_state)) ); assert_eq!( ::std::mem::align_of::<__x86_instruction_state>(), 4usize, concat!("Alignment of ", stringify!(__x86_instruction_state)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__x86_instruction_state>())).__insn_stream_valid_bytes as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__x86_instruction_state), "::", stringify!(__insn_stream_valid_bytes) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__x86_instruction_state>())).__insn_offset as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(__x86_instruction_state), "::", stringify!(__insn_offset) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__x86_instruction_state>())).__out_of_synch as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__x86_instruction_state), "::", stringify!(__out_of_synch) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__x86_instruction_state>())).__insn_bytes as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__x86_instruction_state), "::", stringify!(__insn_bytes) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__x86_instruction_state>())).__insn_cacheline as *const _ as usize }, 2392usize, concat!( "Offset of field: ", stringify!(__x86_instruction_state), "::", stringify!(__insn_cacheline) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __last_branch_record { pub __from_ip: __uint64_t, pub __to_ip: __uint64_t, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u16>, pub __bindgen_padding_0: u32, } #[test] fn bindgen_test_layout___last_branch_record() { assert_eq!( ::std::mem::size_of::<__last_branch_record>(), 24usize, concat!("Size of: ", stringify!(__last_branch_record)) ); assert_eq!( ::std::mem::align_of::<__last_branch_record>(), 8usize, concat!("Alignment of ", stringify!(__last_branch_record)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__last_branch_record>())).__from_ip as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__last_branch_record), "::", stringify!(__from_ip) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__last_branch_record>())).__to_ip as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__last_branch_record), "::", stringify!(__to_ip) ) ); } impl __last_branch_record { #[inline] pub fn __mispredict(&self) -> __uint32_t { unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } } #[inline] pub fn set___mispredict(&mut self, val: __uint32_t) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(0usize, 1u8, val as u64) } } #[inline] pub fn __tsx_abort(&self) -> __uint32_t { unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) } } #[inline] pub fn set___tsx_abort(&mut self, val: __uint32_t) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(1usize, 1u8, val as u64) } } #[inline] pub fn __in_tsx(&self) -> __uint32_t { unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) } } #[inline] pub fn set___in_tsx(&mut self, val: __uint32_t) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(2usize, 1u8, val as u64) } } #[inline] pub fn __cycle_count(&self) -> __uint32_t { unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 16u8) as u32) } } #[inline] pub fn set___cycle_count(&mut self, val: __uint32_t) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(3usize, 16u8, val as u64) } } #[inline] pub fn __reserved(&self) -> __uint32_t { unsafe { ::std::mem::transmute(self._bitfield_1.get(19usize, 13u8) as u32) } } #[inline] pub fn set___reserved(&mut self, val: __uint32_t) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(19usize, 13u8, val as u64) } } #[inline] pub fn new_bitfield_1( __mispredict: __uint32_t, __tsx_abort: __uint32_t, __in_tsx: __uint32_t, __cycle_count: __uint32_t, __reserved: __uint32_t, ) -> __BindgenBitfieldUnit<[u8; 4usize], u16> { let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u16> = Default::default(); __bindgen_bitfield_unit.set(0usize, 1u8, { let __mispredict: u32 = unsafe { ::std::mem::transmute(__mispredict) }; __mispredict as u64 }); __bindgen_bitfield_unit.set(1usize, 1u8, { let __tsx_abort: u32 = unsafe { ::std::mem::transmute(__tsx_abort) }; __tsx_abort as u64 }); __bindgen_bitfield_unit.set(2usize, 1u8, { let __in_tsx: u32 = unsafe { ::std::mem::transmute(__in_tsx) }; __in_tsx as u64 }); __bindgen_bitfield_unit.set(3usize, 16u8, { let __cycle_count: u32 = unsafe { ::std::mem::transmute(__cycle_count) }; __cycle_count as u64 }); __bindgen_bitfield_unit.set(19usize, 13u8, { let __reserved: u32 = unsafe { ::std::mem::transmute(__reserved) }; __reserved as u64 }); __bindgen_bitfield_unit } } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __last_branch_state { pub __lbr_count: ::std::os::raw::c_int, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u32>, pub __lbrs: [__last_branch_record; 32usize], } #[test] fn bindgen_test_layout___last_branch_state() { assert_eq!( ::std::mem::size_of::<__last_branch_state>(), 776usize, concat!("Size of: ", stringify!(__last_branch_state)) ); assert_eq!( ::std::mem::align_of::<__last_branch_state>(), 8usize, concat!("Alignment of ", stringify!(__last_branch_state)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__last_branch_state>())).__lbr_count as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__last_branch_state), "::", stringify!(__lbr_count) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__last_branch_state>())).__lbrs as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__last_branch_state), "::", stringify!(__lbrs) ) ); } impl __last_branch_state { #[inline] pub fn __lbr_supported_tsx(&self) -> __uint32_t { unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } } #[inline] pub fn set___lbr_supported_tsx(&mut self, val: __uint32_t) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(0usize, 1u8, val as u64) } } #[inline] pub fn __lbr_supported_cycle_count(&self) -> __uint32_t { unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) } } #[inline] pub fn set___lbr_supported_cycle_count(&mut self, val: __uint32_t) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(1usize, 1u8, val as u64) } } #[inline] pub fn __reserved(&self) -> __uint32_t { unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 30u8) as u32) } } #[inline] pub fn set___reserved(&mut self, val: __uint32_t) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(2usize, 30u8, val as u64) } } #[inline] pub fn new_bitfield_1( __lbr_supported_tsx: __uint32_t, __lbr_supported_cycle_count: __uint32_t, __reserved: __uint32_t, ) -> __BindgenBitfieldUnit<[u8; 4usize], u32> { let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u32> = Default::default(); __bindgen_bitfield_unit.set(0usize, 1u8, { let __lbr_supported_tsx: u32 = unsafe { ::std::mem::transmute(__lbr_supported_tsx) }; __lbr_supported_tsx as u64 }); __bindgen_bitfield_unit.set(1usize, 1u8, { let __lbr_supported_cycle_count: u32 = unsafe { ::std::mem::transmute(__lbr_supported_cycle_count) }; __lbr_supported_cycle_count as u64 }); __bindgen_bitfield_unit.set(2usize, 30u8, { let __reserved: u32 = unsafe { ::std::mem::transmute(__reserved) }; __reserved as u64 }); __bindgen_bitfield_unit } } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __x86_pagein_state { pub __pagein_error: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout___x86_pagein_state() { assert_eq!( ::std::mem::size_of::<__x86_pagein_state>(), 4usize, concat!("Size of: ", stringify!(__x86_pagein_state)) ); assert_eq!( ::std::mem::align_of::<__x86_pagein_state>(), 4usize, concat!("Alignment of ", stringify!(__x86_pagein_state)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__x86_pagein_state>())).__pagein_error as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__x86_pagein_state), "::", stringify!(__pagein_error) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_x86_thread_state64 { pub __rax: __uint64_t, pub __rbx: __uint64_t, pub __rcx: __uint64_t, pub __rdx: __uint64_t, pub __rdi: __uint64_t, pub __rsi: __uint64_t, pub __rbp: __uint64_t, pub __rsp: __uint64_t, pub __r8: __uint64_t, pub __r9: __uint64_t, pub __r10: __uint64_t, pub __r11: __uint64_t, pub __r12: __uint64_t, pub __r13: __uint64_t, pub __r14: __uint64_t, pub __r15: __uint64_t, pub __rip: __uint64_t, pub __rflags: __uint64_t, pub __cs: __uint64_t, pub __fs: __uint64_t, pub __gs: __uint64_t, } #[test] fn bindgen_test_layout___darwin_x86_thread_state64() { assert_eq!( ::std::mem::size_of::<__darwin_x86_thread_state64>(), 168usize, concat!("Size of: ", stringify!(__darwin_x86_thread_state64)) ); assert_eq!( ::std::mem::align_of::<__darwin_x86_thread_state64>(), 8usize, concat!("Alignment of ", stringify!(__darwin_x86_thread_state64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rax as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rax) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rbx as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rbx) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rcx as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rcx) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rdx as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rdx) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rdi as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rdi) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rsi as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rsi) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rbp as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rbp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rsp as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rsp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r8 as *const _ as usize }, 64usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__r8) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r9 as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__r9) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r10 as *const _ as usize }, 80usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__r10) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r11 as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__r11) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r12 as *const _ as usize }, 96usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__r12) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r13 as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__r13) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r14 as *const _ as usize }, 112usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__r14) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__r15 as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__r15) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rip as *const _ as usize }, 128usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rip) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__rflags as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__rflags) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__cs as *const _ as usize }, 144usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__cs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__fs as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__fs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_state64>())).__gs as *const _ as usize }, 160usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_state64), "::", stringify!(__gs) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_x86_thread_full_state64 { pub __ss64: __darwin_x86_thread_state64, pub __ds: __uint64_t, pub __es: __uint64_t, pub __ss: __uint64_t, pub __gsbase: __uint64_t, } #[test] fn bindgen_test_layout___darwin_x86_thread_full_state64() { assert_eq!( ::std::mem::size_of::<__darwin_x86_thread_full_state64>(), 200usize, concat!("Size of: ", stringify!(__darwin_x86_thread_full_state64)) ); assert_eq!( ::std::mem::align_of::<__darwin_x86_thread_full_state64>(), 8usize, concat!( "Alignment of ", stringify!(__darwin_x86_thread_full_state64) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).__ss64 as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_full_state64), "::", stringify!(__ss64) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).__ds as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_full_state64), "::", stringify!(__ds) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).__es as *const _ as usize }, 176usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_full_state64), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).__ss as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_full_state64), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_thread_full_state64>())).__gsbase as *const _ as usize }, 192usize, concat!( "Offset of field: ", stringify!(__darwin_x86_thread_full_state64), "::", stringify!(__gsbase) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_x86_float_state64 { pub __fpu_reserved: [::std::os::raw::c_int; 2usize], pub __fpu_fcw: __darwin_fp_control, pub __fpu_fsw: __darwin_fp_status, pub __fpu_ftw: __uint8_t, pub __fpu_rsrv1: __uint8_t, pub __fpu_fop: __uint16_t, pub __fpu_ip: __uint32_t, pub __fpu_cs: __uint16_t, pub __fpu_rsrv2: __uint16_t, pub __fpu_dp: __uint32_t, pub __fpu_ds: __uint16_t, pub __fpu_rsrv3: __uint16_t, pub __fpu_mxcsr: __uint32_t, pub __fpu_mxcsrmask: __uint32_t, pub __fpu_stmm0: __darwin_mmst_reg, pub __fpu_stmm1: __darwin_mmst_reg, pub __fpu_stmm2: __darwin_mmst_reg, pub __fpu_stmm3: __darwin_mmst_reg, pub __fpu_stmm4: __darwin_mmst_reg, pub __fpu_stmm5: __darwin_mmst_reg, pub __fpu_stmm6: __darwin_mmst_reg, pub __fpu_stmm7: __darwin_mmst_reg, pub __fpu_xmm0: __darwin_xmm_reg, pub __fpu_xmm1: __darwin_xmm_reg, pub __fpu_xmm2: __darwin_xmm_reg, pub __fpu_xmm3: __darwin_xmm_reg, pub __fpu_xmm4: __darwin_xmm_reg, pub __fpu_xmm5: __darwin_xmm_reg, pub __fpu_xmm6: __darwin_xmm_reg, pub __fpu_xmm7: __darwin_xmm_reg, pub __fpu_xmm8: __darwin_xmm_reg, pub __fpu_xmm9: __darwin_xmm_reg, pub __fpu_xmm10: __darwin_xmm_reg, pub __fpu_xmm11: __darwin_xmm_reg, pub __fpu_xmm12: __darwin_xmm_reg, pub __fpu_xmm13: __darwin_xmm_reg, pub __fpu_xmm14: __darwin_xmm_reg, pub __fpu_xmm15: __darwin_xmm_reg, pub __fpu_rsrv4: [::std::os::raw::c_char; 96usize], pub __fpu_reserved1: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout___darwin_x86_float_state64() { assert_eq!( ::std::mem::size_of::<__darwin_x86_float_state64>(), 524usize, concat!("Size of: ", stringify!(__darwin_x86_float_state64)) ); assert_eq!( ::std::mem::align_of::<__darwin_x86_float_state64>(), 4usize, concat!("Alignment of ", stringify!(__darwin_x86_float_state64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_reserved as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_reserved) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_fcw as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_fcw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_fsw as *const _ as usize }, 10usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_fsw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_ftw as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_ftw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_rsrv1 as *const _ as usize }, 13usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_rsrv1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_fop as *const _ as usize }, 14usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_fop) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_ip as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_ip) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_cs as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_cs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_rsrv2 as *const _ as usize }, 22usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_rsrv2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_dp as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_dp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_ds as *const _ as usize }, 28usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_ds) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_rsrv3 as *const _ as usize }, 30usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_rsrv3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_mxcsr as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_mxcsr) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_mxcsrmask as *const _ as usize }, 36usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_mxcsrmask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm0 as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_stmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm1 as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_stmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm2 as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_stmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm3 as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_stmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm4 as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_stmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm5 as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_stmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm6 as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_stmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_stmm7 as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_stmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm0 as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm1 as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm2 as *const _ as usize }, 200usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm3 as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm4 as *const _ as usize }, 232usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm5 as *const _ as usize }, 248usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm6 as *const _ as usize }, 264usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm7 as *const _ as usize }, 280usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm8 as *const _ as usize }, 296usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm8) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm9 as *const _ as usize }, 312usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm9) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm10 as *const _ as usize }, 328usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm10) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm11 as *const _ as usize }, 344usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm11) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm12 as *const _ as usize }, 360usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm12) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm13 as *const _ as usize }, 376usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm13) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm14 as *const _ as usize }, 392usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm14) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_xmm15 as *const _ as usize }, 408usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_xmm15) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_rsrv4 as *const _ as usize }, 424usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_rsrv4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_float_state64>())).__fpu_reserved1 as *const _ as usize }, 520usize, concat!( "Offset of field: ", stringify!(__darwin_x86_float_state64), "::", stringify!(__fpu_reserved1) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_x86_avx_state64 { pub __fpu_reserved: [::std::os::raw::c_int; 2usize], pub __fpu_fcw: __darwin_fp_control, pub __fpu_fsw: __darwin_fp_status, pub __fpu_ftw: __uint8_t, pub __fpu_rsrv1: __uint8_t, pub __fpu_fop: __uint16_t, pub __fpu_ip: __uint32_t, pub __fpu_cs: __uint16_t, pub __fpu_rsrv2: __uint16_t, pub __fpu_dp: __uint32_t, pub __fpu_ds: __uint16_t, pub __fpu_rsrv3: __uint16_t, pub __fpu_mxcsr: __uint32_t, pub __fpu_mxcsrmask: __uint32_t, pub __fpu_stmm0: __darwin_mmst_reg, pub __fpu_stmm1: __darwin_mmst_reg, pub __fpu_stmm2: __darwin_mmst_reg, pub __fpu_stmm3: __darwin_mmst_reg, pub __fpu_stmm4: __darwin_mmst_reg, pub __fpu_stmm5: __darwin_mmst_reg, pub __fpu_stmm6: __darwin_mmst_reg, pub __fpu_stmm7: __darwin_mmst_reg, pub __fpu_xmm0: __darwin_xmm_reg, pub __fpu_xmm1: __darwin_xmm_reg, pub __fpu_xmm2: __darwin_xmm_reg, pub __fpu_xmm3: __darwin_xmm_reg, pub __fpu_xmm4: __darwin_xmm_reg, pub __fpu_xmm5: __darwin_xmm_reg, pub __fpu_xmm6: __darwin_xmm_reg, pub __fpu_xmm7: __darwin_xmm_reg, pub __fpu_xmm8: __darwin_xmm_reg, pub __fpu_xmm9: __darwin_xmm_reg, pub __fpu_xmm10: __darwin_xmm_reg, pub __fpu_xmm11: __darwin_xmm_reg, pub __fpu_xmm12: __darwin_xmm_reg, pub __fpu_xmm13: __darwin_xmm_reg, pub __fpu_xmm14: __darwin_xmm_reg, pub __fpu_xmm15: __darwin_xmm_reg, pub __fpu_rsrv4: [::std::os::raw::c_char; 96usize], pub __fpu_reserved1: ::std::os::raw::c_int, pub __avx_reserved1: [::std::os::raw::c_char; 64usize], pub __fpu_ymmh0: __darwin_xmm_reg, pub __fpu_ymmh1: __darwin_xmm_reg, pub __fpu_ymmh2: __darwin_xmm_reg, pub __fpu_ymmh3: __darwin_xmm_reg, pub __fpu_ymmh4: __darwin_xmm_reg, pub __fpu_ymmh5: __darwin_xmm_reg, pub __fpu_ymmh6: __darwin_xmm_reg, pub __fpu_ymmh7: __darwin_xmm_reg, pub __fpu_ymmh8: __darwin_xmm_reg, pub __fpu_ymmh9: __darwin_xmm_reg, pub __fpu_ymmh10: __darwin_xmm_reg, pub __fpu_ymmh11: __darwin_xmm_reg, pub __fpu_ymmh12: __darwin_xmm_reg, pub __fpu_ymmh13: __darwin_xmm_reg, pub __fpu_ymmh14: __darwin_xmm_reg, pub __fpu_ymmh15: __darwin_xmm_reg, } #[test] fn bindgen_test_layout___darwin_x86_avx_state64() { assert_eq!( ::std::mem::size_of::<__darwin_x86_avx_state64>(), 844usize, concat!("Size of: ", stringify!(__darwin_x86_avx_state64)) ); assert_eq!( ::std::mem::align_of::<__darwin_x86_avx_state64>(), 4usize, concat!("Alignment of ", stringify!(__darwin_x86_avx_state64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_reserved as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_reserved) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_fcw as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_fcw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_fsw as *const _ as usize }, 10usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_fsw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ftw as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ftw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_rsrv1 as *const _ as usize }, 13usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_rsrv1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_fop as *const _ as usize }, 14usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_fop) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ip as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ip) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_cs as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_cs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_rsrv2 as *const _ as usize }, 22usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_rsrv2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_dp as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_dp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ds as *const _ as usize }, 28usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ds) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_rsrv3 as *const _ as usize }, 30usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_rsrv3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_mxcsr as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_mxcsr) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_mxcsrmask as *const _ as usize }, 36usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_mxcsrmask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm0 as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_stmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm1 as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_stmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm2 as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_stmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm3 as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_stmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm4 as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_stmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm5 as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_stmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm6 as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_stmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_stmm7 as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_stmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm0 as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm1 as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm2 as *const _ as usize }, 200usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm3 as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm4 as *const _ as usize }, 232usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm5 as *const _ as usize }, 248usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm6 as *const _ as usize }, 264usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm7 as *const _ as usize }, 280usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm8 as *const _ as usize }, 296usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm8) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm9 as *const _ as usize }, 312usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm9) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm10 as *const _ as usize }, 328usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm10) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm11 as *const _ as usize }, 344usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm11) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm12 as *const _ as usize }, 360usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm12) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm13 as *const _ as usize }, 376usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm13) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm14 as *const _ as usize }, 392usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm14) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_xmm15 as *const _ as usize }, 408usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_xmm15) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_rsrv4 as *const _ as usize }, 424usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_rsrv4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_reserved1 as *const _ as usize }, 520usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_reserved1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__avx_reserved1 as *const _ as usize }, 524usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__avx_reserved1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh0 as *const _ as usize }, 588usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh1 as *const _ as usize }, 604usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh2 as *const _ as usize }, 620usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh3 as *const _ as usize }, 636usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh4 as *const _ as usize }, 652usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh5 as *const _ as usize }, 668usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh6 as *const _ as usize }, 684usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh7 as *const _ as usize }, 700usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh8 as *const _ as usize }, 716usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh8) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh9 as *const _ as usize }, 732usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh9) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh10 as *const _ as usize }, 748usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh10) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh11 as *const _ as usize }, 764usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh11) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh12 as *const _ as usize }, 780usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh12) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh13 as *const _ as usize }, 796usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh13) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh14 as *const _ as usize }, 812usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh14) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx_state64>())).__fpu_ymmh15 as *const _ as usize }, 828usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx_state64), "::", stringify!(__fpu_ymmh15) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_x86_avx512_state64 { pub __fpu_reserved: [::std::os::raw::c_int; 2usize], pub __fpu_fcw: __darwin_fp_control, pub __fpu_fsw: __darwin_fp_status, pub __fpu_ftw: __uint8_t, pub __fpu_rsrv1: __uint8_t, pub __fpu_fop: __uint16_t, pub __fpu_ip: __uint32_t, pub __fpu_cs: __uint16_t, pub __fpu_rsrv2: __uint16_t, pub __fpu_dp: __uint32_t, pub __fpu_ds: __uint16_t, pub __fpu_rsrv3: __uint16_t, pub __fpu_mxcsr: __uint32_t, pub __fpu_mxcsrmask: __uint32_t, pub __fpu_stmm0: __darwin_mmst_reg, pub __fpu_stmm1: __darwin_mmst_reg, pub __fpu_stmm2: __darwin_mmst_reg, pub __fpu_stmm3: __darwin_mmst_reg, pub __fpu_stmm4: __darwin_mmst_reg, pub __fpu_stmm5: __darwin_mmst_reg, pub __fpu_stmm6: __darwin_mmst_reg, pub __fpu_stmm7: __darwin_mmst_reg, pub __fpu_xmm0: __darwin_xmm_reg, pub __fpu_xmm1: __darwin_xmm_reg, pub __fpu_xmm2: __darwin_xmm_reg, pub __fpu_xmm3: __darwin_xmm_reg, pub __fpu_xmm4: __darwin_xmm_reg, pub __fpu_xmm5: __darwin_xmm_reg, pub __fpu_xmm6: __darwin_xmm_reg, pub __fpu_xmm7: __darwin_xmm_reg, pub __fpu_xmm8: __darwin_xmm_reg, pub __fpu_xmm9: __darwin_xmm_reg, pub __fpu_xmm10: __darwin_xmm_reg, pub __fpu_xmm11: __darwin_xmm_reg, pub __fpu_xmm12: __darwin_xmm_reg, pub __fpu_xmm13: __darwin_xmm_reg, pub __fpu_xmm14: __darwin_xmm_reg, pub __fpu_xmm15: __darwin_xmm_reg, pub __fpu_rsrv4: [::std::os::raw::c_char; 96usize], pub __fpu_reserved1: ::std::os::raw::c_int, pub __avx_reserved1: [::std::os::raw::c_char; 64usize], pub __fpu_ymmh0: __darwin_xmm_reg, pub __fpu_ymmh1: __darwin_xmm_reg, pub __fpu_ymmh2: __darwin_xmm_reg, pub __fpu_ymmh3: __darwin_xmm_reg, pub __fpu_ymmh4: __darwin_xmm_reg, pub __fpu_ymmh5: __darwin_xmm_reg, pub __fpu_ymmh6: __darwin_xmm_reg, pub __fpu_ymmh7: __darwin_xmm_reg, pub __fpu_ymmh8: __darwin_xmm_reg, pub __fpu_ymmh9: __darwin_xmm_reg, pub __fpu_ymmh10: __darwin_xmm_reg, pub __fpu_ymmh11: __darwin_xmm_reg, pub __fpu_ymmh12: __darwin_xmm_reg, pub __fpu_ymmh13: __darwin_xmm_reg, pub __fpu_ymmh14: __darwin_xmm_reg, pub __fpu_ymmh15: __darwin_xmm_reg, pub __fpu_k0: __darwin_opmask_reg, pub __fpu_k1: __darwin_opmask_reg, pub __fpu_k2: __darwin_opmask_reg, pub __fpu_k3: __darwin_opmask_reg, pub __fpu_k4: __darwin_opmask_reg, pub __fpu_k5: __darwin_opmask_reg, pub __fpu_k6: __darwin_opmask_reg, pub __fpu_k7: __darwin_opmask_reg, pub __fpu_zmmh0: __darwin_ymm_reg, pub __fpu_zmmh1: __darwin_ymm_reg, pub __fpu_zmmh2: __darwin_ymm_reg, pub __fpu_zmmh3: __darwin_ymm_reg, pub __fpu_zmmh4: __darwin_ymm_reg, pub __fpu_zmmh5: __darwin_ymm_reg, pub __fpu_zmmh6: __darwin_ymm_reg, pub __fpu_zmmh7: __darwin_ymm_reg, pub __fpu_zmmh8: __darwin_ymm_reg, pub __fpu_zmmh9: __darwin_ymm_reg, pub __fpu_zmmh10: __darwin_ymm_reg, pub __fpu_zmmh11: __darwin_ymm_reg, pub __fpu_zmmh12: __darwin_ymm_reg, pub __fpu_zmmh13: __darwin_ymm_reg, pub __fpu_zmmh14: __darwin_ymm_reg, pub __fpu_zmmh15: __darwin_ymm_reg, pub __fpu_zmm16: __darwin_zmm_reg, pub __fpu_zmm17: __darwin_zmm_reg, pub __fpu_zmm18: __darwin_zmm_reg, pub __fpu_zmm19: __darwin_zmm_reg, pub __fpu_zmm20: __darwin_zmm_reg, pub __fpu_zmm21: __darwin_zmm_reg, pub __fpu_zmm22: __darwin_zmm_reg, pub __fpu_zmm23: __darwin_zmm_reg, pub __fpu_zmm24: __darwin_zmm_reg, pub __fpu_zmm25: __darwin_zmm_reg, pub __fpu_zmm26: __darwin_zmm_reg, pub __fpu_zmm27: __darwin_zmm_reg, pub __fpu_zmm28: __darwin_zmm_reg, pub __fpu_zmm29: __darwin_zmm_reg, pub __fpu_zmm30: __darwin_zmm_reg, pub __fpu_zmm31: __darwin_zmm_reg, } #[test] fn bindgen_test_layout___darwin_x86_avx512_state64() { assert_eq!( ::std::mem::size_of::<__darwin_x86_avx512_state64>(), 2444usize, concat!("Size of: ", stringify!(__darwin_x86_avx512_state64)) ); assert_eq!( ::std::mem::align_of::<__darwin_x86_avx512_state64>(), 4usize, concat!("Alignment of ", stringify!(__darwin_x86_avx512_state64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_reserved as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_reserved) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_fcw as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_fcw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_fsw as *const _ as usize }, 10usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_fsw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ftw as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ftw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_rsrv1 as *const _ as usize }, 13usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_rsrv1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_fop as *const _ as usize }, 14usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_fop) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ip as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ip) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_cs as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_cs) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_rsrv2 as *const _ as usize }, 22usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_rsrv2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_dp as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_dp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ds as *const _ as usize }, 28usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ds) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_rsrv3 as *const _ as usize }, 30usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_rsrv3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_mxcsr as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_mxcsr) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_mxcsrmask as *const _ as usize }, 36usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_mxcsrmask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm0 as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_stmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm1 as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_stmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm2 as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_stmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm3 as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_stmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm4 as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_stmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm5 as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_stmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm6 as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_stmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_stmm7 as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_stmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm0 as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm1 as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm2 as *const _ as usize }, 200usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm3 as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm4 as *const _ as usize }, 232usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm5 as *const _ as usize }, 248usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm6 as *const _ as usize }, 264usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm7 as *const _ as usize }, 280usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm8 as *const _ as usize }, 296usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm8) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm9 as *const _ as usize }, 312usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm9) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm10 as *const _ as usize }, 328usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm10) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm11 as *const _ as usize }, 344usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm11) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm12 as *const _ as usize }, 360usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm12) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm13 as *const _ as usize }, 376usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm13) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm14 as *const _ as usize }, 392usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm14) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_xmm15 as *const _ as usize }, 408usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_xmm15) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_rsrv4 as *const _ as usize }, 424usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_rsrv4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_reserved1 as *const _ as usize }, 520usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_reserved1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__avx_reserved1 as *const _ as usize }, 524usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__avx_reserved1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh0 as *const _ as usize }, 588usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh1 as *const _ as usize }, 604usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh2 as *const _ as usize }, 620usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh3 as *const _ as usize }, 636usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh4 as *const _ as usize }, 652usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh5 as *const _ as usize }, 668usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh6 as *const _ as usize }, 684usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh7 as *const _ as usize }, 700usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh8 as *const _ as usize }, 716usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh8) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh9 as *const _ as usize }, 732usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh9) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh10 as *const _ as usize }, 748usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh10) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh11 as *const _ as usize }, 764usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh11) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh12 as *const _ as usize }, 780usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh12) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh13 as *const _ as usize }, 796usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh13) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh14 as *const _ as usize }, 812usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh14) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_ymmh15 as *const _ as usize }, 828usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_ymmh15) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k0 as *const _ as usize }, 844usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_k0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k1 as *const _ as usize }, 852usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_k1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k2 as *const _ as usize }, 860usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_k2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k3 as *const _ as usize }, 868usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_k3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k4 as *const _ as usize }, 876usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_k4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k5 as *const _ as usize }, 884usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_k5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k6 as *const _ as usize }, 892usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_k6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_k7 as *const _ as usize }, 900usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_k7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh0 as *const _ as usize }, 908usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh1 as *const _ as usize }, 940usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh2 as *const _ as usize }, 972usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh3 as *const _ as usize }, 1004usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh4 as *const _ as usize }, 1036usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh5 as *const _ as usize }, 1068usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh6 as *const _ as usize }, 1100usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh7 as *const _ as usize }, 1132usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh7) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh8 as *const _ as usize }, 1164usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh8) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh9 as *const _ as usize }, 1196usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh9) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh10 as *const _ as usize }, 1228usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh10) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh11 as *const _ as usize }, 1260usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh11) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh12 as *const _ as usize }, 1292usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh12) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh13 as *const _ as usize }, 1324usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh13) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh14 as *const _ as usize }, 1356usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh14) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmmh15 as *const _ as usize }, 1388usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmmh15) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm16 as *const _ as usize }, 1420usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm16) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm17 as *const _ as usize }, 1484usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm17) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm18 as *const _ as usize }, 1548usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm18) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm19 as *const _ as usize }, 1612usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm19) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm20 as *const _ as usize }, 1676usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm20) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm21 as *const _ as usize }, 1740usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm21) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm22 as *const _ as usize }, 1804usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm22) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm23 as *const _ as usize }, 1868usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm23) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm24 as *const _ as usize }, 1932usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm24) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm25 as *const _ as usize }, 1996usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm25) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm26 as *const _ as usize }, 2060usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm26) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm27 as *const _ as usize }, 2124usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm27) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm28 as *const _ as usize }, 2188usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm28) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm29 as *const _ as usize }, 2252usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm29) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm30 as *const _ as usize }, 2316usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm30) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_avx512_state64>())).__fpu_zmm31 as *const _ as usize }, 2380usize, concat!( "Offset of field: ", stringify!(__darwin_x86_avx512_state64), "::", stringify!(__fpu_zmm31) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_x86_exception_state64 { pub __trapno: __uint16_t, pub __cpu: __uint16_t, pub __err: __uint32_t, pub __faultvaddr: __uint64_t, } #[test] fn bindgen_test_layout___darwin_x86_exception_state64() { assert_eq!( ::std::mem::size_of::<__darwin_x86_exception_state64>(), 16usize, concat!("Size of: ", stringify!(__darwin_x86_exception_state64)) ); assert_eq!( ::std::mem::align_of::<__darwin_x86_exception_state64>(), 8usize, concat!("Alignment of ", stringify!(__darwin_x86_exception_state64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_exception_state64>())).__trapno as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_x86_exception_state64), "::", stringify!(__trapno) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_exception_state64>())).__cpu as *const _ as usize }, 2usize, concat!( "Offset of field: ", stringify!(__darwin_x86_exception_state64), "::", stringify!(__cpu) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_exception_state64>())).__err as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(__darwin_x86_exception_state64), "::", stringify!(__err) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_exception_state64>())).__faultvaddr as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_x86_exception_state64), "::", stringify!(__faultvaddr) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_x86_debug_state64 { pub __dr0: __uint64_t, pub __dr1: __uint64_t, pub __dr2: __uint64_t, pub __dr3: __uint64_t, pub __dr4: __uint64_t, pub __dr5: __uint64_t, pub __dr6: __uint64_t, pub __dr7: __uint64_t, } #[test] fn bindgen_test_layout___darwin_x86_debug_state64() { assert_eq!( ::std::mem::size_of::<__darwin_x86_debug_state64>(), 64usize, concat!("Size of: ", stringify!(__darwin_x86_debug_state64)) ); assert_eq!( ::std::mem::align_of::<__darwin_x86_debug_state64>(), 8usize, concat!("Alignment of ", stringify!(__darwin_x86_debug_state64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr0 as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state64), "::", stringify!(__dr0) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr1 as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state64), "::", stringify!(__dr1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr2 as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state64), "::", stringify!(__dr2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr3 as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state64), "::", stringify!(__dr3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr4 as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state64), "::", stringify!(__dr4) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr5 as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state64), "::", stringify!(__dr5) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr6 as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state64), "::", stringify!(__dr6) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_debug_state64>())).__dr7 as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__darwin_x86_debug_state64), "::", stringify!(__dr7) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_x86_cpmu_state64 { pub __ctrs: [__uint64_t; 16usize], } #[test] fn bindgen_test_layout___darwin_x86_cpmu_state64() { assert_eq!( ::std::mem::size_of::<__darwin_x86_cpmu_state64>(), 128usize, concat!("Size of: ", stringify!(__darwin_x86_cpmu_state64)) ); assert_eq!( ::std::mem::align_of::<__darwin_x86_cpmu_state64>(), 8usize, concat!("Alignment of ", stringify!(__darwin_x86_cpmu_state64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_x86_cpmu_state64>())).__ctrs as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_x86_cpmu_state64), "::", stringify!(__ctrs) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_mcontext32 { pub __es: __darwin_i386_exception_state, pub __ss: __darwin_i386_thread_state, pub __fs: __darwin_i386_float_state, } #[test] fn bindgen_test_layout___darwin_mcontext32() { assert_eq!( ::std::mem::size_of::<__darwin_mcontext32>(), 600usize, concat!("Size of: ", stringify!(__darwin_mcontext32)) ); assert_eq!( ::std::mem::align_of::<__darwin_mcontext32>(), 4usize, concat!("Alignment of ", stringify!(__darwin_mcontext32)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext32>())).__es as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext32), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext32>())).__ss as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext32), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext32>())).__fs as *const _ as usize }, 76usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext32), "::", stringify!(__fs) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_mcontext_avx32 { pub __es: __darwin_i386_exception_state, pub __ss: __darwin_i386_thread_state, pub __fs: __darwin_i386_avx_state, } #[test] fn bindgen_test_layout___darwin_mcontext_avx32() { assert_eq!( ::std::mem::size_of::<__darwin_mcontext_avx32>(), 792usize, concat!("Size of: ", stringify!(__darwin_mcontext_avx32)) ); assert_eq!( ::std::mem::align_of::<__darwin_mcontext_avx32>(), 4usize, concat!("Alignment of ", stringify!(__darwin_mcontext_avx32)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx32>())).__es as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx32), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx32>())).__ss as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx32), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx32>())).__fs as *const _ as usize }, 76usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx32), "::", stringify!(__fs) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_mcontext_avx512_32 { pub __es: __darwin_i386_exception_state, pub __ss: __darwin_i386_thread_state, pub __fs: __darwin_i386_avx512_state, } #[test] fn bindgen_test_layout___darwin_mcontext_avx512_32() { assert_eq!( ::std::mem::size_of::<__darwin_mcontext_avx512_32>(), 1112usize, concat!("Size of: ", stringify!(__darwin_mcontext_avx512_32)) ); assert_eq!( ::std::mem::align_of::<__darwin_mcontext_avx512_32>(), 4usize, concat!("Alignment of ", stringify!(__darwin_mcontext_avx512_32)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx512_32>())).__es as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx512_32), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx512_32>())).__ss as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx512_32), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx512_32>())).__fs as *const _ as usize }, 76usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx512_32), "::", stringify!(__fs) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_mcontext64 { pub __es: __darwin_x86_exception_state64, pub __ss: __darwin_x86_thread_state64, pub __fs: __darwin_x86_float_state64, } #[test] fn bindgen_test_layout___darwin_mcontext64() { assert_eq!( ::std::mem::size_of::<__darwin_mcontext64>(), 712usize, concat!("Size of: ", stringify!(__darwin_mcontext64)) ); assert_eq!( ::std::mem::align_of::<__darwin_mcontext64>(), 8usize, concat!("Alignment of ", stringify!(__darwin_mcontext64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext64>())).__es as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext64), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext64>())).__ss as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext64), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext64>())).__fs as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext64), "::", stringify!(__fs) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_mcontext64_full { pub __es: __darwin_x86_exception_state64, pub __ss: __darwin_x86_thread_full_state64, pub __fs: __darwin_x86_float_state64, } #[test] fn bindgen_test_layout___darwin_mcontext64_full() { assert_eq!( ::std::mem::size_of::<__darwin_mcontext64_full>(), 744usize, concat!("Size of: ", stringify!(__darwin_mcontext64_full)) ); assert_eq!( ::std::mem::align_of::<__darwin_mcontext64_full>(), 8usize, concat!("Alignment of ", stringify!(__darwin_mcontext64_full)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext64_full>())).__es as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext64_full), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext64_full>())).__ss as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext64_full), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext64_full>())).__fs as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext64_full), "::", stringify!(__fs) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_mcontext_avx64 { pub __es: __darwin_x86_exception_state64, pub __ss: __darwin_x86_thread_state64, pub __fs: __darwin_x86_avx_state64, } #[test] fn bindgen_test_layout___darwin_mcontext_avx64() { assert_eq!( ::std::mem::size_of::<__darwin_mcontext_avx64>(), 1032usize, concat!("Size of: ", stringify!(__darwin_mcontext_avx64)) ); assert_eq!( ::std::mem::align_of::<__darwin_mcontext_avx64>(), 8usize, concat!("Alignment of ", stringify!(__darwin_mcontext_avx64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx64>())).__es as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx64), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx64>())).__ss as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx64), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx64>())).__fs as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx64), "::", stringify!(__fs) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_mcontext_avx64_full { pub __es: __darwin_x86_exception_state64, pub __ss: __darwin_x86_thread_full_state64, pub __fs: __darwin_x86_avx_state64, } #[test] fn bindgen_test_layout___darwin_mcontext_avx64_full() { assert_eq!( ::std::mem::size_of::<__darwin_mcontext_avx64_full>(), 1064usize, concat!("Size of: ", stringify!(__darwin_mcontext_avx64_full)) ); assert_eq!( ::std::mem::align_of::<__darwin_mcontext_avx64_full>(), 8usize, concat!("Alignment of ", stringify!(__darwin_mcontext_avx64_full)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx64_full>())).__es as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx64_full), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx64_full>())).__ss as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx64_full), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx64_full>())).__fs as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx64_full), "::", stringify!(__fs) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_mcontext_avx512_64 { pub __es: __darwin_x86_exception_state64, pub __ss: __darwin_x86_thread_state64, pub __fs: __darwin_x86_avx512_state64, } #[test] fn bindgen_test_layout___darwin_mcontext_avx512_64() { assert_eq!( ::std::mem::size_of::<__darwin_mcontext_avx512_64>(), 2632usize, concat!("Size of: ", stringify!(__darwin_mcontext_avx512_64)) ); assert_eq!( ::std::mem::align_of::<__darwin_mcontext_avx512_64>(), 8usize, concat!("Alignment of ", stringify!(__darwin_mcontext_avx512_64)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx512_64>())).__es as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx512_64), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx512_64>())).__ss as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx512_64), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx512_64>())).__fs as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx512_64), "::", stringify!(__fs) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __darwin_mcontext_avx512_64_full { pub __es: __darwin_x86_exception_state64, pub __ss: __darwin_x86_thread_full_state64, pub __fs: __darwin_x86_avx512_state64, } #[test] fn bindgen_test_layout___darwin_mcontext_avx512_64_full() { assert_eq!( ::std::mem::size_of::<__darwin_mcontext_avx512_64_full>(), 2664usize, concat!("Size of: ", stringify!(__darwin_mcontext_avx512_64_full)) ); assert_eq!( ::std::mem::align_of::<__darwin_mcontext_avx512_64_full>(), 8usize, concat!( "Alignment of ", stringify!(__darwin_mcontext_avx512_64_full) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx512_64_full>())).__es as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx512_64_full), "::", stringify!(__es) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx512_64_full>())).__ss as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx512_64_full), "::", stringify!(__ss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_mcontext_avx512_64_full>())).__fs as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(__darwin_mcontext_avx512_64_full), "::", stringify!(__fs) ) ); } pub type mcontext_t = *mut __darwin_mcontext64; pub type pthread_attr_t = __darwin_pthread_attr_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_sigaltstack { pub ss_sp: *mut ::std::os::raw::c_void, pub ss_size: __darwin_size_t, pub ss_flags: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout___darwin_sigaltstack() { assert_eq!( ::std::mem::size_of::<__darwin_sigaltstack>(), 24usize, concat!("Size of: ", stringify!(__darwin_sigaltstack)) ); assert_eq!( ::std::mem::align_of::<__darwin_sigaltstack>(), 8usize, concat!("Alignment of ", stringify!(__darwin_sigaltstack)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_sigaltstack>())).ss_sp as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_sigaltstack), "::", stringify!(ss_sp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_sigaltstack>())).ss_size as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_sigaltstack), "::", stringify!(ss_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_sigaltstack>())).ss_flags as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__darwin_sigaltstack), "::", stringify!(ss_flags) ) ); } pub type stack_t = __darwin_sigaltstack; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __darwin_ucontext { pub uc_onstack: ::std::os::raw::c_int, pub uc_sigmask: __darwin_sigset_t, pub uc_stack: __darwin_sigaltstack, pub uc_link: *mut __darwin_ucontext, pub uc_mcsize: __darwin_size_t, pub uc_mcontext: *mut __darwin_mcontext64, } #[test] fn bindgen_test_layout___darwin_ucontext() { assert_eq!( ::std::mem::size_of::<__darwin_ucontext>(), 56usize, concat!("Size of: ", stringify!(__darwin_ucontext)) ); assert_eq!( ::std::mem::align_of::<__darwin_ucontext>(), 8usize, concat!("Alignment of ", stringify!(__darwin_ucontext)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_onstack as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__darwin_ucontext), "::", stringify!(uc_onstack) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_sigmask as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(__darwin_ucontext), "::", stringify!(uc_sigmask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_stack as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__darwin_ucontext), "::", stringify!(uc_stack) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_link as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__darwin_ucontext), "::", stringify!(uc_link) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_mcsize as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__darwin_ucontext), "::", stringify!(uc_mcsize) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__darwin_ucontext>())).uc_mcontext as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(__darwin_ucontext), "::", stringify!(uc_mcontext) ) ); } pub type ucontext_t = __darwin_ucontext; pub type sigset_t = __darwin_sigset_t; pub type uid_t = __darwin_uid_t; #[repr(C)] #[derive(Copy, Clone)] pub union sigval { pub sival_int: ::std::os::raw::c_int, pub sival_ptr: *mut ::std::os::raw::c_void, _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_sigval() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(sigval)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(sigval)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sival_int as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(sigval), "::", stringify!(sival_int) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sival_ptr as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(sigval), "::", stringify!(sival_ptr) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct sigevent { pub sigev_notify: ::std::os::raw::c_int, pub sigev_signo: ::std::os::raw::c_int, pub sigev_value: sigval, pub sigev_notify_function: ::std::option::Option, pub sigev_notify_attributes: *mut pthread_attr_t, } #[test] fn bindgen_test_layout_sigevent() { assert_eq!( ::std::mem::size_of::(), 32usize, concat!("Size of: ", stringify!(sigevent)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(sigevent)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sigev_notify as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(sigevent), "::", stringify!(sigev_notify) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sigev_signo as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(sigevent), "::", stringify!(sigev_signo) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sigev_value as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(sigevent), "::", stringify!(sigev_value) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sigev_notify_function as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(sigevent), "::", stringify!(sigev_notify_function) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sigev_notify_attributes as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(sigevent), "::", stringify!(sigev_notify_attributes) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __siginfo { pub si_signo: ::std::os::raw::c_int, pub si_errno: ::std::os::raw::c_int, pub si_code: ::std::os::raw::c_int, pub si_pid: pid_t, pub si_uid: uid_t, pub si_status: ::std::os::raw::c_int, pub si_addr: *mut ::std::os::raw::c_void, pub si_value: sigval, pub si_band: ::std::os::raw::c_long, pub __pad: [::std::os::raw::c_ulong; 7usize], } #[test] fn bindgen_test_layout___siginfo() { assert_eq!( ::std::mem::size_of::<__siginfo>(), 104usize, concat!("Size of: ", stringify!(__siginfo)) ); assert_eq!( ::std::mem::align_of::<__siginfo>(), 8usize, concat!("Alignment of ", stringify!(__siginfo)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).si_signo as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(si_signo) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).si_errno as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(si_errno) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).si_code as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(si_code) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).si_pid as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(si_pid) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).si_uid as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(si_uid) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).si_status as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(si_status) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).si_addr as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(si_addr) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).si_value as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(si_value) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).si_band as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(si_band) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__siginfo>())).__pad as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(__siginfo), "::", stringify!(__pad) ) ); } pub type siginfo_t = __siginfo; #[repr(C)] #[derive(Copy, Clone)] pub union __sigaction_u { pub __sa_handler: ::std::option::Option, pub __sa_sigaction: ::std::option::Option< unsafe extern "C" fn( arg1: ::std::os::raw::c_int, arg2: *mut __siginfo, arg3: *mut ::std::os::raw::c_void, ), >, _bindgen_union_align: u64, } #[test] fn bindgen_test_layout___sigaction_u() { assert_eq!( ::std::mem::size_of::<__sigaction_u>(), 8usize, concat!("Size of: ", stringify!(__sigaction_u)) ); assert_eq!( ::std::mem::align_of::<__sigaction_u>(), 8usize, concat!("Alignment of ", stringify!(__sigaction_u)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sigaction_u>())).__sa_handler as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__sigaction_u), "::", stringify!(__sa_handler) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sigaction_u>())).__sa_sigaction as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__sigaction_u), "::", stringify!(__sa_sigaction) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct __sigaction { pub __sigaction_u: __sigaction_u, pub sa_tramp: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, arg4: *mut siginfo_t, arg5: *mut ::std::os::raw::c_void, ), >, pub sa_mask: sigset_t, pub sa_flags: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout___sigaction() { assert_eq!( ::std::mem::size_of::<__sigaction>(), 24usize, concat!("Size of: ", stringify!(__sigaction)) ); assert_eq!( ::std::mem::align_of::<__sigaction>(), 8usize, concat!("Alignment of ", stringify!(__sigaction)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sigaction>())).__sigaction_u as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__sigaction), "::", stringify!(__sigaction_u) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sigaction>())).sa_tramp as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__sigaction), "::", stringify!(sa_tramp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sigaction>())).sa_mask as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__sigaction), "::", stringify!(sa_mask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sigaction>())).sa_flags as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(__sigaction), "::", stringify!(sa_flags) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct sigaction { pub __sigaction_u: __sigaction_u, pub sa_mask: sigset_t, pub sa_flags: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout_sigaction() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(sigaction)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(sigaction)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).__sigaction_u as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(sigaction), "::", stringify!(__sigaction_u) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sa_mask as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(sigaction), "::", stringify!(sa_mask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sa_flags as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(sigaction), "::", stringify!(sa_flags) ) ); } pub type sig_t = ::std::option::Option; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sigvec { pub sv_handler: ::std::option::Option, pub sv_mask: ::std::os::raw::c_int, pub sv_flags: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout_sigvec() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(sigvec)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(sigvec)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sv_handler as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(sigvec), "::", stringify!(sv_handler) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sv_mask as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(sigvec), "::", stringify!(sv_mask) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).sv_flags as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(sigvec), "::", stringify!(sv_flags) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sigstack { pub ss_sp: *mut ::std::os::raw::c_char, pub ss_onstack: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout_sigstack() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(sigstack)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(sigstack)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ss_sp as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(sigstack), "::", stringify!(ss_sp) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ss_onstack as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(sigstack), "::", stringify!(ss_onstack) ) ); } extern "C" { pub fn signal( arg1: ::std::os::raw::c_int, arg2: ::std::option::Option, ) -> ::std::option::Option< unsafe extern "C" fn( arg1: ::std::os::raw::c_int, arg2: ::std::option::Option, ), >; } pub type int_least8_t = i8; pub type int_least16_t = i16; pub type int_least32_t = i32; pub type int_least64_t = i64; pub type uint_least8_t = u8; pub type uint_least16_t = u16; pub type uint_least32_t = u32; pub type uint_least64_t = u64; pub type int_fast8_t = i8; pub type int_fast16_t = i16; pub type int_fast32_t = i32; pub type int_fast64_t = i64; pub type uint_fast8_t = u8; pub type uint_fast16_t = u16; pub type uint_fast32_t = u32; pub type uint_fast64_t = u64; pub type intmax_t = ::std::os::raw::c_long; pub type uintmax_t = ::std::os::raw::c_ulong; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timeval { pub tv_sec: __darwin_time_t, pub tv_usec: __darwin_suseconds_t, } #[test] fn bindgen_test_layout_timeval() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(timeval)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(timeval)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tv_sec as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(timeval), "::", stringify!(tv_sec) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tv_usec as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(timeval), "::", stringify!(tv_usec) ) ); } pub type rlim_t = __uint64_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct rusage { pub ru_utime: timeval, pub ru_stime: timeval, pub ru_maxrss: ::std::os::raw::c_long, pub ru_ixrss: ::std::os::raw::c_long, pub ru_idrss: ::std::os::raw::c_long, pub ru_isrss: ::std::os::raw::c_long, pub ru_minflt: ::std::os::raw::c_long, pub ru_majflt: ::std::os::raw::c_long, pub ru_nswap: ::std::os::raw::c_long, pub ru_inblock: ::std::os::raw::c_long, pub ru_oublock: ::std::os::raw::c_long, pub ru_msgsnd: ::std::os::raw::c_long, pub ru_msgrcv: ::std::os::raw::c_long, pub ru_nsignals: ::std::os::raw::c_long, pub ru_nvcsw: ::std::os::raw::c_long, pub ru_nivcsw: ::std::os::raw::c_long, } #[test] fn bindgen_test_layout_rusage() { assert_eq!( ::std::mem::size_of::(), 144usize, concat!("Size of: ", stringify!(rusage)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(rusage)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_utime as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_utime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_stime as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_stime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_maxrss as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_maxrss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_ixrss as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_ixrss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_idrss as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_idrss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_isrss as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_isrss) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_minflt as *const _ as usize }, 64usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_minflt) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_majflt as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_majflt) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_nswap as *const _ as usize }, 80usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_nswap) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_inblock as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_inblock) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_oublock as *const _ as usize }, 96usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_oublock) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_msgsnd as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_msgsnd) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_msgrcv as *const _ as usize }, 112usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_msgrcv) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_nsignals as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_nsignals) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_nvcsw as *const _ as usize }, 128usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_nvcsw) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ru_nivcsw as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(rusage), "::", stringify!(ru_nivcsw) ) ); } pub type rusage_info_t = *mut ::std::os::raw::c_void; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct rusage_info_v0 { pub ri_uuid: [u8; 16usize], pub ri_user_time: u64, pub ri_system_time: u64, pub ri_pkg_idle_wkups: u64, pub ri_interrupt_wkups: u64, pub ri_pageins: u64, pub ri_wired_size: u64, pub ri_resident_size: u64, pub ri_phys_footprint: u64, pub ri_proc_start_abstime: u64, pub ri_proc_exit_abstime: u64, } #[test] fn bindgen_test_layout_rusage_info_v0() { assert_eq!( ::std::mem::size_of::(), 96usize, concat!("Size of: ", stringify!(rusage_info_v0)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(rusage_info_v0)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_uuid as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_uuid) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_user_time as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_system_time as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pkg_idle_wkups as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_interrupt_wkups as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pageins as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_wired_size as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_wired_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_resident_size as *const _ as usize }, 64usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_resident_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_phys_footprint as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_start_abstime as *const _ as usize }, 80usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_proc_start_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_exit_abstime as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(rusage_info_v0), "::", stringify!(ri_proc_exit_abstime) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct rusage_info_v1 { pub ri_uuid: [u8; 16usize], pub ri_user_time: u64, pub ri_system_time: u64, pub ri_pkg_idle_wkups: u64, pub ri_interrupt_wkups: u64, pub ri_pageins: u64, pub ri_wired_size: u64, pub ri_resident_size: u64, pub ri_phys_footprint: u64, pub ri_proc_start_abstime: u64, pub ri_proc_exit_abstime: u64, pub ri_child_user_time: u64, pub ri_child_system_time: u64, pub ri_child_pkg_idle_wkups: u64, pub ri_child_interrupt_wkups: u64, pub ri_child_pageins: u64, pub ri_child_elapsed_abstime: u64, } #[test] fn bindgen_test_layout_rusage_info_v1() { assert_eq!( ::std::mem::size_of::(), 144usize, concat!("Size of: ", stringify!(rusage_info_v1)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(rusage_info_v1)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_uuid as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_uuid) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_user_time as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_system_time as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pkg_idle_wkups as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_interrupt_wkups as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pageins as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_wired_size as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_wired_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_resident_size as *const _ as usize }, 64usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_resident_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_phys_footprint as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_start_abstime as *const _ as usize }, 80usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_proc_start_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_exit_abstime as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_proc_exit_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_user_time as *const _ as usize }, 96usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_child_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_system_time as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_child_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pkg_idle_wkups as *const _ as usize }, 112usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_child_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_interrupt_wkups as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_child_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pageins as *const _ as usize }, 128usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_child_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_elapsed_abstime as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(rusage_info_v1), "::", stringify!(ri_child_elapsed_abstime) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct rusage_info_v2 { pub ri_uuid: [u8; 16usize], pub ri_user_time: u64, pub ri_system_time: u64, pub ri_pkg_idle_wkups: u64, pub ri_interrupt_wkups: u64, pub ri_pageins: u64, pub ri_wired_size: u64, pub ri_resident_size: u64, pub ri_phys_footprint: u64, pub ri_proc_start_abstime: u64, pub ri_proc_exit_abstime: u64, pub ri_child_user_time: u64, pub ri_child_system_time: u64, pub ri_child_pkg_idle_wkups: u64, pub ri_child_interrupt_wkups: u64, pub ri_child_pageins: u64, pub ri_child_elapsed_abstime: u64, pub ri_diskio_bytesread: u64, pub ri_diskio_byteswritten: u64, } #[test] fn bindgen_test_layout_rusage_info_v2() { assert_eq!( ::std::mem::size_of::(), 160usize, concat!("Size of: ", stringify!(rusage_info_v2)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(rusage_info_v2)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_uuid as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_uuid) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_user_time as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_system_time as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pkg_idle_wkups as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_interrupt_wkups as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pageins as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_wired_size as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_wired_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_resident_size as *const _ as usize }, 64usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_resident_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_phys_footprint as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_start_abstime as *const _ as usize }, 80usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_proc_start_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_exit_abstime as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_proc_exit_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_user_time as *const _ as usize }, 96usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_child_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_system_time as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_child_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pkg_idle_wkups as *const _ as usize }, 112usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_child_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_interrupt_wkups as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_child_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pageins as *const _ as usize }, 128usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_child_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_elapsed_abstime as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_child_elapsed_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_diskio_bytesread as *const _ as usize }, 144usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_diskio_bytesread) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_diskio_byteswritten as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(rusage_info_v2), "::", stringify!(ri_diskio_byteswritten) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct rusage_info_v3 { pub ri_uuid: [u8; 16usize], pub ri_user_time: u64, pub ri_system_time: u64, pub ri_pkg_idle_wkups: u64, pub ri_interrupt_wkups: u64, pub ri_pageins: u64, pub ri_wired_size: u64, pub ri_resident_size: u64, pub ri_phys_footprint: u64, pub ri_proc_start_abstime: u64, pub ri_proc_exit_abstime: u64, pub ri_child_user_time: u64, pub ri_child_system_time: u64, pub ri_child_pkg_idle_wkups: u64, pub ri_child_interrupt_wkups: u64, pub ri_child_pageins: u64, pub ri_child_elapsed_abstime: u64, pub ri_diskio_bytesread: u64, pub ri_diskio_byteswritten: u64, pub ri_cpu_time_qos_default: u64, pub ri_cpu_time_qos_maintenance: u64, pub ri_cpu_time_qos_background: u64, pub ri_cpu_time_qos_utility: u64, pub ri_cpu_time_qos_legacy: u64, pub ri_cpu_time_qos_user_initiated: u64, pub ri_cpu_time_qos_user_interactive: u64, pub ri_billed_system_time: u64, pub ri_serviced_system_time: u64, } #[test] fn bindgen_test_layout_rusage_info_v3() { assert_eq!( ::std::mem::size_of::(), 232usize, concat!("Size of: ", stringify!(rusage_info_v3)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(rusage_info_v3)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_uuid as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_uuid) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_user_time as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_system_time as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pkg_idle_wkups as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_interrupt_wkups as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pageins as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_wired_size as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_wired_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_resident_size as *const _ as usize }, 64usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_resident_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_phys_footprint as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_start_abstime as *const _ as usize }, 80usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_proc_start_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_exit_abstime as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_proc_exit_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_user_time as *const _ as usize }, 96usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_child_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_system_time as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_child_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pkg_idle_wkups as *const _ as usize }, 112usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_child_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_interrupt_wkups as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_child_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pageins as *const _ as usize }, 128usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_child_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_elapsed_abstime as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_child_elapsed_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_diskio_bytesread as *const _ as usize }, 144usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_diskio_bytesread) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_diskio_byteswritten as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_diskio_byteswritten) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_default as *const _ as usize }, 160usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_cpu_time_qos_default) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_maintenance as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_cpu_time_qos_maintenance) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_background as *const _ as usize }, 176usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_cpu_time_qos_background) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_utility as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_cpu_time_qos_utility) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_legacy as *const _ as usize }, 192usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_cpu_time_qos_legacy) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_user_initiated as *const _ as usize }, 200usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_cpu_time_qos_user_initiated) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_user_interactive as *const _ as usize }, 208usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_cpu_time_qos_user_interactive) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_billed_system_time as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_billed_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_serviced_system_time as *const _ as usize }, 224usize, concat!( "Offset of field: ", stringify!(rusage_info_v3), "::", stringify!(ri_serviced_system_time) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct rusage_info_v4 { pub ri_uuid: [u8; 16usize], pub ri_user_time: u64, pub ri_system_time: u64, pub ri_pkg_idle_wkups: u64, pub ri_interrupt_wkups: u64, pub ri_pageins: u64, pub ri_wired_size: u64, pub ri_resident_size: u64, pub ri_phys_footprint: u64, pub ri_proc_start_abstime: u64, pub ri_proc_exit_abstime: u64, pub ri_child_user_time: u64, pub ri_child_system_time: u64, pub ri_child_pkg_idle_wkups: u64, pub ri_child_interrupt_wkups: u64, pub ri_child_pageins: u64, pub ri_child_elapsed_abstime: u64, pub ri_diskio_bytesread: u64, pub ri_diskio_byteswritten: u64, pub ri_cpu_time_qos_default: u64, pub ri_cpu_time_qos_maintenance: u64, pub ri_cpu_time_qos_background: u64, pub ri_cpu_time_qos_utility: u64, pub ri_cpu_time_qos_legacy: u64, pub ri_cpu_time_qos_user_initiated: u64, pub ri_cpu_time_qos_user_interactive: u64, pub ri_billed_system_time: u64, pub ri_serviced_system_time: u64, pub ri_logical_writes: u64, pub ri_lifetime_max_phys_footprint: u64, pub ri_instructions: u64, pub ri_cycles: u64, pub ri_billed_energy: u64, pub ri_serviced_energy: u64, pub ri_interval_max_phys_footprint: u64, pub ri_runnable_time: u64, } #[test] fn bindgen_test_layout_rusage_info_v4() { assert_eq!( ::std::mem::size_of::(), 296usize, concat!("Size of: ", stringify!(rusage_info_v4)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(rusage_info_v4)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_uuid as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_uuid) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_user_time as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_system_time as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pkg_idle_wkups as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_interrupt_wkups as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pageins as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_wired_size as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_wired_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_resident_size as *const _ as usize }, 64usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_resident_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_phys_footprint as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_start_abstime as *const _ as usize }, 80usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_proc_start_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_exit_abstime as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_proc_exit_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_user_time as *const _ as usize }, 96usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_child_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_system_time as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_child_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pkg_idle_wkups as *const _ as usize }, 112usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_child_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_interrupt_wkups as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_child_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pageins as *const _ as usize }, 128usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_child_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_elapsed_abstime as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_child_elapsed_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_diskio_bytesread as *const _ as usize }, 144usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_diskio_bytesread) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_diskio_byteswritten as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_diskio_byteswritten) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_default as *const _ as usize }, 160usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_cpu_time_qos_default) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_maintenance as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_cpu_time_qos_maintenance) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_background as *const _ as usize }, 176usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_cpu_time_qos_background) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_utility as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_cpu_time_qos_utility) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_legacy as *const _ as usize }, 192usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_cpu_time_qos_legacy) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_user_initiated as *const _ as usize }, 200usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_cpu_time_qos_user_initiated) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_user_interactive as *const _ as usize }, 208usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_cpu_time_qos_user_interactive) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_billed_system_time as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_billed_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_serviced_system_time as *const _ as usize }, 224usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_serviced_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_logical_writes as *const _ as usize }, 232usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_logical_writes) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_lifetime_max_phys_footprint as *const _ as usize }, 240usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_lifetime_max_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_instructions as *const _ as usize }, 248usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_instructions) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cycles as *const _ as usize }, 256usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_cycles) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_billed_energy as *const _ as usize }, 264usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_billed_energy) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_serviced_energy as *const _ as usize }, 272usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_serviced_energy) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_interval_max_phys_footprint as *const _ as usize }, 280usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_interval_max_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_runnable_time as *const _ as usize }, 288usize, concat!( "Offset of field: ", stringify!(rusage_info_v4), "::", stringify!(ri_runnable_time) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct rusage_info_v5 { pub ri_uuid: [u8; 16usize], pub ri_user_time: u64, pub ri_system_time: u64, pub ri_pkg_idle_wkups: u64, pub ri_interrupt_wkups: u64, pub ri_pageins: u64, pub ri_wired_size: u64, pub ri_resident_size: u64, pub ri_phys_footprint: u64, pub ri_proc_start_abstime: u64, pub ri_proc_exit_abstime: u64, pub ri_child_user_time: u64, pub ri_child_system_time: u64, pub ri_child_pkg_idle_wkups: u64, pub ri_child_interrupt_wkups: u64, pub ri_child_pageins: u64, pub ri_child_elapsed_abstime: u64, pub ri_diskio_bytesread: u64, pub ri_diskio_byteswritten: u64, pub ri_cpu_time_qos_default: u64, pub ri_cpu_time_qos_maintenance: u64, pub ri_cpu_time_qos_background: u64, pub ri_cpu_time_qos_utility: u64, pub ri_cpu_time_qos_legacy: u64, pub ri_cpu_time_qos_user_initiated: u64, pub ri_cpu_time_qos_user_interactive: u64, pub ri_billed_system_time: u64, pub ri_serviced_system_time: u64, pub ri_logical_writes: u64, pub ri_lifetime_max_phys_footprint: u64, pub ri_instructions: u64, pub ri_cycles: u64, pub ri_billed_energy: u64, pub ri_serviced_energy: u64, pub ri_interval_max_phys_footprint: u64, pub ri_runnable_time: u64, pub ri_flags: u64, } #[test] fn bindgen_test_layout_rusage_info_v5() { assert_eq!( ::std::mem::size_of::(), 304usize, concat!("Size of: ", stringify!(rusage_info_v5)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(rusage_info_v5)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_uuid as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_uuid) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_user_time as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_system_time as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pkg_idle_wkups as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_interrupt_wkups as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_pageins as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_wired_size as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_wired_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_resident_size as *const _ as usize }, 64usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_resident_size) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_phys_footprint as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_start_abstime as *const _ as usize }, 80usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_proc_start_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_proc_exit_abstime as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_proc_exit_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_user_time as *const _ as usize }, 96usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_child_user_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_system_time as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_child_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pkg_idle_wkups as *const _ as usize }, 112usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_child_pkg_idle_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_interrupt_wkups as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_child_interrupt_wkups) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_pageins as *const _ as usize }, 128usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_child_pageins) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_child_elapsed_abstime as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_child_elapsed_abstime) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_diskio_bytesread as *const _ as usize }, 144usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_diskio_bytesread) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_diskio_byteswritten as *const _ as usize }, 152usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_diskio_byteswritten) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_default as *const _ as usize }, 160usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_cpu_time_qos_default) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_maintenance as *const _ as usize }, 168usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_cpu_time_qos_maintenance) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_background as *const _ as usize }, 176usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_cpu_time_qos_background) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_utility as *const _ as usize }, 184usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_cpu_time_qos_utility) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_legacy as *const _ as usize }, 192usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_cpu_time_qos_legacy) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_user_initiated as *const _ as usize }, 200usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_cpu_time_qos_user_initiated) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cpu_time_qos_user_interactive as *const _ as usize }, 208usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_cpu_time_qos_user_interactive) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_billed_system_time as *const _ as usize }, 216usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_billed_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_serviced_system_time as *const _ as usize }, 224usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_serviced_system_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_logical_writes as *const _ as usize }, 232usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_logical_writes) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_lifetime_max_phys_footprint as *const _ as usize }, 240usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_lifetime_max_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_instructions as *const _ as usize }, 248usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_instructions) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_cycles as *const _ as usize }, 256usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_cycles) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_billed_energy as *const _ as usize }, 264usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_billed_energy) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_serviced_energy as *const _ as usize }, 272usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_serviced_energy) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_interval_max_phys_footprint as *const _ as usize }, 280usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_interval_max_phys_footprint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_runnable_time as *const _ as usize }, 288usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_runnable_time) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).ri_flags as *const _ as usize }, 296usize, concat!( "Offset of field: ", stringify!(rusage_info_v5), "::", stringify!(ri_flags) ) ); } pub type rusage_info_current = rusage_info_v5; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct rlimit { pub rlim_cur: rlim_t, pub rlim_max: rlim_t, } #[test] fn bindgen_test_layout_rlimit() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(rlimit)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(rlimit)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).rlim_cur as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(rlimit), "::", stringify!(rlim_cur) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).rlim_max as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(rlimit), "::", stringify!(rlim_max) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct proc_rlimit_control_wakeupmon { pub wm_flags: u32, pub wm_rate: i32, } #[test] fn bindgen_test_layout_proc_rlimit_control_wakeupmon() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(proc_rlimit_control_wakeupmon)) ); assert_eq!( ::std::mem::align_of::(), 4usize, concat!("Alignment of ", stringify!(proc_rlimit_control_wakeupmon)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).wm_flags as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(proc_rlimit_control_wakeupmon), "::", stringify!(wm_flags) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).wm_rate as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(proc_rlimit_control_wakeupmon), "::", stringify!(wm_rate) ) ); } extern "C" { pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int; } extern "C" { pub fn getiopolicy_np( arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } extern "C" { pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int; } extern "C" { pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int; } extern "C" { pub fn setpriority( arg1: ::std::os::raw::c_int, arg2: id_t, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } extern "C" { pub fn setiopolicy_np( arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } extern "C" { pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int; } #[repr(C)] #[derive(Copy, Clone)] pub union wait { pub w_status: ::std::os::raw::c_int, pub w_T: wait__bindgen_ty_1, pub w_S: wait__bindgen_ty_2, _bindgen_union_align: u32, } #[repr(C)] #[repr(align(4))] #[derive(Debug, Copy, Clone)] pub struct wait__bindgen_ty_1 { pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u16>, } #[test] fn bindgen_test_layout_wait__bindgen_ty_1() { assert_eq!( ::std::mem::size_of::(), 4usize, concat!("Size of: ", stringify!(wait__bindgen_ty_1)) ); assert_eq!( ::std::mem::align_of::(), 4usize, concat!("Alignment of ", stringify!(wait__bindgen_ty_1)) ); } impl wait__bindgen_ty_1 { #[inline] pub fn w_Termsig(&self) -> ::std::os::raw::c_uint { unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) } } #[inline] pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(0usize, 7u8, val as u64) } } #[inline] pub fn w_Coredump(&self) -> ::std::os::raw::c_uint { unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } } #[inline] pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(7usize, 1u8, val as u64) } } #[inline] pub fn w_Retcode(&self) -> ::std::os::raw::c_uint { unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } } #[inline] pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(8usize, 8u8, val as u64) } } #[inline] pub fn w_Filler(&self) -> ::std::os::raw::c_uint { unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } } #[inline] pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(16usize, 16u8, val as u64) } } #[inline] pub fn new_bitfield_1( w_Termsig: ::std::os::raw::c_uint, w_Coredump: ::std::os::raw::c_uint, w_Retcode: ::std::os::raw::c_uint, w_Filler: ::std::os::raw::c_uint, ) -> __BindgenBitfieldUnit<[u8; 4usize], u16> { let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u16> = Default::default(); __bindgen_bitfield_unit.set(0usize, 7u8, { let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) }; w_Termsig as u64 }); __bindgen_bitfield_unit.set(7usize, 1u8, { let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) }; w_Coredump as u64 }); __bindgen_bitfield_unit.set(8usize, 8u8, { let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) }; w_Retcode as u64 }); __bindgen_bitfield_unit.set(16usize, 16u8, { let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; w_Filler as u64 }); __bindgen_bitfield_unit } } #[repr(C)] #[repr(align(4))] #[derive(Debug, Copy, Clone)] pub struct wait__bindgen_ty_2 { pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u16>, } #[test] fn bindgen_test_layout_wait__bindgen_ty_2() { assert_eq!( ::std::mem::size_of::(), 4usize, concat!("Size of: ", stringify!(wait__bindgen_ty_2)) ); assert_eq!( ::std::mem::align_of::(), 4usize, concat!("Alignment of ", stringify!(wait__bindgen_ty_2)) ); } impl wait__bindgen_ty_2 { #[inline] pub fn w_Stopval(&self) -> ::std::os::raw::c_uint { unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } } #[inline] pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(0usize, 8u8, val as u64) } } #[inline] pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint { unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } } #[inline] pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(8usize, 8u8, val as u64) } } #[inline] pub fn w_Filler(&self) -> ::std::os::raw::c_uint { unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } } #[inline] pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { unsafe { let val: u32 = ::std::mem::transmute(val); self._bitfield_1.set(16usize, 16u8, val as u64) } } #[inline] pub fn new_bitfield_1( w_Stopval: ::std::os::raw::c_uint, w_Stopsig: ::std::os::raw::c_uint, w_Filler: ::std::os::raw::c_uint, ) -> __BindgenBitfieldUnit<[u8; 4usize], u16> { let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u16> = Default::default(); __bindgen_bitfield_unit.set(0usize, 8u8, { let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) }; w_Stopval as u64 }); __bindgen_bitfield_unit.set(8usize, 8u8, { let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) }; w_Stopsig as u64 }); __bindgen_bitfield_unit.set(16usize, 16u8, { let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; w_Filler as u64 }); __bindgen_bitfield_unit } } #[test] fn bindgen_test_layout_wait() { assert_eq!( ::std::mem::size_of::(), 4usize, concat!("Size of: ", stringify!(wait)) ); assert_eq!( ::std::mem::align_of::(), 4usize, concat!("Alignment of ", stringify!(wait)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).w_status as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(wait), "::", stringify!(w_status) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).w_T as *const _ as usize }, 0usize, concat!("Offset of field: ", stringify!(wait), "::", stringify!(w_T)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).w_S as *const _ as usize }, 0usize, concat!("Offset of field: ", stringify!(wait), "::", stringify!(w_S)) ); } extern "C" { pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t; } extern "C" { pub fn waitpid( arg1: pid_t, arg2: *mut ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ) -> pid_t; } extern "C" { pub fn waitid( arg1: idtype_t, arg2: id_t, arg3: *mut siginfo_t, arg4: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } extern "C" { pub fn wait3( arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, arg3: *mut rusage, ) -> pid_t; } extern "C" { pub fn wait4( arg1: pid_t, arg2: *mut ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, arg4: *mut rusage, ) -> pid_t; } extern "C" { pub fn alloca(arg1: size_t) -> *mut ::std::os::raw::c_void; } pub type ct_rune_t = __darwin_ct_rune_t; pub type rune_t = __darwin_rune_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct div_t { pub quot: ::std::os::raw::c_int, pub rem: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout_div_t() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(div_t)) ); assert_eq!( ::std::mem::align_of::(), 4usize, concat!("Alignment of ", stringify!(div_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).quot as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(div_t), "::", stringify!(quot) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).rem as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(div_t), "::", stringify!(rem) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ldiv_t { pub quot: ::std::os::raw::c_long, pub rem: ::std::os::raw::c_long, } #[test] fn bindgen_test_layout_ldiv_t() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(ldiv_t)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(ldiv_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).quot as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(ldiv_t), "::", stringify!(quot) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).rem as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(ldiv_t), "::", stringify!(rem) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct lldiv_t { pub quot: ::std::os::raw::c_longlong, pub rem: ::std::os::raw::c_longlong, } #[test] fn bindgen_test_layout_lldiv_t() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(lldiv_t)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(lldiv_t)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).quot as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(lldiv_t), "::", stringify!(quot) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).rem as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(lldiv_t), "::", stringify!(rem) ) ); } extern "C" { pub static mut __mb_cur_max: ::std::os::raw::c_int; } extern "C" { pub fn malloc(__size: size_t) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn calloc(__count: size_t, __size: size_t) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn free(arg1: *mut ::std::os::raw::c_void); } extern "C" { pub fn realloc( __ptr: *mut ::std::os::raw::c_void, __size: size_t, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn valloc(arg1: size_t) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn aligned_alloc(__alignment: size_t, __size: size_t) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn posix_memalign( __memptr: *mut *mut ::std::os::raw::c_void, __alignment: size_t, __size: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn abort(); } extern "C" { pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn atexit(arg1: ::std::option::Option) -> ::std::os::raw::c_int; } extern "C" { pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64; } extern "C" { pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } extern "C" { pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } extern "C" { pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; } extern "C" { pub fn bsearch( __key: *const ::std::os::raw::c_void, __base: *const ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: ::std::option::Option< unsafe extern "C" fn( arg1: *const ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t; } extern "C" { pub fn exit(arg1: ::std::os::raw::c_int); } extern "C" { pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long; } extern "C" { pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t; } extern "C" { pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; } extern "C" { pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t; } extern "C" { pub fn mblen(__s: *const ::std::os::raw::c_char, __n: size_t) -> ::std::os::raw::c_int; } extern "C" { pub fn mbstowcs(arg1: *mut u32, arg2: *const ::std::os::raw::c_char, arg3: size_t) -> size_t; } extern "C" { pub fn mbtowc( arg1: *mut u32, arg2: *const ::std::os::raw::c_char, arg3: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn qsort( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: ::std::option::Option< unsafe extern "C" fn( arg1: *const ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, ); } extern "C" { pub fn rand() -> ::std::os::raw::c_int; } extern "C" { pub fn srand(arg1: ::std::os::raw::c_uint); } extern "C" { pub fn strtod( arg1: *const ::std::os::raw::c_char, arg2: *mut *mut ::std::os::raw::c_char, ) -> f64; } extern "C" { pub fn strtof( arg1: *const ::std::os::raw::c_char, arg2: *mut *mut ::std::os::raw::c_char, ) -> f32; } extern "C" { pub fn strtol( __str: *const ::std::os::raw::c_char, __endptr: *mut *mut ::std::os::raw::c_char, __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_long; } extern "C" { pub fn strtold( arg1: *const ::std::os::raw::c_char, arg2: *mut *mut ::std::os::raw::c_char, ) -> u128; } extern "C" { pub fn strtoll( __str: *const ::std::os::raw::c_char, __endptr: *mut *mut ::std::os::raw::c_char, __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_longlong; } extern "C" { pub fn strtoul( __str: *const ::std::os::raw::c_char, __endptr: *mut *mut ::std::os::raw::c_char, __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_ulong; } extern "C" { pub fn strtoull( __str: *const ::std::os::raw::c_char, __endptr: *mut *mut ::std::os::raw::c_char, __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_ulonglong; } extern "C" { pub fn system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } extern "C" { pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const u32, arg3: size_t) -> size_t; } extern "C" { pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: u32) -> ::std::os::raw::c_int; } extern "C" { pub fn _Exit(arg1: ::std::os::raw::c_int); } extern "C" { pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; } extern "C" { pub fn drand48() -> f64; } extern "C" { pub fn ecvt( arg1: f64, arg2: ::std::os::raw::c_int, arg3: *mut ::std::os::raw::c_int, arg4: *mut ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64; } extern "C" { pub fn fcvt( arg1: f64, arg2: ::std::os::raw::c_int, arg3: *mut ::std::os::raw::c_int, arg4: *mut ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn gcvt( arg1: f64, arg2: ::std::os::raw::c_int, arg3: *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn getsubopt( arg1: *mut *mut ::std::os::raw::c_char, arg2: *const *mut ::std::os::raw::c_char, arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn initstate( arg1: ::std::os::raw::c_uint, arg2: *mut ::std::os::raw::c_char, arg3: size_t, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } extern "C" { pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort); } extern "C" { pub fn lrand48() -> ::std::os::raw::c_long; } extern "C" { pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } extern "C" { pub fn mrand48() -> ::std::os::raw::c_long; } extern "C" { pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; } extern "C" { pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn ptsname_r( fildes: ::std::os::raw::c_int, buffer: *mut ::std::os::raw::c_char, buflen: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; } extern "C" { pub fn random() -> ::std::os::raw::c_long; } extern "C" { pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}_realpath$DARWIN_EXTSN"] pub fn realpath( arg1: *const ::std::os::raw::c_char, arg2: *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; } extern "C" { pub fn setenv( __name: *const ::std::os::raw::c_char, __value: *const ::std::os::raw::c_char, __overwrite: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } extern "C" { pub fn setkey(arg1: *const ::std::os::raw::c_char); } extern "C" { pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn srand48(arg1: ::std::os::raw::c_long); } extern "C" { pub fn srandom(arg1: ::std::os::raw::c_uint); } extern "C" { pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } pub type dev_t = __darwin_dev_t; pub type mode_t = __darwin_mode_t; extern "C" { pub fn arc4random() -> u32; } extern "C" { pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int); } extern "C" { pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: size_t); } extern "C" { pub fn arc4random_stir(); } extern "C" { pub fn arc4random_uniform(__upper_bound: u32) -> u32; } extern "C" { pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; } extern "C" { pub fn bsearch_b( __key: *const ::std::os::raw::c_void, __base: *const ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn cgetcap( arg1: *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn cgetclose() -> ::std::os::raw::c_int; } extern "C" { pub fn cgetent( arg1: *mut *mut ::std::os::raw::c_char, arg2: *mut *mut ::std::os::raw::c_char, arg3: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn cgetfirst( arg1: *mut *mut ::std::os::raw::c_char, arg2: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn cgetmatch( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn cgetnext( arg1: *mut *mut ::std::os::raw::c_char, arg2: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn cgetnum( arg1: *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: *mut ::std::os::raw::c_long, ) -> ::std::os::raw::c_int; } extern "C" { pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } extern "C" { pub fn cgetstr( arg1: *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn cgetustr( arg1: *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { #[link_name = "\u{1}_daemon$1050"] pub fn daemon( arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } extern "C" { pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn devname_r( arg1: dev_t, arg2: mode_t, buf: *mut ::std::os::raw::c_char, len: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn getbsize( arg1: *mut ::std::os::raw::c_int, arg2: *mut ::std::os::raw::c_long, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn getprogname() -> *const ::std::os::raw::c_char; } extern "C" { pub fn setprogname(arg1: *const ::std::os::raw::c_char); } extern "C" { pub fn heapsort( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: ::std::option::Option< unsafe extern "C" fn( arg1: *const ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, ) -> ::std::os::raw::c_int; } extern "C" { pub fn heapsort_b( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } extern "C" { pub fn mergesort( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: ::std::option::Option< unsafe extern "C" fn( arg1: *const ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, ) -> ::std::os::raw::c_int; } extern "C" { pub fn mergesort_b( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } extern "C" { pub fn psort( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: ::std::option::Option< unsafe extern "C" fn( arg1: *const ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, ); } extern "C" { pub fn psort_b( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: *mut ::std::os::raw::c_void, ); } extern "C" { pub fn psort_r( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, arg1: *mut ::std::os::raw::c_void, __compar: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_void, arg3: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, ); } extern "C" { pub fn qsort_b( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, __compar: *mut ::std::os::raw::c_void, ); } extern "C" { pub fn qsort_r( __base: *mut ::std::os::raw::c_void, __nel: size_t, __width: size_t, arg1: *mut ::std::os::raw::c_void, __compar: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_void, arg3: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, ); } extern "C" { pub fn radixsort( __base: *mut *const ::std::os::raw::c_uchar, __nel: ::std::os::raw::c_int, __table: *const ::std::os::raw::c_uchar, __endbyte: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int; } extern "C" { pub fn rpmatch(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } extern "C" { pub fn sradixsort( __base: *mut *const ::std::os::raw::c_uchar, __nel: ::std::os::raw::c_int, __table: *const ::std::os::raw::c_uchar, __endbyte: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int; } extern "C" { pub fn sranddev(); } extern "C" { pub fn srandomdev(); } extern "C" { pub fn reallocf( __ptr: *mut ::std::os::raw::c_void, __size: size_t, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn strtonum( __numstr: *const ::std::os::raw::c_char, __minval: ::std::os::raw::c_longlong, __maxval: ::std::os::raw::c_longlong, __errstrp: *mut *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_longlong; } extern "C" { pub fn strtoq( __str: *const ::std::os::raw::c_char, __endptr: *mut *mut ::std::os::raw::c_char, __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_longlong; } extern "C" { pub fn strtouq( __str: *const ::std::os::raw::c_char, __endptr: *mut *mut ::std::os::raw::c_char, __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_ulonglong; } extern "C" { pub static mut suboptarg: *mut ::std::os::raw::c_char; } pub type mbstate_t = __darwin_mbstate_t; pub type va_list = __builtin_va_list; pub type __gnuc_va_list = __builtin_va_list; extern "C" { pub fn renameat( arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, arg4: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn renamex_np( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int; } extern "C" { pub fn renameatx_np( arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, arg4: *const ::std::os::raw::c_char, arg5: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int; } pub type fpos_t = __darwin_off_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __sbuf { pub _base: *mut ::std::os::raw::c_uchar, pub _size: ::std::os::raw::c_int, } #[test] fn bindgen_test_layout___sbuf() { assert_eq!( ::std::mem::size_of::<__sbuf>(), 16usize, concat!("Size of: ", stringify!(__sbuf)) ); assert_eq!( ::std::mem::align_of::<__sbuf>(), 8usize, concat!("Alignment of ", stringify!(__sbuf)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sbuf>()))._base as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__sbuf), "::", stringify!(_base) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sbuf>()))._size as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__sbuf), "::", stringify!(_size) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __sFILEX { _unused: [u8; 0], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __sFILE { pub _p: *mut ::std::os::raw::c_uchar, pub _r: ::std::os::raw::c_int, pub _w: ::std::os::raw::c_int, pub _flags: ::std::os::raw::c_short, pub _file: ::std::os::raw::c_short, pub _bf: __sbuf, pub _lbfsize: ::std::os::raw::c_int, pub _cookie: *mut ::std::os::raw::c_void, pub _close: ::std::option::Option< unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, >, pub _read: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pub _seek: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: fpos_t, arg3: ::std::os::raw::c_int, ) -> fpos_t, >, pub _write: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pub _ub: __sbuf, pub _extra: *mut __sFILEX, pub _ur: ::std::os::raw::c_int, pub _ubuf: [::std::os::raw::c_uchar; 3usize], pub _nbuf: [::std::os::raw::c_uchar; 1usize], pub _lb: __sbuf, pub _blksize: ::std::os::raw::c_int, pub _offset: fpos_t, } #[test] fn bindgen_test_layout___sFILE() { assert_eq!( ::std::mem::size_of::<__sFILE>(), 152usize, concat!("Size of: ", stringify!(__sFILE)) ); assert_eq!( ::std::mem::align_of::<__sFILE>(), 8usize, concat!("Alignment of ", stringify!(__sFILE)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._p as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_p) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._r as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_r) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._w as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_w) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._flags as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_flags) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._file as *const _ as usize }, 18usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_file) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._bf as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_bf) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._lbfsize as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_lbfsize) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._cookie as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_cookie) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._close as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_close) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._read as *const _ as usize }, 64usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_read) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._seek as *const _ as usize }, 72usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_seek) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._write as *const _ as usize }, 80usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_write) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._ub as *const _ as usize }, 88usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_ub) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._extra as *const _ as usize }, 104usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_extra) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._ur as *const _ as usize }, 112usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_ur) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._ubuf as *const _ as usize }, 116usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_ubuf) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._nbuf as *const _ as usize }, 119usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_nbuf) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._lb as *const _ as usize }, 120usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_lb) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._blksize as *const _ as usize }, 136usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_blksize) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sFILE>()))._offset as *const _ as usize }, 144usize, concat!( "Offset of field: ", stringify!(__sFILE), "::", stringify!(_offset) ) ); } pub type FILE = __sFILE; extern "C" { pub static mut __stdinp: *mut FILE; } extern "C" { pub static mut __stdoutp: *mut FILE; } extern "C" { pub static mut __stderrp: *mut FILE; } extern "C" { pub fn clearerr(arg1: *mut FILE); } extern "C" { pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; } extern "C" { pub fn fgets( arg1: *mut ::std::os::raw::c_char, arg2: ::std::os::raw::c_int, arg3: *mut FILE, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn fopen( __filename: *const ::std::os::raw::c_char, __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } extern "C" { pub fn fprintf( arg1: *mut FILE, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } extern "C" { pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn fread( __ptr: *mut ::std::os::raw::c_void, __size: size_t, __nitems: size_t, __stream: *mut FILE, ) -> size_t; } extern "C" { pub fn freopen( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: *mut FILE, ) -> *mut FILE; } extern "C" { pub fn fscanf( arg1: *mut FILE, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } extern "C" { pub fn fseek( arg1: *mut FILE, arg2: ::std::os::raw::c_long, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } extern "C" { pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; } extern "C" { pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; } extern "C" { pub fn fwrite( __ptr: *const ::std::os::raw::c_void, __size: size_t, __nitems: size_t, __stream: *mut FILE, ) -> size_t; } extern "C" { pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn getchar() -> ::std::os::raw::c_int; } extern "C" { pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn perror(arg1: *const ::std::os::raw::c_char); } extern "C" { pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } extern "C" { pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } extern "C" { pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; } extern "C" { pub fn rename( __old: *const ::std::os::raw::c_char, __new: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn rewind(arg1: *mut FILE); } extern "C" { pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; } extern "C" { pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); } extern "C" { pub fn setvbuf( arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, arg4: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn sprintf( arg1: *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } extern "C" { pub fn sscanf( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } extern "C" { pub fn tmpfile() -> *mut FILE; } extern "C" { pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn vfprintf( arg1: *mut FILE, arg2: *const ::std::os::raw::c_char, arg3: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn vprintf( arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn vsprintf( arg1: *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; } extern "C" { pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn popen( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ) -> *mut FILE; } extern "C" { pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn __svfscanf( arg1: *mut FILE, arg2: *const ::std::os::raw::c_char, arg3: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn flockfile(arg1: *mut FILE); } extern "C" { pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn funlockfile(arg1: *mut FILE); } extern "C" { pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn getchar_unlocked() -> ::std::os::raw::c_int; } extern "C" { pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn tempnam( __dir: *const ::std::os::raw::c_char, __prefix: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } pub type off_t = __darwin_off_t; extern "C" { pub fn fseeko( __stream: *mut FILE, __offset: off_t, __whence: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } extern "C" { pub fn ftello(__stream: *mut FILE) -> off_t; } extern "C" { pub fn snprintf( __str: *mut ::std::os::raw::c_char, __size: size_t, __format: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } extern "C" { pub fn vfscanf( __stream: *mut FILE, __format: *const ::std::os::raw::c_char, arg1: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn vscanf( __format: *const ::std::os::raw::c_char, arg1: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn vsnprintf( __str: *mut ::std::os::raw::c_char, __size: size_t, __format: *const ::std::os::raw::c_char, arg1: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn vsscanf( __str: *const ::std::os::raw::c_char, __format: *const ::std::os::raw::c_char, arg1: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } pub type ssize_t = __darwin_ssize_t; extern "C" { pub fn dprintf( arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } extern "C" { pub fn vdprintf( arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, arg3: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn getdelim( __linep: *mut *mut ::std::os::raw::c_char, __linecapp: *mut size_t, __delimiter: ::std::os::raw::c_int, __stream: *mut FILE, ) -> ssize_t; } extern "C" { pub fn getline( __linep: *mut *mut ::std::os::raw::c_char, __linecapp: *mut size_t, __stream: *mut FILE, ) -> ssize_t; } extern "C" { pub fn fmemopen( __buf: *mut ::std::os::raw::c_void, __size: size_t, __mode: *const ::std::os::raw::c_char, ) -> *mut FILE; } extern "C" { pub fn open_memstream( __bufp: *mut *mut ::std::os::raw::c_char, __sizep: *mut size_t, ) -> *mut FILE; } extern "C" { pub static sys_nerr: ::std::os::raw::c_int; } extern "C" { pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; } extern "C" { pub fn asprintf( arg1: *mut *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ... ) -> ::std::os::raw::c_int; } extern "C" { pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn fgetln(arg1: *mut FILE, arg2: *mut size_t) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn fmtcheck( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; } extern "C" { pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn setbuffer( arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, ); } extern "C" { pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn vasprintf( arg1: *mut *mut ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn zopen( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, ) -> *mut FILE; } extern "C" { pub fn funopen( arg1: *const ::std::os::raw::c_void, arg2: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, arg3: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, arg4: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: fpos_t, arg3: ::std::os::raw::c_int, ) -> fpos_t, >, arg5: ::std::option::Option< unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, >, ) -> *mut FILE; } pub type clock_t = __darwin_clock_t; pub type time_t = __darwin_time_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timespec { pub tv_sec: __darwin_time_t, pub tv_nsec: ::std::os::raw::c_long, } #[test] fn bindgen_test_layout_timespec() { assert_eq!( ::std::mem::size_of::(), 16usize, concat!("Size of: ", stringify!(timespec)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(timespec)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tv_sec as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(timespec), "::", stringify!(tv_sec) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tv_nsec as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(timespec), "::", stringify!(tv_nsec) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct tm { pub tm_sec: ::std::os::raw::c_int, pub tm_min: ::std::os::raw::c_int, pub tm_hour: ::std::os::raw::c_int, pub tm_mday: ::std::os::raw::c_int, pub tm_mon: ::std::os::raw::c_int, pub tm_year: ::std::os::raw::c_int, pub tm_wday: ::std::os::raw::c_int, pub tm_yday: ::std::os::raw::c_int, pub tm_isdst: ::std::os::raw::c_int, pub tm_gmtoff: ::std::os::raw::c_long, pub tm_zone: *mut ::std::os::raw::c_char, } #[test] fn bindgen_test_layout_tm() { assert_eq!( ::std::mem::size_of::(), 56usize, concat!("Size of: ", stringify!(tm)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(tm)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_sec as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_sec) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_min as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_min) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_hour as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_hour) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_mday as *const _ as usize }, 12usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_mday) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_mon as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_mon) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_year as *const _ as usize }, 20usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_year) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_wday as *const _ as usize }, 24usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_wday) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_yday as *const _ as usize }, 28usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_yday) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_isdst as *const _ as usize }, 32usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_isdst) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_gmtoff as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_gmtoff) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).tm_zone as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(tm), "::", stringify!(tm_zone) ) ); } extern "C" { pub static mut tzname: [*mut ::std::os::raw::c_char; 0usize]; } extern "C" { pub static mut getdate_err: ::std::os::raw::c_int; } extern "C" { pub static mut timezone: ::std::os::raw::c_long; } extern "C" { pub static mut daylight: ::std::os::raw::c_int; } extern "C" { pub fn asctime(arg1: *const tm) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn clock() -> clock_t; } extern "C" { pub fn ctime(arg1: *const time_t) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn difftime(arg1: time_t, arg2: time_t) -> f64; } extern "C" { pub fn getdate(arg1: *const ::std::os::raw::c_char) -> *mut tm; } extern "C" { pub fn gmtime(arg1: *const time_t) -> *mut tm; } extern "C" { pub fn localtime(arg1: *const time_t) -> *mut tm; } extern "C" { pub fn mktime(arg1: *mut tm) -> time_t; } extern "C" { pub fn strftime( arg1: *mut ::std::os::raw::c_char, arg2: size_t, arg3: *const ::std::os::raw::c_char, arg4: *const tm, ) -> size_t; } extern "C" { pub fn strptime( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: *mut tm, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn time(arg1: *mut time_t) -> time_t; } extern "C" { pub fn tzset(); } extern "C" { pub fn asctime_r( arg1: *const tm, arg2: *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn ctime_r( arg1: *const time_t, arg2: *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn gmtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } extern "C" { pub fn localtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; } extern "C" { pub fn posix2time(arg1: time_t) -> time_t; } extern "C" { pub fn tzsetwall(); } extern "C" { pub fn time2posix(arg1: time_t) -> time_t; } extern "C" { pub fn timelocal(arg1: *mut tm) -> time_t; } extern "C" { pub fn timegm(arg1: *mut tm) -> time_t; } extern "C" { pub fn nanosleep(__rqtp: *const timespec, __rmtp: *mut timespec) -> ::std::os::raw::c_int; } pub const clockid_t__CLOCK_REALTIME: clockid_t = 0; pub const clockid_t__CLOCK_MONOTONIC: clockid_t = 6; pub const clockid_t__CLOCK_MONOTONIC_RAW: clockid_t = 4; pub const clockid_t__CLOCK_MONOTONIC_RAW_APPROX: clockid_t = 5; pub const clockid_t__CLOCK_UPTIME_RAW: clockid_t = 8; pub const clockid_t__CLOCK_UPTIME_RAW_APPROX: clockid_t = 9; pub const clockid_t__CLOCK_PROCESS_CPUTIME_ID: clockid_t = 12; pub const clockid_t__CLOCK_THREAD_CPUTIME_ID: clockid_t = 16; pub type clockid_t = u32; extern "C" { pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int; } extern "C" { pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int; } extern "C" { pub fn clock_gettime_nsec_np(__clock_id: clockid_t) -> __uint64_t; } extern "C" { pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int; } pub type wctype_t = __darwin_wctype_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _RuneEntry { pub __min: __darwin_rune_t, pub __max: __darwin_rune_t, pub __map: __darwin_rune_t, pub __types: *mut __uint32_t, } #[test] fn bindgen_test_layout__RuneEntry() { assert_eq!( ::std::mem::size_of::<_RuneEntry>(), 24usize, concat!("Size of: ", stringify!(_RuneEntry)) ); assert_eq!( ::std::mem::align_of::<_RuneEntry>(), 8usize, concat!("Alignment of ", stringify!(_RuneEntry)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneEntry>())).__min as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_RuneEntry), "::", stringify!(__min) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneEntry>())).__max as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(_RuneEntry), "::", stringify!(__max) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneEntry>())).__map as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_RuneEntry), "::", stringify!(__map) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneEntry>())).__types as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(_RuneEntry), "::", stringify!(__types) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _RuneRange { pub __nranges: ::std::os::raw::c_int, pub __ranges: *mut _RuneEntry, } #[test] fn bindgen_test_layout__RuneRange() { assert_eq!( ::std::mem::size_of::<_RuneRange>(), 16usize, concat!("Size of: ", stringify!(_RuneRange)) ); assert_eq!( ::std::mem::align_of::<_RuneRange>(), 8usize, concat!("Alignment of ", stringify!(_RuneRange)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneRange>())).__nranges as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_RuneRange), "::", stringify!(__nranges) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneRange>())).__ranges as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_RuneRange), "::", stringify!(__ranges) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _RuneCharClass { pub __name: [::std::os::raw::c_char; 14usize], pub __mask: __uint32_t, } #[test] fn bindgen_test_layout__RuneCharClass() { assert_eq!( ::std::mem::size_of::<_RuneCharClass>(), 20usize, concat!("Size of: ", stringify!(_RuneCharClass)) ); assert_eq!( ::std::mem::align_of::<_RuneCharClass>(), 4usize, concat!("Alignment of ", stringify!(_RuneCharClass)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneCharClass>())).__name as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_RuneCharClass), "::", stringify!(__name) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneCharClass>())).__mask as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(_RuneCharClass), "::", stringify!(__mask) ) ); } #[repr(C)] #[derive(Copy, Clone)] pub struct _RuneLocale { pub __magic: [::std::os::raw::c_char; 8usize], pub __encoding: [::std::os::raw::c_char; 32usize], pub __sgetrune: ::std::option::Option< unsafe extern "C" fn( arg1: *const ::std::os::raw::c_char, arg2: __darwin_size_t, arg3: *mut *const ::std::os::raw::c_char, ) -> __darwin_rune_t, >, pub __sputrune: ::std::option::Option< unsafe extern "C" fn( arg1: __darwin_rune_t, arg2: *mut ::std::os::raw::c_char, arg3: __darwin_size_t, arg4: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int, >, pub __invalid_rune: __darwin_rune_t, pub __runetype: [__uint32_t; 256usize], pub __maplower: [__darwin_rune_t; 256usize], pub __mapupper: [__darwin_rune_t; 256usize], pub __runetype_ext: _RuneRange, pub __maplower_ext: _RuneRange, pub __mapupper_ext: _RuneRange, pub __variable: *mut ::std::os::raw::c_void, pub __variable_len: ::std::os::raw::c_int, pub __ncharclasses: ::std::os::raw::c_int, pub __charclasses: *mut _RuneCharClass, } #[test] fn bindgen_test_layout__RuneLocale() { assert_eq!( ::std::mem::size_of::<_RuneLocale>(), 3208usize, concat!("Size of: ", stringify!(_RuneLocale)) ); assert_eq!( ::std::mem::align_of::<_RuneLocale>(), 8usize, concat!("Alignment of ", stringify!(_RuneLocale)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__magic as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__magic) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__encoding as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__encoding) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__sgetrune as *const _ as usize }, 40usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__sgetrune) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__sputrune as *const _ as usize }, 48usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__sputrune) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__invalid_rune as *const _ as usize }, 56usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__invalid_rune) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__runetype as *const _ as usize }, 60usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__runetype) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__maplower as *const _ as usize }, 1084usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__maplower) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__mapupper as *const _ as usize }, 2108usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__mapupper) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__runetype_ext as *const _ as usize }, 3136usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__runetype_ext) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__maplower_ext as *const _ as usize }, 3152usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__maplower_ext) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__mapupper_ext as *const _ as usize }, 3168usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__mapupper_ext) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__variable as *const _ as usize }, 3184usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__variable) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__variable_len as *const _ as usize }, 3192usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__variable_len) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__ncharclasses as *const _ as usize }, 3196usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__ncharclasses) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<_RuneLocale>())).__charclasses as *const _ as usize }, 3200usize, concat!( "Offset of field: ", stringify!(_RuneLocale), "::", stringify!(__charclasses) ) ); } extern "C" { pub static mut _DefaultRuneLocale: _RuneLocale; } extern "C" { pub static mut _CurrentRuneLocale: *mut _RuneLocale; } extern "C" { pub fn ___runetype(arg1: __darwin_ct_rune_t) -> ::std::os::raw::c_ulong; } extern "C" { pub fn ___tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } extern "C" { pub fn ___toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } extern "C" { pub fn __maskrune( arg1: __darwin_ct_rune_t, arg2: ::std::os::raw::c_ulong, ) -> ::std::os::raw::c_int; } extern "C" { pub fn __toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } extern "C" { pub fn __tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; } extern "C" { pub fn wctype(arg1: *const ::std::os::raw::c_char) -> wctype_t; } extern "C" { pub fn btowc(arg1: ::std::os::raw::c_int) -> wint_t; } extern "C" { pub fn fgetwc(arg1: *mut FILE) -> wint_t; } extern "C" { pub fn fgetws(arg1: *mut u32, arg2: ::std::os::raw::c_int, arg3: *mut FILE) -> *mut u32; } extern "C" { pub fn fputwc(arg1: u32, arg2: *mut FILE) -> wint_t; } extern "C" { pub fn fputws(arg1: *const u32, arg2: *mut FILE) -> ::std::os::raw::c_int; } extern "C" { pub fn fwide(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn fwprintf(arg1: *mut FILE, arg2: *const u32, ...) -> ::std::os::raw::c_int; } extern "C" { pub fn fwscanf(arg1: *mut FILE, arg2: *const u32, ...) -> ::std::os::raw::c_int; } extern "C" { pub fn getwc(arg1: *mut FILE) -> wint_t; } extern "C" { pub fn getwchar() -> wint_t; } extern "C" { pub fn mbrlen( arg1: *const ::std::os::raw::c_char, arg2: size_t, arg3: *mut mbstate_t, ) -> size_t; } extern "C" { pub fn mbrtowc( arg1: *mut u32, arg2: *const ::std::os::raw::c_char, arg3: size_t, arg4: *mut mbstate_t, ) -> size_t; } extern "C" { pub fn mbsinit(arg1: *const mbstate_t) -> ::std::os::raw::c_int; } extern "C" { pub fn mbsrtowcs( arg1: *mut u32, arg2: *mut *const ::std::os::raw::c_char, arg3: size_t, arg4: *mut mbstate_t, ) -> size_t; } extern "C" { pub fn putwc(arg1: u32, arg2: *mut FILE) -> wint_t; } extern "C" { pub fn putwchar(arg1: u32) -> wint_t; } extern "C" { pub fn swprintf(arg1: *mut u32, arg2: size_t, arg3: *const u32, ...) -> ::std::os::raw::c_int; } extern "C" { pub fn swscanf(arg1: *const u32, arg2: *const u32, ...) -> ::std::os::raw::c_int; } extern "C" { pub fn ungetwc(arg1: wint_t, arg2: *mut FILE) -> wint_t; } extern "C" { pub fn vfwprintf( arg1: *mut FILE, arg2: *const u32, arg3: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn vswprintf( arg1: *mut u32, arg2: size_t, arg3: *const u32, arg4: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn vwprintf(arg1: *const u32, arg2: *mut __va_list_tag) -> ::std::os::raw::c_int; } extern "C" { pub fn wcrtomb(arg1: *mut ::std::os::raw::c_char, arg2: u32, arg3: *mut mbstate_t) -> size_t; } extern "C" { pub fn wcscat(arg1: *mut u32, arg2: *const u32) -> *mut u32; } extern "C" { pub fn wcschr(arg1: *const u32, arg2: u32) -> *mut u32; } extern "C" { pub fn wcscmp(arg1: *const u32, arg2: *const u32) -> ::std::os::raw::c_int; } extern "C" { pub fn wcscoll(arg1: *const u32, arg2: *const u32) -> ::std::os::raw::c_int; } extern "C" { pub fn wcscpy(arg1: *mut u32, arg2: *const u32) -> *mut u32; } extern "C" { pub fn wcscspn(arg1: *const u32, arg2: *const u32) -> size_t; } extern "C" { pub fn wcsftime(arg1: *mut u32, arg2: size_t, arg3: *const u32, arg4: *const tm) -> size_t; } extern "C" { pub fn wcslen(arg1: *const u32) -> size_t; } extern "C" { pub fn wcsncat(arg1: *mut u32, arg2: *const u32, arg3: size_t) -> *mut u32; } extern "C" { pub fn wcsncmp(arg1: *const u32, arg2: *const u32, arg3: size_t) -> ::std::os::raw::c_int; } extern "C" { pub fn wcsncpy(arg1: *mut u32, arg2: *const u32, arg3: size_t) -> *mut u32; } extern "C" { pub fn wcspbrk(arg1: *const u32, arg2: *const u32) -> *mut u32; } extern "C" { pub fn wcsrchr(arg1: *const u32, arg2: u32) -> *mut u32; } extern "C" { pub fn wcsrtombs( arg1: *mut ::std::os::raw::c_char, arg2: *mut *const u32, arg3: size_t, arg4: *mut mbstate_t, ) -> size_t; } extern "C" { pub fn wcsspn(arg1: *const u32, arg2: *const u32) -> size_t; } extern "C" { pub fn wcsstr(arg1: *const u32, arg2: *const u32) -> *mut u32; } extern "C" { pub fn wcsxfrm(arg1: *mut u32, arg2: *const u32, arg3: size_t) -> size_t; } extern "C" { pub fn wctob(arg1: wint_t) -> ::std::os::raw::c_int; } extern "C" { pub fn wcstod(arg1: *const u32, arg2: *mut *mut u32) -> f64; } extern "C" { pub fn wcstok(arg1: *mut u32, arg2: *const u32, arg3: *mut *mut u32) -> *mut u32; } extern "C" { pub fn wcstol( arg1: *const u32, arg2: *mut *mut u32, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_long; } extern "C" { pub fn wcstoul( arg1: *const u32, arg2: *mut *mut u32, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_ulong; } extern "C" { pub fn wmemchr(arg1: *const u32, arg2: u32, arg3: size_t) -> *mut u32; } extern "C" { pub fn wmemcmp(arg1: *const u32, arg2: *const u32, arg3: size_t) -> ::std::os::raw::c_int; } extern "C" { pub fn wmemcpy(arg1: *mut u32, arg2: *const u32, arg3: size_t) -> *mut u32; } extern "C" { pub fn wmemmove(arg1: *mut u32, arg2: *const u32, arg3: size_t) -> *mut u32; } extern "C" { pub fn wmemset(arg1: *mut u32, arg2: u32, arg3: size_t) -> *mut u32; } extern "C" { pub fn wprintf(arg1: *const u32, ...) -> ::std::os::raw::c_int; } extern "C" { pub fn wscanf(arg1: *const u32, ...) -> ::std::os::raw::c_int; } extern "C" { pub fn wcswidth(arg1: *const u32, arg2: size_t) -> ::std::os::raw::c_int; } extern "C" { pub fn wcwidth(arg1: u32) -> ::std::os::raw::c_int; } extern "C" { pub fn vfwscanf( arg1: *mut FILE, arg2: *const u32, arg3: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn vswscanf( arg1: *const u32, arg2: *const u32, arg3: *mut __va_list_tag, ) -> ::std::os::raw::c_int; } extern "C" { pub fn vwscanf(arg1: *const u32, arg2: *mut __va_list_tag) -> ::std::os::raw::c_int; } extern "C" { pub fn wcstof(arg1: *const u32, arg2: *mut *mut u32) -> f32; } extern "C" { pub fn wcstold(arg1: *const u32, arg2: *mut *mut u32) -> u128; } extern "C" { pub fn wcstoll( arg1: *const u32, arg2: *mut *mut u32, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_longlong; } extern "C" { pub fn wcstoull( arg1: *const u32, arg2: *mut *mut u32, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_ulonglong; } extern "C" { pub fn mbsnrtowcs( arg1: *mut u32, arg2: *mut *const ::std::os::raw::c_char, arg3: size_t, arg4: size_t, arg5: *mut mbstate_t, ) -> size_t; } extern "C" { pub fn wcpcpy(arg1: *mut u32, arg2: *const u32) -> *mut u32; } extern "C" { pub fn wcpncpy(arg1: *mut u32, arg2: *const u32, arg3: size_t) -> *mut u32; } extern "C" { pub fn wcsdup(arg1: *const u32) -> *mut u32; } extern "C" { pub fn wcscasecmp(arg1: *const u32, arg2: *const u32) -> ::std::os::raw::c_int; } extern "C" { pub fn wcsncasecmp(arg1: *const u32, arg2: *const u32, n: size_t) -> ::std::os::raw::c_int; } extern "C" { pub fn wcsnlen(arg1: *const u32, arg2: size_t) -> size_t; } extern "C" { pub fn wcsnrtombs( arg1: *mut ::std::os::raw::c_char, arg2: *mut *const u32, arg3: size_t, arg4: size_t, arg5: *mut mbstate_t, ) -> size_t; } extern "C" { pub fn open_wmemstream(__bufp: *mut *mut u32, __sizep: *mut size_t) -> *mut FILE; } extern "C" { pub fn fgetwln(arg1: *mut FILE, arg2: *mut size_t) -> *mut u32; } extern "C" { pub fn wcslcat(arg1: *mut u32, arg2: *const u32, arg3: size_t) -> size_t; } extern "C" { pub fn wcslcpy(arg1: *mut u32, arg2: *const u32, arg3: size_t) -> size_t; } extern "C" { pub fn memchr( __s: *const ::std::os::raw::c_void, __c: ::std::os::raw::c_int, __n: size_t, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn memcmp( __s1: *const ::std::os::raw::c_void, __s2: *const ::std::os::raw::c_void, __n: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn memcpy( __dst: *mut ::std::os::raw::c_void, __src: *const ::std::os::raw::c_void, __n: size_t, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn memmove( __dst: *mut ::std::os::raw::c_void, __src: *const ::std::os::raw::c_void, __len: size_t, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn memset( __b: *mut ::std::os::raw::c_void, __c: ::std::os::raw::c_int, __len: size_t, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn strcat( __s1: *mut ::std::os::raw::c_char, __s2: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strchr( __s: *const ::std::os::raw::c_char, __c: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strcmp( __s1: *const ::std::os::raw::c_char, __s2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn strcoll( __s1: *const ::std::os::raw::c_char, __s2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn strcpy( __dst: *mut ::std::os::raw::c_char, __src: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strcspn( __s: *const ::std::os::raw::c_char, __charset: *const ::std::os::raw::c_char, ) -> size_t; } extern "C" { pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strlen(__s: *const ::std::os::raw::c_char) -> size_t; } extern "C" { pub fn strncat( __s1: *mut ::std::os::raw::c_char, __s2: *const ::std::os::raw::c_char, __n: size_t, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strncmp( __s1: *const ::std::os::raw::c_char, __s2: *const ::std::os::raw::c_char, __n: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn strncpy( __dst: *mut ::std::os::raw::c_char, __src: *const ::std::os::raw::c_char, __n: size_t, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strpbrk( __s: *const ::std::os::raw::c_char, __charset: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strrchr( __s: *const ::std::os::raw::c_char, __c: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strspn( __s: *const ::std::os::raw::c_char, __charset: *const ::std::os::raw::c_char, ) -> size_t; } extern "C" { pub fn strstr( __big: *const ::std::os::raw::c_char, __little: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strtok( __str: *mut ::std::os::raw::c_char, __sep: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strxfrm( __s1: *mut ::std::os::raw::c_char, __s2: *const ::std::os::raw::c_char, __n: size_t, ) -> size_t; } extern "C" { pub fn strtok_r( __str: *mut ::std::os::raw::c_char, __sep: *const ::std::os::raw::c_char, __lasts: *mut *mut ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strerror_r( __errnum: ::std::os::raw::c_int, __strerrbuf: *mut ::std::os::raw::c_char, __buflen: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn strdup(__s1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn memccpy( __dst: *mut ::std::os::raw::c_void, __src: *const ::std::os::raw::c_void, __c: ::std::os::raw::c_int, __n: size_t, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn stpcpy( __dst: *mut ::std::os::raw::c_char, __src: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn stpncpy( __dst: *mut ::std::os::raw::c_char, __src: *const ::std::os::raw::c_char, __n: size_t, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strndup(__s1: *const ::std::os::raw::c_char, __n: size_t) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strnlen(__s1: *const ::std::os::raw::c_char, __n: size_t) -> size_t; } extern "C" { pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn memmem( __big: *const ::std::os::raw::c_void, __big_len: size_t, __little: *const ::std::os::raw::c_void, __little_len: size_t, ) -> *mut ::std::os::raw::c_void; } extern "C" { pub fn memset_pattern4( __b: *mut ::std::os::raw::c_void, __pattern4: *const ::std::os::raw::c_void, __len: size_t, ); } extern "C" { pub fn memset_pattern8( __b: *mut ::std::os::raw::c_void, __pattern8: *const ::std::os::raw::c_void, __len: size_t, ); } extern "C" { pub fn memset_pattern16( __b: *mut ::std::os::raw::c_void, __pattern16: *const ::std::os::raw::c_void, __len: size_t, ); } extern "C" { pub fn strcasestr( __big: *const ::std::os::raw::c_char, __little: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strnstr( __big: *const ::std::os::raw::c_char, __little: *const ::std::os::raw::c_char, __len: size_t, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn strlcat( __dst: *mut ::std::os::raw::c_char, __source: *const ::std::os::raw::c_char, __size: size_t, ) -> size_t; } extern "C" { pub fn strlcpy( __dst: *mut ::std::os::raw::c_char, __source: *const ::std::os::raw::c_char, __size: size_t, ) -> size_t; } extern "C" { pub fn strmode(__mode: ::std::os::raw::c_int, __bp: *mut ::std::os::raw::c_char); } extern "C" { pub fn strsep( __stringp: *mut *mut ::std::os::raw::c_char, __delim: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn swab( arg1: *const ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void, arg3: ssize_t, ); } extern "C" { pub fn timingsafe_bcmp( __b1: *const ::std::os::raw::c_void, __b2: *const ::std::os::raw::c_void, __len: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn strsignal_r( __sig: ::std::os::raw::c_int, __strsignalbuf: *mut ::std::os::raw::c_char, __buflen: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn bcmp( arg1: *const ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_void, arg3: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn bcopy( arg1: *const ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void, arg3: size_t, ); } extern "C" { pub fn bzero(arg1: *mut ::std::os::raw::c_void, arg2: size_t); } extern "C" { pub fn index( arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn rindex( arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_char; } extern "C" { pub fn ffs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn strcasecmp( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int; } extern "C" { pub fn strncasecmp( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: size_t, ) -> ::std::os::raw::c_int; } extern "C" { pub fn ffsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } extern "C" { pub fn ffsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } extern "C" { pub fn fls(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } extern "C" { pub fn flsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; } extern "C" { pub fn flsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; } extern "C" { pub fn __assert_rtn( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, arg4: *const ::std::os::raw::c_char, ); } pub type fmx_uint16 = ::std::os::raw::c_ushort; pub type fmx_int16 = ::std::os::raw::c_short; pub type fmx_uchar = ::std::os::raw::c_uchar; pub type fmx_int32 = ::std::os::raw::c_int; pub type fmx_uint32 = ::std::os::raw::c_uint; pub type fmx_int64 = ::std::os::raw::c_long; pub type fmx_uint64 = ::std::os::raw::c_ulong; pub type fmx_ptrtype = fmx_uint64; pub type fmx_unusedid = fmx_int32; pub type fmx_errcode = ::std::os::raw::c_short; pub type fmx_unichar16 = ::std::os::raw::c_ushort; pub type fmx_unichar = fmx_unichar16; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx__fmxcpt { pub m_vers: fmx_int32, pub m_code: fmx_int32, } pub const fmx__fmxcpt_kNoErr: fmx__fmxcpt__bindgen_ty_1 = 0; pub const fmx__fmxcpt_kBadAlloc: fmx__fmxcpt__bindgen_ty_1 = 1; pub const fmx__fmxcpt_kUnknown: fmx__fmxcpt__bindgen_ty_1 = 2; pub type fmx__fmxcpt__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_fmx__fmxcpt() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx__fmxcpt)) ); assert_eq!( ::std::mem::align_of::(), 4usize, concat!("Alignment of ", stringify!(fmx__fmxcpt)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).m_vers as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(fmx__fmxcpt), "::", stringify!(m_vers) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).m_code as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(fmx__fmxcpt), "::", stringify!(m_code) ) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_QuadChar { pub _address: u8, } #[test] fn bindgen_test_layout_fmx_QuadChar() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_QuadChar)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_QuadChar)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_Locale { pub _address: u8, } pub const fmx_Locale_Type_kType_None: fmx_Locale_Type = 0; pub const fmx_Locale_Type_kType_System: fmx_Locale_Type = 1; pub const fmx_Locale_Type_kType_UnicodeRaw: fmx_Locale_Type = 2; pub const fmx_Locale_Type_kType_UnicodeStandard: fmx_Locale_Type = 3; pub const fmx_Locale_Type_kType_Catalog: fmx_Locale_Type = 4; pub const fmx_Locale_Type_kType_CAT: fmx_Locale_Type = 16; pub const fmx_Locale_Type_kType_HRV: fmx_Locale_Type = 17; pub const fmx_Locale_Type_kType_CES: fmx_Locale_Type = 18; pub const fmx_Locale_Type_kType_DAN: fmx_Locale_Type = 19; pub const fmx_Locale_Type_kType_NLD: fmx_Locale_Type = 20; pub const fmx_Locale_Type_kType_ENG: fmx_Locale_Type = 21; pub const fmx_Locale_Type_kType_FIN: fmx_Locale_Type = 22; pub const fmx_Locale_Type_kType_FIN_fmi: fmx_Locale_Type = 23; pub const fmx_Locale_Type_kType_FRA: fmx_Locale_Type = 24; pub const fmx_Locale_Type_kType_DEU: fmx_Locale_Type = 25; pub const fmx_Locale_Type_kType_DEU_dictionary: fmx_Locale_Type = 26; pub const fmx_Locale_Type_kType_ELL: fmx_Locale_Type = 27; pub const fmx_Locale_Type_kType_HUN: fmx_Locale_Type = 28; pub const fmx_Locale_Type_kType_ISL: fmx_Locale_Type = 29; pub const fmx_Locale_Type_kType_ITA: fmx_Locale_Type = 30; pub const fmx_Locale_Type_kType_JPN: fmx_Locale_Type = 31; pub const fmx_Locale_Type_kType_NOR: fmx_Locale_Type = 32; pub const fmx_Locale_Type_kType_POL: fmx_Locale_Type = 33; pub const fmx_Locale_Type_kType_POR: fmx_Locale_Type = 34; pub const fmx_Locale_Type_kType_RON: fmx_Locale_Type = 35; pub const fmx_Locale_Type_kType_RUS: fmx_Locale_Type = 36; pub const fmx_Locale_Type_kType_SLK: fmx_Locale_Type = 37; pub const fmx_Locale_Type_kType_SLV: fmx_Locale_Type = 38; pub const fmx_Locale_Type_kType_SPA: fmx_Locale_Type = 39; pub const fmx_Locale_Type_kType_SPA_traditional: fmx_Locale_Type = 40; pub const fmx_Locale_Type_kType_SWE: fmx_Locale_Type = 41; pub const fmx_Locale_Type_kType_SWE_fmi: fmx_Locale_Type = 42; pub const fmx_Locale_Type_kType_TUR: fmx_Locale_Type = 43; pub const fmx_Locale_Type_kType_UKR: fmx_Locale_Type = 44; pub const fmx_Locale_Type_kType_CHI: fmx_Locale_Type = 45; pub const fmx_Locale_Type_kType_CHI_stroke: fmx_Locale_Type = 46; pub const fmx_Locale_Type_kType_KOR: fmx_Locale_Type = 76; pub const fmx_Locale_Type_kType_HE: fmx_Locale_Type = 47; pub const fmx_Locale_Type_kType_HI: fmx_Locale_Type = 48; pub const fmx_Locale_Type_kType_AR: fmx_Locale_Type = 49; pub const fmx_Locale_Type_kType_ET: fmx_Locale_Type = 50; pub const fmx_Locale_Type_kType_LT: fmx_Locale_Type = 51; pub const fmx_Locale_Type_kType_LV: fmx_Locale_Type = 52; pub const fmx_Locale_Type_kType_SR: fmx_Locale_Type = 53; pub const fmx_Locale_Type_kType_FA: fmx_Locale_Type = 54; pub const fmx_Locale_Type_kType_BG: fmx_Locale_Type = 55; pub const fmx_Locale_Type_kType_VI: fmx_Locale_Type = 56; pub const fmx_Locale_Type_kType_TH: fmx_Locale_Type = 57; pub const fmx_Locale_Type_kType_ELL_Mixed: fmx_Locale_Type = 58; pub const fmx_Locale_Type_kType_BEN: fmx_Locale_Type = 59; pub const fmx_Locale_Type_kType_TEL: fmx_Locale_Type = 60; pub const fmx_Locale_Type_kType_MAR: fmx_Locale_Type = 61; pub const fmx_Locale_Type_kType_TAM: fmx_Locale_Type = 62; pub const fmx_Locale_Type_kType_GUJ: fmx_Locale_Type = 63; pub const fmx_Locale_Type_kType_KAN: fmx_Locale_Type = 64; pub const fmx_Locale_Type_kType_MAL: fmx_Locale_Type = 65; pub const fmx_Locale_Type_kType_PAN: fmx_Locale_Type = 67; pub const fmx_Locale_Type_kType_ORI: fmx_Locale_Type = 66; pub const fmx_Locale_Type_kType_SIN: fmx_Locale_Type = 68; pub const fmx_Locale_Type_kType_URD: fmx_Locale_Type = 69; pub const fmx_Locale_Type_kType_DIV: fmx_Locale_Type = 70; pub const fmx_Locale_Type_kType_BUR: fmx_Locale_Type = 71; pub const fmx_Locale_Type_kType_SAN: fmx_Locale_Type = 72; pub const fmx_Locale_Type_kType_LAO: fmx_Locale_Type = 73; pub const fmx_Locale_Type_kType_KHM: fmx_Locale_Type = 74; pub const fmx_Locale_Type_kType_BOD: fmx_Locale_Type = 75; pub const fmx_Locale_Type_kType_Invalid: fmx_Locale_Type = 65535; pub type fmx_Locale_Type = u32; #[test] fn bindgen_test_layout_fmx_Locale() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_Locale)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_Locale)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_QuadCharAutoPtr { pub _base: std_auto_ptr, } pub type fmx_QuadCharAutoPtr_UpCaster = fmx_QuadCharAutoPtr; #[test] fn bindgen_test_layout_fmx_QuadCharAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_QuadCharAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_QuadCharAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_LocaleAutoPtr { pub _base: std_auto_ptr, } pub type fmx_LocaleAutoPtr_UpCaster = fmx_LocaleAutoPtr; #[test] fn bindgen_test_layout_fmx_LocaleAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_LocaleAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_LocaleAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_QuadCharUniquePtr { pub _base: std_unique_ptr, } pub type fmx_QuadCharUniquePtr_UpCaster = fmx_QuadCharUniquePtr; #[test] fn bindgen_test_layout_fmx_QuadCharUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_QuadCharUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_QuadCharUniquePtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_LocaleUniquePtr { pub _base: std_unique_ptr, } pub type fmx_LocaleUniquePtr_UpCaster = fmx_LocaleUniquePtr; #[test] fn bindgen_test_layout_fmx_LocaleUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_LocaleUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_LocaleUniquePtr)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_BinaryData { pub _address: u8, } #[test] fn bindgen_test_layout_fmx_BinaryData() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_BinaryData)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_BinaryData)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_BinaryDataAutoPtr { pub _base: std_auto_ptr, } pub type fmx_BinaryDataAutoPtr_UpCaster = fmx_BinaryDataAutoPtr; #[test] fn bindgen_test_layout_fmx_BinaryDataAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_BinaryDataAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_BinaryDataAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_BinaryDataUniquePtr { pub _base: std_unique_ptr, } pub type fmx_BinaryDataUniquePtr_UpCaster = fmx_BinaryDataUniquePtr; #[test] fn bindgen_test_layout_fmx_BinaryDataUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_BinaryDataUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_BinaryDataUniquePtr)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_DataVect { pub _address: u8, } #[test] fn bindgen_test_layout_fmx_DataVect() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_DataVect)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_DataVect)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_RowVect { pub _address: u8, } #[test] fn bindgen_test_layout_fmx_RowVect() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_RowVect)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_RowVect)) ); } pub type fmx_ExtPluginType = ::std::option::Option< unsafe extern "C" fn( functionId: ::std::os::raw::c_short, env: *const fmx_ExprEnv, parms: *const fmx_DataVect, result: *mut fmx_Data, ) -> fmx_errcode, >; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_ExprEnv { pub _address: u8, } pub const fmx_ExprEnv_kMayEvaluateOnServer: fmx_ExprEnv__bindgen_ty_1 = 1; pub const fmx_ExprEnv_kDisplayCalcFields: fmx_ExprEnv__bindgen_ty_1 = 256; pub const fmx_ExprEnv_kDisplayAutoEnter: fmx_ExprEnv__bindgen_ty_1 = 512; pub const fmx_ExprEnv_kDisplayValidation: fmx_ExprEnv__bindgen_ty_1 = 1024; pub const fmx_ExprEnv_kDisplayCustomFunctions: fmx_ExprEnv__bindgen_ty_1 = 2048; pub const fmx_ExprEnv_kDisplayPrivileges: fmx_ExprEnv__bindgen_ty_1 = 4096; pub const fmx_ExprEnv_kDisplayInFuture1: fmx_ExprEnv__bindgen_ty_1 = 8192; pub const fmx_ExprEnv_kDisplayInFuture2: fmx_ExprEnv__bindgen_ty_1 = 16384; pub const fmx_ExprEnv_kDisplayGeneric: fmx_ExprEnv__bindgen_ty_1 = 32768; pub const fmx_ExprEnv_kDisplayInAllDialogs: fmx_ExprEnv__bindgen_ty_1 = 65280; pub const fmx_ExprEnv_kMacCompatible: fmx_ExprEnv__bindgen_ty_1 = 2; pub const fmx_ExprEnv_kWinCompatible: fmx_ExprEnv__bindgen_ty_1 = 4; pub const fmx_ExprEnv_kServerCompatible: fmx_ExprEnv__bindgen_ty_1 = 8; pub const fmx_ExprEnv_kIOSCompatible: fmx_ExprEnv__bindgen_ty_1 = 16; pub const fmx_ExprEnv_kCustomWebCompatible: fmx_ExprEnv__bindgen_ty_1 = 32; pub const fmx_ExprEnv_kWebDirectCompatible: fmx_ExprEnv__bindgen_ty_1 = 64; pub const fmx_ExprEnv_kAllDeviceCompatible: fmx_ExprEnv__bindgen_ty_1 = 126; pub const fmx_ExprEnv_kFutureCompatible: fmx_ExprEnv__bindgen_ty_1 = 16711806; pub const fmx_ExprEnv_kPluginErrResult1: fmx_ExprEnv__bindgen_ty_1 = 1552; pub const fmx_ExprEnv_kPluginErrResult2: fmx_ExprEnv__bindgen_ty_1 = 1553; pub const fmx_ExprEnv_kPluginErrResult3: fmx_ExprEnv__bindgen_ty_1 = 1554; pub const fmx_ExprEnv_kPluginErrResult4: fmx_ExprEnv__bindgen_ty_1 = 1555; pub const fmx_ExprEnv_kPluginErrResult5: fmx_ExprEnv__bindgen_ty_1 = 1556; pub const fmx_ExprEnv_kPluginErrResult6: fmx_ExprEnv__bindgen_ty_1 = 1557; pub const fmx_ExprEnv_kPluginErrResult7: fmx_ExprEnv__bindgen_ty_1 = 1558; pub const fmx_ExprEnv_kPluginErrResult8: fmx_ExprEnv__bindgen_ty_1 = 1559; pub const fmx_ExprEnv_kGet_ApplicationVersion: fmx_ExprEnv__bindgen_ty_1 = 1001; pub const fmx_ExprEnv_kGet_CurrentDate: fmx_ExprEnv__bindgen_ty_1 = 1002; pub const fmx_ExprEnv_kGet_LastError: fmx_ExprEnv__bindgen_ty_1 = 1003; pub const fmx_ExprEnv_kGet_ActiveFieldName: fmx_ExprEnv__bindgen_ty_1 = 1004; pub const fmx_ExprEnv_kGet_FileName: fmx_ExprEnv__bindgen_ty_1 = 1005; pub const fmx_ExprEnv_kGet_FileSize: fmx_ExprEnv__bindgen_ty_1 = 1006; pub const fmx_ExprEnv_kGet_FoundCount: fmx_ExprEnv__bindgen_ty_1 = 1007; pub const fmx_ExprEnv_kGet_HostName: fmx_ExprEnv__bindgen_ty_1 = 1008; pub const fmx_ExprEnv_kGet_LayoutCount: fmx_ExprEnv__bindgen_ty_1 = 1009; pub const fmx_ExprEnv_kGet_LayoutName: fmx_ExprEnv__bindgen_ty_1 = 1010; pub const fmx_ExprEnv_kGet_LayoutNumber: fmx_ExprEnv__bindgen_ty_1 = 1011; pub const fmx_ExprEnv_kGet_SystemLanguage: fmx_ExprEnv__bindgen_ty_1 = 1012; pub const fmx_ExprEnv_kGet_WindowMode: fmx_ExprEnv__bindgen_ty_1 = 1013; pub const fmx_ExprEnv_kGet_MultiUserState: fmx_ExprEnv__bindgen_ty_1 = 1014; pub const fmx_ExprEnv_kGet_PageNumber: fmx_ExprEnv__bindgen_ty_1 = 1015; pub const fmx_ExprEnv_kGet_SystemPlatform: fmx_ExprEnv__bindgen_ty_1 = 1016; pub const fmx_ExprEnv_kGet_ActivePortalRowNumber: fmx_ExprEnv__bindgen_ty_1 = 1017; pub const fmx_ExprEnv_kGet_PrinterName: fmx_ExprEnv__bindgen_ty_1 = 1018; pub const fmx_ExprEnv_kGet_TotalRecordCount: fmx_ExprEnv__bindgen_ty_1 = 1019; pub const fmx_ExprEnv_kGet_RecordNumber: fmx_ExprEnv__bindgen_ty_1 = 1020; pub const fmx_ExprEnv_kGet_ActiveRepetitionNumber: fmx_ExprEnv__bindgen_ty_1 = 1021; pub const fmx_ExprEnv_kGet_RequestCount: fmx_ExprEnv__bindgen_ty_1 = 1022; pub const fmx_ExprEnv_kGet_ScreenDepth: fmx_ExprEnv__bindgen_ty_1 = 1023; pub const fmx_ExprEnv_kGet_ScreenHeight: fmx_ExprEnv__bindgen_ty_1 = 1024; pub const fmx_ExprEnv_kGet_ScreenWidth: fmx_ExprEnv__bindgen_ty_1 = 1025; pub const fmx_ExprEnv_kGet_ScriptName: fmx_ExprEnv__bindgen_ty_1 = 1026; pub const fmx_ExprEnv_kGet_SortState: fmx_ExprEnv__bindgen_ty_1 = 1027; pub const fmx_ExprEnv_kGet_SystemVersion: fmx_ExprEnv__bindgen_ty_1 = 1028; pub const fmx_ExprEnv_kGet_CurrentTime: fmx_ExprEnv__bindgen_ty_1 = 1029; pub const fmx_ExprEnv_kGet_UserCount: fmx_ExprEnv__bindgen_ty_1 = 1030; pub const fmx_ExprEnv_kGet_UserName: fmx_ExprEnv__bindgen_ty_1 = 1031; pub const fmx_ExprEnv_kGet_AccountName: fmx_ExprEnv__bindgen_ty_1 = 1032; pub const fmx_ExprEnv_kGet_LastMessageChoice: fmx_ExprEnv__bindgen_ty_1 = 1033; pub const fmx_ExprEnv_kGet_CurrentPrivilegeSetName: fmx_ExprEnv__bindgen_ty_1 = 1034; pub const fmx_ExprEnv_kGet_ActiveModifierKeys: fmx_ExprEnv__bindgen_ty_1 = 1035; pub const fmx_ExprEnv_kGet_NetworkProtocol: fmx_ExprEnv__bindgen_ty_1 = 1036; pub const fmx_ExprEnv_kGet_RecordID: fmx_ExprEnv__bindgen_ty_1 = 1037; pub const fmx_ExprEnv_kGet_RecordModificationCount: fmx_ExprEnv__bindgen_ty_1 = 1038; pub const fmx_ExprEnv_kGet_ActiveFieldContents: fmx_ExprEnv__bindgen_ty_1 = 1039; pub const fmx_ExprEnv_kGet_FilePath: fmx_ExprEnv__bindgen_ty_1 = 1040; pub const fmx_ExprEnv_kGet_LastExternalErrorDetail: fmx_ExprEnv__bindgen_ty_1 = 1041; pub const fmx_ExprEnv_kGet_LayoutAccess: fmx_ExprEnv__bindgen_ty_1 = 1042; pub const fmx_ExprEnv_kGet_RecordAccess: fmx_ExprEnv__bindgen_ty_1 = 1043; pub const fmx_ExprEnv_kGet_HighContrastState: fmx_ExprEnv__bindgen_ty_1 = 1044; pub const fmx_ExprEnv_kGet_HighContrastColor: fmx_ExprEnv__bindgen_ty_1 = 1045; pub const fmx_ExprEnv_kGet_StatusAreaState: fmx_ExprEnv__bindgen_ty_1 = 1046; pub const fmx_ExprEnv_kGet_LayoutViewState: fmx_ExprEnv__bindgen_ty_1 = 1047; pub const fmx_ExprEnv_kGet_WindowName: fmx_ExprEnv__bindgen_ty_1 = 1048; pub const fmx_ExprEnv_kGet_WindowHeight: fmx_ExprEnv__bindgen_ty_1 = 1049; pub const fmx_ExprEnv_kGet_WindowLeft: fmx_ExprEnv__bindgen_ty_1 = 1050; pub const fmx_ExprEnv_kGet_WindowTop: fmx_ExprEnv__bindgen_ty_1 = 1051; pub const fmx_ExprEnv_kGet_WindowVisible: fmx_ExprEnv__bindgen_ty_1 = 1052; pub const fmx_ExprEnv_kGet_WindowWidth: fmx_ExprEnv__bindgen_ty_1 = 1053; pub const fmx_ExprEnv_kGet_SystemNICAddress: fmx_ExprEnv__bindgen_ty_1 = 1054; pub const fmx_ExprEnv_kGet_SystemIpAddress: fmx_ExprEnv__bindgen_ty_1 = 1055; pub const fmx_ExprEnv_kGet_ActiveFieldTableName: fmx_ExprEnv__bindgen_ty_1 = 1056; pub const fmx_ExprEnv_kGet_ActiveSelectionSize: fmx_ExprEnv__bindgen_ty_1 = 1057; pub const fmx_ExprEnv_kGet_ActiveSelectionStart: fmx_ExprEnv__bindgen_ty_1 = 1058; pub const fmx_ExprEnv_kGet_ApplicationLanguage: fmx_ExprEnv__bindgen_ty_1 = 1059; pub const fmx_ExprEnv_kGet_CurrentHostTimestamp: fmx_ExprEnv__bindgen_ty_1 = 1060; pub const fmx_ExprEnv_kGet_LayoutTableName: fmx_ExprEnv__bindgen_ty_1 = 1061; pub const fmx_ExprEnv_kGet_ScriptParameter: fmx_ExprEnv__bindgen_ty_1 = 1062; pub const fmx_ExprEnv_kGet_CurrentTimeStamp: fmx_ExprEnv__bindgen_ty_1 = 1063; pub const fmx_ExprEnv_kGet_WindowDesktopHeight: fmx_ExprEnv__bindgen_ty_1 = 1064; pub const fmx_ExprEnv_kGet_WindowDesktopWidth: fmx_ExprEnv__bindgen_ty_1 = 1065; pub const fmx_ExprEnv_kGet_WindowContentHeight: fmx_ExprEnv__bindgen_ty_1 = 1066; pub const fmx_ExprEnv_kGet_WindowContentWidth: fmx_ExprEnv__bindgen_ty_1 = 1067; pub const fmx_ExprEnv_kGet_CalculationRepetitionNumber: fmx_ExprEnv__bindgen_ty_1 = 1068; pub const fmx_ExprEnv_kGet_CurrentExtendedPrivileges: fmx_ExprEnv__bindgen_ty_1 = 1069; pub const fmx_ExprEnv_kGet_AllowAbortState: fmx_ExprEnv__bindgen_ty_1 = 1070; pub const fmx_ExprEnv_kGet_ErrorCaptureState: fmx_ExprEnv__bindgen_ty_1 = 1071; pub const fmx_ExprEnv_kGet_DesktopPath: fmx_ExprEnv__bindgen_ty_1 = 1072; pub const fmx_ExprEnv_kGet_DocumentsPath: fmx_ExprEnv__bindgen_ty_1 = 1073; pub const fmx_ExprEnv_kGet_FileMakerPath: fmx_ExprEnv__bindgen_ty_1 = 1074; pub const fmx_ExprEnv_kGet_HostIPAddress: fmx_ExprEnv__bindgen_ty_1 = 1075; pub const fmx_ExprEnv_kGet_RequestOmitState: fmx_ExprEnv__bindgen_ty_1 = 1076; pub const fmx_ExprEnv_kGet_PreferencesPath: fmx_ExprEnv__bindgen_ty_1 = 1077; pub const fmx_ExprEnv_kGet_RecordOpenCount: fmx_ExprEnv__bindgen_ty_1 = 1078; pub const fmx_ExprEnv_kGet_RecordOpenState: fmx_ExprEnv__bindgen_ty_1 = 1079; pub const fmx_ExprEnv_kGet_ScriptResult: fmx_ExprEnv__bindgen_ty_1 = 1080; pub const fmx_ExprEnv_kGet_SystemDrive: fmx_ExprEnv__bindgen_ty_1 = 1081; pub const fmx_ExprEnv_kGet_TextRulerVisible: fmx_ExprEnv__bindgen_ty_1 = 1082; pub const fmx_ExprEnv_kGet_AllowFormattingBarState: fmx_ExprEnv__bindgen_ty_1 = 1083; pub const fmx_ExprEnv_kGet_UseSystemFormatsState: fmx_ExprEnv__bindgen_ty_1 = 1084; pub const fmx_ExprEnv_kGet_WindowZoomLevel: fmx_ExprEnv__bindgen_ty_1 = 1085; pub const fmx_ExprEnv_kGet_CustomMenuSetName: fmx_ExprEnv__bindgen_ty_1 = 1086; pub const fmx_ExprEnv_kGet_ActiveLayoutObjectName: fmx_ExprEnv__bindgen_ty_1 = 1088; pub const fmx_ExprEnv_kGet_TemporaryPath: fmx_ExprEnv__bindgen_ty_1 = 1089; pub const fmx_ExprEnv_kGet_HostApplicationVersion: fmx_ExprEnv__bindgen_ty_1 = 1090; pub const fmx_ExprEnv_kGet_TriggerModifierKeys: fmx_ExprEnv__bindgen_ty_1 = 1091; pub const fmx_ExprEnv_kGet_TriggerKeystroke: fmx_ExprEnv__bindgen_ty_1 = 1092; pub const fmx_ExprEnv_kGet_DocumentsPathListing: fmx_ExprEnv__bindgen_ty_1 = 1093; pub const fmx_ExprEnv_kGet_AccountPrivilegeSet: fmx_ExprEnv__bindgen_ty_1 = 1094; pub const fmx_ExprEnv_kGet_AccountExtendedPrivileges: fmx_ExprEnv__bindgen_ty_1 = 1095; pub const fmx_ExprEnv_kGet_QuickFindText: fmx_ExprEnv__bindgen_ty_1 = 1096; pub const fmx_ExprEnv_kGet_TriggerCurrentPanel: fmx_ExprEnv__bindgen_ty_1 = 1097; pub const fmx_ExprEnv_kGet_TriggerTargetPanel: fmx_ExprEnv__bindgen_ty_1 = 1098; pub const fmx_ExprEnv_kGet_WindowStyle: fmx_ExprEnv__bindgen_ty_1 = 1099; pub const fmx_ExprEnv_kGet_InstalledFMPlugins: fmx_ExprEnv__bindgen_ty_1 = 1100; pub const fmx_ExprEnv_kGet_UUID: fmx_ExprEnv__bindgen_ty_1 = 1101; pub const fmx_ExprEnv_kGet_PersistentID: fmx_ExprEnv__bindgen_ty_1 = 1102; pub const fmx_ExprEnv_kGet_ConnectionState: fmx_ExprEnv__bindgen_ty_1 = 1103; pub const fmx_ExprEnv_kGet_CurrentTimeUTCMilliseconds: fmx_ExprEnv__bindgen_ty_1 = 1104; pub const fmx_ExprEnv_kGet_Device: fmx_ExprEnv__bindgen_ty_1 = 1105; pub const fmx_ExprEnv_kGet_WindowOrientation: fmx_ExprEnv__bindgen_ty_1 = 1106; pub const fmx_ExprEnv_kGet_TriggerGestureInfo: fmx_ExprEnv__bindgen_ty_1 = 1107; pub const fmx_ExprEnv_kGet_EncryptionState: fmx_ExprEnv__bindgen_ty_1 = 1108; pub const fmx_ExprEnv_kGet_ScriptAnimation: fmx_ExprEnv__bindgen_ty_1 = 1109; pub const fmx_ExprEnv_kGet_ModifiedFields: fmx_ExprEnv__bindgen_ty_1 = 1110; pub const fmx_ExprEnv_kGet_NetworkType: fmx_ExprEnv__bindgen_ty_1 = 1111; pub const fmx_ExprEnv_kGet_ConnectionAttributes: fmx_ExprEnv__bindgen_ty_1 = 1112; pub const fmx_ExprEnv_kGet_ScreenScaleFactor: fmx_ExprEnv__bindgen_ty_1 = 1113; pub const fmx_ExprEnv_kGet_ApplicationArchitecture: fmx_ExprEnv__bindgen_ty_1 = 1115; pub const fmx_ExprEnv_kGet_TriggerExternalEvent: fmx_ExprEnv__bindgen_ty_1 = 1116; pub const fmx_ExprEnv_kGet_TouchKeyboardState: fmx_ExprEnv__bindgen_ty_1 = 1117; pub const fmx_ExprEnv_kGet_MenubarState: fmx_ExprEnv__bindgen_ty_1 = 1118; pub const fmx_ExprEnv_kGet_RegionMonitorEvents: fmx_ExprEnv__bindgen_ty_1 = 1119; pub const fmx_ExprEnv_kGet_AccountGroupName: fmx_ExprEnv__bindgen_ty_1 = 1120; pub const fmx_ExprEnv_kGet_ActiveRecordNumber: fmx_ExprEnv__bindgen_ty_1 = 1121; pub const fmx_ExprEnv_kGet_UUIDNumber: fmx_ExprEnv__bindgen_ty_1 = 1122; pub const fmx_ExprEnv_kGet_OpenDataFileInfo: fmx_ExprEnv__bindgen_ty_1 = 1123; pub const fmx_ExprEnv_kGet_AccountType: fmx_ExprEnv__bindgen_ty_1 = 1124; pub const fmx_ExprEnv_kGet_PageCount: fmx_ExprEnv__bindgen_ty_1 = 1125; pub const fmx_ExprEnv_kConvert_PosixPath: fmx_ExprEnv__bindgen_ty_1 = 1; pub const fmx_ExprEnv_kConvert_WinPath: fmx_ExprEnv__bindgen_ty_1 = 2; pub const fmx_ExprEnv_kConvert_URLPath: fmx_ExprEnv__bindgen_ty_1 = 3; pub type fmx_ExprEnv__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_fmx_ExprEnv() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_ExprEnv)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_ExprEnv)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_DataVectAutoPtr { pub _base: std_auto_ptr, } pub type fmx_DataVectAutoPtr_UpCaster = fmx_DataVectAutoPtr; #[test] fn bindgen_test_layout_fmx_DataVectAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_DataVectAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_DataVectAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_RowVectAutoPtr { pub _base: std_auto_ptr, } pub type fmx_RowVectAutoPtr_UpCaster = fmx_RowVectAutoPtr; #[test] fn bindgen_test_layout_fmx_RowVectAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_RowVectAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_RowVectAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_ExprEnvAutoPtr { pub _base: std_auto_ptr, } pub type fmx_ExprEnvAutoPtr_UpCaster = fmx_ExprEnvAutoPtr; #[test] fn bindgen_test_layout_fmx_ExprEnvAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_ExprEnvAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_ExprEnvAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_DataVectUniquePtr { pub _base: std_unique_ptr, } pub type fmx_DataVectUniquePtr_UpCaster = fmx_DataVectUniquePtr; #[test] fn bindgen_test_layout_fmx_DataVectUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_DataVectUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_DataVectUniquePtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_RowVectUniquePtr { pub _base: std_unique_ptr, } pub type fmx_RowVectUniquePtr_UpCaster = fmx_RowVectUniquePtr; #[test] fn bindgen_test_layout_fmx_RowVectUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_RowVectUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_RowVectUniquePtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_ExprEnvUniquePtr { pub _base: std_unique_ptr, } pub type fmx_ExprEnvUniquePtr_UpCaster = fmx_ExprEnvUniquePtr; #[test] fn bindgen_test_layout_fmx_ExprEnvUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_ExprEnvUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_ExprEnvUniquePtr)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_CharacterStyle { pub _address: u8, } pub type fmx_CharacterStyle_Face = ::std::os::raw::c_ushort; pub type fmx_CharacterStyle_FontID = ::std::os::raw::c_ushort; pub type fmx_CharacterStyle_FontSize = ::std::os::raw::c_ushort; pub type fmx_CharacterStyle_ColorChannel = ::std::os::raw::c_uchar; pub type fmx_CharacterStyle_ColorChannel16 = ::std::os::raw::c_ushort; pub type fmx_CharacterStyle_FontScript = ::std::os::raw::c_ushort; pub const fmx_CharacterStyle_kRoman: fmx_CharacterStyle__bindgen_ty_1 = 0; pub const fmx_CharacterStyle_kGreek: fmx_CharacterStyle__bindgen_ty_1 = 1; pub const fmx_CharacterStyle_kCyrillic: fmx_CharacterStyle__bindgen_ty_1 = 2; pub const fmx_CharacterStyle_kCentralEurope: fmx_CharacterStyle__bindgen_ty_1 = 3; pub const fmx_CharacterStyle_kShiftJIS: fmx_CharacterStyle__bindgen_ty_1 = 4; pub const fmx_CharacterStyle_kTraditionalChinese: fmx_CharacterStyle__bindgen_ty_1 = 5; pub const fmx_CharacterStyle_kSimplifiedChinese: fmx_CharacterStyle__bindgen_ty_1 = 6; pub const fmx_CharacterStyle_kOEM: fmx_CharacterStyle__bindgen_ty_1 = 7; pub const fmx_CharacterStyle_kSymbol: fmx_CharacterStyle__bindgen_ty_1 = 8; pub const fmx_CharacterStyle_kNative: fmx_CharacterStyle__bindgen_ty_1 = 9; pub const fmx_CharacterStyle_kOther: fmx_CharacterStyle__bindgen_ty_1 = 10; pub const fmx_CharacterStyle_kKorean: fmx_CharacterStyle__bindgen_ty_1 = 11; pub const fmx_CharacterStyle_kDingbats: fmx_CharacterStyle__bindgen_ty_1 = 12; pub const fmx_CharacterStyle_kTurkish: fmx_CharacterStyle__bindgen_ty_1 = 13; pub const fmx_CharacterStyle_kInvalidFont: fmx_CharacterStyle__bindgen_ty_1 = 65535; pub type fmx_CharacterStyle__bindgen_ty_1 = u32; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_CharacterStyle_Color { pub _address: u8, } pub const fmx_CharacterStyle_Color_kColorChannel_ON: fmx_CharacterStyle_Color__bindgen_ty_1 = 255; pub const fmx_CharacterStyle_Color_kColorChannel_OFF: fmx_CharacterStyle_Color__bindgen_ty_1 = 0; pub type fmx_CharacterStyle_Color__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_fmx_CharacterStyle_Color() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_CharacterStyle_Color)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_CharacterStyle_Color)) ); } pub const fmx_CharacterStyle_kFace_Plain: fmx_CharacterStyle__bindgen_ty_2 = 0; pub const fmx_CharacterStyle_kFace_Bold: fmx_CharacterStyle__bindgen_ty_2 = 256; pub const fmx_CharacterStyle_kFace_Italic: fmx_CharacterStyle__bindgen_ty_2 = 512; pub const fmx_CharacterStyle_kFace_Underline: fmx_CharacterStyle__bindgen_ty_2 = 1024; pub const fmx_CharacterStyle_kFace_Outline: fmx_CharacterStyle__bindgen_ty_2 = 2048; pub const fmx_CharacterStyle_kFace_Shadow: fmx_CharacterStyle__bindgen_ty_2 = 4096; pub const fmx_CharacterStyle_kFace_Condense: fmx_CharacterStyle__bindgen_ty_2 = 8192; pub const fmx_CharacterStyle_kFace_Extend: fmx_CharacterStyle__bindgen_ty_2 = 16384; pub const fmx_CharacterStyle_kFace_Strikethrough: fmx_CharacterStyle__bindgen_ty_2 = 1; pub const fmx_CharacterStyle_kFace_SmallCaps: fmx_CharacterStyle__bindgen_ty_2 = 2; pub const fmx_CharacterStyle_kFace_Superscript: fmx_CharacterStyle__bindgen_ty_2 = 4; pub const fmx_CharacterStyle_kFace_Subscript: fmx_CharacterStyle__bindgen_ty_2 = 8; pub const fmx_CharacterStyle_kFace_Uppercase: fmx_CharacterStyle__bindgen_ty_2 = 16; pub const fmx_CharacterStyle_kFace_Lowercase: fmx_CharacterStyle__bindgen_ty_2 = 32; pub const fmx_CharacterStyle_kFace_Titlecase: fmx_CharacterStyle__bindgen_ty_2 = 48; pub const fmx_CharacterStyle_kFace_WordUnderline: fmx_CharacterStyle__bindgen_ty_2 = 64; pub const fmx_CharacterStyle_kFace_DoubleUnderline: fmx_CharacterStyle__bindgen_ty_2 = 128; pub const fmx_CharacterStyle_kFace_AllStyles: fmx_CharacterStyle__bindgen_ty_2 = 32767; pub type fmx_CharacterStyle__bindgen_ty_2 = u32; #[test] fn bindgen_test_layout_fmx_CharacterStyle() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_CharacterStyle)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_CharacterStyle)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_ColorAutoPtr { pub _base: std_auto_ptr, } pub type fmx_ColorAutoPtr_UpCaster = fmx_ColorAutoPtr; #[test] fn bindgen_test_layout_fmx_ColorAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_ColorAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_ColorAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_CharacterStyleAutoPtr { pub _base: std_auto_ptr, } pub type fmx_CharacterStyleAutoPtr_UpCaster = fmx_CharacterStyleAutoPtr; #[test] fn bindgen_test_layout_fmx_CharacterStyleAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_CharacterStyleAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_CharacterStyleAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_ColorUniquePtr { pub _base: std_unique_ptr, } pub type fmx_ColorUniquePtr_UpCaster = fmx_ColorUniquePtr; #[test] fn bindgen_test_layout_fmx_ColorUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_ColorUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_ColorUniquePtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_CharacterStyleUniquePtr { pub _base: std_unique_ptr, } pub type fmx_CharacterStyleUniquePtr_UpCaster = fmx_CharacterStyleUniquePtr; #[test] fn bindgen_test_layout_fmx_CharacterStyleUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_CharacterStyleUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_CharacterStyleUniquePtr)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_Data { pub _address: u8, } pub const fmx_Data_DataType_kDTInvalid: fmx_Data_DataType = 0; pub const fmx_Data_DataType_kDTText: fmx_Data_DataType = 1; pub const fmx_Data_DataType_kDTNumber: fmx_Data_DataType = 2; pub const fmx_Data_DataType_kDTDate: fmx_Data_DataType = 3; pub const fmx_Data_DataType_kDTTime: fmx_Data_DataType = 4; pub const fmx_Data_DataType_kDTTimeStamp: fmx_Data_DataType = 5; pub const fmx_Data_DataType_kDTBinary: fmx_Data_DataType = 6; pub const fmx_Data_DataType_kDTBoolean: fmx_Data_DataType = 7; pub type fmx_Data_DataType = u32; #[test] fn bindgen_test_layout_fmx_Data() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_Data)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_Data)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_DataAutoPtr { pub _base: std_auto_ptr, } pub type fmx_DataAutoPtr_UpCaster = fmx_DataAutoPtr; #[test] fn bindgen_test_layout_fmx_DataAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_DataAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_DataAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_DataUniquePtr { pub _base: std_unique_ptr, } pub type fmx_DataUniquePtr_UpCaster = fmx_DataUniquePtr; #[test] fn bindgen_test_layout_fmx_DataUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_DataUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_DataUniquePtr)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_DateTime { pub _address: u8, } #[test] fn bindgen_test_layout_fmx_DateTime() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_DateTime)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_DateTime)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_DateTimeAutoPtr { pub _base: std_auto_ptr, } pub type fmx_DateTimeAutoPtr_UpCaster = fmx_DateTimeAutoPtr; #[test] fn bindgen_test_layout_fmx_DateTimeAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_DateTimeAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_DateTimeAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_DateTimeUniquePtr { pub _base: std_unique_ptr, } pub type fmx_DateTimeUniquePtr_UpCaster = fmx_DateTimeUniquePtr; #[test] fn bindgen_test_layout_fmx_DateTimeUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_DateTimeUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_DateTimeUniquePtr)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_FixPt { pub _address: u8, } pub const fmx_FixPt_kDefltFixedPrecision: fmx_FixPt__bindgen_ty_1 = 16; pub type fmx_FixPt__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_fmx_FixPt() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_FixPt)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_FixPt)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_FixPtAutoPtr { pub _base: std_auto_ptr, } pub type fmx_FixPtAutoPtr_UpCaster = fmx_FixPtAutoPtr; #[test] fn bindgen_test_layout_fmx_FixPtAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_FixPtAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_FixPtAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_FixPtUniquePtr { pub _base: std_unique_ptr, } pub type fmx_FixPtUniquePtr_UpCaster = fmx_FixPtUniquePtr; #[test] fn bindgen_test_layout_fmx_FixPtUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_FixPtUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_FixPtUniquePtr)) ); } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct fmx_Text { pub _address: u8, } pub const fmx_Text_Encoding_kEncoding_Native: fmx_Text_Encoding = 0; pub const fmx_Text_Encoding_kEncoding_UTF8: fmx_Text_Encoding = 1; pub const fmx_Text_Encoding_kEncoding_ASCII_DOS: fmx_Text_Encoding = 2; pub const fmx_Text_Encoding_kEncoding_ASCII_Windows: fmx_Text_Encoding = 3; pub const fmx_Text_Encoding_kEncoding_ASCII_Mac: fmx_Text_Encoding = 4; pub const fmx_Text_Encoding_kEncoding_ISO_8859_1: fmx_Text_Encoding = 5; pub const fmx_Text_Encoding_kEncoding_ShiftJIS_Mac: fmx_Text_Encoding = 6; pub const fmx_Text_Encoding_kEncoding_ShiftJIS_Win: fmx_Text_Encoding = 7; pub const fmx_Text_Encoding_kEncoding_Korean_Mac: fmx_Text_Encoding = 8; pub const fmx_Text_Encoding_kEncoding_Korean_Win: fmx_Text_Encoding = 9; pub const fmx_Text_Encoding_kEncoding_Korean_Johab: fmx_Text_Encoding = 10; pub const fmx_Text_Encoding_kEncoding_ChineseTrad_Mac: fmx_Text_Encoding = 11; pub const fmx_Text_Encoding_kEncoding_ChineseTrad_Win: fmx_Text_Encoding = 12; pub const fmx_Text_Encoding_kEncoding_ChineseSimp_Mac: fmx_Text_Encoding = 13; pub const fmx_Text_Encoding_kEncoding_ChineseSimp_Win: fmx_Text_Encoding = 14; pub const fmx_Text_Encoding_kEncoding_Cyrillic_Mac: fmx_Text_Encoding = 15; pub const fmx_Text_Encoding_kEncoding_Cyrillic_Win: fmx_Text_Encoding = 16; pub const fmx_Text_Encoding_kEncoding_ISO_8859_5: fmx_Text_Encoding = 17; pub const fmx_Text_Encoding_kEncoding_CentralEurope_Mac: fmx_Text_Encoding = 18; pub const fmx_Text_Encoding_kEncoding_EasternEurope_Win: fmx_Text_Encoding = 19; pub const fmx_Text_Encoding_kEncoding_ISO_8859_2: fmx_Text_Encoding = 20; pub const fmx_Text_Encoding_kEncoding_Turkish_Mac: fmx_Text_Encoding = 21; pub const fmx_Text_Encoding_kEncoding_Turkish_Win: fmx_Text_Encoding = 22; pub const fmx_Text_Encoding_kEncoding_ISO_8859_3: fmx_Text_Encoding = 23; pub const fmx_Text_Encoding_kEncoding_ISO_8859_9: fmx_Text_Encoding = 24; pub const fmx_Text_Encoding_kEncoding_Baltic_Win: fmx_Text_Encoding = 25; pub const fmx_Text_Encoding_kEncoding_ISO_8859_4: fmx_Text_Encoding = 26; pub const fmx_Text_Encoding_kEncoding_Arabic_Mac: fmx_Text_Encoding = 27; pub const fmx_Text_Encoding_kEncoding_Arabic_Win: fmx_Text_Encoding = 28; pub const fmx_Text_Encoding_kEncoding_ISO_8859_6: fmx_Text_Encoding = 29; pub const fmx_Text_Encoding_kEncoding_Greek_Mac: fmx_Text_Encoding = 30; pub const fmx_Text_Encoding_kEncoding_Greek_Win: fmx_Text_Encoding = 31; pub const fmx_Text_Encoding_kEncoding_ISO_8859_7: fmx_Text_Encoding = 32; pub const fmx_Text_Encoding_kEncoding_Hebrew_Mac: fmx_Text_Encoding = 33; pub const fmx_Text_Encoding_kEncoding_Hebrew_Win: fmx_Text_Encoding = 34; pub const fmx_Text_Encoding_kEncoding_ISO_8859_8: fmx_Text_Encoding = 35; pub const fmx_Text_Encoding_kEncoding_ISO_8859_15: fmx_Text_Encoding = 36; pub type fmx_Text_Encoding = u32; pub const fmx_Text_kSize_Invalid: fmx_Text__bindgen_ty_1 = 4294967295; pub const fmx_Text_kSize_End: fmx_Text__bindgen_ty_1 = 4294967295; pub type fmx_Text__bindgen_ty_1 = u32; #[test] fn bindgen_test_layout_fmx_Text() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of: ", stringify!(fmx_Text)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(fmx_Text)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_TextAutoPtr { pub _base: std_auto_ptr, } pub type fmx_TextAutoPtr_UpCaster = fmx_TextAutoPtr; #[test] fn bindgen_test_layout_fmx_TextAutoPtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_TextAutoPtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_TextAutoPtr)) ); } #[repr(C)] #[derive(Debug)] pub struct fmx_TextUniquePtr { pub _base: std_unique_ptr, } pub type fmx_TextUniquePtr_UpCaster = fmx_TextUniquePtr; #[test] fn bindgen_test_layout_fmx_TextUniquePtr() { assert_eq!( ::std::mem::size_of::(), 8usize, concat!("Size of: ", stringify!(fmx_TextUniquePtr)) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!("Alignment of ", stringify!(fmx_TextUniquePtr)) ); } pub type FMX_Text = fmx_Text; pub type FMX_Data = fmx_Data; pub type FMX_ExprEnv = fmx_ExprEnv; pub type FMX_UChar = fmx_uchar; pub type FMX_Int16 = fmx_int16; pub type FMX_UInt16 = fmx_uint16; pub type FMX_Int32 = fmx_int32; pub type FMX_UInt32 = fmx_uint32; pub type FMX_Unichar = fmx_unichar16; pub type FMX_ErrorCode = fmx_errcode; pub type FMX_PtrType = fmx_ptrtype; pub type FMX_Char = ::std::os::raw::c_char; pub type FMX_Boolean = ::std::os::raw::c_char; pub type FMX_ScriptControl = FMX_UChar; pub const kFMXT_Halt: _bindgen_ty_5 = 0; pub const kFMXT_Exit: _bindgen_ty_5 = 1; pub const kFMXT_Resume: _bindgen_ty_5 = 2; pub const kFMXT_Pause: _bindgen_ty_5 = 3; pub type _bindgen_ty_5 = u32; pub type FMX_StartScriptCall = ::std::option::Option< unsafe extern "C" fn( fileName: *const FMX_Text, scriptName: *const FMX_Text, control: FMX_ScriptControl, parameter: *const FMX_Data, ) -> FMX_ErrorCode, >; pub type FMX_CurrentEnvCall = ::std::option::Option FMX_ErrorCode>; pub const kBadExtnVersion: _bindgen_ty_6 = -1; pub const kDoNotEnable: _bindgen_ty_6 = -2; pub const k40ExtnVersion: _bindgen_ty_6 = 11; pub const k41ExtnVersion: _bindgen_ty_6 = 12; pub const k50ExtnVersion: _bindgen_ty_6 = 14; pub const k60ExtnVersion: _bindgen_ty_6 = 17; pub const k70ExtnVersion: _bindgen_ty_6 = 50; pub const k80ExtnVersion: _bindgen_ty_6 = 51; pub const k110ExtnVersion: _bindgen_ty_6 = 52; pub const k120ExtnVersion: _bindgen_ty_6 = 53; pub const k130ExtnVersion: _bindgen_ty_6 = 54; pub const k140ExtnVersion: _bindgen_ty_6 = 55; pub const k150ExtnVersion: _bindgen_ty_6 = 56; pub const k160ExtnVersion: _bindgen_ty_6 = 57; pub const k170ExtnVersion: _bindgen_ty_6 = 59; pub const k180ExtnVersion: _bindgen_ty_6 = 60; pub const k190ExtnVersion: _bindgen_ty_6 = 62; pub const kCurrentExtnVersion: _bindgen_ty_6 = 62; pub const kMinExtnVersion: _bindgen_ty_6 = 4; pub const kMaxExtnVersion: _bindgen_ty_6 = 255; pub type _bindgen_ty_6 = i32; pub type FMX_ExternCallSwitch = FMX_UChar; pub const kFMXT_Init: _bindgen_ty_7 = 0; pub const kFMXT_Idle: _bindgen_ty_7 = 1; pub const kFMXT_Shutdown: _bindgen_ty_7 = 4; pub const kFMXT_DoAppPreferences: _bindgen_ty_7 = 5; pub const kFMXT_GetString: _bindgen_ty_7 = 7; pub const kFMXT_SessionShutdown: _bindgen_ty_7 = 8; pub const kFMXT_FileShutdown: _bindgen_ty_7 = 9; pub type _bindgen_ty_7 = u32; pub type FMX_Strings = FMX_UChar; pub const kFMXT_NameStr: _bindgen_ty_8 = 128; pub const kFMXT_AppConfigStr: _bindgen_ty_8 = 129; pub const kFMXT_OptionsStr: _bindgen_ty_8 = 131; pub const kFMXT_HelpURLStr: _bindgen_ty_8 = 132; pub type _bindgen_ty_8 = u32; pub type FMX_IdleLevel = FMX_UChar; pub const kFMXT_UserIdle: _bindgen_ty_9 = 0; pub const kFMXT_UserNotIdle: _bindgen_ty_9 = 1; pub const kFMXT_ScriptPaused: _bindgen_ty_9 = 2; pub const kFMXT_ScriptRunning: _bindgen_ty_9 = 3; pub const kFMXT_Unsafe: _bindgen_ty_9 = 4; pub type _bindgen_ty_9 = u32; pub type FMX_Application = FMX_UChar; pub const kFMXT_Developer: _bindgen_ty_10 = 0; pub const kFMXT_Pro: _bindgen_ty_10 = 1; pub const kFMXT_Runtime: _bindgen_ty_10 = 2; pub const kFMXT_Server: _bindgen_ty_10 = 3; pub const kFMXT_Web: _bindgen_ty_10 = 4; pub const kFMXT_Mobile: _bindgen_ty_10 = 5; pub const kFMXT_XDBC: _bindgen_ty_10 = 6; pub const kFMXT_SASE: _bindgen_ty_10 = 7; pub const kFMXT_IWP: _bindgen_ty_10 = 8; pub type _bindgen_ty_10 = u32; pub type FMX_ExternCallPtr = *mut FMX_ExternCallStruct; pub type FMX_ExternCallProc = ::std::option::Option; #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct FMX_ExternCallStruct { pub extnVersion: FMX_Int16, pub unusedID: fmx_unusedid, pub entryPoint: FMX_ExternCallProc, pub cfmCalls: FMX_Boolean, pub whichCall: FMX_ExternCallSwitch, pub unsafeCalls: FMX_Boolean, pub parm1: FMX_UChar, pub parm2: FMX_PtrType, pub parm3: FMX_PtrType, pub instanceID: FMX_PtrType, pub result: FMX_PtrType, pub unused: FMX_PtrType, pub cStartScript: FMX_StartScriptCall, pub cCurrentEnv: FMX_CurrentEnvCall, } #[test] fn bindgen_test_layout_FMX_ExternCallStruct() { assert_eq!( ::std::mem::size_of::(), 74usize, concat!("Size of: ", stringify!(FMX_ExternCallStruct)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!("Alignment of ", stringify!(FMX_ExternCallStruct)) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).extnVersion as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(extnVersion) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).unusedID as *const _ as usize }, 2usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(unusedID) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).entryPoint as *const _ as usize }, 6usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(entryPoint) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).cfmCalls as *const _ as usize }, 14usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(cfmCalls) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).whichCall as *const _ as usize }, 15usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(whichCall) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).unsafeCalls as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(unsafeCalls) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).parm1 as *const _ as usize }, 17usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(parm1) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).parm2 as *const _ as usize }, 18usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(parm2) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).parm3 as *const _ as usize }, 26usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(parm3) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).instanceID as *const _ as usize }, 34usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(instanceID) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).result as *const _ as usize }, 42usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(result) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).unused as *const _ as usize }, 50usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(unused) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).cStartScript as *const _ as usize }, 58usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(cStartScript) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::())).cCurrentEnv as *const _ as usize }, 66usize, concat!( "Offset of field: ", stringify!(FMX_ExternCallStruct), "::", stringify!(cCurrentEnv) ) ); } extern "C" { pub fn FMExternCallProc(pb: FMX_ExternCallPtr); } extern "C" { pub static mut gFMX_ExternCallPtr: FMX_ExternCallPtr; } extern "C" { pub fn FM_QuadChar_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_QuadChar; } extern "C" { pub fn FM_QuadChar_Constructor2( c0: ::std::os::raw::c_char, c1: ::std::os::raw::c_char, c2: ::std::os::raw::c_char, c3: ::std::os::raw::c_char, _x: *mut fmx__fmxcpt, ) -> *mut fmx_QuadChar; } extern "C" { pub fn FM_QuadChar_Constructor3( value: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> *mut fmx_QuadChar; } extern "C" { pub fn FM_QuadChar_operatorAS( _self: *mut ::std::os::raw::c_void, value: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> *const fmx_QuadChar; } extern "C" { pub fn FM_QuadChar_operatorAR( _self: *mut ::std::os::raw::c_void, i: ::std::os::raw::c_int, _x: *mut fmx__fmxcpt, ) -> fmx_uchar; } extern "C" { pub fn FM_QuadChar_operatorCAR( _self: *const ::std::os::raw::c_void, i: ::std::os::raw::c_int, _x: *mut fmx__fmxcpt, ) -> fmx_uchar; } extern "C" { pub fn FM_QuadChar_operatorEQ( _self: *const ::std::os::raw::c_void, value: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_QuadChar_operatorNE( _self: *const ::std::os::raw::c_void, value: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_QuadChar_operatorLT( _self: *const ::std::os::raw::c_void, value: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_QuadChar_operatorLE( _self: *const ::std::os::raw::c_void, value: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_QuadChar_operatorGT( _self: *const ::std::os::raw::c_void, value: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_QuadChar_operatorGE( _self: *const ::std::os::raw::c_void, value: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_QuadChar_GetMacType( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_QuadChar_SetMacType( _self: *mut ::std::os::raw::c_void, value: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_QuadChar_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_Locale_Constructor1(inputType: fmx_int32, _x: *mut fmx__fmxcpt) -> *mut fmx_Locale; } extern "C" { pub fn FM_Locale_Constructor2( copyConstruct: *const fmx_Locale, _x: *mut fmx__fmxcpt, ) -> *mut fmx_Locale; } extern "C" { pub fn FM_Locale_operatorAS( _self: *mut ::std::os::raw::c_void, rhs: *const fmx_Locale, _x: *mut fmx__fmxcpt, ) -> *mut fmx_Locale; } extern "C" { pub fn FM_Locale_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_BinaryData_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_BinaryData; } extern "C" { pub fn FM_BinaryData_Constructor2( sourceData: *const fmx_BinaryData, _x: *mut fmx__fmxcpt, ) -> *mut fmx_BinaryData; } extern "C" { pub fn FM_BinaryData_Constructor3( name: *const fmx_Text, amount: fmx_uint32, buffer: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *mut fmx_BinaryData; } extern "C" { pub fn FM_BinaryData_Constructor4( name: *const fmx_Text, context: *mut fmx_uint32, _x: *mut fmx__fmxcpt, ) -> *mut fmx_BinaryData; } extern "C" { pub fn FM_BinaryData_operatorAS( _self: *mut ::std::os::raw::c_void, source: *const fmx_BinaryData, _x: *mut fmx__fmxcpt, ) -> *mut fmx_BinaryData; } extern "C" { pub fn FM_BinaryData_operatorEQ( _self: *const ::std::os::raw::c_void, compareData: *const fmx_BinaryData, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_BinaryData_operatorNE( _self: *const ::std::os::raw::c_void, compareData: *const fmx_BinaryData, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_BinaryData_GetCount( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int32; } extern "C" { pub fn FM_BinaryData_GetIndex( _self: *const ::std::os::raw::c_void, dataType: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> fmx_int32; } extern "C" { pub fn FM_BinaryData_GetTotalSize( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_BinaryData_GetType( _self: *const ::std::os::raw::c_void, index: fmx_int32, dataType: *mut fmx_QuadChar, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_BinaryData_GetSize( _self: *const ::std::os::raw::c_void, index: fmx_int32, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_BinaryData_GetData( _self: *const ::std::os::raw::c_void, index: fmx_int32, offset: fmx_uint32, amount: fmx_uint32, buffer: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_BinaryData_Add( _self: *mut ::std::os::raw::c_void, dataType: *const fmx_QuadChar, amount: fmx_uint32, buffer: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_BinaryData_Remove( _self: *mut ::std::os::raw::c_void, dataType: *const fmx_QuadChar, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_BinaryData_RemoveAll(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_BinaryData_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_BinaryData_GetFNAMData( _self: *const ::std::os::raw::c_void, filepathlist: *mut fmx_Text, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_BinaryData_AddFNAMData( _self: *mut ::std::os::raw::c_void, filepathlist: *const fmx_Text, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_BinaryData_GetSIZEData( _self: *const ::std::os::raw::c_void, width: *mut ::std::os::raw::c_short, height: *mut ::std::os::raw::c_short, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_BinaryData_AddSIZEData( _self: *mut ::std::os::raw::c_void, width: ::std::os::raw::c_short, height: ::std::os::raw::c_short, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_BinaryData_AddBegin( _self: *mut ::std::os::raw::c_void, dataType: *const fmx_QuadChar, context: *mut fmx_uint32, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_BinaryData_AddAppend( _self: *mut ::std::os::raw::c_void, context: fmx_uint32, amount: fmx_uint32, buffer: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_BinaryData_AddFinish( _self: *mut ::std::os::raw::c_void, context: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_DataVect_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_DataVect; } extern "C" { pub fn FM_DataVect_Size( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_DataVect_Clear(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_DataVect_IsEmpty(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt) -> bool; } extern "C" { pub fn FM_DataVect_PushBack( _self: *mut ::std::os::raw::c_void, data: *const fmx_Data, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_DataVect_PopBack( _self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *mut fmx_Data; } extern "C" { pub fn FM_DataVect_At( _self: *const ::std::os::raw::c_void, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> *const fmx_Data; } extern "C" { pub fn FM_DataVect_AtAsText( _self: *const ::std::os::raw::c_void, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> *const fmx_Text; } extern "C" { pub fn FM_DataVect_AtAsNumber( _self: *const ::std::os::raw::c_void, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> *const fmx_FixPt; } extern "C" { pub fn FM_DataVect_AtAsDate( _self: *const ::std::os::raw::c_void, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> *const fmx_DateTime; } extern "C" { pub fn FM_DataVect_AtAsTime( _self: *const ::std::os::raw::c_void, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> *const fmx_DateTime; } extern "C" { pub fn FM_DataVect_AtAsTimeStamp( _self: *const ::std::os::raw::c_void, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> *const fmx_DateTime; } extern "C" { pub fn FM_DataVect_AtAsBoolean( _self: *const ::std::os::raw::c_void, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_DataVect_AtAsBinaryData( _self: *const ::std::os::raw::c_void, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> *const fmx_BinaryData; } extern "C" { pub fn FM_DataVect_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_RowVect_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_RowVect; } extern "C" { pub fn FM_RowVect_Size( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_RowVect_IsEmpty(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt) -> bool; } extern "C" { pub fn FM_RowVect_At( _self: *const ::std::os::raw::c_void, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> *const fmx_DataVect; } extern "C" { pub fn FM_RowVect_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_ExprEnv_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_ExprEnv; } extern "C" { pub fn FM_ExprEnv_Evaluate( _self: *const ::std::os::raw::c_void, expression: *const fmx_Text, result: *mut fmx_Data, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_EvaluateGetFunction( _self: *const ::std::os::raw::c_void, functionValue: ::std::os::raw::c_short, result: *mut fmx_Data, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_EvaluateConvertToFileMakerPath( _self: *const ::std::os::raw::c_void, inPath: *const fmx_Text, inFormat: fmx_int32, outFMPath: *mut fmx_Text, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_EvaluateConvertFromFileMakerPath( _self: *const ::std::os::raw::c_void, inFMPath: *const fmx_Text, inFormat: fmx_int32, outPath: *mut fmx_Text, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_ExecuteFileSQL( _self: *const ::std::os::raw::c_void, expression: *const fmx_Text, filename: *const fmx_Text, parameters: *const fmx_DataVect, result: *mut fmx_RowVect, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_ExecuteFileSQLTextResult( _self: *const ::std::os::raw::c_void, expression: *const fmx_Text, filename: *const fmx_Text, parameters: *const fmx_DataVect, result: *mut fmx_Data, colSep: fmx_uint16, rowSep: fmx_uint16, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_RegisterExternalFunction( pluginId: *const fmx_QuadChar, functionId: ::std::os::raw::c_short, functionName: *const fmx_Text, functionPrototype: *const fmx_Text, minArgs: ::std::os::raw::c_short, maxArgs: ::std::os::raw::c_short, compatibleOnFlags: fmx_uint32, funcPtr: fmx_ExtPluginType, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_RegisterExternalFunctionEx( pluginId: *const fmx_QuadChar, functionId: ::std::os::raw::c_short, functionName: *const fmx_Text, functionPrototype: *const fmx_Text, functionDescription: *const fmx_Text, minArgs: ::std::os::raw::c_short, maxArgs: ::std::os::raw::c_short, compatibleOnFlags: fmx_uint32, funcPtr: fmx_ExtPluginType, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_UnRegisterExternalFunction( pluginId: *const fmx_QuadChar, functionId: ::std::os::raw::c_short, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_SessionID( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_ptrtype; } extern "C" { pub fn FM_ExprEnv_FileID( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_ptrtype; } extern "C" { pub fn FM_ExprEnv_RegisterScriptStep( pluginId: *const fmx_QuadChar, scriptStepId: ::std::os::raw::c_short, scriptStepName: *const fmx_Text, scriptStepDefinition: *const fmx_Text, scriptStepDescription: *const fmx_Text, compatibleOnFlags: fmx_uint32, funcPtr: fmx_ExtPluginType, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_UnRegisterScriptStep( pluginId: *const fmx_QuadChar, scriptStepId: ::std::os::raw::c_short, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_ExprEnv_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_Color_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_CharacterStyle_Color; } extern "C" { pub fn FM_Color_Constructor2( red: fmx_CharacterStyle_ColorChannel, green: fmx_CharacterStyle_ColorChannel, blue: fmx_CharacterStyle_ColorChannel, alpha: fmx_CharacterStyle_ColorChannel, _x: *mut fmx__fmxcpt, ) -> *mut fmx_CharacterStyle_Color; } extern "C" { pub fn FM_Color_Constructor3( color: *const fmx_CharacterStyle_Color, _x: *mut fmx__fmxcpt, ) -> *mut fmx_CharacterStyle_Color; } extern "C" { pub fn FM_Color_SetRed( _self: *mut ::std::os::raw::c_void, r: fmx_CharacterStyle_ColorChannel, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Color_SetGreen( _self: *mut ::std::os::raw::c_void, g: fmx_CharacterStyle_ColorChannel, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Color_SetBlue( _self: *mut ::std::os::raw::c_void, b: fmx_CharacterStyle_ColorChannel, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Color_SetAlpha( _self: *mut ::std::os::raw::c_void, a: fmx_CharacterStyle_ColorChannel, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Color_GetRed( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_ColorChannel; } extern "C" { pub fn FM_Color_GetGreen( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_ColorChannel; } extern "C" { pub fn FM_Color_GetBlue( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_ColorChannel; } extern "C" { pub fn FM_Color_GetAlpha( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_ColorChannel; } extern "C" { pub fn FM_Color_GetRedUpsample( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_ColorChannel16; } extern "C" { pub fn FM_Color_GetGreenUpsample( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_ColorChannel16; } extern "C" { pub fn FM_Color_GetBlueUpsample( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_ColorChannel16; } extern "C" { pub fn FM_Color_GetAlphaUpsample( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_ColorChannel16; } extern "C" { pub fn FM_Color_operatorAS( _self: *mut ::std::os::raw::c_void, rhs: *const fmx_CharacterStyle_Color, _x: *mut fmx__fmxcpt, ) -> *mut fmx_CharacterStyle_Color; } extern "C" { pub fn FM_Color_operatorEQ( _self: *const ::std::os::raw::c_void, rhs: *const fmx_CharacterStyle_Color, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Color_operatorNE( _self: *const ::std::os::raw::c_void, rhs: *const fmx_CharacterStyle_Color, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Color_White() -> *const fmx_CharacterStyle_Color; } extern "C" { pub fn FM_Color_Black() -> *const fmx_CharacterStyle_Color; } extern "C" { pub fn FM_Color_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_CharacterStyle_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_CharacterStyle; } extern "C" { pub fn FM_CharacterStyle_Constructor2( font: fmx_CharacterStyle_FontID, face: fmx_CharacterStyle_Face, size: fmx_CharacterStyle_FontSize, color: *const fmx_CharacterStyle_Color, _x: *mut fmx__fmxcpt, ) -> *mut fmx_CharacterStyle; } extern "C" { pub fn FM_CharacterStyle_Constructor3( style: *const fmx_CharacterStyle, _x: *mut fmx__fmxcpt, ) -> *mut fmx_CharacterStyle; } extern "C" { pub fn FM_CharacterStyle_EnableFont(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_CharacterStyle_EnableFace( _self: *mut ::std::os::raw::c_void, face: fmx_CharacterStyle_Face, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_CharacterStyle_EnableSize(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_CharacterStyle_EnableColor(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_CharacterStyle_DisableFont(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_CharacterStyle_DisableFace( _self: *mut ::std::os::raw::c_void, face: fmx_CharacterStyle_Face, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_CharacterStyle_DisableAllFaces( _self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_CharacterStyle_DisableSize(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_CharacterStyle_DisableColor(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_CharacterStyle_DisableAll(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_CharacterStyle_IsAllDisabled( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_CharacterStyle_IsFontEnabled( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_CharacterStyle_IsFaceEnabled( _self: *const ::std::os::raw::c_void, face: fmx_CharacterStyle_Face, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_CharacterStyle_IsAnyFaceEnabled( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_CharacterStyle_IsSizeEnabled( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_CharacterStyle_IsColorEnabled( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_CharacterStyle_SetFontInformation( _self: *mut ::std::os::raw::c_void, font: fmx_CharacterStyle_FontID, face: fmx_CharacterStyle_Face, size: fmx_CharacterStyle_FontSize, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_CharacterStyle_GetFontInformation( _self: *mut ::std::os::raw::c_void, font: *mut fmx_CharacterStyle_FontID, face: *mut fmx_CharacterStyle_Face, size: *mut fmx_CharacterStyle_FontSize, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_CharacterStyle_SetFont( _self: *mut ::std::os::raw::c_void, font: fmx_CharacterStyle_FontID, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_CharacterStyle_SetFace( _self: *mut ::std::os::raw::c_void, face: fmx_CharacterStyle_Face, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_CharacterStyle_SetSize( _self: *mut ::std::os::raw::c_void, size: fmx_CharacterStyle_FontSize, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_CharacterStyle_GetFont( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_FontID; } extern "C" { pub fn FM_CharacterStyle_GetFace( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_Face; } extern "C" { pub fn FM_CharacterStyle_GetSize( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_FontSize; } extern "C" { pub fn FM_CharacterStyle_SetColor( _self: *mut ::std::os::raw::c_void, color: *const fmx_CharacterStyle_Color, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_CharacterStyle_GetColor( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *const fmx_CharacterStyle_Color; } extern "C" { pub fn FM_CharacterStyle_operatorAS( _self: *mut ::std::os::raw::c_void, rhs: *const fmx_CharacterStyle, _x: *mut fmx__fmxcpt, ) -> *mut fmx_CharacterStyle; } extern "C" { pub fn FM_CharacterStyle_operatorEQ( _self: *const ::std::os::raw::c_void, rhs: *const fmx_CharacterStyle, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_CharacterStyle_operatorNE( _self: *const ::std::os::raw::c_void, rhs: *const fmx_CharacterStyle, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_CharacterStyle_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_Data_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_Data; } extern "C" { pub fn FM_Data_IsEmpty(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt) -> bool; } extern "C" { pub fn FM_Data_IsValid(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt) -> bool; } extern "C" { pub fn FM_Data_IsFindRequest( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Data_Clear( _self: *mut ::std::os::raw::c_void, newNativeType: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Data_GetAsText( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *const fmx_Text; } extern "C" { pub fn FM_Data_GetAsNumber( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *const fmx_FixPt; } extern "C" { pub fn FM_Data_GetAsDate( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *const fmx_DateTime; } extern "C" { pub fn FM_Data_GetAsTime( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *const fmx_DateTime; } extern "C" { pub fn FM_Data_GetAsTimeStamp( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *const fmx_DateTime; } extern "C" { pub fn FM_Data_GetAsBoolean(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt) -> bool; } extern "C" { pub fn FM_Data_GetBinaryData( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *const fmx_BinaryData; } extern "C" { pub fn FM_Data_GetLocale( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> *const fmx_Locale; } extern "C" { pub fn FM_Data_GetNativeType( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int32; } extern "C" { pub fn FM_Data_ConvertData( _self: *mut ::std::os::raw::c_void, nativeType: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Data_SetAsText( _self: *mut ::std::os::raw::c_void, textData: *const fmx_Text, sourceLocale: *const fmx_Locale, nativeType: fmx_int32, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_Data_SetAsNumber( _self: *mut ::std::os::raw::c_void, numericData: *const fmx_FixPt, nativeType: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Data_SetAsDate( _self: *mut ::std::os::raw::c_void, dateData: *const fmx_DateTime, nativeType: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Data_SetAsTime( _self: *mut ::std::os::raw::c_void, timeData: *const fmx_DateTime, nativeType: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Data_SetAsTimeStamp( _self: *mut ::std::os::raw::c_void, timeStampData: *const fmx_DateTime, nativeType: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Data_SetDateTime( _self: *mut ::std::os::raw::c_void, dateTimeData: *const fmx_DateTime, dateTimeType: fmx_int32, nativeType: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Data_SetBinaryData( _self: *mut ::std::os::raw::c_void, binaryData: *const fmx_BinaryData, forceBinaryNativeType: bool, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Data_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_Data_GetFontID( _self: *const ::std::os::raw::c_void, fontDisplayName: *const fmx_Text, fontScript: fmx_CharacterStyle_FontScript, env: *const fmx_ExprEnv, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_FontID; } extern "C" { pub fn FM_Data_GetPostscriptFontID( _self: *const ::std::os::raw::c_void, fontPostscriptName: *const fmx_Text, env: *const fmx_ExprEnv, _x: *mut fmx__fmxcpt, ) -> fmx_CharacterStyle_FontID; } extern "C" { pub fn FM_Data_GetFontInfo( _self: *const ::std::os::raw::c_void, font: fmx_CharacterStyle_FontID, fontDisplayName: *mut fmx_Text, fontScript: *mut fmx_CharacterStyle_FontScript, env: *const fmx_ExprEnv, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Data_GetPostscriptFontInfo( _self: *const ::std::os::raw::c_void, font: fmx_CharacterStyle_FontID, fontPostscriptName: *mut fmx_Text, env: *const fmx_ExprEnv, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_DateTime_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_DateTime; } extern "C" { pub fn FM_DateTime_Constructor2( dateString: *const fmx_unichar16, dateLength: fmx_uint32, intl: *const fmx_Locale, _x: *mut fmx__fmxcpt, ) -> *mut fmx_DateTime; } extern "C" { pub fn FM_DateTime_Constructor3( dateText: *const fmx_Text, intl: *const fmx_Locale, _x: *mut fmx__fmxcpt, ) -> *mut fmx_DateTime; } extern "C" { pub fn FM_DateTime_operatorEQ( _self: *const ::std::os::raw::c_void, that: *const fmx_DateTime, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_DateTime_operatorNE( _self: *const ::std::os::raw::c_void, that: *const fmx_DateTime, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_DateTime_IsLeapYear( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_DateTime_DayOfWeek( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int16; } extern "C" { pub fn FM_DateTime_DayOfYear( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int16; } extern "C" { pub fn FM_DateTime_WeekOfYear( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int16; } extern "C" { pub fn FM_DateTime_Now(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_DateTime_SetDate( _self: *mut ::std::os::raw::c_void, datetime: *const fmx_DateTime, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_DateTime_SetNormalizedDate1( _self: *mut ::std::os::raw::c_void, month: fmx_int16, day: fmx_int16, year: fmx_int16, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_DateTime_SetNormalizedDate2( _self: *mut ::std::os::raw::c_void, year: *const fmx_FixPt, month: *const fmx_FixPt, day: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_DateTime_SetDaysSinceEpoch( _self: *mut ::std::os::raw::c_void, days: fmx_int64, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_DateTime_SetTime( _self: *mut ::std::os::raw::c_void, datetime: *const fmx_DateTime, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_DateTime_SetNormalizedTime1( _self: *mut ::std::os::raw::c_void, hour: fmx_int64, minute: fmx_int16, sec: fmx_int16, usec: fmx_int32, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_DateTime_SetNormalizedTime2( _self: *mut ::std::os::raw::c_void, hour: *const fmx_FixPt, minute: *const fmx_FixPt, sec: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_DateTime_SetSecsSinceMidnight( _self: *mut ::std::os::raw::c_void, secs: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_DateTime_SetSecondsSinceEpoch( _self: *mut ::std::os::raw::c_void, seconds: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_DateTime_GetYear( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int16; } extern "C" { pub fn FM_DateTime_GetMonth( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int16; } extern "C" { pub fn FM_DateTime_GetDay( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int16; } extern "C" { pub fn FM_DateTime_GetDaysSinceEpoch( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int32; } extern "C" { pub fn FM_DateTime_GetHour( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int32; } extern "C" { pub fn FM_DateTime_GetMinute( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int16; } extern "C" { pub fn FM_DateTime_GetSec( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int16; } extern "C" { pub fn FM_DateTime_GetUSec( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int32; } extern "C" { pub fn FM_DateTime_GetSeconds( _self: *const ::std::os::raw::c_void, results: *mut fmx_FixPt, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_DateTime_GetSecsSinceMidnight( _self: *const ::std::os::raw::c_void, results: *mut fmx_FixPt, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_DateTime_GetSecondsSinceEpoch( _self: *const ::std::os::raw::c_void, results: *mut fmx_FixPt, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_DateTime_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_FixPt_Constructor1( val: fmx_int32, precision: ::std::os::raw::c_int, _x: *mut fmx__fmxcpt, ) -> *mut fmx_FixPt; } extern "C" { pub fn FM_FixPt_Constructor2( val: fmx_int32, precisionExample: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> *mut fmx_FixPt; } extern "C" { pub fn FM_FixPt_AssignInt( _self: *mut ::std::os::raw::c_void, that: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_AssignInt64( _self: *mut ::std::os::raw::c_void, that: fmx_int64, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_AssignDouble( _self: *mut ::std::os::raw::c_void, that: f64, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_AssignFixPt( _self: *mut ::std::os::raw::c_void, that: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_operatorEQ( _self: *const ::std::os::raw::c_void, that: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_FixPt_operatorNE( _self: *const ::std::os::raw::c_void, that: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_FixPt_operatorLT( _self: *const ::std::os::raw::c_void, that: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_FixPt_operatorLE( _self: *const ::std::os::raw::c_void, that: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_FixPt_operatorGT( _self: *const ::std::os::raw::c_void, that: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_FixPt_operatorGE( _self: *const ::std::os::raw::c_void, that: *const fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_FixPt_Increment( _self: *mut ::std::os::raw::c_void, n: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_Increment64( _self: *mut ::std::os::raw::c_void, n: fmx_int64, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_Decrement( _self: *mut ::std::os::raw::c_void, n: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_Decrement64( _self: *mut ::std::os::raw::c_void, n: fmx_int64, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_Negate(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_FixPt_GetPrecision( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> ::std::os::raw::c_int; } extern "C" { pub fn FM_FixPt_SetPrecision( _self: *mut ::std::os::raw::c_void, precision: ::std::os::raw::c_int, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_Add( _self: *const ::std::os::raw::c_void, arg: *const fmx_FixPt, result: *mut fmx_FixPt, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_Subtract( _self: *const ::std::os::raw::c_void, arg: *const fmx_FixPt, result: *mut fmx_FixPt, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_Multiply( _self: *const ::std::os::raw::c_void, arg: *const fmx_FixPt, result: *mut fmx_FixPt, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_FixPt_Divide( _self: *const ::std::os::raw::c_void, arg: *const fmx_FixPt, result: *mut fmx_FixPt, _x: *mut fmx__fmxcpt, ) -> fmx_errcode; } extern "C" { pub fn FM_FixPt_AsBool(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt) -> bool; } extern "C" { pub fn FM_FixPt_AsLong(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt) -> fmx_int32; } extern "C" { pub fn FM_FixPt_AsLong64( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_int64; } extern "C" { pub fn FM_FixPt_AsFloat(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt) -> f64; } extern "C" { pub fn FM_FixPt_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_Text_Constructor1(_x: *mut fmx__fmxcpt) -> *mut fmx_Text; } extern "C" { pub fn FM_Text_GetSize( _self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_Text_Assign( _self: *mut ::std::os::raw::c_void, s: *const ::std::os::raw::c_char, encoding: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_GetBytes( _self: *const ::std::os::raw::c_void, buffer: *mut ::std::os::raw::c_char, buffersize: fmx_uint32, position: fmx_uint32, size: fmx_uint32, encoding: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_GetBytesEx( _self: *const ::std::os::raw::c_void, buffer: *mut ::std::os::raw::c_char, buffersize: fmx_uint32, position: fmx_uint32, size: fmx_uint32, encoding: fmx_int32, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_Text_AssignWide( _self: *mut ::std::os::raw::c_void, s: *const u32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_AssignUnicode( _self: *mut ::std::os::raw::c_void, s: *const fmx_uint16, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_AssignWithLength( _self: *mut ::std::os::raw::c_void, s: *const ::std::os::raw::c_char, strlength: fmx_uint32, encoding: fmx_int32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_AssignWideWithLength( _self: *mut ::std::os::raw::c_void, s: *const u32, strlength: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_AssignUnicodeWithLength( _self: *mut ::std::os::raw::c_void, s: *const fmx_uint16, strlength: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_GetUnicode( _self: *const ::std::os::raw::c_void, s: *mut fmx_uint16, position: fmx_uint32, size: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_SetText( _self: *mut ::std::os::raw::c_void, other: *const fmx_Text, position: fmx_uint32, size: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_AppendText( _self: *mut ::std::os::raw::c_void, other: *const fmx_Text, position: fmx_uint32, size: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_InsertText( _self: *mut ::std::os::raw::c_void, other: *const fmx_Text, position: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_DeleteText( _self: *mut ::std::os::raw::c_void, positionToDelete: fmx_uint32, sizeToDelete: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_Find( _self: *const ::std::os::raw::c_void, other: *const fmx_Text, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_Text_FindPrev( _self: *const ::std::os::raw::c_void, other: *const fmx_Text, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_Text_FindIgnoringCase( _self: *const ::std::os::raw::c_void, other: *const fmx_Text, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_Text_FindPrevIgnoringCase( _self: *const ::std::os::raw::c_void, other: *const fmx_Text, position: fmx_uint32, _x: *mut fmx__fmxcpt, ) -> fmx_uint32; } extern "C" { pub fn FM_Text_Uppercase(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_Text_Lowercase(_self: *const ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_Text_GetStyle( _self: *const ::std::os::raw::c_void, style: *mut fmx_CharacterStyle, position: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_GetDefaultStyle( _self: *const ::std::os::raw::c_void, style: *mut fmx_CharacterStyle, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_SetStyle( _self: *mut ::std::os::raw::c_void, style: *const fmx_CharacterStyle, position: fmx_uint32, size: fmx_uint32, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_RemoveStyle( _self: *mut ::std::os::raw::c_void, style: *const fmx_CharacterStyle, _x: *mut fmx__fmxcpt, ); } extern "C" { pub fn FM_Text_ResetAllStyleBuffers(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } extern "C" { pub fn FM_Text_operatorEQ( _self: *const ::std::os::raw::c_void, that: *const fmx_Text, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Text_operatorNE( _self: *const ::std::os::raw::c_void, that: *const fmx_Text, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Text_operatorLT( _self: *const ::std::os::raw::c_void, that: *const fmx_Text, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Text_operatorLE( _self: *const ::std::os::raw::c_void, that: *const fmx_Text, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Text_operatorGT( _self: *const ::std::os::raw::c_void, that: *const fmx_Text, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Text_operatorGE( _self: *const ::std::os::raw::c_void, that: *const fmx_Text, _x: *mut fmx__fmxcpt, ) -> bool; } extern "C" { pub fn FM_Text_Delete(_self: *mut ::std::os::raw::c_void, _x: *mut fmx__fmxcpt); } pub type __builtin_va_list = [__va_list_tag; 1usize]; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __va_list_tag { pub gp_offset: ::std::os::raw::c_uint, pub fp_offset: ::std::os::raw::c_uint, pub overflow_arg_area: *mut ::std::os::raw::c_void, pub reg_save_area: *mut ::std::os::raw::c_void, } #[test] fn bindgen_test_layout___va_list_tag() { assert_eq!( ::std::mem::size_of::<__va_list_tag>(), 24usize, concat!("Size of: ", stringify!(__va_list_tag)) ); assert_eq!( ::std::mem::align_of::<__va_list_tag>(), 8usize, concat!("Alignment of ", stringify!(__va_list_tag)) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(__va_list_tag), "::", stringify!(gp_offset) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize }, 4usize, concat!( "Offset of field: ", stringify!(__va_list_tag), "::", stringify!(fp_offset) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize }, 8usize, concat!( "Offset of field: ", stringify!(__va_list_tag), "::", stringify!(overflow_arg_area) ) ); assert_eq!( unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize }, 16usize, concat!( "Offset of field: ", stringify!(__va_list_tag), "::", stringify!(reg_save_area) ) ); } #[test] fn __bindgen_test_layout_std___type_list_open0_signed_char_std___type_list_open1_short_std___type_list_open2_int_std___type_list_open3_long_std___type_list_open4_long_long_std___type_list_open5___int128_t_std___nat_close5_close4_close3_close2_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___type_list) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___type_list) ) ); } pub type __int128_t = i128; #[test] fn __bindgen_test_layout_std___type_list_open0_unsigned_char_std___type_list_open1_unsigned_short_std___type_list_open2_unsigned_int_std___type_list_open3_unsigned_long_std___type_list_open4_unsigned_long_long_std___type_list_open5___uint128_t_std___nat_close5_close4_close3_close2_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___type_list) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___type_list) ) ); } pub type __uint128_t = u128; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _bindgen_ty_1 { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _bindgen_ty_2 { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _bindgen_ty_3 { pub _address: u8, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _bindgen_ty_4 { pub _address: u8, } #[test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_iterator) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_iterator) ) ); } #[test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation_1( ) { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_iterator) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_iterator) ) ); } #[test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation_2( ) { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_iterator) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_iterator) ) ); } #[test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation_3( ) { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_iterator) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_iterator) ) ); } #[test] fn __bindgen_test_layout_std_iterator_open0_std_output_iterator_tag_void_void_void_void_close0_instantiation_4( ) { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_iterator) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_iterator) ) ); } #[test] fn __bindgen_test_layout_std_tuple_open0_close0_instantiation_1() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!("Size of template specialization: ", stringify!(std_tuple)) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_tuple) ) ); } pub type type_ = ::std::os::raw::c_uint; #[test] fn __bindgen_test_layout_std___cxx_atomic_impl_open0_bool__std___cxx_atomic_base_impl_open1_bool__close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::>(), 1usize, concat!( "Size of template specialization: ", stringify!(std___cxx_atomic_impl) ) ); assert_eq!( ::std::mem::align_of::>(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___cxx_atomic_impl) ) ); } #[test] fn __bindgen_test_layout_std___cxx_atomic_base_impl_open0_bool__close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std___cxx_atomic_base_impl) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std___cxx_atomic_base_impl) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_void_std___builtin_new_allocator___builtin_new_deleter_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 24usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_QuadChar_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_Locale_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_QuadChar_std_default_delete_open1_fmx_QuadChar_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_QuadChar_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_Locale_std_default_delete_open1_fmx_Locale_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_Locale_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_BinaryData_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_BinaryData_std_default_delete_open1_fmx_BinaryData_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_BinaryData_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_DataVect_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_RowVect_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_ExprEnv_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_DataVect_std_default_delete_open1_fmx_DataVect_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_DataVect_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_RowVect_std_default_delete_open1_fmx_RowVect_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_RowVect_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_ExprEnv_std_default_delete_open1_fmx_ExprEnv_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_ExprEnv_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_CharacterStyle_Color_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_CharacterStyle_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_CharacterStyle_Color_std_default_delete_open1_fmx_CharacterStyle_Color_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_CharacterStyle_Color_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_CharacterStyle_std_default_delete_open1_fmx_CharacterStyle_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_CharacterStyle_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_Data_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_Data_std_default_delete_open1_fmx_Data_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_Data_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_DateTime_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_DateTime_std_default_delete_open1_fmx_DateTime_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_DateTime_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_FixPt_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_FixPt_std_default_delete_open1_fmx_FixPt_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_FixPt_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); } #[test] fn __bindgen_test_layout_std_auto_ptr_open0_fmx_Text_close0_instantiation() { assert_eq!( ::std::mem::size_of::>(), 8usize, concat!( "Size of template specialization: ", stringify!(std_auto_ptr) ) ); assert_eq!( ::std::mem::align_of::>(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_auto_ptr) ) ); } #[test] fn __bindgen_test_layout_std_unique_ptr_open0_fmx_Text_std_default_delete_open1_fmx_Text_close1_close0_instantiation( ) { assert_eq!( ::std::mem::size_of::(), 8usize, concat!( "Size of template specialization: ", stringify!(std_unique_ptr) ) ); assert_eq!( ::std::mem::align_of::(), 8usize, concat!( "Alignment of template specialization: ", stringify!(std_unique_ptr) ) ); } #[test] fn __bindgen_test_layout_std_default_delete_open0_fmx_Text_close0_instantiation() { assert_eq!( ::std::mem::size_of::(), 1usize, concat!( "Size of template specialization: ", stringify!(std_default_delete) ) ); assert_eq!( ::std::mem::align_of::(), 1usize, concat!( "Alignment of template specialization: ", stringify!(std_default_delete) ) ); }