[INFO] fetching crate janet-rs-sys 0.1.0... [INFO] testing janet-rs-sys-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate janet-rs-sys 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate janet-rs-sys 0.1.0 [INFO] finished tweaking crates.io crate janet-rs-sys 0.1.0 [INFO] tweaked toml for crates.io crate janet-rs-sys 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate janet-rs-sys 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.65.1 (available: v0.72.0) [INFO] [stderr] Adding which v4.4.2 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded meson v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12c41c16ea4e3c9330776c87ba56bec17f72381b94e53bc552282d4f7fc1ec05 [INFO] running `Command { std: "docker" "start" "-a" "12c41c16ea4e3c9330776c87ba56bec17f72381b94e53bc552282d4f7fc1ec05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12c41c16ea4e3c9330776c87ba56bec17f72381b94e53bc552282d4f7fc1ec05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c41c16ea4e3c9330776c87ba56bec17f72381b94e53bc552282d4f7fc1ec05", kill_on_drop: false }` [INFO] [stdout] 12c41c16ea4e3c9330776c87ba56bec17f72381b94e53bc552282d4f7fc1ec05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1e14bc2454edfc140c2dbca5677b8376f5529ef63a63061cde95c7ead9a7116b [INFO] running `Command { std: "docker" "start" "-a" "1e14bc2454edfc140c2dbca5677b8376f5529ef63a63061cde95c7ead9a7116b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling meson v1.0.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling janet-rs-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `FP_NAN` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/janet-rs-sys-20ac3d8fc51bea46/out/bindings.rs:3:156351 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_NAN : u32 = 0 ; pub const FP_INFINITE : u32 = 1 ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 2 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const JANET_NANBOX_TAGBITS : i64 = - 140737488355328 ; pub const JANET_NANBOX_PAYLOADBITS : u64 = 140737488355327 ; pub const JANET_STACKFRAME_TAILCALL : u32 = 1 ; pub const JANET_STACKFRAME_ENTRANCE : u32 = 2 ; pub const JANET_FRAME_SIZE : u32 = 4 ; pub const JANET_FUNCDEF_FLAG_VARARG : u32 = 65536 ; pub const JANET_FUNCDEF_FLAG_NEEDSENV : u32 = 131072 ; pub const JANET_FUNCDEF_FLAG_HASSYMBOLMAP : u32 = 262144 ; pub const JANET_FUNCDEF_FLAG_HASNAME : u32 = 524288 ; pub const JANET_FUNCDEF_FLAG_HASSOURCE : u32 = 1048576 ; pub const JANET_FUNCDEF_FLAG_HASDEFS : u32 = 2097152 ; pub const JANET_FUNCDEF_FLAG_HASENVS : u32 = 4194304 ; pub const JANET_FUNCDEF_FLAG_HASSOURCEMAP : u32 = 8388608 ; pub const JANET_FUNCDEF_FLAG_STRUCTARG : u32 = 16777216 ; pub const JANET_FUNCDEF_FLAG_HASCLOBITSET : u32 = 33554432 ; pub const JANET_FUNCDEF_FLAG_TAG : u32 = 65535 ; pub const JANET_FUNCFLAG_TRACE : u32 = 65536 ; pub const JANET_EV_TCTAG_NIL : u32 = 0 ; pub const JANET_EV_TCTAG_INTEGER : u32 = 1 ; pub const JANET_EV_TCTAG_STRING : u32 = 2 ; pub const JANET_EV_TCTAG_STRINGF : u32 = 3 ; pub const JANET_EV_TCTAG_KEYWORD : u32 = 4 ; pub const JANET_EV_TCTAG_ERR_STRING : u32 = 5 ; pub const JANET_EV_TCTAG_ERR_STRINGF : u32 = 6 ; pub const JANET_EV_TCTAG_ERR_KEYWORD : u32 = 7 ; pub const JANET_EV_TCTAG_BOOLEAN : u32 = 8 ; pub const JANET_BUFFER_FLAG_NO_REALLOC : u32 = 65536 ; pub const JANET_TUPLE_FLAG_BRACKETCTOR : u32 = 65536 ; pub const JANET_MARSHAL_UNSAFE : u32 = 131072 ; pub const JANET_MARSHAL_NO_CYCLES : u32 = 262144 ; pub const JANET_PRETTY_COLOR : u32 = 1 ; pub const JANET_PRETTY_ONELINE : u32 = 2 ; pub const JANET_PRETTY_NOTRUNC : u32 = 4 ; pub const JANET_SANDBOX_SANDBOX : u32 = 1 ; pub const JANET_SANDBOX_SUBPROCESS : u32 = 2 ; pub const JANET_SANDBOX_NET_CONNECT : u32 = 4 ; pub const JANET_SANDBOX_NET_LISTEN : u32 = 8 ; pub const JANET_SANDBOX_FFI_DEFINE : u32 = 16 ; pub const JANET_SANDBOX_FS_WRITE : u32 = 32 ; pub const JANET_SANDBOX_FS_READ : u32 = 64 ; pub const JANET_SANDBOX_HRTIME : u32 = 128 ; pub const JANET_SANDBOX_ENV : u32 = 256 ; pub const JANET_SANDBOX_DYNAMIC_MODULES : u32 = 512 ; pub const JANET_SANDBOX_FS_TEMP : u32 = 1024 ; pub const JANET_SANDBOX_FFI_USE : u32 = 2048 ; pub const JANET_SANDBOX_FFI_JIT : u32 = 4096 ; pub const JANET_SANDBOX_SIGNAL : u32 = 8192 ; pub const JANET_SANDBOX_FFI : u32 = 6160 ; pub const JANET_SANDBOX_FS : u32 = 1120 ; pub const JANET_SANDBOX_NET : u32 = 12 ; pub const JANET_SANDBOX_ALL : u32 = 4294967295 ; pub const JANET_FILE_WRITE : u32 = 1 ; pub const JANET_FILE_READ : u32 = 2 ; pub const JANET_FILE_APPEND : u32 = 4 ; pub const JANET_FILE_UPDATE : u32 = 8 ; pub const JANET_FILE_NOT_CLOSEABLE : u32 = 16 ; pub const JANET_FILE_CLOSED : u32 = 32 ; pub const JANET_FILE_BINARY : u32 = 64 ; pub const JANET_FILE_SERIALIZABLE : u32 = 128 ; pub const JANET_FILE_NONIL : u32 = 512 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetBuildConfig { pub major : :: std :: os :: raw :: c_uint , pub minor : :: std :: os :: raw :: c_uint , pub patch : :: std :: os :: raw :: c_uint , pub bits : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_JanetBuildConfig () { const UNINIT : :: std :: mem :: MaybeUninit < JanetBuildConfig > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetBuildConfig > () , 16usize , concat ! ("Size of: " , stringify ! (JanetBuildConfig))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetBuildConfig > () , 4usize , concat ! ("Alignment of " , stringify ! (JanetBuildConfig))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . major) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . minor) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (minor))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . patch) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (patch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . bits) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (bits))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSMutex { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSRWLock { _unused : [u8 ; 0] , } pub type wchar_t = :: std :: os :: raw :: c_int ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; # [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 () { const UNINIT : :: std :: mem :: MaybeUninit < div_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < div_t > () , 8usize , concat ! ("Size of: " , stringify ! (div_t))) ; assert_eq ! (:: std :: mem :: align_of :: < div_t > () , 4usize , concat ! ("Alignment of " , stringify ! (div_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (div_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < ldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (ldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < ldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (ldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (ldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < lldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < lldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (lldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < lldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (lldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (rem))) ; } extern "C" { pub fn __ctype_get_mb_cur_max () -> usize ; } extern "C" { pub fn atof (__nptr : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn atoi (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn atol (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn atoll (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtod (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn strtof (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn strtold (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn strtol (__nptr : * 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 strtoul (__nptr : * 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 strtoq (__nptr : * 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 (__nptr : * 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 strtoll (__nptr : * 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 strtoull (__nptr : * 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 l64a (__n : :: std :: os :: raw :: c_long) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; 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_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { const UNINIT : :: std :: mem :: MaybeUninit < __fsid_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = __uint8_t ; pub type u_int16_t = __uint16_t ; pub type u_int32_t = __uint32_t ; pub type u_int64_t = __uint64_t ; pub type register_t = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __sigset_t { pub __val : [:: std :: os :: raw :: c_ulong ; 16usize] , } # [test] fn bindgen_test_layout___sigset_t () { const UNINIT : :: std :: mem :: MaybeUninit < __sigset_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __sigset_t > () , 128usize , concat ! ("Size of: " , stringify ! (__sigset_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __sigset_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__sigset_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__sigset_t) , "::" , stringify ! (__val))) ; } pub type sigset_t = __sigset_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [test] fn bindgen_test_layout_timeval () { const UNINIT : :: std :: mem :: MaybeUninit < timeval > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timeval > () , 16usize , concat ! ("Size of: " , stringify ! (timeval))) ; assert_eq ! (:: std :: mem :: align_of :: < timeval > () , 8usize , concat ! ("Alignment of " , stringify ! (timeval))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_usec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_usec))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [test] fn bindgen_test_layout_timespec () { const UNINIT : :: std :: mem :: MaybeUninit < timespec > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timespec > () , 16usize , concat ! ("Size of: " , stringify ! (timespec))) ; assert_eq ! (:: std :: mem :: align_of :: < timespec > () , 8usize , concat ! ("Alignment of " , stringify ! (timespec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_nsec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_nsec))) ; } pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct fd_set { pub __fds_bits : [__fd_mask ; 16usize] , } # [test] fn bindgen_test_layout_fd_set () { const UNINIT : :: std :: mem :: MaybeUninit < fd_set > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < fd_set > () , 128usize , concat ! ("Size of: " , stringify ! (fd_set))) ; assert_eq ! (:: std :: mem :: align_of :: < fd_set > () , 8usize , concat ! ("Alignment of " , stringify ! (fd_set))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __fds_bits) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (fd_set) , "::" , stringify ! (__fds_bits))) ; } pub type fd_mask = __fd_mask ; extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [repr (C)] # [derive (Copy , Clone)] pub union __atomic_wide_counter { pub __value64 : :: std :: os :: raw :: c_ulonglong , pub __value32 : __atomic_wide_counter__bindgen_ty_1 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __atomic_wide_counter__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___atomic_wide_counter__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __low) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__low))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __high) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__high))) ; } # [test] fn bindgen_test_layout___atomic_wide_counter () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value64) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value64))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value32) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value32))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [test] fn bindgen_test_layout___pthread_internal_list () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_list > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_list > () , 16usize , concat ! ("Size of: " , stringify ! (__pthread_internal_list))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_list > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __prev) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__prev))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__next))) ; } pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_slist { pub __next : * mut __pthread_internal_slist , } # [test] fn bindgen_test_layout___pthread_internal_slist () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_slist > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Size of: " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_slist) , "::" , stringify ! (__next))) ; } pub type __pthread_slist_t = __pthread_internal_slist ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [test] fn bindgen_test_layout___pthread_mutex_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_mutex_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_mutex_s > () , 40usize , concat ! ("Size of: " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_mutex_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __lock) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __owner) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__owner))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __nusers) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__nusers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __kind) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__kind))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __spins) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__spins))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __elision) as usize - ptr as usize } , 22usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__elision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __list) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__list))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [:: std :: os :: raw :: c_uchar ; 7usize] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___pthread_rwlock_arch_t () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_rwlock_arch_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_rwlock_arch_t > () , 56usize , concat ! ("Size of: " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_rwlock_arch_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __readers) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__readers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrphase_futex) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__wrphase_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers_futex) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad3) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad3))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad4) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad4))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __cur_writer) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__cur_writer))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __shared) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__shared))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __rwelision) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__rwelision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad1) as usize - ptr as usize } , 33usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad2) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __flags) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__flags))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __pthread_cond_s { pub __wseq : __atomic_wide_counter , pub __g1_start : __atomic_wide_counter , pub __g_refs : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g_size : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [:: std :: os :: raw :: c_uint ; 2usize] , } # [test] fn bindgen_test_layout___pthread_cond_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_cond_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_cond_s > () , 48usize , concat ! ("Size of: " , stringify ! (__pthread_cond_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_cond_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_cond_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wseq) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wseq))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_start) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_start))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_refs) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_refs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_size) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_orig_size) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_orig_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrefs) as usize - ptr as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wrefs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_signals) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_signals))) ; } pub type __tss_t = :: std :: os :: raw :: c_uint ; pub type __thrd_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __once_flag { pub __data : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout___once_flag () { const UNINIT : :: std :: mem :: MaybeUninit < __once_flag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __once_flag > () , 4usize , concat ! ("Size of: " , stringify ! (__once_flag))) ; assert_eq ! (:: std :: mem :: align_of :: < __once_flag > () , 4usize , concat ! ("Alignment of " , stringify ! (__once_flag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__once_flag) , "::" , stringify ! (__data))) ; } pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutexattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_mutexattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutexattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_condattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_condattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_condattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_condattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_condattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_condattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_condattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_attr_t { pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_attr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_attr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_attr_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_attr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_attr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_attr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: std :: os :: raw :: c_char ; 40usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_mutex_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutex_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutex_t > () , 40usize , concat ! ("Size of: " , stringify ! (pthread_mutex_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutex_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_mutex_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [:: std :: os :: raw :: c_char ; 48usize] , pub __align : :: std :: os :: raw :: c_longlong , } # [test] fn bindgen_test_layout_pthread_cond_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_cond_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_cond_t > () , 48usize , concat ! ("Size of: " , stringify ! (pthread_cond_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_cond_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_cond_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlock_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlock_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlock_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlock_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlockattr_t { pub __size : [:: std :: os :: raw :: c_char ; 8usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlockattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlockattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Size of: " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrier_t { pub __size : [:: std :: os :: raw :: c_char ; 32usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_barrier_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrier_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrier_t > () , 32usize , concat ! ("Size of: " , stringify ! (pthread_barrier_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrier_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_barrier_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrierattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_barrierattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrierattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__align))) ; } extern "C" { pub fn random () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srandom (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn initstate (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn setstate (__statebuf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [test] fn bindgen_test_layout_random_data () { const UNINIT : :: std :: mem :: MaybeUninit < random_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < random_data > () , 48usize , concat ! ("Size of: " , stringify ! (random_data))) ; assert_eq ! (:: std :: mem :: align_of :: < random_data > () , 8usize , concat ! ("Alignment of " , stringify ! (random_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fptr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (fptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_type) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_type))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_deg) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_deg))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_sep) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_sep))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . end_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (end_ptr))) ; } extern "C" { pub fn random_r (__buf : * mut random_data , __result : * mut i32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srandom_r (__seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initstate_r (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setstate_r (__statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rand () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rand_r (__seed : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drand48 () -> f64 ; } extern "C" { pub fn erand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> f64 ; } extern "C" { pub fn lrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn nrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn mrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn jrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srand48 (__seedval : :: std :: os :: raw :: c_long) ; } extern "C" { pub fn seed48 (__seed16v : * mut :: std :: os :: raw :: c_ushort) -> * mut :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn lcong48 (__param : * mut :: std :: os :: raw :: c_ushort) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct drand48_data { pub __x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __old_x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [test] fn bindgen_test_layout_drand48_data () { const UNINIT : :: std :: mem :: MaybeUninit < drand48_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < drand48_data > () , 24usize , concat ! ("Size of: " , stringify ! (drand48_data))) ; assert_eq ! (:: std :: mem :: align_of :: < drand48_data > () , 8usize , concat ! ("Alignment of " , stringify ! (drand48_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __x) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __old_x) as usize - ptr as usize } , 6usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__old_x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __c) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__c))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __init) as usize - ptr as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__init))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __a) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__a))) ; } extern "C" { pub fn drand48_r (__buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn jrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand48_r (__seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seed48_r (__seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lcong48_r (__param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn arc4random () -> __uint32_t ; } extern "C" { pub fn arc4random_buf (__buf : * mut :: std :: os :: raw :: c_void , __size : usize) ; } extern "C" { pub fn arc4random_uniform (__upper_bound : __uint32_t) -> __uint32_t ; } extern "C" { pub fn malloc (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc (__nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free (__ptr : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn reallocarray (__ptr : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn alloca (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc (__size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign (__memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc (__alignment : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn abort () -> ! ; } extern "C" { pub fn atexit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn at_quick_exit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn on_exit (__func : :: std :: option :: Option < unsafe extern "C" fn (__status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void) > , __arg : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn quick_exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _Exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn getenv (__name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putenv (__string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setenv (__name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unsetenv (__name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearenv () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mktemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn mkstemp (__template : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkstemps (__template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdtemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn system (__command : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn realpath (__name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: 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 bsearch (__key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn qsort (__base : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) ; } extern "C" { pub fn abs (__x : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn labs (__x : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llabs (__x : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn div (__numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int) -> div_t ; } extern "C" { pub fn ldiv (__numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long) -> ldiv_t ; } extern "C" { pub fn lldiv (__numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong) -> lldiv_t ; } extern "C" { pub fn ecvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn gcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qecvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen (__s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc (__pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb (__s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs (__pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn wcstombs (__s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize) -> usize ; } extern "C" { pub fn rpmatch (__response : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt (__optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg (__loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; extern "C" { pub fn memcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memset (__s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * 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 : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __memcmpeq (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr (__s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strncmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: 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 strxfrm (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_ulong ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __locale_struct { pub __locales : [* mut __locale_data ; 13usize] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [* const :: std :: os :: raw :: c_char ; 13usize] , } # [test] fn bindgen_test_layout___locale_struct () { const UNINIT : :: std :: mem :: MaybeUninit < __locale_struct > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __locale_struct > () , 232usize , concat ! ("Size of: " , stringify ! (__locale_struct))) ; assert_eq ! (:: std :: mem :: align_of :: < __locale_struct > () , 8usize , concat ! ("Alignment of " , stringify ! (__locale_struct))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __locales) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__locales))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_b) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_b))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_tolower) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_tolower))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_toupper) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_toupper))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __names) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__names))) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn strcoll_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t) -> usize ; } extern "C" { pub fn strdup (__s : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup (__string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strrchr (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchrnul (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcspn (__s : * const :: std :: os :: raw :: c_char , __reject : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strspn (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strpbrk (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strstr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcasestr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn memmem (__haystack : * const :: std :: os :: raw :: c_void , __haystacklen : usize , __needle : * const :: std :: os :: raw :: c_void , __needlelen : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn __mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strlen (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strnlen (__string : * const :: std :: os :: raw :: c_char , __maxlen : usize) -> usize ; } extern "C" { pub fn strerror (__errnum : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [link_name = "\u{1}__xpg_strerror_r"] pub fn strerror_r (__errnum : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strerror_l (__errnum : :: std :: os :: raw :: c_int , __l : locale_t) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn bcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bcopy (__src : * const :: std :: os :: raw :: c_void , __dest : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn bzero (__s : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn index (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs (__i : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl (__l : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll (__ll : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero (__s : * mut :: std :: os :: raw :: c_void , __n : usize) ; } 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 strsignal (__sig : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strlcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn strlcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } pub type __gnuc_va_list = __builtin_va_list ; pub type va_list = __builtin_va_list ; pub type __jmp_buf = [:: std :: os :: raw :: c_long ; 8usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __jmp_buf_tag { pub __jmpbuf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , pub __saved_mask : __sigset_t , } # [test] fn bindgen_test_layout___jmp_buf_tag () { const UNINIT : :: std :: mem :: MaybeUninit < __jmp_buf_tag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __jmp_buf_tag > () , 200usize , concat ! ("Size of: " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (:: std :: mem :: align_of :: < __jmp_buf_tag > () , 8usize , concat ! ("Alignment of " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __jmpbuf) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__jmpbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __mask_was_saved) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__mask_was_saved))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __saved_mask) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__saved_mask))) ; } pub type jmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __sigsetjmp (__env : * mut __jmp_buf_tag , __savemask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } pub type sigjmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn siglongjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [test] fn bindgen_test_layout_max_align_t () { const UNINIT : :: std :: mem :: MaybeUninit < max_align_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < max_align_t > () , 32usize , concat ! ("Size of: " , stringify ! (max_align_t))) ; assert_eq ! (:: std :: mem :: align_of :: < max_align_t > () , 16usize , concat ! ("Alignment of " , stringify ! (max_align_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce1) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce2) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce2))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [test] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Size of: " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wch) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wchb) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wchb))) ; } # [test] fn bindgen_test_layout___mbstate_t () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t > () , 8usize , concat ! ("Size of: " , stringify ! (__mbstate_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__value))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__state))) ; } pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos64_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos64_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos64_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos64_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos64_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos64_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__state))) ; } pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [:: std :: os :: raw :: c_char ; 20usize] , } # [test] fn bindgen_test_layout__IO_FILE () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_FILE > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_FILE > () , 216usize , concat ! ("Size of: " , stringify ! (_IO_FILE))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_FILE > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_FILE))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_ptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_end) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_base) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_base) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_end) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_base) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_end) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_base) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_backup_base) as usize - ptr as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_backup_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_end) as usize - ptr as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _markers) as usize - ptr as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_markers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _chain) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_chain))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _fileno) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_fileno))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags2) as usize - ptr as usize } , 116usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _old_offset) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_old_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _cur_column) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_cur_column))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _vtable_offset) as usize - ptr as usize } , 130usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_vtable_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _shortbuf) as usize - ptr as usize } , 131usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_shortbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _lock) as usize - ptr as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _offset) as usize - ptr as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _codecvt) as usize - ptr as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_codecvt))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _wide_data) as usize - ptr as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_wide_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_list) as usize - ptr as usize } , 168usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_buf) as usize - ptr as usize } , 176usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_buf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad5) as usize - ptr as usize } , 184usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (__pad5))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mode) as usize - ptr as usize } , 192usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_mode))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _unused2) as usize - ptr as usize } , 196usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_unused2))) ; } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [test] fn bindgen_test_layout__IO_cookie_io_functions_t () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_cookie_io_functions_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () , 32usize , concat ! ("Size of: " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . read) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (read))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . write) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (write))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . seek) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (seek))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . close) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (close))) ; } pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type fpos_t = __fpos_t ; extern "C" { pub static mut stdin : * mut FILE ; } extern "C" { pub static mut stdout : * mut FILE ; } extern "C" { pub static mut stderr : * mut FILE ; } extern "C" { pub fn remove (__filename : * 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 renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fclose (__stream : * mut FILE) -> :: 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 tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind (__stream : * mut FILE) ; } extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __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 fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr (__stream : * mut FILE) ; } extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile (__stream : * mut FILE) ; } extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static janet_type_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } extern "C" { pub static janet_signal_names : [* const :: std :: os :: raw :: c_char ; 14usize] ; } extern "C" { pub static janet_status_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } pub type JanetHandle = :: std :: os :: raw :: c_int ; pub const JanetSignal_JANET_SIGNAL_OK : JanetSignal = 0 ; pub const JanetSignal_JANET_SIGNAL_ERROR : JanetSignal = 1 ; pub const JanetSignal_JANET_SIGNAL_DEBUG : JanetSignal = 2 ; pub const JanetSignal_JANET_SIGNAL_YIELD : JanetSignal = 3 ; pub const JanetSignal_JANET_SIGNAL_USER0 : JanetSignal = 4 ; pub const JanetSignal_JANET_SIGNAL_USER1 : JanetSignal = 5 ; pub const JanetSignal_JANET_SIGNAL_USER2 : JanetSignal = 6 ; pub const JanetSignal_JANET_SIGNAL_USER3 : JanetSignal = 7 ; pub const JanetSignal_JANET_SIGNAL_USER4 : JanetSignal = 8 ; pub const JanetSignal_JANET_SIGNAL_USER5 : JanetSignal = 9 ; pub const JanetSignal_JANET_SIGNAL_USER6 : JanetSignal = 10 ; pub const JanetSignal_JANET_SIGNAL_USER7 : JanetSignal = 11 ; pub const JanetSignal_JANET_SIGNAL_USER8 : JanetSignal = 12 ; pub const JanetSignal_JANET_SIGNAL_USER9 : JanetSignal = 13 ; pub type JanetSignal = :: std :: os :: raw :: c_uint ; pub const JanetFiberStatus_JANET_STATUS_DEAD : JanetFiberStatus = 0 ; pub const JanetFiberStatus_JANET_STATUS_ERROR : JanetFiberStatus = 1 ; pub const JanetFiberStatus_JANET_STATUS_DEBUG : JanetFiberStatus = 2 ; pub const JanetFiberStatus_JANET_STATUS_PENDING : JanetFiberStatus = 3 ; pub const JanetFiberStatus_JANET_STATUS_USER0 : JanetFiberStatus = 4 ; pub const JanetFiberStatus_JANET_STATUS_USER1 : JanetFiberStatus = 5 ; pub const JanetFiberStatus_JANET_STATUS_USER2 : JanetFiberStatus = 6 ; pub const JanetFiberStatus_JANET_STATUS_USER3 : JanetFiberStatus = 7 ; pub const JanetFiberStatus_JANET_STATUS_USER4 : JanetFiberStatus = 8 ; pub const JanetFiberStatus_JANET_STATUS_USER5 : JanetFiberStatus = 9 ; pub const JanetFiberStatus_JANET_STATUS_USER6 : JanetFiberStatus = 10 ; pub const JanetFiberStatus_JANET_STATUS_USER7 : JanetFiberStatus = 11 ; pub const JanetFiberStatus_JANET_STATUS_USER8 : JanetFiberStatus = 12 ; pub const JanetFiberStatus_JANET_STATUS_USER9 : JanetFiberStatus = 13 ; pub const JanetFiberStatus_JANET_STATUS_NEW : JanetFiberStatus = 14 ; pub const JanetFiberStatus_JANET_STATUS_ALIVE : JanetFiberStatus = 15 ; pub type JanetFiberStatus = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetVM { _unused : [u8 ; 0] , } pub const JanetType_JANET_NUMBER : JanetType = 0 ; pub const JanetType_JANET_NIL : JanetType = 1 ; pub const JanetType_JANET_BOOLEAN : JanetType = 2 ; pub const JanetType_JANET_FIBER : JanetType = 3 ; pub const JanetType_JANET_STRING : JanetType = 4 ; pub const JanetType_JANET_SYMBOL : JanetType = 5 ; pub const JanetType_JANET_KEYWORD : JanetType = 6 ; pub const JanetType_JANET_ARRAY : JanetType = 7 ; pub const JanetType_JANET_TUPLE : JanetType = 8 ; pub const JanetType_JANET_TABLE : JanetType = 9 ; pub const JanetType_JANET_STRUCT : JanetType = 10 ; pub const JanetType_JANET_BUFFER : JanetType = 11 ; pub const JanetType_JANET_FUNCTION : JanetType = 12 ; pub const JanetType_JANET_CFUNCTION : JanetType = 13 ; pub const JanetType_JANET_ABSTRACT : JanetType = 14 ; pub const JanetType_JANET_POINTER : JanetType = 15 ; pub type JanetType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Copy , Clone)] pub union Janet { pub u64_ : u64 , pub i64_ : i64 , pub number : f64 , pub pointer : * mut :: std :: os :: raw :: c_void , } # [test] fn bindgen_test_layout_Janet () { const UNINIT : :: std :: mem :: MaybeUninit < Janet > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < Janet > () , 8usize , concat ! ("Size of: " , stringify ! (Janet))) ; assert_eq ! (:: std :: mem :: align_of :: < Janet > () , 8usize , concat ! ("Alignment of " , stringify ! (Janet))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . u64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (u64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . i64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (i64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . number) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (number))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . pointer) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (pointer))) ; } pub type JanetCFunction = :: std :: option :: Option < unsafe extern "C" fn (argc : i32 , argv : * mut Janet) -> Janet > ; pub type JanetString = * const u8 ; pub type JanetSymbol = * const u8 ; pub type JanetKeyword = * const u8 ; pub type JanetTuple = * const Janet ; pub type JanetStruct = * const JanetKV ; pub type JanetAbstract = * mut :: std :: os :: raw :: c_void ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_INIT : JanetAsyncEvent = 0 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_MARK : JanetAsyncEvent = 1 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_DEINIT : JanetAsyncEvent = 2 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CLOSE : JanetAsyncEvent = 3 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_ERR : JanetAsyncEvent = 4 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_HUP : JanetAsyncEvent = 5 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_READ : JanetAsyncEvent = 6 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_WRITE : JanetAsyncEvent = 7 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CANCEL : JanetAsyncEvent = 8 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_COMPLETE : JanetAsyncEvent = 9 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_USER : JanetAsyncEvent = 10 ; pub type JanetAsyncEvent = :: std :: os :: raw :: c_uint ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_NOT_DONE : JanetAsyncStatus = 0 ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_DONE : JanetAsyncStatus = 1 ; pub type JanetAsyncStatus = :: std :: os :: raw :: c_uint ; pub type JanetListener = :: std :: option :: Option < unsafe extern "C" fn (state : * mut JanetListenerState , event : JanetAsyncEvent) -> JanetAsyncStatus > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetStream { pub handle : JanetHandle , pub flags : u32 , pub state : * mut JanetListenerState , pub methods : * const :: std :: os :: raw :: c_void , pub _mask : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_JanetStream () { const UNINIT : :: std :: mem :: MaybeUninit < JanetStream > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetStream > () , 32usize , concat ! ("Size of: " , stringify ! (JanetStream))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetStream > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetStream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . handle) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (handle))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . flags) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . methods) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (methods))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (_mask))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetListenerState { pub machine : JanetListener , pub fiber : * mut JanetFiber , pub stream : * mut JanetStream , pub event : * mut :: std :: os :: raw :: c_void , pub _index : usize , pub _mask : :: std :: os :: raw :: c_int , pub _next : * mut JanetListenerState , } # [test] fn bindgen_test_layout_JanetListenerState () { const UNINIT : :: std :: mem :: MaybeUninit < JanetListenerState > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetListenerState > () , 56usize , concat ! ("Size of: " , stringify ! (JanetListenerState))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetListenerState > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetListenerState))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . machine) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (machine))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fiber) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (fiber))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . stream) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (stream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . event) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (event))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _index) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_index))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_mask))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _next) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_next))) ; } extern "C" { # [doc = " START SECTION NON-C API"] pub fn janet_struct_head (st : JanetStruct) -> * mut JanetStructHead ; } extern "C" { pub fn janet_abstract_head (abstract_ : * const :: std :: os :: raw :: c_void) -> * mut JanetAbstractHead ; } extern "C" { pub fn janet_string_head (s : JanetString) -> * mut JanetStringHead ; } extern "C" { pub fn janet_tuple_head (tuple : JanetTuple) -> * mut JanetTupleHead ; } extern "C" { pub fn janet_type (x : Janet) -> JanetType ; } extern "C" { pub fn janet_checktype (x : Janet , type_ : JanetType) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_checktypes (x : Janet , typeflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_truthy (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_struct (x : Janet) -> JanetStruct ; } extern "C" { pub fn janet_unwrap_tuple (x : Janet) -> JanetTuple ; } extern "C" { pub fn janet_unwrap_fiber (x : Janet) -> * mut JanetFiber ; } extern "C" { pub fn janet_unwrap_array (x : Janet) -> * mut JanetArray ; } extern "C" { pub fn janet_unwrap_table (x : Janet) -> * mut JanetTable ; } extern "C" { pub fn janet_unwrap_buffer (x : Janet) -> * mut JanetBuffer ; } extern "C" { pub fn janet_unwrap_string (x : Janet) -> JanetString ; } extern "C" { pub fn janet_unwrap_symbol (x : Janet) -> JanetSymbol ; } extern "C" { pub fn janet_unwrap_keyword (x : Janet) -> JanetKeyword ; } extern "C" { pub fn janet_unwrap_abstract (x : Janet) -> JanetAbstract ; } extern "C" { pub fn janet_unwrap_pointer (x : Janet) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn janet_unwrap_function (x : Janet) -> * mut JanetFunction ; } extern "C" { pub fn janet_unwrap_cfunction (x : Janet) -> JanetCFunction ; } extern "C" { pub fn janet_unwrap_boolean (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_number (x : Janet) -> f64 ; } extern "C" { pub fn janet_unwrap_integer (x : Janet) -> i32 ; } extern "C" { pub fn janet_wrap_nil () -> Janet ; } extern "C" { pub fn janet_wrap_number (x : f64) -> Janet ; } extern "C" { pub fn janet_wrap_true () -> Janet ; } extern "C" { pub fn janet_wrap_false () -> Janet ; } extern "C" { pub fn janet_wrap_boolean (x : :: std :: os :: raw :: c_int) -> Janet ; } extern "C" { pub fn janet_wrap_string (x : JanetString) -> Janet ; } extern "C" { pub fn janet_wrap_symbol (x : JanetSymbol) -> Janet ; } extern "C" { pub fn janet_wrap_keyword (x : JanetKeyword) -> Janet ; } extern "C" { pub fn janet_wrap_array (x : * mut JanetArray) -> Janet ; } extern "C" { pub fn janet_wrap_tuple (x : JanetTuple) -> Janet ; } extern "C" { pub fn janet_wrap_struct (x : JanetStruct) -> Janet ; } extern "C" { pub fn janet_wrap_fiber (x : * mut JanetFiber) -> Janet ; } extern "C" { pub fn janet_wrap_buffer (x : * mut JanetBuffer) -> Janet ; } extern "C" { pub fn janet_wrap_function (x : * mut JanetFunction) -> Janet ; } extern "C" { pub fn janet_wrap_cfunction (x : JanetCFunction) -> Janet ; } extern "C" { pub fn janet_wrap_table (x : * mut JanetTable) -> Janet ; } extern "C" { pub fn janet_wrap_abstract (x : JanetAbstract) -> Janet ; } extern "C" { pub fn janet_wrap_pointer (x : * mut :: std :: os :: raw :: c_void) -> Janet ; } extern "C" { pub fn janet_wrap_integer (x : i32) -> Janet ; } pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pu... [INFO] [stdout] | ---------------------------- previous definition of the value `FP_NAN` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_NAN` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_NAN` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_INFINITE` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/janet-rs-sys-20ac3d8fc51bea46/out/bindings.rs:3:156390 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_INFINITE : u32 = 1 ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 2 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const JANET_NANBOX_TAGBITS : i64 = - 140737488355328 ; pub const JANET_NANBOX_PAYLOADBITS : u64 = 140737488355327 ; pub const JANET_STACKFRAME_TAILCALL : u32 = 1 ; pub const JANET_STACKFRAME_ENTRANCE : u32 = 2 ; pub const JANET_FRAME_SIZE : u32 = 4 ; pub const JANET_FUNCDEF_FLAG_VARARG : u32 = 65536 ; pub const JANET_FUNCDEF_FLAG_NEEDSENV : u32 = 131072 ; pub const JANET_FUNCDEF_FLAG_HASSYMBOLMAP : u32 = 262144 ; pub const JANET_FUNCDEF_FLAG_HASNAME : u32 = 524288 ; pub const JANET_FUNCDEF_FLAG_HASSOURCE : u32 = 1048576 ; pub const JANET_FUNCDEF_FLAG_HASDEFS : u32 = 2097152 ; pub const JANET_FUNCDEF_FLAG_HASENVS : u32 = 4194304 ; pub const JANET_FUNCDEF_FLAG_HASSOURCEMAP : u32 = 8388608 ; pub const JANET_FUNCDEF_FLAG_STRUCTARG : u32 = 16777216 ; pub const JANET_FUNCDEF_FLAG_HASCLOBITSET : u32 = 33554432 ; pub const JANET_FUNCDEF_FLAG_TAG : u32 = 65535 ; pub const JANET_FUNCFLAG_TRACE : u32 = 65536 ; pub const JANET_EV_TCTAG_NIL : u32 = 0 ; pub const JANET_EV_TCTAG_INTEGER : u32 = 1 ; pub const JANET_EV_TCTAG_STRING : u32 = 2 ; pub const JANET_EV_TCTAG_STRINGF : u32 = 3 ; pub const JANET_EV_TCTAG_KEYWORD : u32 = 4 ; pub const JANET_EV_TCTAG_ERR_STRING : u32 = 5 ; pub const JANET_EV_TCTAG_ERR_STRINGF : u32 = 6 ; pub const JANET_EV_TCTAG_ERR_KEYWORD : u32 = 7 ; pub const JANET_EV_TCTAG_BOOLEAN : u32 = 8 ; pub const JANET_BUFFER_FLAG_NO_REALLOC : u32 = 65536 ; pub const JANET_TUPLE_FLAG_BRACKETCTOR : u32 = 65536 ; pub const JANET_MARSHAL_UNSAFE : u32 = 131072 ; pub const JANET_MARSHAL_NO_CYCLES : u32 = 262144 ; pub const JANET_PRETTY_COLOR : u32 = 1 ; pub const JANET_PRETTY_ONELINE : u32 = 2 ; pub const JANET_PRETTY_NOTRUNC : u32 = 4 ; pub const JANET_SANDBOX_SANDBOX : u32 = 1 ; pub const JANET_SANDBOX_SUBPROCESS : u32 = 2 ; pub const JANET_SANDBOX_NET_CONNECT : u32 = 4 ; pub const JANET_SANDBOX_NET_LISTEN : u32 = 8 ; pub const JANET_SANDBOX_FFI_DEFINE : u32 = 16 ; pub const JANET_SANDBOX_FS_WRITE : u32 = 32 ; pub const JANET_SANDBOX_FS_READ : u32 = 64 ; pub const JANET_SANDBOX_HRTIME : u32 = 128 ; pub const JANET_SANDBOX_ENV : u32 = 256 ; pub const JANET_SANDBOX_DYNAMIC_MODULES : u32 = 512 ; pub const JANET_SANDBOX_FS_TEMP : u32 = 1024 ; pub const JANET_SANDBOX_FFI_USE : u32 = 2048 ; pub const JANET_SANDBOX_FFI_JIT : u32 = 4096 ; pub const JANET_SANDBOX_SIGNAL : u32 = 8192 ; pub const JANET_SANDBOX_FFI : u32 = 6160 ; pub const JANET_SANDBOX_FS : u32 = 1120 ; pub const JANET_SANDBOX_NET : u32 = 12 ; pub const JANET_SANDBOX_ALL : u32 = 4294967295 ; pub const JANET_FILE_WRITE : u32 = 1 ; pub const JANET_FILE_READ : u32 = 2 ; pub const JANET_FILE_APPEND : u32 = 4 ; pub const JANET_FILE_UPDATE : u32 = 8 ; pub const JANET_FILE_NOT_CLOSEABLE : u32 = 16 ; pub const JANET_FILE_CLOSED : u32 = 32 ; pub const JANET_FILE_BINARY : u32 = 64 ; pub const JANET_FILE_SERIALIZABLE : u32 = 128 ; pub const JANET_FILE_NONIL : u32 = 512 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetBuildConfig { pub major : :: std :: os :: raw :: c_uint , pub minor : :: std :: os :: raw :: c_uint , pub patch : :: std :: os :: raw :: c_uint , pub bits : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_JanetBuildConfig () { const UNINIT : :: std :: mem :: MaybeUninit < JanetBuildConfig > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetBuildConfig > () , 16usize , concat ! ("Size of: " , stringify ! (JanetBuildConfig))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetBuildConfig > () , 4usize , concat ! ("Alignment of " , stringify ! (JanetBuildConfig))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . major) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . minor) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (minor))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . patch) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (patch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . bits) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (bits))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSMutex { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSRWLock { _unused : [u8 ; 0] , } pub type wchar_t = :: std :: os :: raw :: c_int ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; # [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 () { const UNINIT : :: std :: mem :: MaybeUninit < div_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < div_t > () , 8usize , concat ! ("Size of: " , stringify ! (div_t))) ; assert_eq ! (:: std :: mem :: align_of :: < div_t > () , 4usize , concat ! ("Alignment of " , stringify ! (div_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (div_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < ldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (ldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < ldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (ldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (ldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < lldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < lldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (lldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < lldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (lldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (rem))) ; } extern "C" { pub fn __ctype_get_mb_cur_max () -> usize ; } extern "C" { pub fn atof (__nptr : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn atoi (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn atol (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn atoll (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtod (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn strtof (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn strtold (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn strtol (__nptr : * 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 strtoul (__nptr : * 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 strtoq (__nptr : * 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 (__nptr : * 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 strtoll (__nptr : * 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 strtoull (__nptr : * 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 l64a (__n : :: std :: os :: raw :: c_long) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; 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_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { const UNINIT : :: std :: mem :: MaybeUninit < __fsid_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = __uint8_t ; pub type u_int16_t = __uint16_t ; pub type u_int32_t = __uint32_t ; pub type u_int64_t = __uint64_t ; pub type register_t = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __sigset_t { pub __val : [:: std :: os :: raw :: c_ulong ; 16usize] , } # [test] fn bindgen_test_layout___sigset_t () { const UNINIT : :: std :: mem :: MaybeUninit < __sigset_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __sigset_t > () , 128usize , concat ! ("Size of: " , stringify ! (__sigset_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __sigset_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__sigset_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__sigset_t) , "::" , stringify ! (__val))) ; } pub type sigset_t = __sigset_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [test] fn bindgen_test_layout_timeval () { const UNINIT : :: std :: mem :: MaybeUninit < timeval > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timeval > () , 16usize , concat ! ("Size of: " , stringify ! (timeval))) ; assert_eq ! (:: std :: mem :: align_of :: < timeval > () , 8usize , concat ! ("Alignment of " , stringify ! (timeval))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_usec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_usec))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [test] fn bindgen_test_layout_timespec () { const UNINIT : :: std :: mem :: MaybeUninit < timespec > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timespec > () , 16usize , concat ! ("Size of: " , stringify ! (timespec))) ; assert_eq ! (:: std :: mem :: align_of :: < timespec > () , 8usize , concat ! ("Alignment of " , stringify ! (timespec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_nsec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_nsec))) ; } pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct fd_set { pub __fds_bits : [__fd_mask ; 16usize] , } # [test] fn bindgen_test_layout_fd_set () { const UNINIT : :: std :: mem :: MaybeUninit < fd_set > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < fd_set > () , 128usize , concat ! ("Size of: " , stringify ! (fd_set))) ; assert_eq ! (:: std :: mem :: align_of :: < fd_set > () , 8usize , concat ! ("Alignment of " , stringify ! (fd_set))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __fds_bits) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (fd_set) , "::" , stringify ! (__fds_bits))) ; } pub type fd_mask = __fd_mask ; extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [repr (C)] # [derive (Copy , Clone)] pub union __atomic_wide_counter { pub __value64 : :: std :: os :: raw :: c_ulonglong , pub __value32 : __atomic_wide_counter__bindgen_ty_1 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __atomic_wide_counter__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___atomic_wide_counter__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __low) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__low))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __high) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__high))) ; } # [test] fn bindgen_test_layout___atomic_wide_counter () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value64) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value64))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value32) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value32))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [test] fn bindgen_test_layout___pthread_internal_list () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_list > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_list > () , 16usize , concat ! ("Size of: " , stringify ! (__pthread_internal_list))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_list > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __prev) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__prev))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__next))) ; } pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_slist { pub __next : * mut __pthread_internal_slist , } # [test] fn bindgen_test_layout___pthread_internal_slist () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_slist > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Size of: " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_slist) , "::" , stringify ! (__next))) ; } pub type __pthread_slist_t = __pthread_internal_slist ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [test] fn bindgen_test_layout___pthread_mutex_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_mutex_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_mutex_s > () , 40usize , concat ! ("Size of: " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_mutex_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __lock) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __owner) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__owner))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __nusers) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__nusers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __kind) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__kind))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __spins) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__spins))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __elision) as usize - ptr as usize } , 22usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__elision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __list) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__list))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [:: std :: os :: raw :: c_uchar ; 7usize] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___pthread_rwlock_arch_t () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_rwlock_arch_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_rwlock_arch_t > () , 56usize , concat ! ("Size of: " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_rwlock_arch_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __readers) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__readers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrphase_futex) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__wrphase_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers_futex) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad3) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad3))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad4) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad4))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __cur_writer) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__cur_writer))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __shared) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__shared))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __rwelision) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__rwelision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad1) as usize - ptr as usize } , 33usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad2) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __flags) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__flags))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __pthread_cond_s { pub __wseq : __atomic_wide_counter , pub __g1_start : __atomic_wide_counter , pub __g_refs : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g_size : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [:: std :: os :: raw :: c_uint ; 2usize] , } # [test] fn bindgen_test_layout___pthread_cond_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_cond_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_cond_s > () , 48usize , concat ! ("Size of: " , stringify ! (__pthread_cond_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_cond_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_cond_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wseq) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wseq))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_start) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_start))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_refs) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_refs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_size) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_orig_size) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_orig_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrefs) as usize - ptr as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wrefs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_signals) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_signals))) ; } pub type __tss_t = :: std :: os :: raw :: c_uint ; pub type __thrd_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __once_flag { pub __data : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout___once_flag () { const UNINIT : :: std :: mem :: MaybeUninit < __once_flag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __once_flag > () , 4usize , concat ! ("Size of: " , stringify ! (__once_flag))) ; assert_eq ! (:: std :: mem :: align_of :: < __once_flag > () , 4usize , concat ! ("Alignment of " , stringify ! (__once_flag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__once_flag) , "::" , stringify ! (__data))) ; } pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutexattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_mutexattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutexattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_condattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_condattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_condattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_condattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_condattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_condattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_condattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_attr_t { pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_attr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_attr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_attr_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_attr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_attr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_attr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: std :: os :: raw :: c_char ; 40usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_mutex_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutex_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutex_t > () , 40usize , concat ! ("Size of: " , stringify ! (pthread_mutex_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutex_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_mutex_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [:: std :: os :: raw :: c_char ; 48usize] , pub __align : :: std :: os :: raw :: c_longlong , } # [test] fn bindgen_test_layout_pthread_cond_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_cond_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_cond_t > () , 48usize , concat ! ("Size of: " , stringify ! (pthread_cond_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_cond_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_cond_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlock_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlock_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlock_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlock_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlockattr_t { pub __size : [:: std :: os :: raw :: c_char ; 8usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlockattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlockattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Size of: " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrier_t { pub __size : [:: std :: os :: raw :: c_char ; 32usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_barrier_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrier_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrier_t > () , 32usize , concat ! ("Size of: " , stringify ! (pthread_barrier_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrier_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_barrier_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrierattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_barrierattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrierattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__align))) ; } extern "C" { pub fn random () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srandom (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn initstate (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn setstate (__statebuf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [test] fn bindgen_test_layout_random_data () { const UNINIT : :: std :: mem :: MaybeUninit < random_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < random_data > () , 48usize , concat ! ("Size of: " , stringify ! (random_data))) ; assert_eq ! (:: std :: mem :: align_of :: < random_data > () , 8usize , concat ! ("Alignment of " , stringify ! (random_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fptr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (fptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_type) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_type))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_deg) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_deg))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_sep) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_sep))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . end_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (end_ptr))) ; } extern "C" { pub fn random_r (__buf : * mut random_data , __result : * mut i32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srandom_r (__seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initstate_r (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setstate_r (__statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rand () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rand_r (__seed : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drand48 () -> f64 ; } extern "C" { pub fn erand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> f64 ; } extern "C" { pub fn lrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn nrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn mrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn jrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srand48 (__seedval : :: std :: os :: raw :: c_long) ; } extern "C" { pub fn seed48 (__seed16v : * mut :: std :: os :: raw :: c_ushort) -> * mut :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn lcong48 (__param : * mut :: std :: os :: raw :: c_ushort) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct drand48_data { pub __x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __old_x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [test] fn bindgen_test_layout_drand48_data () { const UNINIT : :: std :: mem :: MaybeUninit < drand48_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < drand48_data > () , 24usize , concat ! ("Size of: " , stringify ! (drand48_data))) ; assert_eq ! (:: std :: mem :: align_of :: < drand48_data > () , 8usize , concat ! ("Alignment of " , stringify ! (drand48_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __x) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __old_x) as usize - ptr as usize } , 6usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__old_x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __c) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__c))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __init) as usize - ptr as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__init))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __a) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__a))) ; } extern "C" { pub fn drand48_r (__buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn jrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand48_r (__seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seed48_r (__seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lcong48_r (__param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn arc4random () -> __uint32_t ; } extern "C" { pub fn arc4random_buf (__buf : * mut :: std :: os :: raw :: c_void , __size : usize) ; } extern "C" { pub fn arc4random_uniform (__upper_bound : __uint32_t) -> __uint32_t ; } extern "C" { pub fn malloc (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc (__nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free (__ptr : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn reallocarray (__ptr : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn alloca (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc (__size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign (__memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc (__alignment : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn abort () -> ! ; } extern "C" { pub fn atexit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn at_quick_exit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn on_exit (__func : :: std :: option :: Option < unsafe extern "C" fn (__status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void) > , __arg : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn quick_exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _Exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn getenv (__name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putenv (__string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setenv (__name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unsetenv (__name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearenv () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mktemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn mkstemp (__template : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkstemps (__template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdtemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn system (__command : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn realpath (__name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: 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 bsearch (__key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn qsort (__base : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) ; } extern "C" { pub fn abs (__x : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn labs (__x : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llabs (__x : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn div (__numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int) -> div_t ; } extern "C" { pub fn ldiv (__numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long) -> ldiv_t ; } extern "C" { pub fn lldiv (__numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong) -> lldiv_t ; } extern "C" { pub fn ecvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn gcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qecvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen (__s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc (__pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb (__s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs (__pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn wcstombs (__s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize) -> usize ; } extern "C" { pub fn rpmatch (__response : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt (__optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg (__loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; extern "C" { pub fn memcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memset (__s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * 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 : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __memcmpeq (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr (__s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strncmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: 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 strxfrm (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_ulong ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __locale_struct { pub __locales : [* mut __locale_data ; 13usize] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [* const :: std :: os :: raw :: c_char ; 13usize] , } # [test] fn bindgen_test_layout___locale_struct () { const UNINIT : :: std :: mem :: MaybeUninit < __locale_struct > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __locale_struct > () , 232usize , concat ! ("Size of: " , stringify ! (__locale_struct))) ; assert_eq ! (:: std :: mem :: align_of :: < __locale_struct > () , 8usize , concat ! ("Alignment of " , stringify ! (__locale_struct))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __locales) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__locales))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_b) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_b))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_tolower) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_tolower))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_toupper) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_toupper))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __names) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__names))) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn strcoll_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t) -> usize ; } extern "C" { pub fn strdup (__s : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup (__string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strrchr (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchrnul (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcspn (__s : * const :: std :: os :: raw :: c_char , __reject : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strspn (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strpbrk (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strstr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcasestr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn memmem (__haystack : * const :: std :: os :: raw :: c_void , __haystacklen : usize , __needle : * const :: std :: os :: raw :: c_void , __needlelen : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn __mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strlen (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strnlen (__string : * const :: std :: os :: raw :: c_char , __maxlen : usize) -> usize ; } extern "C" { pub fn strerror (__errnum : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [link_name = "\u{1}__xpg_strerror_r"] pub fn strerror_r (__errnum : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strerror_l (__errnum : :: std :: os :: raw :: c_int , __l : locale_t) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn bcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bcopy (__src : * const :: std :: os :: raw :: c_void , __dest : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn bzero (__s : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn index (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs (__i : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl (__l : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll (__ll : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero (__s : * mut :: std :: os :: raw :: c_void , __n : usize) ; } 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 strsignal (__sig : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strlcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn strlcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } pub type __gnuc_va_list = __builtin_va_list ; pub type va_list = __builtin_va_list ; pub type __jmp_buf = [:: std :: os :: raw :: c_long ; 8usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __jmp_buf_tag { pub __jmpbuf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , pub __saved_mask : __sigset_t , } # [test] fn bindgen_test_layout___jmp_buf_tag () { const UNINIT : :: std :: mem :: MaybeUninit < __jmp_buf_tag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __jmp_buf_tag > () , 200usize , concat ! ("Size of: " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (:: std :: mem :: align_of :: < __jmp_buf_tag > () , 8usize , concat ! ("Alignment of " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __jmpbuf) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__jmpbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __mask_was_saved) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__mask_was_saved))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __saved_mask) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__saved_mask))) ; } pub type jmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __sigsetjmp (__env : * mut __jmp_buf_tag , __savemask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } pub type sigjmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn siglongjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [test] fn bindgen_test_layout_max_align_t () { const UNINIT : :: std :: mem :: MaybeUninit < max_align_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < max_align_t > () , 32usize , concat ! ("Size of: " , stringify ! (max_align_t))) ; assert_eq ! (:: std :: mem :: align_of :: < max_align_t > () , 16usize , concat ! ("Alignment of " , stringify ! (max_align_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce1) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce2) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce2))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [test] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Size of: " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wch) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wchb) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wchb))) ; } # [test] fn bindgen_test_layout___mbstate_t () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t > () , 8usize , concat ! ("Size of: " , stringify ! (__mbstate_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__value))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__state))) ; } pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos64_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos64_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos64_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos64_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos64_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos64_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__state))) ; } pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [:: std :: os :: raw :: c_char ; 20usize] , } # [test] fn bindgen_test_layout__IO_FILE () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_FILE > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_FILE > () , 216usize , concat ! ("Size of: " , stringify ! (_IO_FILE))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_FILE > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_FILE))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_ptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_end) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_base) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_base) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_end) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_base) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_end) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_base) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_backup_base) as usize - ptr as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_backup_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_end) as usize - ptr as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _markers) as usize - ptr as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_markers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _chain) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_chain))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _fileno) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_fileno))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags2) as usize - ptr as usize } , 116usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _old_offset) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_old_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _cur_column) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_cur_column))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _vtable_offset) as usize - ptr as usize } , 130usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_vtable_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _shortbuf) as usize - ptr as usize } , 131usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_shortbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _lock) as usize - ptr as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _offset) as usize - ptr as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _codecvt) as usize - ptr as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_codecvt))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _wide_data) as usize - ptr as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_wide_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_list) as usize - ptr as usize } , 168usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_buf) as usize - ptr as usize } , 176usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_buf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad5) as usize - ptr as usize } , 184usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (__pad5))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mode) as usize - ptr as usize } , 192usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_mode))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _unused2) as usize - ptr as usize } , 196usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_unused2))) ; } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [test] fn bindgen_test_layout__IO_cookie_io_functions_t () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_cookie_io_functions_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () , 32usize , concat ! ("Size of: " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . read) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (read))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . write) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (write))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . seek) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (seek))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . close) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (close))) ; } pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type fpos_t = __fpos_t ; extern "C" { pub static mut stdin : * mut FILE ; } extern "C" { pub static mut stdout : * mut FILE ; } extern "C" { pub static mut stderr : * mut FILE ; } extern "C" { pub fn remove (__filename : * 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 renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fclose (__stream : * mut FILE) -> :: 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 tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind (__stream : * mut FILE) ; } extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __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 fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr (__stream : * mut FILE) ; } extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile (__stream : * mut FILE) ; } extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static janet_type_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } extern "C" { pub static janet_signal_names : [* const :: std :: os :: raw :: c_char ; 14usize] ; } extern "C" { pub static janet_status_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } pub type JanetHandle = :: std :: os :: raw :: c_int ; pub const JanetSignal_JANET_SIGNAL_OK : JanetSignal = 0 ; pub const JanetSignal_JANET_SIGNAL_ERROR : JanetSignal = 1 ; pub const JanetSignal_JANET_SIGNAL_DEBUG : JanetSignal = 2 ; pub const JanetSignal_JANET_SIGNAL_YIELD : JanetSignal = 3 ; pub const JanetSignal_JANET_SIGNAL_USER0 : JanetSignal = 4 ; pub const JanetSignal_JANET_SIGNAL_USER1 : JanetSignal = 5 ; pub const JanetSignal_JANET_SIGNAL_USER2 : JanetSignal = 6 ; pub const JanetSignal_JANET_SIGNAL_USER3 : JanetSignal = 7 ; pub const JanetSignal_JANET_SIGNAL_USER4 : JanetSignal = 8 ; pub const JanetSignal_JANET_SIGNAL_USER5 : JanetSignal = 9 ; pub const JanetSignal_JANET_SIGNAL_USER6 : JanetSignal = 10 ; pub const JanetSignal_JANET_SIGNAL_USER7 : JanetSignal = 11 ; pub const JanetSignal_JANET_SIGNAL_USER8 : JanetSignal = 12 ; pub const JanetSignal_JANET_SIGNAL_USER9 : JanetSignal = 13 ; pub type JanetSignal = :: std :: os :: raw :: c_uint ; pub const JanetFiberStatus_JANET_STATUS_DEAD : JanetFiberStatus = 0 ; pub const JanetFiberStatus_JANET_STATUS_ERROR : JanetFiberStatus = 1 ; pub const JanetFiberStatus_JANET_STATUS_DEBUG : JanetFiberStatus = 2 ; pub const JanetFiberStatus_JANET_STATUS_PENDING : JanetFiberStatus = 3 ; pub const JanetFiberStatus_JANET_STATUS_USER0 : JanetFiberStatus = 4 ; pub const JanetFiberStatus_JANET_STATUS_USER1 : JanetFiberStatus = 5 ; pub const JanetFiberStatus_JANET_STATUS_USER2 : JanetFiberStatus = 6 ; pub const JanetFiberStatus_JANET_STATUS_USER3 : JanetFiberStatus = 7 ; pub const JanetFiberStatus_JANET_STATUS_USER4 : JanetFiberStatus = 8 ; pub const JanetFiberStatus_JANET_STATUS_USER5 : JanetFiberStatus = 9 ; pub const JanetFiberStatus_JANET_STATUS_USER6 : JanetFiberStatus = 10 ; pub const JanetFiberStatus_JANET_STATUS_USER7 : JanetFiberStatus = 11 ; pub const JanetFiberStatus_JANET_STATUS_USER8 : JanetFiberStatus = 12 ; pub const JanetFiberStatus_JANET_STATUS_USER9 : JanetFiberStatus = 13 ; pub const JanetFiberStatus_JANET_STATUS_NEW : JanetFiberStatus = 14 ; pub const JanetFiberStatus_JANET_STATUS_ALIVE : JanetFiberStatus = 15 ; pub type JanetFiberStatus = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetVM { _unused : [u8 ; 0] , } pub const JanetType_JANET_NUMBER : JanetType = 0 ; pub const JanetType_JANET_NIL : JanetType = 1 ; pub const JanetType_JANET_BOOLEAN : JanetType = 2 ; pub const JanetType_JANET_FIBER : JanetType = 3 ; pub const JanetType_JANET_STRING : JanetType = 4 ; pub const JanetType_JANET_SYMBOL : JanetType = 5 ; pub const JanetType_JANET_KEYWORD : JanetType = 6 ; pub const JanetType_JANET_ARRAY : JanetType = 7 ; pub const JanetType_JANET_TUPLE : JanetType = 8 ; pub const JanetType_JANET_TABLE : JanetType = 9 ; pub const JanetType_JANET_STRUCT : JanetType = 10 ; pub const JanetType_JANET_BUFFER : JanetType = 11 ; pub const JanetType_JANET_FUNCTION : JanetType = 12 ; pub const JanetType_JANET_CFUNCTION : JanetType = 13 ; pub const JanetType_JANET_ABSTRACT : JanetType = 14 ; pub const JanetType_JANET_POINTER : JanetType = 15 ; pub type JanetType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Copy , Clone)] pub union Janet { pub u64_ : u64 , pub i64_ : i64 , pub number : f64 , pub pointer : * mut :: std :: os :: raw :: c_void , } # [test] fn bindgen_test_layout_Janet () { const UNINIT : :: std :: mem :: MaybeUninit < Janet > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < Janet > () , 8usize , concat ! ("Size of: " , stringify ! (Janet))) ; assert_eq ! (:: std :: mem :: align_of :: < Janet > () , 8usize , concat ! ("Alignment of " , stringify ! (Janet))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . u64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (u64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . i64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (i64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . number) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (number))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . pointer) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (pointer))) ; } pub type JanetCFunction = :: std :: option :: Option < unsafe extern "C" fn (argc : i32 , argv : * mut Janet) -> Janet > ; pub type JanetString = * const u8 ; pub type JanetSymbol = * const u8 ; pub type JanetKeyword = * const u8 ; pub type JanetTuple = * const Janet ; pub type JanetStruct = * const JanetKV ; pub type JanetAbstract = * mut :: std :: os :: raw :: c_void ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_INIT : JanetAsyncEvent = 0 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_MARK : JanetAsyncEvent = 1 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_DEINIT : JanetAsyncEvent = 2 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CLOSE : JanetAsyncEvent = 3 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_ERR : JanetAsyncEvent = 4 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_HUP : JanetAsyncEvent = 5 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_READ : JanetAsyncEvent = 6 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_WRITE : JanetAsyncEvent = 7 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CANCEL : JanetAsyncEvent = 8 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_COMPLETE : JanetAsyncEvent = 9 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_USER : JanetAsyncEvent = 10 ; pub type JanetAsyncEvent = :: std :: os :: raw :: c_uint ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_NOT_DONE : JanetAsyncStatus = 0 ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_DONE : JanetAsyncStatus = 1 ; pub type JanetAsyncStatus = :: std :: os :: raw :: c_uint ; pub type JanetListener = :: std :: option :: Option < unsafe extern "C" fn (state : * mut JanetListenerState , event : JanetAsyncEvent) -> JanetAsyncStatus > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetStream { pub handle : JanetHandle , pub flags : u32 , pub state : * mut JanetListenerState , pub methods : * const :: std :: os :: raw :: c_void , pub _mask : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_JanetStream () { const UNINIT : :: std :: mem :: MaybeUninit < JanetStream > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetStream > () , 32usize , concat ! ("Size of: " , stringify ! (JanetStream))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetStream > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetStream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . handle) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (handle))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . flags) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . methods) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (methods))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (_mask))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetListenerState { pub machine : JanetListener , pub fiber : * mut JanetFiber , pub stream : * mut JanetStream , pub event : * mut :: std :: os :: raw :: c_void , pub _index : usize , pub _mask : :: std :: os :: raw :: c_int , pub _next : * mut JanetListenerState , } # [test] fn bindgen_test_layout_JanetListenerState () { const UNINIT : :: std :: mem :: MaybeUninit < JanetListenerState > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetListenerState > () , 56usize , concat ! ("Size of: " , stringify ! (JanetListenerState))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetListenerState > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetListenerState))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . machine) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (machine))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fiber) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (fiber))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . stream) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (stream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . event) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (event))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _index) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_index))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_mask))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _next) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_next))) ; } extern "C" { # [doc = " START SECTION NON-C API"] pub fn janet_struct_head (st : JanetStruct) -> * mut JanetStructHead ; } extern "C" { pub fn janet_abstract_head (abstract_ : * const :: std :: os :: raw :: c_void) -> * mut JanetAbstractHead ; } extern "C" { pub fn janet_string_head (s : JanetString) -> * mut JanetStringHead ; } extern "C" { pub fn janet_tuple_head (tuple : JanetTuple) -> * mut JanetTupleHead ; } extern "C" { pub fn janet_type (x : Janet) -> JanetType ; } extern "C" { pub fn janet_checktype (x : Janet , type_ : JanetType) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_checktypes (x : Janet , typeflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_truthy (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_struct (x : Janet) -> JanetStruct ; } extern "C" { pub fn janet_unwrap_tuple (x : Janet) -> JanetTuple ; } extern "C" { pub fn janet_unwrap_fiber (x : Janet) -> * mut JanetFiber ; } extern "C" { pub fn janet_unwrap_array (x : Janet) -> * mut JanetArray ; } extern "C" { pub fn janet_unwrap_table (x : Janet) -> * mut JanetTable ; } extern "C" { pub fn janet_unwrap_buffer (x : Janet) -> * mut JanetBuffer ; } extern "C" { pub fn janet_unwrap_string (x : Janet) -> JanetString ; } extern "C" { pub fn janet_unwrap_symbol (x : Janet) -> JanetSymbol ; } extern "C" { pub fn janet_unwrap_keyword (x : Janet) -> JanetKeyword ; } extern "C" { pub fn janet_unwrap_abstract (x : Janet) -> JanetAbstract ; } extern "C" { pub fn janet_unwrap_pointer (x : Janet) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn janet_unwrap_function (x : Janet) -> * mut JanetFunction ; } extern "C" { pub fn janet_unwrap_cfunction (x : Janet) -> JanetCFunction ; } extern "C" { pub fn janet_unwrap_boolean (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_number (x : Janet) -> f64 ; } extern "C" { pub fn janet_unwrap_integer (x : Janet) -> i32 ; } extern "C" { pub fn janet_wrap_nil () -> Janet ; } extern "C" { pub fn janet_wrap_number (x : f64) -> Janet ; } extern "C" { pub fn janet_wrap_true () -> Janet ; } extern "C" { pub fn janet_wrap_false () -> Janet ; } extern "C" { pub fn janet_wrap_boolean (x : :: std :: os :: raw :: c_int) -> Janet ; } extern "C" { pub fn janet_wrap_string (x : JanetString) -> Janet ; } extern "C" { pub fn janet_wrap_symbol (x : JanetSymbol) -> Janet ; } extern "C" { pub fn janet_wrap_keyword (x : JanetKeyword) -> Janet ; } extern "C" { pub fn janet_wrap_array (x : * mut JanetArray) -> Janet ; } extern "C" { pub fn janet_wrap_tuple (x : JanetTuple) -> Janet ; } extern "C" { pub fn janet_wrap_struct (x : JanetStruct) -> Janet ; } extern "C" { pub fn janet_wrap_fiber (x : * mut JanetFiber) -> Janet ; } extern "C" { pub fn janet_wrap_buffer (x : * mut JanetBuffer) -> Janet ; } extern "C" { pub fn janet_wrap_function (x : * mut JanetFunction) -> Janet ; } extern "C" { pub fn janet_wrap_cfunction (x : JanetCFunction) -> Janet ; } extern "C" { pub fn janet_wrap_table (x : * mut JanetTable) -> Janet ; } extern "C" { pub fn janet_wrap_abstract (x : JanetAbstract) -> Janet ; } extern "C" { pub fn janet_wrap_pointer (x : * mut :: std :: os :: raw :: c_void) -> Janet ; } extern "C" { pub fn janet_wrap_integer (x : i32) -> Janet ; } pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pu... [INFO] [stdout] | --------------------------------- previous definition of the value `FP_INFINITE` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_INFINITE` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_INFINITE` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_ZERO` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/janet-rs-sys-20ac3d8fc51bea46/out/bindings.rs:3:156434 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_ZERO : u32 = 2 ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 2 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const JANET_NANBOX_TAGBITS : i64 = - 140737488355328 ; pub const JANET_NANBOX_PAYLOADBITS : u64 = 140737488355327 ; pub const JANET_STACKFRAME_TAILCALL : u32 = 1 ; pub const JANET_STACKFRAME_ENTRANCE : u32 = 2 ; pub const JANET_FRAME_SIZE : u32 = 4 ; pub const JANET_FUNCDEF_FLAG_VARARG : u32 = 65536 ; pub const JANET_FUNCDEF_FLAG_NEEDSENV : u32 = 131072 ; pub const JANET_FUNCDEF_FLAG_HASSYMBOLMAP : u32 = 262144 ; pub const JANET_FUNCDEF_FLAG_HASNAME : u32 = 524288 ; pub const JANET_FUNCDEF_FLAG_HASSOURCE : u32 = 1048576 ; pub const JANET_FUNCDEF_FLAG_HASDEFS : u32 = 2097152 ; pub const JANET_FUNCDEF_FLAG_HASENVS : u32 = 4194304 ; pub const JANET_FUNCDEF_FLAG_HASSOURCEMAP : u32 = 8388608 ; pub const JANET_FUNCDEF_FLAG_STRUCTARG : u32 = 16777216 ; pub const JANET_FUNCDEF_FLAG_HASCLOBITSET : u32 = 33554432 ; pub const JANET_FUNCDEF_FLAG_TAG : u32 = 65535 ; pub const JANET_FUNCFLAG_TRACE : u32 = 65536 ; pub const JANET_EV_TCTAG_NIL : u32 = 0 ; pub const JANET_EV_TCTAG_INTEGER : u32 = 1 ; pub const JANET_EV_TCTAG_STRING : u32 = 2 ; pub const JANET_EV_TCTAG_STRINGF : u32 = 3 ; pub const JANET_EV_TCTAG_KEYWORD : u32 = 4 ; pub const JANET_EV_TCTAG_ERR_STRING : u32 = 5 ; pub const JANET_EV_TCTAG_ERR_STRINGF : u32 = 6 ; pub const JANET_EV_TCTAG_ERR_KEYWORD : u32 = 7 ; pub const JANET_EV_TCTAG_BOOLEAN : u32 = 8 ; pub const JANET_BUFFER_FLAG_NO_REALLOC : u32 = 65536 ; pub const JANET_TUPLE_FLAG_BRACKETCTOR : u32 = 65536 ; pub const JANET_MARSHAL_UNSAFE : u32 = 131072 ; pub const JANET_MARSHAL_NO_CYCLES : u32 = 262144 ; pub const JANET_PRETTY_COLOR : u32 = 1 ; pub const JANET_PRETTY_ONELINE : u32 = 2 ; pub const JANET_PRETTY_NOTRUNC : u32 = 4 ; pub const JANET_SANDBOX_SANDBOX : u32 = 1 ; pub const JANET_SANDBOX_SUBPROCESS : u32 = 2 ; pub const JANET_SANDBOX_NET_CONNECT : u32 = 4 ; pub const JANET_SANDBOX_NET_LISTEN : u32 = 8 ; pub const JANET_SANDBOX_FFI_DEFINE : u32 = 16 ; pub const JANET_SANDBOX_FS_WRITE : u32 = 32 ; pub const JANET_SANDBOX_FS_READ : u32 = 64 ; pub const JANET_SANDBOX_HRTIME : u32 = 128 ; pub const JANET_SANDBOX_ENV : u32 = 256 ; pub const JANET_SANDBOX_DYNAMIC_MODULES : u32 = 512 ; pub const JANET_SANDBOX_FS_TEMP : u32 = 1024 ; pub const JANET_SANDBOX_FFI_USE : u32 = 2048 ; pub const JANET_SANDBOX_FFI_JIT : u32 = 4096 ; pub const JANET_SANDBOX_SIGNAL : u32 = 8192 ; pub const JANET_SANDBOX_FFI : u32 = 6160 ; pub const JANET_SANDBOX_FS : u32 = 1120 ; pub const JANET_SANDBOX_NET : u32 = 12 ; pub const JANET_SANDBOX_ALL : u32 = 4294967295 ; pub const JANET_FILE_WRITE : u32 = 1 ; pub const JANET_FILE_READ : u32 = 2 ; pub const JANET_FILE_APPEND : u32 = 4 ; pub const JANET_FILE_UPDATE : u32 = 8 ; pub const JANET_FILE_NOT_CLOSEABLE : u32 = 16 ; pub const JANET_FILE_CLOSED : u32 = 32 ; pub const JANET_FILE_BINARY : u32 = 64 ; pub const JANET_FILE_SERIALIZABLE : u32 = 128 ; pub const JANET_FILE_NONIL : u32 = 512 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetBuildConfig { pub major : :: std :: os :: raw :: c_uint , pub minor : :: std :: os :: raw :: c_uint , pub patch : :: std :: os :: raw :: c_uint , pub bits : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_JanetBuildConfig () { const UNINIT : :: std :: mem :: MaybeUninit < JanetBuildConfig > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetBuildConfig > () , 16usize , concat ! ("Size of: " , stringify ! (JanetBuildConfig))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetBuildConfig > () , 4usize , concat ! ("Alignment of " , stringify ! (JanetBuildConfig))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . major) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . minor) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (minor))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . patch) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (patch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . bits) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (bits))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSMutex { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSRWLock { _unused : [u8 ; 0] , } pub type wchar_t = :: std :: os :: raw :: c_int ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; # [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 () { const UNINIT : :: std :: mem :: MaybeUninit < div_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < div_t > () , 8usize , concat ! ("Size of: " , stringify ! (div_t))) ; assert_eq ! (:: std :: mem :: align_of :: < div_t > () , 4usize , concat ! ("Alignment of " , stringify ! (div_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (div_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < ldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (ldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < ldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (ldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (ldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < lldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < lldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (lldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < lldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (lldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (rem))) ; } extern "C" { pub fn __ctype_get_mb_cur_max () -> usize ; } extern "C" { pub fn atof (__nptr : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn atoi (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn atol (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn atoll (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtod (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn strtof (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn strtold (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn strtol (__nptr : * 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 strtoul (__nptr : * 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 strtoq (__nptr : * 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 (__nptr : * 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 strtoll (__nptr : * 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 strtoull (__nptr : * 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 l64a (__n : :: std :: os :: raw :: c_long) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; 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_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { const UNINIT : :: std :: mem :: MaybeUninit < __fsid_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = __uint8_t ; pub type u_int16_t = __uint16_t ; pub type u_int32_t = __uint32_t ; pub type u_int64_t = __uint64_t ; pub type register_t = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __sigset_t { pub __val : [:: std :: os :: raw :: c_ulong ; 16usize] , } # [test] fn bindgen_test_layout___sigset_t () { const UNINIT : :: std :: mem :: MaybeUninit < __sigset_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __sigset_t > () , 128usize , concat ! ("Size of: " , stringify ! (__sigset_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __sigset_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__sigset_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__sigset_t) , "::" , stringify ! (__val))) ; } pub type sigset_t = __sigset_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [test] fn bindgen_test_layout_timeval () { const UNINIT : :: std :: mem :: MaybeUninit < timeval > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timeval > () , 16usize , concat ! ("Size of: " , stringify ! (timeval))) ; assert_eq ! (:: std :: mem :: align_of :: < timeval > () , 8usize , concat ! ("Alignment of " , stringify ! (timeval))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_usec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_usec))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [test] fn bindgen_test_layout_timespec () { const UNINIT : :: std :: mem :: MaybeUninit < timespec > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timespec > () , 16usize , concat ! ("Size of: " , stringify ! (timespec))) ; assert_eq ! (:: std :: mem :: align_of :: < timespec > () , 8usize , concat ! ("Alignment of " , stringify ! (timespec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_nsec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_nsec))) ; } pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct fd_set { pub __fds_bits : [__fd_mask ; 16usize] , } # [test] fn bindgen_test_layout_fd_set () { const UNINIT : :: std :: mem :: MaybeUninit < fd_set > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < fd_set > () , 128usize , concat ! ("Size of: " , stringify ! (fd_set))) ; assert_eq ! (:: std :: mem :: align_of :: < fd_set > () , 8usize , concat ! ("Alignment of " , stringify ! (fd_set))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __fds_bits) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (fd_set) , "::" , stringify ! (__fds_bits))) ; } pub type fd_mask = __fd_mask ; extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [repr (C)] # [derive (Copy , Clone)] pub union __atomic_wide_counter { pub __value64 : :: std :: os :: raw :: c_ulonglong , pub __value32 : __atomic_wide_counter__bindgen_ty_1 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __atomic_wide_counter__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___atomic_wide_counter__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __low) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__low))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __high) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__high))) ; } # [test] fn bindgen_test_layout___atomic_wide_counter () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value64) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value64))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value32) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value32))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [test] fn bindgen_test_layout___pthread_internal_list () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_list > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_list > () , 16usize , concat ! ("Size of: " , stringify ! (__pthread_internal_list))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_list > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __prev) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__prev))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__next))) ; } pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_slist { pub __next : * mut __pthread_internal_slist , } # [test] fn bindgen_test_layout___pthread_internal_slist () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_slist > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Size of: " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_slist) , "::" , stringify ! (__next))) ; } pub type __pthread_slist_t = __pthread_internal_slist ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [test] fn bindgen_test_layout___pthread_mutex_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_mutex_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_mutex_s > () , 40usize , concat ! ("Size of: " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_mutex_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __lock) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __owner) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__owner))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __nusers) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__nusers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __kind) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__kind))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __spins) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__spins))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __elision) as usize - ptr as usize } , 22usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__elision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __list) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__list))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [:: std :: os :: raw :: c_uchar ; 7usize] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___pthread_rwlock_arch_t () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_rwlock_arch_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_rwlock_arch_t > () , 56usize , concat ! ("Size of: " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_rwlock_arch_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __readers) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__readers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrphase_futex) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__wrphase_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers_futex) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad3) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad3))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad4) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad4))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __cur_writer) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__cur_writer))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __shared) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__shared))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __rwelision) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__rwelision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad1) as usize - ptr as usize } , 33usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad2) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __flags) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__flags))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __pthread_cond_s { pub __wseq : __atomic_wide_counter , pub __g1_start : __atomic_wide_counter , pub __g_refs : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g_size : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [:: std :: os :: raw :: c_uint ; 2usize] , } # [test] fn bindgen_test_layout___pthread_cond_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_cond_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_cond_s > () , 48usize , concat ! ("Size of: " , stringify ! (__pthread_cond_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_cond_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_cond_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wseq) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wseq))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_start) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_start))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_refs) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_refs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_size) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_orig_size) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_orig_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrefs) as usize - ptr as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wrefs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_signals) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_signals))) ; } pub type __tss_t = :: std :: os :: raw :: c_uint ; pub type __thrd_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __once_flag { pub __data : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout___once_flag () { const UNINIT : :: std :: mem :: MaybeUninit < __once_flag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __once_flag > () , 4usize , concat ! ("Size of: " , stringify ! (__once_flag))) ; assert_eq ! (:: std :: mem :: align_of :: < __once_flag > () , 4usize , concat ! ("Alignment of " , stringify ! (__once_flag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__once_flag) , "::" , stringify ! (__data))) ; } pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutexattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_mutexattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutexattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_condattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_condattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_condattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_condattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_condattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_condattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_condattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_attr_t { pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_attr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_attr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_attr_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_attr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_attr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_attr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: std :: os :: raw :: c_char ; 40usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_mutex_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutex_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutex_t > () , 40usize , concat ! ("Size of: " , stringify ! (pthread_mutex_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutex_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_mutex_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [:: std :: os :: raw :: c_char ; 48usize] , pub __align : :: std :: os :: raw :: c_longlong , } # [test] fn bindgen_test_layout_pthread_cond_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_cond_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_cond_t > () , 48usize , concat ! ("Size of: " , stringify ! (pthread_cond_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_cond_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_cond_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlock_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlock_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlock_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlock_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlockattr_t { pub __size : [:: std :: os :: raw :: c_char ; 8usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlockattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlockattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Size of: " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrier_t { pub __size : [:: std :: os :: raw :: c_char ; 32usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_barrier_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrier_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrier_t > () , 32usize , concat ! ("Size of: " , stringify ! (pthread_barrier_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrier_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_barrier_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrierattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_barrierattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrierattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__align))) ; } extern "C" { pub fn random () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srandom (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn initstate (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn setstate (__statebuf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [test] fn bindgen_test_layout_random_data () { const UNINIT : :: std :: mem :: MaybeUninit < random_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < random_data > () , 48usize , concat ! ("Size of: " , stringify ! (random_data))) ; assert_eq ! (:: std :: mem :: align_of :: < random_data > () , 8usize , concat ! ("Alignment of " , stringify ! (random_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fptr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (fptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_type) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_type))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_deg) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_deg))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_sep) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_sep))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . end_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (end_ptr))) ; } extern "C" { pub fn random_r (__buf : * mut random_data , __result : * mut i32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srandom_r (__seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initstate_r (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setstate_r (__statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rand () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rand_r (__seed : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drand48 () -> f64 ; } extern "C" { pub fn erand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> f64 ; } extern "C" { pub fn lrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn nrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn mrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn jrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srand48 (__seedval : :: std :: os :: raw :: c_long) ; } extern "C" { pub fn seed48 (__seed16v : * mut :: std :: os :: raw :: c_ushort) -> * mut :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn lcong48 (__param : * mut :: std :: os :: raw :: c_ushort) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct drand48_data { pub __x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __old_x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [test] fn bindgen_test_layout_drand48_data () { const UNINIT : :: std :: mem :: MaybeUninit < drand48_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < drand48_data > () , 24usize , concat ! ("Size of: " , stringify ! (drand48_data))) ; assert_eq ! (:: std :: mem :: align_of :: < drand48_data > () , 8usize , concat ! ("Alignment of " , stringify ! (drand48_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __x) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __old_x) as usize - ptr as usize } , 6usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__old_x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __c) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__c))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __init) as usize - ptr as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__init))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __a) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__a))) ; } extern "C" { pub fn drand48_r (__buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn jrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand48_r (__seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seed48_r (__seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lcong48_r (__param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn arc4random () -> __uint32_t ; } extern "C" { pub fn arc4random_buf (__buf : * mut :: std :: os :: raw :: c_void , __size : usize) ; } extern "C" { pub fn arc4random_uniform (__upper_bound : __uint32_t) -> __uint32_t ; } extern "C" { pub fn malloc (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc (__nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free (__ptr : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn reallocarray (__ptr : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn alloca (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc (__size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign (__memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc (__alignment : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn abort () -> ! ; } extern "C" { pub fn atexit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn at_quick_exit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn on_exit (__func : :: std :: option :: Option < unsafe extern "C" fn (__status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void) > , __arg : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn quick_exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _Exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn getenv (__name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putenv (__string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setenv (__name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unsetenv (__name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearenv () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mktemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn mkstemp (__template : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkstemps (__template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdtemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn system (__command : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn realpath (__name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: 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 bsearch (__key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn qsort (__base : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) ; } extern "C" { pub fn abs (__x : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn labs (__x : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llabs (__x : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn div (__numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int) -> div_t ; } extern "C" { pub fn ldiv (__numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long) -> ldiv_t ; } extern "C" { pub fn lldiv (__numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong) -> lldiv_t ; } extern "C" { pub fn ecvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn gcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qecvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen (__s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc (__pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb (__s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs (__pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn wcstombs (__s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize) -> usize ; } extern "C" { pub fn rpmatch (__response : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt (__optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg (__loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; extern "C" { pub fn memcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memset (__s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * 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 : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __memcmpeq (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr (__s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strncmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: 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 strxfrm (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_ulong ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __locale_struct { pub __locales : [* mut __locale_data ; 13usize] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [* const :: std :: os :: raw :: c_char ; 13usize] , } # [test] fn bindgen_test_layout___locale_struct () { const UNINIT : :: std :: mem :: MaybeUninit < __locale_struct > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __locale_struct > () , 232usize , concat ! ("Size of: " , stringify ! (__locale_struct))) ; assert_eq ! (:: std :: mem :: align_of :: < __locale_struct > () , 8usize , concat ! ("Alignment of " , stringify ! (__locale_struct))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __locales) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__locales))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_b) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_b))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_tolower) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_tolower))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_toupper) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_toupper))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __names) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__names))) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn strcoll_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t) -> usize ; } extern "C" { pub fn strdup (__s : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup (__string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strrchr (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchrnul (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcspn (__s : * const :: std :: os :: raw :: c_char , __reject : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strspn (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strpbrk (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strstr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcasestr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn memmem (__haystack : * const :: std :: os :: raw :: c_void , __haystacklen : usize , __needle : * const :: std :: os :: raw :: c_void , __needlelen : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn __mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strlen (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strnlen (__string : * const :: std :: os :: raw :: c_char , __maxlen : usize) -> usize ; } extern "C" { pub fn strerror (__errnum : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [link_name = "\u{1}__xpg_strerror_r"] pub fn strerror_r (__errnum : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strerror_l (__errnum : :: std :: os :: raw :: c_int , __l : locale_t) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn bcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bcopy (__src : * const :: std :: os :: raw :: c_void , __dest : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn bzero (__s : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn index (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs (__i : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl (__l : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll (__ll : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero (__s : * mut :: std :: os :: raw :: c_void , __n : usize) ; } 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 strsignal (__sig : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strlcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn strlcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } pub type __gnuc_va_list = __builtin_va_list ; pub type va_list = __builtin_va_list ; pub type __jmp_buf = [:: std :: os :: raw :: c_long ; 8usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __jmp_buf_tag { pub __jmpbuf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , pub __saved_mask : __sigset_t , } # [test] fn bindgen_test_layout___jmp_buf_tag () { const UNINIT : :: std :: mem :: MaybeUninit < __jmp_buf_tag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __jmp_buf_tag > () , 200usize , concat ! ("Size of: " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (:: std :: mem :: align_of :: < __jmp_buf_tag > () , 8usize , concat ! ("Alignment of " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __jmpbuf) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__jmpbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __mask_was_saved) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__mask_was_saved))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __saved_mask) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__saved_mask))) ; } pub type jmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __sigsetjmp (__env : * mut __jmp_buf_tag , __savemask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } pub type sigjmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn siglongjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [test] fn bindgen_test_layout_max_align_t () { const UNINIT : :: std :: mem :: MaybeUninit < max_align_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < max_align_t > () , 32usize , concat ! ("Size of: " , stringify ! (max_align_t))) ; assert_eq ! (:: std :: mem :: align_of :: < max_align_t > () , 16usize , concat ! ("Alignment of " , stringify ! (max_align_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce1) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce2) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce2))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [test] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Size of: " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wch) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wchb) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wchb))) ; } # [test] fn bindgen_test_layout___mbstate_t () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t > () , 8usize , concat ! ("Size of: " , stringify ! (__mbstate_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__value))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__state))) ; } pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos64_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos64_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos64_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos64_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos64_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos64_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__state))) ; } pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [:: std :: os :: raw :: c_char ; 20usize] , } # [test] fn bindgen_test_layout__IO_FILE () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_FILE > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_FILE > () , 216usize , concat ! ("Size of: " , stringify ! (_IO_FILE))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_FILE > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_FILE))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_ptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_end) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_base) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_base) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_end) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_base) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_end) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_base) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_backup_base) as usize - ptr as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_backup_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_end) as usize - ptr as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _markers) as usize - ptr as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_markers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _chain) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_chain))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _fileno) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_fileno))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags2) as usize - ptr as usize } , 116usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _old_offset) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_old_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _cur_column) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_cur_column))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _vtable_offset) as usize - ptr as usize } , 130usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_vtable_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _shortbuf) as usize - ptr as usize } , 131usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_shortbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _lock) as usize - ptr as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _offset) as usize - ptr as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _codecvt) as usize - ptr as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_codecvt))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _wide_data) as usize - ptr as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_wide_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_list) as usize - ptr as usize } , 168usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_buf) as usize - ptr as usize } , 176usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_buf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad5) as usize - ptr as usize } , 184usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (__pad5))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mode) as usize - ptr as usize } , 192usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_mode))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _unused2) as usize - ptr as usize } , 196usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_unused2))) ; } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [test] fn bindgen_test_layout__IO_cookie_io_functions_t () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_cookie_io_functions_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () , 32usize , concat ! ("Size of: " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . read) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (read))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . write) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (write))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . seek) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (seek))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . close) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (close))) ; } pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type fpos_t = __fpos_t ; extern "C" { pub static mut stdin : * mut FILE ; } extern "C" { pub static mut stdout : * mut FILE ; } extern "C" { pub static mut stderr : * mut FILE ; } extern "C" { pub fn remove (__filename : * 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 renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fclose (__stream : * mut FILE) -> :: 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 tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind (__stream : * mut FILE) ; } extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __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 fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr (__stream : * mut FILE) ; } extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile (__stream : * mut FILE) ; } extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static janet_type_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } extern "C" { pub static janet_signal_names : [* const :: std :: os :: raw :: c_char ; 14usize] ; } extern "C" { pub static janet_status_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } pub type JanetHandle = :: std :: os :: raw :: c_int ; pub const JanetSignal_JANET_SIGNAL_OK : JanetSignal = 0 ; pub const JanetSignal_JANET_SIGNAL_ERROR : JanetSignal = 1 ; pub const JanetSignal_JANET_SIGNAL_DEBUG : JanetSignal = 2 ; pub const JanetSignal_JANET_SIGNAL_YIELD : JanetSignal = 3 ; pub const JanetSignal_JANET_SIGNAL_USER0 : JanetSignal = 4 ; pub const JanetSignal_JANET_SIGNAL_USER1 : JanetSignal = 5 ; pub const JanetSignal_JANET_SIGNAL_USER2 : JanetSignal = 6 ; pub const JanetSignal_JANET_SIGNAL_USER3 : JanetSignal = 7 ; pub const JanetSignal_JANET_SIGNAL_USER4 : JanetSignal = 8 ; pub const JanetSignal_JANET_SIGNAL_USER5 : JanetSignal = 9 ; pub const JanetSignal_JANET_SIGNAL_USER6 : JanetSignal = 10 ; pub const JanetSignal_JANET_SIGNAL_USER7 : JanetSignal = 11 ; pub const JanetSignal_JANET_SIGNAL_USER8 : JanetSignal = 12 ; pub const JanetSignal_JANET_SIGNAL_USER9 : JanetSignal = 13 ; pub type JanetSignal = :: std :: os :: raw :: c_uint ; pub const JanetFiberStatus_JANET_STATUS_DEAD : JanetFiberStatus = 0 ; pub const JanetFiberStatus_JANET_STATUS_ERROR : JanetFiberStatus = 1 ; pub const JanetFiberStatus_JANET_STATUS_DEBUG : JanetFiberStatus = 2 ; pub const JanetFiberStatus_JANET_STATUS_PENDING : JanetFiberStatus = 3 ; pub const JanetFiberStatus_JANET_STATUS_USER0 : JanetFiberStatus = 4 ; pub const JanetFiberStatus_JANET_STATUS_USER1 : JanetFiberStatus = 5 ; pub const JanetFiberStatus_JANET_STATUS_USER2 : JanetFiberStatus = 6 ; pub const JanetFiberStatus_JANET_STATUS_USER3 : JanetFiberStatus = 7 ; pub const JanetFiberStatus_JANET_STATUS_USER4 : JanetFiberStatus = 8 ; pub const JanetFiberStatus_JANET_STATUS_USER5 : JanetFiberStatus = 9 ; pub const JanetFiberStatus_JANET_STATUS_USER6 : JanetFiberStatus = 10 ; pub const JanetFiberStatus_JANET_STATUS_USER7 : JanetFiberStatus = 11 ; pub const JanetFiberStatus_JANET_STATUS_USER8 : JanetFiberStatus = 12 ; pub const JanetFiberStatus_JANET_STATUS_USER9 : JanetFiberStatus = 13 ; pub const JanetFiberStatus_JANET_STATUS_NEW : JanetFiberStatus = 14 ; pub const JanetFiberStatus_JANET_STATUS_ALIVE : JanetFiberStatus = 15 ; pub type JanetFiberStatus = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetVM { _unused : [u8 ; 0] , } pub const JanetType_JANET_NUMBER : JanetType = 0 ; pub const JanetType_JANET_NIL : JanetType = 1 ; pub const JanetType_JANET_BOOLEAN : JanetType = 2 ; pub const JanetType_JANET_FIBER : JanetType = 3 ; pub const JanetType_JANET_STRING : JanetType = 4 ; pub const JanetType_JANET_SYMBOL : JanetType = 5 ; pub const JanetType_JANET_KEYWORD : JanetType = 6 ; pub const JanetType_JANET_ARRAY : JanetType = 7 ; pub const JanetType_JANET_TUPLE : JanetType = 8 ; pub const JanetType_JANET_TABLE : JanetType = 9 ; pub const JanetType_JANET_STRUCT : JanetType = 10 ; pub const JanetType_JANET_BUFFER : JanetType = 11 ; pub const JanetType_JANET_FUNCTION : JanetType = 12 ; pub const JanetType_JANET_CFUNCTION : JanetType = 13 ; pub const JanetType_JANET_ABSTRACT : JanetType = 14 ; pub const JanetType_JANET_POINTER : JanetType = 15 ; pub type JanetType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Copy , Clone)] pub union Janet { pub u64_ : u64 , pub i64_ : i64 , pub number : f64 , pub pointer : * mut :: std :: os :: raw :: c_void , } # [test] fn bindgen_test_layout_Janet () { const UNINIT : :: std :: mem :: MaybeUninit < Janet > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < Janet > () , 8usize , concat ! ("Size of: " , stringify ! (Janet))) ; assert_eq ! (:: std :: mem :: align_of :: < Janet > () , 8usize , concat ! ("Alignment of " , stringify ! (Janet))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . u64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (u64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . i64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (i64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . number) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (number))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . pointer) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (pointer))) ; } pub type JanetCFunction = :: std :: option :: Option < unsafe extern "C" fn (argc : i32 , argv : * mut Janet) -> Janet > ; pub type JanetString = * const u8 ; pub type JanetSymbol = * const u8 ; pub type JanetKeyword = * const u8 ; pub type JanetTuple = * const Janet ; pub type JanetStruct = * const JanetKV ; pub type JanetAbstract = * mut :: std :: os :: raw :: c_void ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_INIT : JanetAsyncEvent = 0 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_MARK : JanetAsyncEvent = 1 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_DEINIT : JanetAsyncEvent = 2 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CLOSE : JanetAsyncEvent = 3 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_ERR : JanetAsyncEvent = 4 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_HUP : JanetAsyncEvent = 5 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_READ : JanetAsyncEvent = 6 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_WRITE : JanetAsyncEvent = 7 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CANCEL : JanetAsyncEvent = 8 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_COMPLETE : JanetAsyncEvent = 9 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_USER : JanetAsyncEvent = 10 ; pub type JanetAsyncEvent = :: std :: os :: raw :: c_uint ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_NOT_DONE : JanetAsyncStatus = 0 ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_DONE : JanetAsyncStatus = 1 ; pub type JanetAsyncStatus = :: std :: os :: raw :: c_uint ; pub type JanetListener = :: std :: option :: Option < unsafe extern "C" fn (state : * mut JanetListenerState , event : JanetAsyncEvent) -> JanetAsyncStatus > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetStream { pub handle : JanetHandle , pub flags : u32 , pub state : * mut JanetListenerState , pub methods : * const :: std :: os :: raw :: c_void , pub _mask : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_JanetStream () { const UNINIT : :: std :: mem :: MaybeUninit < JanetStream > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetStream > () , 32usize , concat ! ("Size of: " , stringify ! (JanetStream))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetStream > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetStream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . handle) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (handle))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . flags) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . methods) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (methods))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (_mask))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetListenerState { pub machine : JanetListener , pub fiber : * mut JanetFiber , pub stream : * mut JanetStream , pub event : * mut :: std :: os :: raw :: c_void , pub _index : usize , pub _mask : :: std :: os :: raw :: c_int , pub _next : * mut JanetListenerState , } # [test] fn bindgen_test_layout_JanetListenerState () { const UNINIT : :: std :: mem :: MaybeUninit < JanetListenerState > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetListenerState > () , 56usize , concat ! ("Size of: " , stringify ! (JanetListenerState))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetListenerState > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetListenerState))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . machine) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (machine))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fiber) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (fiber))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . stream) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (stream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . event) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (event))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _index) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_index))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_mask))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _next) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_next))) ; } extern "C" { # [doc = " START SECTION NON-C API"] pub fn janet_struct_head (st : JanetStruct) -> * mut JanetStructHead ; } extern "C" { pub fn janet_abstract_head (abstract_ : * const :: std :: os :: raw :: c_void) -> * mut JanetAbstractHead ; } extern "C" { pub fn janet_string_head (s : JanetString) -> * mut JanetStringHead ; } extern "C" { pub fn janet_tuple_head (tuple : JanetTuple) -> * mut JanetTupleHead ; } extern "C" { pub fn janet_type (x : Janet) -> JanetType ; } extern "C" { pub fn janet_checktype (x : Janet , type_ : JanetType) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_checktypes (x : Janet , typeflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_truthy (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_struct (x : Janet) -> JanetStruct ; } extern "C" { pub fn janet_unwrap_tuple (x : Janet) -> JanetTuple ; } extern "C" { pub fn janet_unwrap_fiber (x : Janet) -> * mut JanetFiber ; } extern "C" { pub fn janet_unwrap_array (x : Janet) -> * mut JanetArray ; } extern "C" { pub fn janet_unwrap_table (x : Janet) -> * mut JanetTable ; } extern "C" { pub fn janet_unwrap_buffer (x : Janet) -> * mut JanetBuffer ; } extern "C" { pub fn janet_unwrap_string (x : Janet) -> JanetString ; } extern "C" { pub fn janet_unwrap_symbol (x : Janet) -> JanetSymbol ; } extern "C" { pub fn janet_unwrap_keyword (x : Janet) -> JanetKeyword ; } extern "C" { pub fn janet_unwrap_abstract (x : Janet) -> JanetAbstract ; } extern "C" { pub fn janet_unwrap_pointer (x : Janet) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn janet_unwrap_function (x : Janet) -> * mut JanetFunction ; } extern "C" { pub fn janet_unwrap_cfunction (x : Janet) -> JanetCFunction ; } extern "C" { pub fn janet_unwrap_boolean (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_number (x : Janet) -> f64 ; } extern "C" { pub fn janet_unwrap_integer (x : Janet) -> i32 ; } extern "C" { pub fn janet_wrap_nil () -> Janet ; } extern "C" { pub fn janet_wrap_number (x : f64) -> Janet ; } extern "C" { pub fn janet_wrap_true () -> Janet ; } extern "C" { pub fn janet_wrap_false () -> Janet ; } extern "C" { pub fn janet_wrap_boolean (x : :: std :: os :: raw :: c_int) -> Janet ; } extern "C" { pub fn janet_wrap_string (x : JanetString) -> Janet ; } extern "C" { pub fn janet_wrap_symbol (x : JanetSymbol) -> Janet ; } extern "C" { pub fn janet_wrap_keyword (x : JanetKeyword) -> Janet ; } extern "C" { pub fn janet_wrap_array (x : * mut JanetArray) -> Janet ; } extern "C" { pub fn janet_wrap_tuple (x : JanetTuple) -> Janet ; } extern "C" { pub fn janet_wrap_struct (x : JanetStruct) -> Janet ; } extern "C" { pub fn janet_wrap_fiber (x : * mut JanetFiber) -> Janet ; } extern "C" { pub fn janet_wrap_buffer (x : * mut JanetBuffer) -> Janet ; } extern "C" { pub fn janet_wrap_function (x : * mut JanetFunction) -> Janet ; } extern "C" { pub fn janet_wrap_cfunction (x : JanetCFunction) -> Janet ; } extern "C" { pub fn janet_wrap_table (x : * mut JanetTable) -> Janet ; } extern "C" { pub fn janet_wrap_abstract (x : JanetAbstract) -> Janet ; } extern "C" { pub fn janet_wrap_pointer (x : * mut :: std :: os :: raw :: c_void) -> Janet ; } extern "C" { pub fn janet_wrap_integer (x : i32) -> Janet ; } pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pu... [INFO] [stdout] | ----------------------------- previous definition of the value `FP_ZERO` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_ZERO` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_ZERO` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_SUBNORMAL` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/janet-rs-sys-20ac3d8fc51bea46/out/bindings.rs:3:156474 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_SUBNORMAL : u32 = 3 ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 2 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const JANET_NANBOX_TAGBITS : i64 = - 140737488355328 ; pub const JANET_NANBOX_PAYLOADBITS : u64 = 140737488355327 ; pub const JANET_STACKFRAME_TAILCALL : u32 = 1 ; pub const JANET_STACKFRAME_ENTRANCE : u32 = 2 ; pub const JANET_FRAME_SIZE : u32 = 4 ; pub const JANET_FUNCDEF_FLAG_VARARG : u32 = 65536 ; pub const JANET_FUNCDEF_FLAG_NEEDSENV : u32 = 131072 ; pub const JANET_FUNCDEF_FLAG_HASSYMBOLMAP : u32 = 262144 ; pub const JANET_FUNCDEF_FLAG_HASNAME : u32 = 524288 ; pub const JANET_FUNCDEF_FLAG_HASSOURCE : u32 = 1048576 ; pub const JANET_FUNCDEF_FLAG_HASDEFS : u32 = 2097152 ; pub const JANET_FUNCDEF_FLAG_HASENVS : u32 = 4194304 ; pub const JANET_FUNCDEF_FLAG_HASSOURCEMAP : u32 = 8388608 ; pub const JANET_FUNCDEF_FLAG_STRUCTARG : u32 = 16777216 ; pub const JANET_FUNCDEF_FLAG_HASCLOBITSET : u32 = 33554432 ; pub const JANET_FUNCDEF_FLAG_TAG : u32 = 65535 ; pub const JANET_FUNCFLAG_TRACE : u32 = 65536 ; pub const JANET_EV_TCTAG_NIL : u32 = 0 ; pub const JANET_EV_TCTAG_INTEGER : u32 = 1 ; pub const JANET_EV_TCTAG_STRING : u32 = 2 ; pub const JANET_EV_TCTAG_STRINGF : u32 = 3 ; pub const JANET_EV_TCTAG_KEYWORD : u32 = 4 ; pub const JANET_EV_TCTAG_ERR_STRING : u32 = 5 ; pub const JANET_EV_TCTAG_ERR_STRINGF : u32 = 6 ; pub const JANET_EV_TCTAG_ERR_KEYWORD : u32 = 7 ; pub const JANET_EV_TCTAG_BOOLEAN : u32 = 8 ; pub const JANET_BUFFER_FLAG_NO_REALLOC : u32 = 65536 ; pub const JANET_TUPLE_FLAG_BRACKETCTOR : u32 = 65536 ; pub const JANET_MARSHAL_UNSAFE : u32 = 131072 ; pub const JANET_MARSHAL_NO_CYCLES : u32 = 262144 ; pub const JANET_PRETTY_COLOR : u32 = 1 ; pub const JANET_PRETTY_ONELINE : u32 = 2 ; pub const JANET_PRETTY_NOTRUNC : u32 = 4 ; pub const JANET_SANDBOX_SANDBOX : u32 = 1 ; pub const JANET_SANDBOX_SUBPROCESS : u32 = 2 ; pub const JANET_SANDBOX_NET_CONNECT : u32 = 4 ; pub const JANET_SANDBOX_NET_LISTEN : u32 = 8 ; pub const JANET_SANDBOX_FFI_DEFINE : u32 = 16 ; pub const JANET_SANDBOX_FS_WRITE : u32 = 32 ; pub const JANET_SANDBOX_FS_READ : u32 = 64 ; pub const JANET_SANDBOX_HRTIME : u32 = 128 ; pub const JANET_SANDBOX_ENV : u32 = 256 ; pub const JANET_SANDBOX_DYNAMIC_MODULES : u32 = 512 ; pub const JANET_SANDBOX_FS_TEMP : u32 = 1024 ; pub const JANET_SANDBOX_FFI_USE : u32 = 2048 ; pub const JANET_SANDBOX_FFI_JIT : u32 = 4096 ; pub const JANET_SANDBOX_SIGNAL : u32 = 8192 ; pub const JANET_SANDBOX_FFI : u32 = 6160 ; pub const JANET_SANDBOX_FS : u32 = 1120 ; pub const JANET_SANDBOX_NET : u32 = 12 ; pub const JANET_SANDBOX_ALL : u32 = 4294967295 ; pub const JANET_FILE_WRITE : u32 = 1 ; pub const JANET_FILE_READ : u32 = 2 ; pub const JANET_FILE_APPEND : u32 = 4 ; pub const JANET_FILE_UPDATE : u32 = 8 ; pub const JANET_FILE_NOT_CLOSEABLE : u32 = 16 ; pub const JANET_FILE_CLOSED : u32 = 32 ; pub const JANET_FILE_BINARY : u32 = 64 ; pub const JANET_FILE_SERIALIZABLE : u32 = 128 ; pub const JANET_FILE_NONIL : u32 = 512 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetBuildConfig { pub major : :: std :: os :: raw :: c_uint , pub minor : :: std :: os :: raw :: c_uint , pub patch : :: std :: os :: raw :: c_uint , pub bits : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_JanetBuildConfig () { const UNINIT : :: std :: mem :: MaybeUninit < JanetBuildConfig > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetBuildConfig > () , 16usize , concat ! ("Size of: " , stringify ! (JanetBuildConfig))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetBuildConfig > () , 4usize , concat ! ("Alignment of " , stringify ! (JanetBuildConfig))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . major) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . minor) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (minor))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . patch) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (patch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . bits) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (bits))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSMutex { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSRWLock { _unused : [u8 ; 0] , } pub type wchar_t = :: std :: os :: raw :: c_int ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; # [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 () { const UNINIT : :: std :: mem :: MaybeUninit < div_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < div_t > () , 8usize , concat ! ("Size of: " , stringify ! (div_t))) ; assert_eq ! (:: std :: mem :: align_of :: < div_t > () , 4usize , concat ! ("Alignment of " , stringify ! (div_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (div_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < ldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (ldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < ldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (ldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (ldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < lldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < lldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (lldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < lldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (lldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (rem))) ; } extern "C" { pub fn __ctype_get_mb_cur_max () -> usize ; } extern "C" { pub fn atof (__nptr : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn atoi (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn atol (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn atoll (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtod (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn strtof (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn strtold (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn strtol (__nptr : * 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 strtoul (__nptr : * 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 strtoq (__nptr : * 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 (__nptr : * 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 strtoll (__nptr : * 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 strtoull (__nptr : * 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 l64a (__n : :: std :: os :: raw :: c_long) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; 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_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { const UNINIT : :: std :: mem :: MaybeUninit < __fsid_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = __uint8_t ; pub type u_int16_t = __uint16_t ; pub type u_int32_t = __uint32_t ; pub type u_int64_t = __uint64_t ; pub type register_t = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __sigset_t { pub __val : [:: std :: os :: raw :: c_ulong ; 16usize] , } # [test] fn bindgen_test_layout___sigset_t () { const UNINIT : :: std :: mem :: MaybeUninit < __sigset_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __sigset_t > () , 128usize , concat ! ("Size of: " , stringify ! (__sigset_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __sigset_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__sigset_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__sigset_t) , "::" , stringify ! (__val))) ; } pub type sigset_t = __sigset_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [test] fn bindgen_test_layout_timeval () { const UNINIT : :: std :: mem :: MaybeUninit < timeval > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timeval > () , 16usize , concat ! ("Size of: " , stringify ! (timeval))) ; assert_eq ! (:: std :: mem :: align_of :: < timeval > () , 8usize , concat ! ("Alignment of " , stringify ! (timeval))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_usec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_usec))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [test] fn bindgen_test_layout_timespec () { const UNINIT : :: std :: mem :: MaybeUninit < timespec > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timespec > () , 16usize , concat ! ("Size of: " , stringify ! (timespec))) ; assert_eq ! (:: std :: mem :: align_of :: < timespec > () , 8usize , concat ! ("Alignment of " , stringify ! (timespec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_nsec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_nsec))) ; } pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct fd_set { pub __fds_bits : [__fd_mask ; 16usize] , } # [test] fn bindgen_test_layout_fd_set () { const UNINIT : :: std :: mem :: MaybeUninit < fd_set > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < fd_set > () , 128usize , concat ! ("Size of: " , stringify ! (fd_set))) ; assert_eq ! (:: std :: mem :: align_of :: < fd_set > () , 8usize , concat ! ("Alignment of " , stringify ! (fd_set))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __fds_bits) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (fd_set) , "::" , stringify ! (__fds_bits))) ; } pub type fd_mask = __fd_mask ; extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [repr (C)] # [derive (Copy , Clone)] pub union __atomic_wide_counter { pub __value64 : :: std :: os :: raw :: c_ulonglong , pub __value32 : __atomic_wide_counter__bindgen_ty_1 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __atomic_wide_counter__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___atomic_wide_counter__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __low) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__low))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __high) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__high))) ; } # [test] fn bindgen_test_layout___atomic_wide_counter () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value64) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value64))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value32) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value32))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [test] fn bindgen_test_layout___pthread_internal_list () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_list > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_list > () , 16usize , concat ! ("Size of: " , stringify ! (__pthread_internal_list))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_list > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __prev) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__prev))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__next))) ; } pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_slist { pub __next : * mut __pthread_internal_slist , } # [test] fn bindgen_test_layout___pthread_internal_slist () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_slist > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Size of: " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_slist) , "::" , stringify ! (__next))) ; } pub type __pthread_slist_t = __pthread_internal_slist ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [test] fn bindgen_test_layout___pthread_mutex_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_mutex_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_mutex_s > () , 40usize , concat ! ("Size of: " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_mutex_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __lock) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __owner) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__owner))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __nusers) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__nusers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __kind) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__kind))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __spins) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__spins))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __elision) as usize - ptr as usize } , 22usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__elision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __list) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__list))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [:: std :: os :: raw :: c_uchar ; 7usize] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___pthread_rwlock_arch_t () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_rwlock_arch_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_rwlock_arch_t > () , 56usize , concat ! ("Size of: " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_rwlock_arch_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __readers) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__readers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrphase_futex) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__wrphase_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers_futex) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad3) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad3))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad4) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad4))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __cur_writer) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__cur_writer))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __shared) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__shared))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __rwelision) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__rwelision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad1) as usize - ptr as usize } , 33usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad2) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __flags) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__flags))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __pthread_cond_s { pub __wseq : __atomic_wide_counter , pub __g1_start : __atomic_wide_counter , pub __g_refs : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g_size : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [:: std :: os :: raw :: c_uint ; 2usize] , } # [test] fn bindgen_test_layout___pthread_cond_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_cond_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_cond_s > () , 48usize , concat ! ("Size of: " , stringify ! (__pthread_cond_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_cond_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_cond_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wseq) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wseq))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_start) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_start))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_refs) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_refs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_size) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_orig_size) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_orig_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrefs) as usize - ptr as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wrefs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_signals) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_signals))) ; } pub type __tss_t = :: std :: os :: raw :: c_uint ; pub type __thrd_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __once_flag { pub __data : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout___once_flag () { const UNINIT : :: std :: mem :: MaybeUninit < __once_flag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __once_flag > () , 4usize , concat ! ("Size of: " , stringify ! (__once_flag))) ; assert_eq ! (:: std :: mem :: align_of :: < __once_flag > () , 4usize , concat ! ("Alignment of " , stringify ! (__once_flag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__once_flag) , "::" , stringify ! (__data))) ; } pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutexattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_mutexattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutexattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_condattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_condattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_condattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_condattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_condattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_condattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_condattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_attr_t { pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_attr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_attr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_attr_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_attr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_attr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_attr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: std :: os :: raw :: c_char ; 40usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_mutex_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutex_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutex_t > () , 40usize , concat ! ("Size of: " , stringify ! (pthread_mutex_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutex_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_mutex_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [:: std :: os :: raw :: c_char ; 48usize] , pub __align : :: std :: os :: raw :: c_longlong , } # [test] fn bindgen_test_layout_pthread_cond_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_cond_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_cond_t > () , 48usize , concat ! ("Size of: " , stringify ! (pthread_cond_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_cond_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_cond_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlock_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlock_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlock_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlock_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlockattr_t { pub __size : [:: std :: os :: raw :: c_char ; 8usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlockattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlockattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Size of: " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrier_t { pub __size : [:: std :: os :: raw :: c_char ; 32usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_barrier_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrier_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrier_t > () , 32usize , concat ! ("Size of: " , stringify ! (pthread_barrier_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrier_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_barrier_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrierattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_barrierattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrierattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__align))) ; } extern "C" { pub fn random () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srandom (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn initstate (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn setstate (__statebuf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [test] fn bindgen_test_layout_random_data () { const UNINIT : :: std :: mem :: MaybeUninit < random_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < random_data > () , 48usize , concat ! ("Size of: " , stringify ! (random_data))) ; assert_eq ! (:: std :: mem :: align_of :: < random_data > () , 8usize , concat ! ("Alignment of " , stringify ! (random_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fptr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (fptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_type) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_type))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_deg) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_deg))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_sep) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_sep))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . end_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (end_ptr))) ; } extern "C" { pub fn random_r (__buf : * mut random_data , __result : * mut i32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srandom_r (__seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initstate_r (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setstate_r (__statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rand () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rand_r (__seed : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drand48 () -> f64 ; } extern "C" { pub fn erand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> f64 ; } extern "C" { pub fn lrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn nrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn mrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn jrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srand48 (__seedval : :: std :: os :: raw :: c_long) ; } extern "C" { pub fn seed48 (__seed16v : * mut :: std :: os :: raw :: c_ushort) -> * mut :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn lcong48 (__param : * mut :: std :: os :: raw :: c_ushort) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct drand48_data { pub __x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __old_x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [test] fn bindgen_test_layout_drand48_data () { const UNINIT : :: std :: mem :: MaybeUninit < drand48_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < drand48_data > () , 24usize , concat ! ("Size of: " , stringify ! (drand48_data))) ; assert_eq ! (:: std :: mem :: align_of :: < drand48_data > () , 8usize , concat ! ("Alignment of " , stringify ! (drand48_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __x) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __old_x) as usize - ptr as usize } , 6usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__old_x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __c) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__c))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __init) as usize - ptr as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__init))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __a) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__a))) ; } extern "C" { pub fn drand48_r (__buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn jrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand48_r (__seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seed48_r (__seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lcong48_r (__param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn arc4random () -> __uint32_t ; } extern "C" { pub fn arc4random_buf (__buf : * mut :: std :: os :: raw :: c_void , __size : usize) ; } extern "C" { pub fn arc4random_uniform (__upper_bound : __uint32_t) -> __uint32_t ; } extern "C" { pub fn malloc (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc (__nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free (__ptr : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn reallocarray (__ptr : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn alloca (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc (__size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign (__memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc (__alignment : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn abort () -> ! ; } extern "C" { pub fn atexit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn at_quick_exit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn on_exit (__func : :: std :: option :: Option < unsafe extern "C" fn (__status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void) > , __arg : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn quick_exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _Exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn getenv (__name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putenv (__string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setenv (__name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unsetenv (__name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearenv () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mktemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn mkstemp (__template : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkstemps (__template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdtemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn system (__command : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn realpath (__name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: 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 bsearch (__key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn qsort (__base : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) ; } extern "C" { pub fn abs (__x : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn labs (__x : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llabs (__x : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn div (__numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int) -> div_t ; } extern "C" { pub fn ldiv (__numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long) -> ldiv_t ; } extern "C" { pub fn lldiv (__numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong) -> lldiv_t ; } extern "C" { pub fn ecvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn gcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qecvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen (__s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc (__pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb (__s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs (__pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn wcstombs (__s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize) -> usize ; } extern "C" { pub fn rpmatch (__response : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt (__optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg (__loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; extern "C" { pub fn memcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memset (__s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * 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 : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __memcmpeq (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr (__s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strncmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: 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 strxfrm (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_ulong ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __locale_struct { pub __locales : [* mut __locale_data ; 13usize] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [* const :: std :: os :: raw :: c_char ; 13usize] , } # [test] fn bindgen_test_layout___locale_struct () { const UNINIT : :: std :: mem :: MaybeUninit < __locale_struct > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __locale_struct > () , 232usize , concat ! ("Size of: " , stringify ! (__locale_struct))) ; assert_eq ! (:: std :: mem :: align_of :: < __locale_struct > () , 8usize , concat ! ("Alignment of " , stringify ! (__locale_struct))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __locales) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__locales))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_b) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_b))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_tolower) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_tolower))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_toupper) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_toupper))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __names) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__names))) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn strcoll_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t) -> usize ; } extern "C" { pub fn strdup (__s : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup (__string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strrchr (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchrnul (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcspn (__s : * const :: std :: os :: raw :: c_char , __reject : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strspn (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strpbrk (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strstr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcasestr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn memmem (__haystack : * const :: std :: os :: raw :: c_void , __haystacklen : usize , __needle : * const :: std :: os :: raw :: c_void , __needlelen : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn __mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strlen (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strnlen (__string : * const :: std :: os :: raw :: c_char , __maxlen : usize) -> usize ; } extern "C" { pub fn strerror (__errnum : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [link_name = "\u{1}__xpg_strerror_r"] pub fn strerror_r (__errnum : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strerror_l (__errnum : :: std :: os :: raw :: c_int , __l : locale_t) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn bcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bcopy (__src : * const :: std :: os :: raw :: c_void , __dest : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn bzero (__s : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn index (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs (__i : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl (__l : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll (__ll : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero (__s : * mut :: std :: os :: raw :: c_void , __n : usize) ; } 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 strsignal (__sig : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strlcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn strlcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } pub type __gnuc_va_list = __builtin_va_list ; pub type va_list = __builtin_va_list ; pub type __jmp_buf = [:: std :: os :: raw :: c_long ; 8usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __jmp_buf_tag { pub __jmpbuf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , pub __saved_mask : __sigset_t , } # [test] fn bindgen_test_layout___jmp_buf_tag () { const UNINIT : :: std :: mem :: MaybeUninit < __jmp_buf_tag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __jmp_buf_tag > () , 200usize , concat ! ("Size of: " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (:: std :: mem :: align_of :: < __jmp_buf_tag > () , 8usize , concat ! ("Alignment of " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __jmpbuf) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__jmpbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __mask_was_saved) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__mask_was_saved))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __saved_mask) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__saved_mask))) ; } pub type jmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __sigsetjmp (__env : * mut __jmp_buf_tag , __savemask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } pub type sigjmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn siglongjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [test] fn bindgen_test_layout_max_align_t () { const UNINIT : :: std :: mem :: MaybeUninit < max_align_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < max_align_t > () , 32usize , concat ! ("Size of: " , stringify ! (max_align_t))) ; assert_eq ! (:: std :: mem :: align_of :: < max_align_t > () , 16usize , concat ! ("Alignment of " , stringify ! (max_align_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce1) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce2) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce2))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [test] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Size of: " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wch) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wchb) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wchb))) ; } # [test] fn bindgen_test_layout___mbstate_t () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t > () , 8usize , concat ! ("Size of: " , stringify ! (__mbstate_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__value))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__state))) ; } pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos64_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos64_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos64_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos64_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos64_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos64_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__state))) ; } pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [:: std :: os :: raw :: c_char ; 20usize] , } # [test] fn bindgen_test_layout__IO_FILE () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_FILE > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_FILE > () , 216usize , concat ! ("Size of: " , stringify ! (_IO_FILE))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_FILE > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_FILE))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_ptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_end) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_base) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_base) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_end) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_base) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_end) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_base) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_backup_base) as usize - ptr as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_backup_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_end) as usize - ptr as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _markers) as usize - ptr as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_markers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _chain) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_chain))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _fileno) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_fileno))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags2) as usize - ptr as usize } , 116usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _old_offset) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_old_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _cur_column) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_cur_column))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _vtable_offset) as usize - ptr as usize } , 130usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_vtable_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _shortbuf) as usize - ptr as usize } , 131usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_shortbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _lock) as usize - ptr as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _offset) as usize - ptr as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _codecvt) as usize - ptr as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_codecvt))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _wide_data) as usize - ptr as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_wide_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_list) as usize - ptr as usize } , 168usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_buf) as usize - ptr as usize } , 176usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_buf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad5) as usize - ptr as usize } , 184usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (__pad5))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mode) as usize - ptr as usize } , 192usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_mode))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _unused2) as usize - ptr as usize } , 196usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_unused2))) ; } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [test] fn bindgen_test_layout__IO_cookie_io_functions_t () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_cookie_io_functions_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () , 32usize , concat ! ("Size of: " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . read) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (read))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . write) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (write))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . seek) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (seek))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . close) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (close))) ; } pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type fpos_t = __fpos_t ; extern "C" { pub static mut stdin : * mut FILE ; } extern "C" { pub static mut stdout : * mut FILE ; } extern "C" { pub static mut stderr : * mut FILE ; } extern "C" { pub fn remove (__filename : * 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 renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fclose (__stream : * mut FILE) -> :: 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 tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind (__stream : * mut FILE) ; } extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __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 fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr (__stream : * mut FILE) ; } extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile (__stream : * mut FILE) ; } extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static janet_type_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } extern "C" { pub static janet_signal_names : [* const :: std :: os :: raw :: c_char ; 14usize] ; } extern "C" { pub static janet_status_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } pub type JanetHandle = :: std :: os :: raw :: c_int ; pub const JanetSignal_JANET_SIGNAL_OK : JanetSignal = 0 ; pub const JanetSignal_JANET_SIGNAL_ERROR : JanetSignal = 1 ; pub const JanetSignal_JANET_SIGNAL_DEBUG : JanetSignal = 2 ; pub const JanetSignal_JANET_SIGNAL_YIELD : JanetSignal = 3 ; pub const JanetSignal_JANET_SIGNAL_USER0 : JanetSignal = 4 ; pub const JanetSignal_JANET_SIGNAL_USER1 : JanetSignal = 5 ; pub const JanetSignal_JANET_SIGNAL_USER2 : JanetSignal = 6 ; pub const JanetSignal_JANET_SIGNAL_USER3 : JanetSignal = 7 ; pub const JanetSignal_JANET_SIGNAL_USER4 : JanetSignal = 8 ; pub const JanetSignal_JANET_SIGNAL_USER5 : JanetSignal = 9 ; pub const JanetSignal_JANET_SIGNAL_USER6 : JanetSignal = 10 ; pub const JanetSignal_JANET_SIGNAL_USER7 : JanetSignal = 11 ; pub const JanetSignal_JANET_SIGNAL_USER8 : JanetSignal = 12 ; pub const JanetSignal_JANET_SIGNAL_USER9 : JanetSignal = 13 ; pub type JanetSignal = :: std :: os :: raw :: c_uint ; pub const JanetFiberStatus_JANET_STATUS_DEAD : JanetFiberStatus = 0 ; pub const JanetFiberStatus_JANET_STATUS_ERROR : JanetFiberStatus = 1 ; pub const JanetFiberStatus_JANET_STATUS_DEBUG : JanetFiberStatus = 2 ; pub const JanetFiberStatus_JANET_STATUS_PENDING : JanetFiberStatus = 3 ; pub const JanetFiberStatus_JANET_STATUS_USER0 : JanetFiberStatus = 4 ; pub const JanetFiberStatus_JANET_STATUS_USER1 : JanetFiberStatus = 5 ; pub const JanetFiberStatus_JANET_STATUS_USER2 : JanetFiberStatus = 6 ; pub const JanetFiberStatus_JANET_STATUS_USER3 : JanetFiberStatus = 7 ; pub const JanetFiberStatus_JANET_STATUS_USER4 : JanetFiberStatus = 8 ; pub const JanetFiberStatus_JANET_STATUS_USER5 : JanetFiberStatus = 9 ; pub const JanetFiberStatus_JANET_STATUS_USER6 : JanetFiberStatus = 10 ; pub const JanetFiberStatus_JANET_STATUS_USER7 : JanetFiberStatus = 11 ; pub const JanetFiberStatus_JANET_STATUS_USER8 : JanetFiberStatus = 12 ; pub const JanetFiberStatus_JANET_STATUS_USER9 : JanetFiberStatus = 13 ; pub const JanetFiberStatus_JANET_STATUS_NEW : JanetFiberStatus = 14 ; pub const JanetFiberStatus_JANET_STATUS_ALIVE : JanetFiberStatus = 15 ; pub type JanetFiberStatus = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetVM { _unused : [u8 ; 0] , } pub const JanetType_JANET_NUMBER : JanetType = 0 ; pub const JanetType_JANET_NIL : JanetType = 1 ; pub const JanetType_JANET_BOOLEAN : JanetType = 2 ; pub const JanetType_JANET_FIBER : JanetType = 3 ; pub const JanetType_JANET_STRING : JanetType = 4 ; pub const JanetType_JANET_SYMBOL : JanetType = 5 ; pub const JanetType_JANET_KEYWORD : JanetType = 6 ; pub const JanetType_JANET_ARRAY : JanetType = 7 ; pub const JanetType_JANET_TUPLE : JanetType = 8 ; pub const JanetType_JANET_TABLE : JanetType = 9 ; pub const JanetType_JANET_STRUCT : JanetType = 10 ; pub const JanetType_JANET_BUFFER : JanetType = 11 ; pub const JanetType_JANET_FUNCTION : JanetType = 12 ; pub const JanetType_JANET_CFUNCTION : JanetType = 13 ; pub const JanetType_JANET_ABSTRACT : JanetType = 14 ; pub const JanetType_JANET_POINTER : JanetType = 15 ; pub type JanetType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Copy , Clone)] pub union Janet { pub u64_ : u64 , pub i64_ : i64 , pub number : f64 , pub pointer : * mut :: std :: os :: raw :: c_void , } # [test] fn bindgen_test_layout_Janet () { const UNINIT : :: std :: mem :: MaybeUninit < Janet > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < Janet > () , 8usize , concat ! ("Size of: " , stringify ! (Janet))) ; assert_eq ! (:: std :: mem :: align_of :: < Janet > () , 8usize , concat ! ("Alignment of " , stringify ! (Janet))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . u64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (u64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . i64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (i64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . number) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (number))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . pointer) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (pointer))) ; } pub type JanetCFunction = :: std :: option :: Option < unsafe extern "C" fn (argc : i32 , argv : * mut Janet) -> Janet > ; pub type JanetString = * const u8 ; pub type JanetSymbol = * const u8 ; pub type JanetKeyword = * const u8 ; pub type JanetTuple = * const Janet ; pub type JanetStruct = * const JanetKV ; pub type JanetAbstract = * mut :: std :: os :: raw :: c_void ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_INIT : JanetAsyncEvent = 0 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_MARK : JanetAsyncEvent = 1 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_DEINIT : JanetAsyncEvent = 2 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CLOSE : JanetAsyncEvent = 3 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_ERR : JanetAsyncEvent = 4 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_HUP : JanetAsyncEvent = 5 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_READ : JanetAsyncEvent = 6 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_WRITE : JanetAsyncEvent = 7 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CANCEL : JanetAsyncEvent = 8 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_COMPLETE : JanetAsyncEvent = 9 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_USER : JanetAsyncEvent = 10 ; pub type JanetAsyncEvent = :: std :: os :: raw :: c_uint ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_NOT_DONE : JanetAsyncStatus = 0 ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_DONE : JanetAsyncStatus = 1 ; pub type JanetAsyncStatus = :: std :: os :: raw :: c_uint ; pub type JanetListener = :: std :: option :: Option < unsafe extern "C" fn (state : * mut JanetListenerState , event : JanetAsyncEvent) -> JanetAsyncStatus > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetStream { pub handle : JanetHandle , pub flags : u32 , pub state : * mut JanetListenerState , pub methods : * const :: std :: os :: raw :: c_void , pub _mask : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_JanetStream () { const UNINIT : :: std :: mem :: MaybeUninit < JanetStream > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetStream > () , 32usize , concat ! ("Size of: " , stringify ! (JanetStream))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetStream > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetStream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . handle) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (handle))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . flags) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . methods) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (methods))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (_mask))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetListenerState { pub machine : JanetListener , pub fiber : * mut JanetFiber , pub stream : * mut JanetStream , pub event : * mut :: std :: os :: raw :: c_void , pub _index : usize , pub _mask : :: std :: os :: raw :: c_int , pub _next : * mut JanetListenerState , } # [test] fn bindgen_test_layout_JanetListenerState () { const UNINIT : :: std :: mem :: MaybeUninit < JanetListenerState > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetListenerState > () , 56usize , concat ! ("Size of: " , stringify ! (JanetListenerState))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetListenerState > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetListenerState))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . machine) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (machine))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fiber) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (fiber))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . stream) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (stream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . event) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (event))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _index) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_index))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_mask))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _next) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_next))) ; } extern "C" { # [doc = " START SECTION NON-C API"] pub fn janet_struct_head (st : JanetStruct) -> * mut JanetStructHead ; } extern "C" { pub fn janet_abstract_head (abstract_ : * const :: std :: os :: raw :: c_void) -> * mut JanetAbstractHead ; } extern "C" { pub fn janet_string_head (s : JanetString) -> * mut JanetStringHead ; } extern "C" { pub fn janet_tuple_head (tuple : JanetTuple) -> * mut JanetTupleHead ; } extern "C" { pub fn janet_type (x : Janet) -> JanetType ; } extern "C" { pub fn janet_checktype (x : Janet , type_ : JanetType) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_checktypes (x : Janet , typeflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_truthy (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_struct (x : Janet) -> JanetStruct ; } extern "C" { pub fn janet_unwrap_tuple (x : Janet) -> JanetTuple ; } extern "C" { pub fn janet_unwrap_fiber (x : Janet) -> * mut JanetFiber ; } extern "C" { pub fn janet_unwrap_array (x : Janet) -> * mut JanetArray ; } extern "C" { pub fn janet_unwrap_table (x : Janet) -> * mut JanetTable ; } extern "C" { pub fn janet_unwrap_buffer (x : Janet) -> * mut JanetBuffer ; } extern "C" { pub fn janet_unwrap_string (x : Janet) -> JanetString ; } extern "C" { pub fn janet_unwrap_symbol (x : Janet) -> JanetSymbol ; } extern "C" { pub fn janet_unwrap_keyword (x : Janet) -> JanetKeyword ; } extern "C" { pub fn janet_unwrap_abstract (x : Janet) -> JanetAbstract ; } extern "C" { pub fn janet_unwrap_pointer (x : Janet) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn janet_unwrap_function (x : Janet) -> * mut JanetFunction ; } extern "C" { pub fn janet_unwrap_cfunction (x : Janet) -> JanetCFunction ; } extern "C" { pub fn janet_unwrap_boolean (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_number (x : Janet) -> f64 ; } extern "C" { pub fn janet_unwrap_integer (x : Janet) -> i32 ; } extern "C" { pub fn janet_wrap_nil () -> Janet ; } extern "C" { pub fn janet_wrap_number (x : f64) -> Janet ; } extern "C" { pub fn janet_wrap_true () -> Janet ; } extern "C" { pub fn janet_wrap_false () -> Janet ; } extern "C" { pub fn janet_wrap_boolean (x : :: std :: os :: raw :: c_int) -> Janet ; } extern "C" { pub fn janet_wrap_string (x : JanetString) -> Janet ; } extern "C" { pub fn janet_wrap_symbol (x : JanetSymbol) -> Janet ; } extern "C" { pub fn janet_wrap_keyword (x : JanetKeyword) -> Janet ; } extern "C" { pub fn janet_wrap_array (x : * mut JanetArray) -> Janet ; } extern "C" { pub fn janet_wrap_tuple (x : JanetTuple) -> Janet ; } extern "C" { pub fn janet_wrap_struct (x : JanetStruct) -> Janet ; } extern "C" { pub fn janet_wrap_fiber (x : * mut JanetFiber) -> Janet ; } extern "C" { pub fn janet_wrap_buffer (x : * mut JanetBuffer) -> Janet ; } extern "C" { pub fn janet_wrap_function (x : * mut JanetFunction) -> Janet ; } extern "C" { pub fn janet_wrap_cfunction (x : JanetCFunction) -> Janet ; } extern "C" { pub fn janet_wrap_table (x : * mut JanetTable) -> Janet ; } extern "C" { pub fn janet_wrap_abstract (x : JanetAbstract) -> Janet ; } extern "C" { pub fn janet_wrap_pointer (x : * mut :: std :: os :: raw :: c_void) -> Janet ; } extern "C" { pub fn janet_wrap_integer (x : i32) -> Janet ; } pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pub const FP_SUBNORMAL : _bindgen_ty_1 = 3 ; pu... [INFO] [stdout] | ---------------------------------- previous definition of the value `FP_SUBNORMAL` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_SUBNORMAL` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_SUBNORMAL` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `FP_NORMAL` is defined multiple times [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/janet-rs-sys-20ac3d8fc51bea46/out/bindings.rs:3:156519 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; pub const FP_NORMAL : u32 = 4 ; pub const MATH_ERRNO : u32 = 1 ; pub const MATH_ERREXCEPT : u32 = 2 ; pub const math_errhandling : u32 = 2 ; pub const M_E : f64 = 2.718281828459045 ; pub const M_LOG2E : f64 = 1.4426950408889634 ; pub const M_LOG10E : f64 = 0.4342944819032518 ; pub const M_LN2 : f64 = 0.6931471805599453 ; pub const M_LN10 : f64 = 2.302585092994046 ; pub const M_PI : f64 = 3.141592653589793 ; pub const M_PI_2 : f64 = 1.5707963267948966 ; pub const M_PI_4 : f64 = 0.7853981633974483 ; pub const M_1_PI : f64 = 0.3183098861837907 ; pub const M_2_PI : f64 = 0.6366197723675814 ; pub const M_2_SQRTPI : f64 = 1.1283791670955126 ; pub const M_SQRT2 : f64 = 1.4142135623730951 ; pub const M_SQRT1_2 : f64 = 0.7071067811865476 ; pub const JANET_NANBOX_TAGBITS : i64 = - 140737488355328 ; pub const JANET_NANBOX_PAYLOADBITS : u64 = 140737488355327 ; pub const JANET_STACKFRAME_TAILCALL : u32 = 1 ; pub const JANET_STACKFRAME_ENTRANCE : u32 = 2 ; pub const JANET_FRAME_SIZE : u32 = 4 ; pub const JANET_FUNCDEF_FLAG_VARARG : u32 = 65536 ; pub const JANET_FUNCDEF_FLAG_NEEDSENV : u32 = 131072 ; pub const JANET_FUNCDEF_FLAG_HASSYMBOLMAP : u32 = 262144 ; pub const JANET_FUNCDEF_FLAG_HASNAME : u32 = 524288 ; pub const JANET_FUNCDEF_FLAG_HASSOURCE : u32 = 1048576 ; pub const JANET_FUNCDEF_FLAG_HASDEFS : u32 = 2097152 ; pub const JANET_FUNCDEF_FLAG_HASENVS : u32 = 4194304 ; pub const JANET_FUNCDEF_FLAG_HASSOURCEMAP : u32 = 8388608 ; pub const JANET_FUNCDEF_FLAG_STRUCTARG : u32 = 16777216 ; pub const JANET_FUNCDEF_FLAG_HASCLOBITSET : u32 = 33554432 ; pub const JANET_FUNCDEF_FLAG_TAG : u32 = 65535 ; pub const JANET_FUNCFLAG_TRACE : u32 = 65536 ; pub const JANET_EV_TCTAG_NIL : u32 = 0 ; pub const JANET_EV_TCTAG_INTEGER : u32 = 1 ; pub const JANET_EV_TCTAG_STRING : u32 = 2 ; pub const JANET_EV_TCTAG_STRINGF : u32 = 3 ; pub const JANET_EV_TCTAG_KEYWORD : u32 = 4 ; pub const JANET_EV_TCTAG_ERR_STRING : u32 = 5 ; pub const JANET_EV_TCTAG_ERR_STRINGF : u32 = 6 ; pub const JANET_EV_TCTAG_ERR_KEYWORD : u32 = 7 ; pub const JANET_EV_TCTAG_BOOLEAN : u32 = 8 ; pub const JANET_BUFFER_FLAG_NO_REALLOC : u32 = 65536 ; pub const JANET_TUPLE_FLAG_BRACKETCTOR : u32 = 65536 ; pub const JANET_MARSHAL_UNSAFE : u32 = 131072 ; pub const JANET_MARSHAL_NO_CYCLES : u32 = 262144 ; pub const JANET_PRETTY_COLOR : u32 = 1 ; pub const JANET_PRETTY_ONELINE : u32 = 2 ; pub const JANET_PRETTY_NOTRUNC : u32 = 4 ; pub const JANET_SANDBOX_SANDBOX : u32 = 1 ; pub const JANET_SANDBOX_SUBPROCESS : u32 = 2 ; pub const JANET_SANDBOX_NET_CONNECT : u32 = 4 ; pub const JANET_SANDBOX_NET_LISTEN : u32 = 8 ; pub const JANET_SANDBOX_FFI_DEFINE : u32 = 16 ; pub const JANET_SANDBOX_FS_WRITE : u32 = 32 ; pub const JANET_SANDBOX_FS_READ : u32 = 64 ; pub const JANET_SANDBOX_HRTIME : u32 = 128 ; pub const JANET_SANDBOX_ENV : u32 = 256 ; pub const JANET_SANDBOX_DYNAMIC_MODULES : u32 = 512 ; pub const JANET_SANDBOX_FS_TEMP : u32 = 1024 ; pub const JANET_SANDBOX_FFI_USE : u32 = 2048 ; pub const JANET_SANDBOX_FFI_JIT : u32 = 4096 ; pub const JANET_SANDBOX_SIGNAL : u32 = 8192 ; pub const JANET_SANDBOX_FFI : u32 = 6160 ; pub const JANET_SANDBOX_FS : u32 = 1120 ; pub const JANET_SANDBOX_NET : u32 = 12 ; pub const JANET_SANDBOX_ALL : u32 = 4294967295 ; pub const JANET_FILE_WRITE : u32 = 1 ; pub const JANET_FILE_READ : u32 = 2 ; pub const JANET_FILE_APPEND : u32 = 4 ; pub const JANET_FILE_UPDATE : u32 = 8 ; pub const JANET_FILE_NOT_CLOSEABLE : u32 = 16 ; pub const JANET_FILE_CLOSED : u32 = 32 ; pub const JANET_FILE_BINARY : u32 = 64 ; pub const JANET_FILE_SERIALIZABLE : u32 = 128 ; pub const JANET_FILE_NONIL : u32 = 512 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetBuildConfig { pub major : :: std :: os :: raw :: c_uint , pub minor : :: std :: os :: raw :: c_uint , pub patch : :: std :: os :: raw :: c_uint , pub bits : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout_JanetBuildConfig () { const UNINIT : :: std :: mem :: MaybeUninit < JanetBuildConfig > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetBuildConfig > () , 16usize , concat ! ("Size of: " , stringify ! (JanetBuildConfig))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetBuildConfig > () , 4usize , concat ! ("Alignment of " , stringify ! (JanetBuildConfig))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . major) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (major))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . minor) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (minor))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . patch) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (patch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . bits) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (JanetBuildConfig) , "::" , stringify ! (bits))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSMutex { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetOSRWLock { _unused : [u8 ; 0] , } pub type wchar_t = :: std :: os :: raw :: c_int ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; # [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 () { const UNINIT : :: std :: mem :: MaybeUninit < div_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < div_t > () , 8usize , concat ! ("Size of: " , stringify ! (div_t))) ; assert_eq ! (:: std :: mem :: align_of :: < div_t > () , 4usize , concat ! ("Alignment of " , stringify ! (div_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (div_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < ldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (ldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < ldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (ldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (ldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr 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 () { const UNINIT : :: std :: mem :: MaybeUninit < lldiv_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < lldiv_t > () , 16usize , concat ! ("Size of: " , stringify ! (lldiv_t))) ; assert_eq ! (:: std :: mem :: align_of :: < lldiv_t > () , 8usize , concat ! ("Alignment of " , stringify ! (lldiv_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . quot) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (quot))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rem) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (lldiv_t) , "::" , stringify ! (rem))) ; } extern "C" { pub fn __ctype_get_mb_cur_max () -> usize ; } extern "C" { pub fn atof (__nptr : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn atoi (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn atol (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn atoll (__nptr : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtod (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn strtof (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn strtold (__nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn strtol (__nptr : * 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 strtoul (__nptr : * 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 strtoq (__nptr : * 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 (__nptr : * 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 strtoll (__nptr : * 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 strtoull (__nptr : * 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 l64a (__n : :: std :: os :: raw :: c_long) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; 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_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { const UNINIT : :: std :: mem :: MaybeUninit < __fsid_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = __uint8_t ; pub type u_int16_t = __uint16_t ; pub type u_int32_t = __uint32_t ; pub type u_int64_t = __uint64_t ; pub type register_t = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __sigset_t { pub __val : [:: std :: os :: raw :: c_ulong ; 16usize] , } # [test] fn bindgen_test_layout___sigset_t () { const UNINIT : :: std :: mem :: MaybeUninit < __sigset_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __sigset_t > () , 128usize , concat ! ("Size of: " , stringify ! (__sigset_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __sigset_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__sigset_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__sigset_t) , "::" , stringify ! (__val))) ; } pub type sigset_t = __sigset_t ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [test] fn bindgen_test_layout_timeval () { const UNINIT : :: std :: mem :: MaybeUninit < timeval > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timeval > () , 16usize , concat ! ("Size of: " , stringify ! (timeval))) ; assert_eq ! (:: std :: mem :: align_of :: < timeval > () , 8usize , concat ! ("Alignment of " , stringify ! (timeval))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_usec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timeval) , "::" , stringify ! (tv_usec))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [test] fn bindgen_test_layout_timespec () { const UNINIT : :: std :: mem :: MaybeUninit < timespec > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < timespec > () , 16usize , concat ! ("Size of: " , stringify ! (timespec))) ; assert_eq ! (:: std :: mem :: align_of :: < timespec > () , 8usize , concat ! ("Alignment of " , stringify ! (timespec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_sec) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_sec))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tv_nsec) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (timespec) , "::" , stringify ! (tv_nsec))) ; } pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct fd_set { pub __fds_bits : [__fd_mask ; 16usize] , } # [test] fn bindgen_test_layout_fd_set () { const UNINIT : :: std :: mem :: MaybeUninit < fd_set > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < fd_set > () , 128usize , concat ! ("Size of: " , stringify ! (fd_set))) ; assert_eq ! (:: std :: mem :: align_of :: < fd_set > () , 8usize , concat ! ("Alignment of " , stringify ! (fd_set))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __fds_bits) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (fd_set) , "::" , stringify ! (__fds_bits))) ; } pub type fd_mask = __fd_mask ; extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [repr (C)] # [derive (Copy , Clone)] pub union __atomic_wide_counter { pub __value64 : :: std :: os :: raw :: c_ulonglong , pub __value32 : __atomic_wide_counter__bindgen_ty_1 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __atomic_wide_counter__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___atomic_wide_counter__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __low) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__low))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __high) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter__bindgen_ty_1) , "::" , stringify ! (__high))) ; } # [test] fn bindgen_test_layout___atomic_wide_counter () { const UNINIT : :: std :: mem :: MaybeUninit < __atomic_wide_counter > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Size of: " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (:: std :: mem :: align_of :: < __atomic_wide_counter > () , 8usize , concat ! ("Alignment of " , stringify ! (__atomic_wide_counter))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value64) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value64))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value32) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__atomic_wide_counter) , "::" , stringify ! (__value32))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [test] fn bindgen_test_layout___pthread_internal_list () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_list > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_list > () , 16usize , concat ! ("Size of: " , stringify ! (__pthread_internal_list))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_list > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __prev) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__prev))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_list) , "::" , stringify ! (__next))) ; } pub type __pthread_list_t = __pthread_internal_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_internal_slist { pub __next : * mut __pthread_internal_slist , } # [test] fn bindgen_test_layout___pthread_internal_slist () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_internal_slist > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Size of: " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_internal_slist > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_internal_slist))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __next) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_internal_slist) , "::" , stringify ! (__next))) ; } pub type __pthread_slist_t = __pthread_internal_slist ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [test] fn bindgen_test_layout___pthread_mutex_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_mutex_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_mutex_s > () , 40usize , concat ! ("Size of: " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_mutex_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_mutex_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __lock) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __owner) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__owner))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __nusers) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__nusers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __kind) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__kind))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __spins) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__spins))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __elision) as usize - ptr as usize } , 22usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__elision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __list) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_mutex_s) , "::" , stringify ! (__list))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [:: std :: os :: raw :: c_uchar ; 7usize] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout___pthread_rwlock_arch_t () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_rwlock_arch_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_rwlock_arch_t > () , 56usize , concat ! ("Size of: " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_rwlock_arch_t > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_rwlock_arch_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __readers) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__readers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrphase_futex) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__wrphase_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __writers_futex) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__writers_futex))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad3) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad3))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad4) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad4))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __cur_writer) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__cur_writer))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __shared) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__shared))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __rwelision) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__rwelision))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad1) as usize - ptr as usize } , 33usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad2) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__pad2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __flags) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (__pthread_rwlock_arch_t) , "::" , stringify ! (__flags))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __pthread_cond_s { pub __wseq : __atomic_wide_counter , pub __g1_start : __atomic_wide_counter , pub __g_refs : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g_size : [:: std :: os :: raw :: c_uint ; 2usize] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [:: std :: os :: raw :: c_uint ; 2usize] , } # [test] fn bindgen_test_layout___pthread_cond_s () { const UNINIT : :: std :: mem :: MaybeUninit < __pthread_cond_s > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __pthread_cond_s > () , 48usize , concat ! ("Size of: " , stringify ! (__pthread_cond_s))) ; assert_eq ! (:: std :: mem :: align_of :: < __pthread_cond_s > () , 8usize , concat ! ("Alignment of " , stringify ! (__pthread_cond_s))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wseq) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wseq))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_start) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_start))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_refs) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_refs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_size) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g1_orig_size) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g1_orig_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wrefs) as usize - ptr as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__wrefs))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __g_signals) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (__pthread_cond_s) , "::" , stringify ! (__g_signals))) ; } pub type __tss_t = :: std :: os :: raw :: c_uint ; pub type __thrd_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __once_flag { pub __data : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout___once_flag () { const UNINIT : :: std :: mem :: MaybeUninit < __once_flag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __once_flag > () , 4usize , concat ! ("Size of: " , stringify ! (__once_flag))) ; assert_eq ! (:: std :: mem :: align_of :: < __once_flag > () , 4usize , concat ! ("Alignment of " , stringify ! (__once_flag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__once_flag) , "::" , stringify ! (__data))) ; } pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutexattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_mutexattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutexattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutexattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_mutexattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutexattr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_condattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_condattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_condattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_condattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_condattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_condattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_condattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_condattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_attr_t { pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_attr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_attr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_attr_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_attr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_attr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_attr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_attr_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [:: std :: os :: raw :: c_char ; 40usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_mutex_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_mutex_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_mutex_t > () , 40usize , concat ! ("Size of: " , stringify ! (pthread_mutex_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_mutex_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_mutex_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_mutex_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [:: std :: os :: raw :: c_char ; 48usize] , pub __align : :: std :: os :: raw :: c_longlong , } # [test] fn bindgen_test_layout_pthread_cond_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_cond_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_cond_t > () , 48usize , concat ! ("Size of: " , stringify ! (pthread_cond_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_cond_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_cond_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_cond_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [:: std :: os :: raw :: c_char ; 56usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlock_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlock_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlock_t > () , 56usize , concat ! ("Size of: " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlock_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlock_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlock_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_rwlockattr_t { pub __size : [:: std :: os :: raw :: c_char ; 8usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_rwlockattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_rwlockattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Size of: " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_rwlockattr_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_rwlockattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_rwlockattr_t) , "::" , stringify ! (__align))) ; } pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrier_t { pub __size : [:: std :: os :: raw :: c_char ; 32usize] , pub __align : :: std :: os :: raw :: c_long , } # [test] fn bindgen_test_layout_pthread_barrier_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrier_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrier_t > () , 32usize , concat ! ("Size of: " , stringify ! (pthread_barrier_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrier_t > () , 8usize , concat ! ("Alignment of " , stringify ! (pthread_barrier_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrier_t) , "::" , stringify ! (__align))) ; } # [repr (C)] # [derive (Copy , Clone)] pub union pthread_barrierattr_t { pub __size : [:: std :: os :: raw :: c_char ; 4usize] , pub __align : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_pthread_barrierattr_t () { const UNINIT : :: std :: mem :: MaybeUninit < pthread_barrierattr_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Size of: " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (:: std :: mem :: align_of :: < pthread_barrierattr_t > () , 4usize , concat ! ("Alignment of " , stringify ! (pthread_barrierattr_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __size) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __align) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (pthread_barrierattr_t) , "::" , stringify ! (__align))) ; } extern "C" { pub fn random () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srandom (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn initstate (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn setstate (__statebuf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [test] fn bindgen_test_layout_random_data () { const UNINIT : :: std :: mem :: MaybeUninit < random_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < random_data > () , 48usize , concat ! ("Size of: " , stringify ! (random_data))) ; assert_eq ! (:: std :: mem :: align_of :: < random_data > () , 8usize , concat ! ("Alignment of " , stringify ! (random_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fptr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (fptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_type) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_type))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_deg) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_deg))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . rand_sep) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (rand_sep))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . end_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (random_data) , "::" , stringify ! (end_ptr))) ; } extern "C" { pub fn random_r (__buf : * mut random_data , __result : * mut i32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srandom_r (__seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initstate_r (__seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setstate_r (__statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rand () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand (__seed : :: std :: os :: raw :: c_uint) ; } extern "C" { pub fn rand_r (__seed : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drand48 () -> f64 ; } extern "C" { pub fn erand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> f64 ; } extern "C" { pub fn lrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn nrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn mrand48 () -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn jrand48 (__xsubi : * mut :: std :: os :: raw :: c_ushort) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srand48 (__seedval : :: std :: os :: raw :: c_long) ; } extern "C" { pub fn seed48 (__seed16v : * mut :: std :: os :: raw :: c_ushort) -> * mut :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn lcong48 (__param : * mut :: std :: os :: raw :: c_ushort) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct drand48_data { pub __x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __old_x : [:: std :: os :: raw :: c_ushort ; 3usize] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [test] fn bindgen_test_layout_drand48_data () { const UNINIT : :: std :: mem :: MaybeUninit < drand48_data > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < drand48_data > () , 24usize , concat ! ("Size of: " , stringify ! (drand48_data))) ; assert_eq ! (:: std :: mem :: align_of :: < drand48_data > () , 8usize , concat ! ("Alignment of " , stringify ! (drand48_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __x) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __old_x) as usize - ptr as usize } , 6usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__old_x))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __c) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__c))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __init) as usize - ptr as usize } , 14usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__init))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __a) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (drand48_data) , "::" , stringify ! (__a))) ; } extern "C" { pub fn drand48_r (__buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mrand48_r (__buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn jrand48_r (__xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand48_r (__seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seed48_r (__seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lcong48_r (__param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn arc4random () -> __uint32_t ; } extern "C" { pub fn arc4random_buf (__buf : * mut :: std :: os :: raw :: c_void , __size : usize) ; } extern "C" { pub fn arc4random_uniform (__upper_bound : __uint32_t) -> __uint32_t ; } extern "C" { pub fn malloc (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc (__nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free (__ptr : * mut :: std :: os :: raw :: c_void) ; } extern "C" { pub fn reallocarray (__ptr : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn alloca (__size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc (__size : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign (__memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc (__alignment : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn abort () -> ! ; } extern "C" { pub fn atexit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn at_quick_exit (__func : :: std :: option :: Option < unsafe extern "C" fn () >) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn on_exit (__func : :: std :: option :: Option < unsafe extern "C" fn (__status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void) > , __arg : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn quick_exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _Exit (__status : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn getenv (__name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putenv (__string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setenv (__name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unsetenv (__name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearenv () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mktemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn mkstemp (__template : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkstemps (__template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdtemp (__template : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn system (__command : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn realpath (__name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: 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 bsearch (__key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn qsort (__base : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t) ; } extern "C" { pub fn abs (__x : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn labs (__x : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llabs (__x : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn div (__numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int) -> div_t ; } extern "C" { pub fn ldiv (__numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long) -> ldiv_t ; } extern "C" { pub fn lldiv (__numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong) -> lldiv_t ; } extern "C" { pub fn ecvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn gcvt (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qecvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r (__value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r (__value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen (__s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc (__pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb (__s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs (__pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn wcstombs (__s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize) -> usize ; } extern "C" { pub fn rpmatch (__response : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt (__optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg (__loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; extern "C" { pub fn memcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memset (__s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * 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 : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __memcmpeq (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr (__s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strncmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: 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 strxfrm (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_ulong ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __locale_struct { pub __locales : [* mut __locale_data ; 13usize] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [* const :: std :: os :: raw :: c_char ; 13usize] , } # [test] fn bindgen_test_layout___locale_struct () { const UNINIT : :: std :: mem :: MaybeUninit < __locale_struct > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __locale_struct > () , 232usize , concat ! ("Size of: " , stringify ! (__locale_struct))) ; assert_eq ! (:: std :: mem :: align_of :: < __locale_struct > () , 8usize , concat ! ("Alignment of " , stringify ! (__locale_struct))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __locales) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__locales))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_b) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_b))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_tolower) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_tolower))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __ctype_toupper) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__ctype_toupper))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __names) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (__locale_struct) , "::" , stringify ! (__names))) ; } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn strcoll_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize , __l : locale_t) -> usize ; } extern "C" { pub fn strdup (__s : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup (__string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * 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 strrchr (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchrnul (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcspn (__s : * const :: std :: os :: raw :: c_char , __reject : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strspn (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strpbrk (__s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strstr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok_r (__s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcasestr (__haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn memmem (__haystack : * const :: std :: os :: raw :: c_void , __haystacklen : usize , __needle : * const :: std :: os :: raw :: c_void , __needlelen : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn __mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn mempcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strlen (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strnlen (__string : * const :: std :: os :: raw :: c_char , __maxlen : usize) -> usize ; } extern "C" { pub fn strerror (__errnum : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [link_name = "\u{1}__xpg_strerror_r"] pub fn strerror_r (__errnum : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strerror_l (__errnum : :: std :: os :: raw :: c_int , __l : locale_t) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn bcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bcopy (__src : * const :: std :: os :: raw :: c_void , __dest : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn bzero (__s : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) ; } extern "C" { pub fn index (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex (__s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs (__i : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl (__l : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll (__ll : :: std :: os :: raw :: c_longlong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l (__s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize , __loc : locale_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero (__s : * mut :: std :: os :: raw :: c_void , __n : usize) ; } 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 strsignal (__sig : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strlcpy (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } extern "C" { pub fn strlcat (__dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize) -> usize ; } pub type __gnuc_va_list = __builtin_va_list ; pub type va_list = __builtin_va_list ; pub type __jmp_buf = [:: std :: os :: raw :: c_long ; 8usize] ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __jmp_buf_tag { pub __jmpbuf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , pub __saved_mask : __sigset_t , } # [test] fn bindgen_test_layout___jmp_buf_tag () { const UNINIT : :: std :: mem :: MaybeUninit < __jmp_buf_tag > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __jmp_buf_tag > () , 200usize , concat ! ("Size of: " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (:: std :: mem :: align_of :: < __jmp_buf_tag > () , 8usize , concat ! ("Alignment of " , stringify ! (__jmp_buf_tag))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __jmpbuf) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__jmpbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __mask_was_saved) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__mask_was_saved))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __saved_mask) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (__jmp_buf_tag) , "::" , stringify ! (__saved_mask))) ; } pub type jmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __sigsetjmp (__env : * mut __jmp_buf_tag , __savemask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _setjmp (__env : * mut __jmp_buf_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } extern "C" { pub fn _longjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } pub type sigjmp_buf = [__jmp_buf_tag ; 1usize] ; extern "C" { pub fn siglongjmp (__env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int) -> ! ; } # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [test] fn bindgen_test_layout_max_align_t () { const UNINIT : :: std :: mem :: MaybeUninit < max_align_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < max_align_t > () , 32usize , concat ! ("Size of: " , stringify ! (max_align_t))) ; assert_eq ! (:: std :: mem :: align_of :: < max_align_t > () , 16usize , concat ! ("Alignment of " , stringify ! (max_align_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce1) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce2) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce2))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [repr (C)] # [derive (Copy , Clone)] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [:: std :: os :: raw :: c_char ; 4usize] , } # [test] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t__bindgen_ty_1 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Size of: " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t__bindgen_ty_1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wch) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wch))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __wchb) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t__bindgen_ty_1) , "::" , stringify ! (__wchb))) ; } # [test] fn bindgen_test_layout___mbstate_t () { const UNINIT : :: std :: mem :: MaybeUninit < __mbstate_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < __mbstate_t > () , 8usize , concat ! ("Size of: " , stringify ! (__mbstate_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __mbstate_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__mbstate_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __count) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__count))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __value) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (__mbstate_t) , "::" , stringify ! (__value))) ; } # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos_t) , "::" , stringify ! (__state))) ; } pub type __fpos_t = _G_fpos_t ; # [repr (C)] # [derive (Copy , Clone)] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [test] fn bindgen_test_layout__G_fpos64_t () { const UNINIT : :: std :: mem :: MaybeUninit < _G_fpos64_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _G_fpos64_t > () , 16usize , concat ! ("Size of: " , stringify ! (_G_fpos64_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _G_fpos64_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_G_fpos64_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__pos))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_G_fpos64_t) , "::" , stringify ! (__state))) ; } pub type __fpos64_t = _G_fpos64_t ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [:: std :: os :: raw :: c_char ; 20usize] , } # [test] fn bindgen_test_layout__IO_FILE () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_FILE > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_FILE > () , 216usize , concat ! ("Size of: " , stringify ! (_IO_FILE))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_FILE > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_FILE))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_ptr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_end) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_read_base) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_read_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_base) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_ptr) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_ptr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_write_end) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_write_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_base) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_buf_end) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_buf_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_base) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_backup_base) as usize - ptr as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_backup_base))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _IO_save_end) as usize - ptr as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_IO_save_end))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _markers) as usize - ptr as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_markers))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _chain) as usize - ptr as usize } , 104usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_chain))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _fileno) as usize - ptr as usize } , 112usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_fileno))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _flags2) as usize - ptr as usize } , 116usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_flags2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _old_offset) as usize - ptr as usize } , 120usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_old_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _cur_column) as usize - ptr as usize } , 128usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_cur_column))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _vtable_offset) as usize - ptr as usize } , 130usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_vtable_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _shortbuf) as usize - ptr as usize } , 131usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_shortbuf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _lock) as usize - ptr as usize } , 136usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_lock))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _offset) as usize - ptr as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _codecvt) as usize - ptr as usize } , 152usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_codecvt))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _wide_data) as usize - ptr as usize } , 160usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_wide_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_list) as usize - ptr as usize } , 168usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_list))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _freeres_buf) as usize - ptr as usize } , 176usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_freeres_buf))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . __pad5) as usize - ptr as usize } , 184usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (__pad5))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mode) as usize - ptr as usize } , 192usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_mode))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _unused2) as usize - ptr as usize } , 196usize , concat ! ("Offset of field: " , stringify ! (_IO_FILE) , "::" , stringify ! (_unused2))) ; } pub type cookie_read_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_write_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __nbytes : usize) -> __ssize_t > ; pub type cookie_seek_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; pub type cookie_close_function_t = :: std :: option :: Option < unsafe extern "C" fn (__cookie : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_cookie_io_functions_t { pub read : cookie_read_function_t , pub write : cookie_write_function_t , pub seek : cookie_seek_function_t , pub close : cookie_close_function_t , } # [test] fn bindgen_test_layout__IO_cookie_io_functions_t () { const UNINIT : :: std :: mem :: MaybeUninit < _IO_cookie_io_functions_t > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _IO_cookie_io_functions_t > () , 32usize , concat ! ("Size of: " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (:: std :: mem :: align_of :: < _IO_cookie_io_functions_t > () , 8usize , concat ! ("Alignment of " , stringify ! (_IO_cookie_io_functions_t))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . read) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (read))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . write) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (write))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . seek) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (seek))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . close) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_IO_cookie_io_functions_t) , "::" , stringify ! (close))) ; } pub type cookie_io_functions_t = _IO_cookie_io_functions_t ; pub type fpos_t = __fpos_t ; extern "C" { pub static mut stdin : * mut FILE ; } extern "C" { pub static mut stdout : * mut FILE ; } extern "C" { pub static mut stderr : * mut FILE ; } extern "C" { pub fn remove (__filename : * 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 renameat (__oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fclose (__stream : * mut FILE) -> :: 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 tmpnam_r (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam (__dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fflush (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn freopen (__filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> * mut FILE ; } extern "C" { pub fn fdopen (__fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn fopencookie (__magic_cookie : * mut :: std :: os :: raw :: c_void , __modes : * const :: std :: os :: raw :: c_char , __io_funcs : cookie_io_functions_t) -> * mut FILE ; } extern "C" { pub fn fmemopen (__s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn open_memstream (__bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize) -> * mut FILE ; } extern "C" { pub fn setbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char) ; } extern "C" { pub fn setvbuf (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer (__stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize) ; } extern "C" { pub fn setlinebuf (__stream : * mut FILE) ; } extern "C" { pub fn fprintf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf (__s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf (__s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vasprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __f : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn asprintf (__ptr : * mut * mut :: std :: os :: raw :: c_char , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf (__fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_fscanf"] pub fn fscanf1 (__stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_scanf"] pub fn scanf1 (__format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_sscanf"] pub fn sscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vfscanf"] pub fn vfscanf1 (__s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vscanf"] pub fn vscanf1 (__format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { # [link_name = "\u{1}__isoc99_vsscanf"] pub fn vsscanf1 (__s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked () -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked (__c : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw (__w : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets (__s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getdelim (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn getline (__lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE) -> __ssize_t ; } extern "C" { pub fn fputs (__s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc (__c : :: std :: os :: raw :: c_int , __stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread (__ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __stream : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fwrite (__ptr : * const :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong , __n : :: std :: os :: raw :: c_ulong , __s : * mut FILE) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn fread_unlocked (__ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fwrite_unlocked (__ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE) -> usize ; } extern "C" { pub fn fseek (__stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell (__stream : * mut FILE) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind (__stream : * mut FILE) ; } extern "C" { pub fn fseeko (__stream : * mut FILE , __off : __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 fgetpos (__stream : * mut FILE , __pos : * mut fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos (__stream : * mut FILE , __pos : * const fpos_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr (__stream : * mut FILE) ; } extern "C" { pub fn feof (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked (__stream : * mut FILE) ; } extern "C" { pub fn feof_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror (__s : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn fileno (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pclose (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen (__command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char) -> * mut FILE ; } extern "C" { pub fn ctermid (__s : * mut :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile (__stream : * mut FILE) ; } extern "C" { pub fn ftrylockfile (__stream : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile (__stream : * mut FILE) ; } extern "C" { pub fn __uflow (arg1 : * mut FILE) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow (arg1 : * mut FILE , arg2 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub static janet_type_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } extern "C" { pub static janet_signal_names : [* const :: std :: os :: raw :: c_char ; 14usize] ; } extern "C" { pub static janet_status_names : [* const :: std :: os :: raw :: c_char ; 16usize] ; } pub type JanetHandle = :: std :: os :: raw :: c_int ; pub const JanetSignal_JANET_SIGNAL_OK : JanetSignal = 0 ; pub const JanetSignal_JANET_SIGNAL_ERROR : JanetSignal = 1 ; pub const JanetSignal_JANET_SIGNAL_DEBUG : JanetSignal = 2 ; pub const JanetSignal_JANET_SIGNAL_YIELD : JanetSignal = 3 ; pub const JanetSignal_JANET_SIGNAL_USER0 : JanetSignal = 4 ; pub const JanetSignal_JANET_SIGNAL_USER1 : JanetSignal = 5 ; pub const JanetSignal_JANET_SIGNAL_USER2 : JanetSignal = 6 ; pub const JanetSignal_JANET_SIGNAL_USER3 : JanetSignal = 7 ; pub const JanetSignal_JANET_SIGNAL_USER4 : JanetSignal = 8 ; pub const JanetSignal_JANET_SIGNAL_USER5 : JanetSignal = 9 ; pub const JanetSignal_JANET_SIGNAL_USER6 : JanetSignal = 10 ; pub const JanetSignal_JANET_SIGNAL_USER7 : JanetSignal = 11 ; pub const JanetSignal_JANET_SIGNAL_USER8 : JanetSignal = 12 ; pub const JanetSignal_JANET_SIGNAL_USER9 : JanetSignal = 13 ; pub type JanetSignal = :: std :: os :: raw :: c_uint ; pub const JanetFiberStatus_JANET_STATUS_DEAD : JanetFiberStatus = 0 ; pub const JanetFiberStatus_JANET_STATUS_ERROR : JanetFiberStatus = 1 ; pub const JanetFiberStatus_JANET_STATUS_DEBUG : JanetFiberStatus = 2 ; pub const JanetFiberStatus_JANET_STATUS_PENDING : JanetFiberStatus = 3 ; pub const JanetFiberStatus_JANET_STATUS_USER0 : JanetFiberStatus = 4 ; pub const JanetFiberStatus_JANET_STATUS_USER1 : JanetFiberStatus = 5 ; pub const JanetFiberStatus_JANET_STATUS_USER2 : JanetFiberStatus = 6 ; pub const JanetFiberStatus_JANET_STATUS_USER3 : JanetFiberStatus = 7 ; pub const JanetFiberStatus_JANET_STATUS_USER4 : JanetFiberStatus = 8 ; pub const JanetFiberStatus_JANET_STATUS_USER5 : JanetFiberStatus = 9 ; pub const JanetFiberStatus_JANET_STATUS_USER6 : JanetFiberStatus = 10 ; pub const JanetFiberStatus_JANET_STATUS_USER7 : JanetFiberStatus = 11 ; pub const JanetFiberStatus_JANET_STATUS_USER8 : JanetFiberStatus = 12 ; pub const JanetFiberStatus_JANET_STATUS_USER9 : JanetFiberStatus = 13 ; pub const JanetFiberStatus_JANET_STATUS_NEW : JanetFiberStatus = 14 ; pub const JanetFiberStatus_JANET_STATUS_ALIVE : JanetFiberStatus = 15 ; pub type JanetFiberStatus = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetVM { _unused : [u8 ; 0] , } pub const JanetType_JANET_NUMBER : JanetType = 0 ; pub const JanetType_JANET_NIL : JanetType = 1 ; pub const JanetType_JANET_BOOLEAN : JanetType = 2 ; pub const JanetType_JANET_FIBER : JanetType = 3 ; pub const JanetType_JANET_STRING : JanetType = 4 ; pub const JanetType_JANET_SYMBOL : JanetType = 5 ; pub const JanetType_JANET_KEYWORD : JanetType = 6 ; pub const JanetType_JANET_ARRAY : JanetType = 7 ; pub const JanetType_JANET_TUPLE : JanetType = 8 ; pub const JanetType_JANET_TABLE : JanetType = 9 ; pub const JanetType_JANET_STRUCT : JanetType = 10 ; pub const JanetType_JANET_BUFFER : JanetType = 11 ; pub const JanetType_JANET_FUNCTION : JanetType = 12 ; pub const JanetType_JANET_CFUNCTION : JanetType = 13 ; pub const JanetType_JANET_ABSTRACT : JanetType = 14 ; pub const JanetType_JANET_POINTER : JanetType = 15 ; pub type JanetType = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Copy , Clone)] pub union Janet { pub u64_ : u64 , pub i64_ : i64 , pub number : f64 , pub pointer : * mut :: std :: os :: raw :: c_void , } # [test] fn bindgen_test_layout_Janet () { const UNINIT : :: std :: mem :: MaybeUninit < Janet > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < Janet > () , 8usize , concat ! ("Size of: " , stringify ! (Janet))) ; assert_eq ! (:: std :: mem :: align_of :: < Janet > () , 8usize , concat ! ("Alignment of " , stringify ! (Janet))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . u64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (u64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . i64_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (i64_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . number) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (number))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . pointer) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (Janet) , "::" , stringify ! (pointer))) ; } pub type JanetCFunction = :: std :: option :: Option < unsafe extern "C" fn (argc : i32 , argv : * mut Janet) -> Janet > ; pub type JanetString = * const u8 ; pub type JanetSymbol = * const u8 ; pub type JanetKeyword = * const u8 ; pub type JanetTuple = * const Janet ; pub type JanetStruct = * const JanetKV ; pub type JanetAbstract = * mut :: std :: os :: raw :: c_void ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_INIT : JanetAsyncEvent = 0 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_MARK : JanetAsyncEvent = 1 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_DEINIT : JanetAsyncEvent = 2 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CLOSE : JanetAsyncEvent = 3 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_ERR : JanetAsyncEvent = 4 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_HUP : JanetAsyncEvent = 5 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_READ : JanetAsyncEvent = 6 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_WRITE : JanetAsyncEvent = 7 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_CANCEL : JanetAsyncEvent = 8 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_COMPLETE : JanetAsyncEvent = 9 ; pub const JanetAsyncEvent_JANET_ASYNC_EVENT_USER : JanetAsyncEvent = 10 ; pub type JanetAsyncEvent = :: std :: os :: raw :: c_uint ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_NOT_DONE : JanetAsyncStatus = 0 ; pub const JanetAsyncStatus_JANET_ASYNC_STATUS_DONE : JanetAsyncStatus = 1 ; pub type JanetAsyncStatus = :: std :: os :: raw :: c_uint ; pub type JanetListener = :: std :: option :: Option < unsafe extern "C" fn (state : * mut JanetListenerState , event : JanetAsyncEvent) -> JanetAsyncStatus > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetStream { pub handle : JanetHandle , pub flags : u32 , pub state : * mut JanetListenerState , pub methods : * const :: std :: os :: raw :: c_void , pub _mask : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_JanetStream () { const UNINIT : :: std :: mem :: MaybeUninit < JanetStream > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetStream > () , 32usize , concat ! ("Size of: " , stringify ! (JanetStream))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetStream > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetStream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . handle) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (handle))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . flags) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . state) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (state))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . methods) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (methods))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetStream) , "::" , stringify ! (_mask))) ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct JanetListenerState { pub machine : JanetListener , pub fiber : * mut JanetFiber , pub stream : * mut JanetStream , pub event : * mut :: std :: os :: raw :: c_void , pub _index : usize , pub _mask : :: std :: os :: raw :: c_int , pub _next : * mut JanetListenerState , } # [test] fn bindgen_test_layout_JanetListenerState () { const UNINIT : :: std :: mem :: MaybeUninit < JanetListenerState > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < JanetListenerState > () , 56usize , concat ! ("Size of: " , stringify ! (JanetListenerState))) ; assert_eq ! (:: std :: mem :: align_of :: < JanetListenerState > () , 8usize , concat ! ("Alignment of " , stringify ! (JanetListenerState))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . machine) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (machine))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fiber) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (fiber))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . stream) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (stream))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . event) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (event))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _index) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_index))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _mask) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_mask))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . _next) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (JanetListenerState) , "::" , stringify ! (_next))) ; } extern "C" { # [doc = " START SECTION NON-C API"] pub fn janet_struct_head (st : JanetStruct) -> * mut JanetStructHead ; } extern "C" { pub fn janet_abstract_head (abstract_ : * const :: std :: os :: raw :: c_void) -> * mut JanetAbstractHead ; } extern "C" { pub fn janet_string_head (s : JanetString) -> * mut JanetStringHead ; } extern "C" { pub fn janet_tuple_head (tuple : JanetTuple) -> * mut JanetTupleHead ; } extern "C" { pub fn janet_type (x : Janet) -> JanetType ; } extern "C" { pub fn janet_checktype (x : Janet , type_ : JanetType) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_checktypes (x : Janet , typeflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_truthy (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_struct (x : Janet) -> JanetStruct ; } extern "C" { pub fn janet_unwrap_tuple (x : Janet) -> JanetTuple ; } extern "C" { pub fn janet_unwrap_fiber (x : Janet) -> * mut JanetFiber ; } extern "C" { pub fn janet_unwrap_array (x : Janet) -> * mut JanetArray ; } extern "C" { pub fn janet_unwrap_table (x : Janet) -> * mut JanetTable ; } extern "C" { pub fn janet_unwrap_buffer (x : Janet) -> * mut JanetBuffer ; } extern "C" { pub fn janet_unwrap_string (x : Janet) -> JanetString ; } extern "C" { pub fn janet_unwrap_symbol (x : Janet) -> JanetSymbol ; } extern "C" { pub fn janet_unwrap_keyword (x : Janet) -> JanetKeyword ; } extern "C" { pub fn janet_unwrap_abstract (x : Janet) -> JanetAbstract ; } extern "C" { pub fn janet_unwrap_pointer (x : Janet) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn janet_unwrap_function (x : Janet) -> * mut JanetFunction ; } extern "C" { pub fn janet_unwrap_cfunction (x : Janet) -> JanetCFunction ; } extern "C" { pub fn janet_unwrap_boolean (x : Janet) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn janet_unwrap_number (x : Janet) -> f64 ; } extern "C" { pub fn janet_unwrap_integer (x : Janet) -> i32 ; } extern "C" { pub fn janet_wrap_nil () -> Janet ; } extern "C" { pub fn janet_wrap_number (x : f64) -> Janet ; } extern "C" { pub fn janet_wrap_true () -> Janet ; } extern "C" { pub fn janet_wrap_false () -> Janet ; } extern "C" { pub fn janet_wrap_boolean (x : :: std :: os :: raw :: c_int) -> Janet ; } extern "C" { pub fn janet_wrap_string (x : JanetString) -> Janet ; } extern "C" { pub fn janet_wrap_symbol (x : JanetSymbol) -> Janet ; } extern "C" { pub fn janet_wrap_keyword (x : JanetKeyword) -> Janet ; } extern "C" { pub fn janet_wrap_array (x : * mut JanetArray) -> Janet ; } extern "C" { pub fn janet_wrap_tuple (x : JanetTuple) -> Janet ; } extern "C" { pub fn janet_wrap_struct (x : JanetStruct) -> Janet ; } extern "C" { pub fn janet_wrap_fiber (x : * mut JanetFiber) -> Janet ; } extern "C" { pub fn janet_wrap_buffer (x : * mut JanetBuffer) -> Janet ; } extern "C" { pub fn janet_wrap_function (x : * mut JanetFunction) -> Janet ; } extern "C" { pub fn janet_wrap_cfunction (x : JanetCFunction) -> Janet ; } extern "C" { pub fn janet_wrap_table (x : * mut JanetTable) -> Janet ; } extern "C" { pub fn janet_wrap_abstract (x : JanetAbstract) -> Janet ; } extern "C" { pub fn janet_wrap_pointer (x : * mut :: std :: os :: raw :: c_void) -> Janet ; } extern "C" { pub fn janet_wrap_integer (x : i32) -> Janet ; } pub type float_t = f32 ; pub type double_t = f64 ; extern "C" { pub fn __fpclassify (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbit (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsig (__x : f64 , __y : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignaling (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acos (__x : f64) -> f64 ; } extern "C" { pub fn __acos (__x : f64) -> f64 ; } extern "C" { pub fn asin (__x : f64) -> f64 ; } extern "C" { pub fn __asin (__x : f64) -> f64 ; } extern "C" { pub fn atan (__x : f64) -> f64 ; } extern "C" { pub fn __atan (__x : f64) -> f64 ; } extern "C" { pub fn atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn __atan2 (__y : f64 , __x : f64) -> f64 ; } extern "C" { pub fn cos (__x : f64) -> f64 ; } extern "C" { pub fn __cos (__x : f64) -> f64 ; } extern "C" { pub fn sin (__x : f64) -> f64 ; } extern "C" { pub fn __sin (__x : f64) -> f64 ; } extern "C" { pub fn tan (__x : f64) -> f64 ; } extern "C" { pub fn __tan (__x : f64) -> f64 ; } extern "C" { pub fn cosh (__x : f64) -> f64 ; } extern "C" { pub fn __cosh (__x : f64) -> f64 ; } extern "C" { pub fn sinh (__x : f64) -> f64 ; } extern "C" { pub fn __sinh (__x : f64) -> f64 ; } extern "C" { pub fn tanh (__x : f64) -> f64 ; } extern "C" { pub fn __tanh (__x : f64) -> f64 ; } extern "C" { pub fn acosh (__x : f64) -> f64 ; } extern "C" { pub fn __acosh (__x : f64) -> f64 ; } extern "C" { pub fn asinh (__x : f64) -> f64 ; } extern "C" { pub fn __asinh (__x : f64) -> f64 ; } extern "C" { pub fn atanh (__x : f64) -> f64 ; } extern "C" { pub fn __atanh (__x : f64) -> f64 ; } extern "C" { pub fn exp (__x : f64) -> f64 ; } extern "C" { pub fn __exp (__x : f64) -> f64 ; } extern "C" { pub fn frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __frexp (__x : f64 , __exponent : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __ldexp (__x : f64 , __exponent : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn log (__x : f64) -> f64 ; } extern "C" { pub fn __log (__x : f64) -> f64 ; } extern "C" { pub fn log10 (__x : f64) -> f64 ; } extern "C" { pub fn __log10 (__x : f64) -> f64 ; } extern "C" { pub fn modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn __modf (__x : f64 , __iptr : * mut f64) -> f64 ; } extern "C" { pub fn expm1 (__x : f64) -> f64 ; } extern "C" { pub fn __expm1 (__x : f64) -> f64 ; } extern "C" { pub fn log1p (__x : f64) -> f64 ; } extern "C" { pub fn __log1p (__x : f64) -> f64 ; } extern "C" { pub fn logb (__x : f64) -> f64 ; } extern "C" { pub fn __logb (__x : f64) -> f64 ; } extern "C" { pub fn exp2 (__x : f64) -> f64 ; } extern "C" { pub fn __exp2 (__x : f64) -> f64 ; } extern "C" { pub fn log2 (__x : f64) -> f64 ; } extern "C" { pub fn __log2 (__x : f64) -> f64 ; } extern "C" { pub fn pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __pow (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn sqrt (__x : f64) -> f64 ; } extern "C" { pub fn __sqrt (__x : f64) -> f64 ; } extern "C" { pub fn hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __hypot (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn cbrt (__x : f64) -> f64 ; } extern "C" { pub fn __cbrt (__x : f64) -> f64 ; } extern "C" { pub fn ceil (__x : f64) -> f64 ; } extern "C" { pub fn __ceil (__x : f64) -> f64 ; } extern "C" { pub fn fabs (__x : f64) -> f64 ; } extern "C" { pub fn __fabs (__x : f64) -> f64 ; } extern "C" { pub fn floor (__x : f64) -> f64 ; } extern "C" { pub fn __floor (__x : f64) -> f64 ; } extern "C" { pub fn fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmod (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn isinf (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finite (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __drem (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn significand (__x : f64) -> f64 ; } extern "C" { pub fn __significand (__x : f64) -> f64 ; } extern "C" { pub fn copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __copysign (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn __nan (__tagb : * const :: std :: os :: raw :: c_char) -> f64 ; } extern "C" { pub fn isnan (__value : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j0 (arg1 : f64) -> f64 ; } extern "C" { pub fn j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __j1 (arg1 : f64) -> f64 ; } extern "C" { pub fn jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __jn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y0 (arg1 : f64) -> f64 ; } extern "C" { pub fn y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn __y1 (arg1 : f64) -> f64 ; } extern "C" { pub fn yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn __yn (arg1 : :: std :: os :: raw :: c_int , arg2 : f64) -> f64 ; } extern "C" { pub fn erf (arg1 : f64) -> f64 ; } extern "C" { pub fn __erf (arg1 : f64) -> f64 ; } extern "C" { pub fn erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn __erfc (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __lgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __tgamma (arg1 : f64) -> f64 ; } extern "C" { pub fn gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn __gamma (arg1 : f64) -> f64 ; } extern "C" { pub fn lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __lgamma_r (arg1 : f64 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn rint (__x : f64) -> f64 ; } extern "C" { pub fn __rint (__x : f64) -> f64 ; } extern "C" { pub fn nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __nextafter (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn __nexttoward (__x : f64 , __y : u128) -> f64 ; } extern "C" { pub fn remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __remainder (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __scalbn (__x : f64 , __n : :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogb (__x : f64) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn __scalbln (__x : f64 , __n : :: std :: os :: raw :: c_long) -> f64 ; } extern "C" { pub fn nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn __nearbyint (__x : f64) -> f64 ; } extern "C" { pub fn round (__x : f64) -> f64 ; } extern "C" { pub fn __round (__x : f64) -> f64 ; } extern "C" { pub fn trunc (__x : f64) -> f64 ; } extern "C" { pub fn __trunc (__x : f64) -> f64 ; } extern "C" { pub fn remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn __remquo (__x : f64 , __y : f64 , __quo : * mut :: std :: os :: raw :: c_int) -> f64 ; } extern "C" { pub fn lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrint (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrint (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lround (__x : f64) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llround (__x : f64) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fdim (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmax (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn __fmin (__x : f64 , __y : f64) -> f64 ; } extern "C" { pub fn fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn __fma (__x : f64 , __y : f64 , __z : f64) -> f64 ; } extern "C" { pub fn scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __scalb (__x : f64 , __n : f64) -> f64 ; } extern "C" { pub fn __fpclassifyf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigf (__x : f32 , __y : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosf (__x : f32) -> f32 ; } extern "C" { pub fn __acosf (__x : f32) -> f32 ; } extern "C" { pub fn asinf (__x : f32) -> f32 ; } extern "C" { pub fn __asinf (__x : f32) -> f32 ; } extern "C" { pub fn atanf (__x : f32) -> f32 ; } extern "C" { pub fn __atanf (__x : f32) -> f32 ; } extern "C" { pub fn atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn __atan2f (__y : f32 , __x : f32) -> f32 ; } extern "C" { pub fn cosf (__x : f32) -> f32 ; } extern "C" { pub fn __cosf (__x : f32) -> f32 ; } extern "C" { pub fn sinf (__x : f32) -> f32 ; } extern "C" { pub fn __sinf (__x : f32) -> f32 ; } extern "C" { pub fn tanf (__x : f32) -> f32 ; } extern "C" { pub fn __tanf (__x : f32) -> f32 ; } extern "C" { pub fn coshf (__x : f32) -> f32 ; } extern "C" { pub fn __coshf (__x : f32) -> f32 ; } extern "C" { pub fn sinhf (__x : f32) -> f32 ; } extern "C" { pub fn __sinhf (__x : f32) -> f32 ; } extern "C" { pub fn tanhf (__x : f32) -> f32 ; } extern "C" { pub fn __tanhf (__x : f32) -> f32 ; } extern "C" { pub fn acoshf (__x : f32) -> f32 ; } extern "C" { pub fn __acoshf (__x : f32) -> f32 ; } extern "C" { pub fn asinhf (__x : f32) -> f32 ; } extern "C" { pub fn __asinhf (__x : f32) -> f32 ; } extern "C" { pub fn atanhf (__x : f32) -> f32 ; } extern "C" { pub fn __atanhf (__x : f32) -> f32 ; } extern "C" { pub fn expf (__x : f32) -> f32 ; } extern "C" { pub fn __expf (__x : f32) -> f32 ; } extern "C" { pub fn frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __frexpf (__x : f32 , __exponent : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __ldexpf (__x : f32 , __exponent : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn logf (__x : f32) -> f32 ; } extern "C" { pub fn __logf (__x : f32) -> f32 ; } extern "C" { pub fn log10f (__x : f32) -> f32 ; } extern "C" { pub fn __log10f (__x : f32) -> f32 ; } extern "C" { pub fn modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn __modff (__x : f32 , __iptr : * mut f32) -> f32 ; } extern "C" { pub fn expm1f (__x : f32) -> f32 ; } extern "C" { pub fn __expm1f (__x : f32) -> f32 ; } extern "C" { pub fn log1pf (__x : f32) -> f32 ; } extern "C" { pub fn __log1pf (__x : f32) -> f32 ; } extern "C" { pub fn logbf (__x : f32) -> f32 ; } extern "C" { pub fn __logbf (__x : f32) -> f32 ; } extern "C" { pub fn exp2f (__x : f32) -> f32 ; } extern "C" { pub fn __exp2f (__x : f32) -> f32 ; } extern "C" { pub fn log2f (__x : f32) -> f32 ; } extern "C" { pub fn __log2f (__x : f32) -> f32 ; } extern "C" { pub fn powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __powf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn __sqrtf (__x : f32) -> f32 ; } extern "C" { pub fn hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __hypotf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn __cbrtf (__x : f32) -> f32 ; } extern "C" { pub fn ceilf (__x : f32) -> f32 ; } extern "C" { pub fn __ceilf (__x : f32) -> f32 ; } extern "C" { pub fn fabsf (__x : f32) -> f32 ; } extern "C" { pub fn __fabsf (__x : f32) -> f32 ; } extern "C" { pub fn floorf (__x : f32) -> f32 ; } extern "C" { pub fn __floorf (__x : f32) -> f32 ; } extern "C" { pub fn fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmodf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn isinff (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitef (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __dremf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn significandf (__x : f32) -> f32 ; } extern "C" { pub fn __significandf (__x : f32) -> f32 ; } extern "C" { pub fn copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __copysignf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn __nanf (__tagb : * const :: std :: os :: raw :: c_char) -> f32 ; } extern "C" { pub fn isnanf (__value : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j0f (arg1 : f32) -> f32 ; } extern "C" { pub fn j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __j1f (arg1 : f32) -> f32 ; } extern "C" { pub fn jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __jnf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y0f (arg1 : f32) -> f32 ; } extern "C" { pub fn y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn __y1f (arg1 : f32) -> f32 ; } extern "C" { pub fn ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn __ynf (arg1 : :: std :: os :: raw :: c_int , arg2 : f32) -> f32 ; } extern "C" { pub fn erff (arg1 : f32) -> f32 ; } extern "C" { pub fn __erff (arg1 : f32) -> f32 ; } extern "C" { pub fn erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn __erfcf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __lgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __tgammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn __gammaf (arg1 : f32) -> f32 ; } extern "C" { pub fn lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __lgammaf_r (arg1 : f32 , __signgamp : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn rintf (__x : f32) -> f32 ; } extern "C" { pub fn __rintf (__x : f32) -> f32 ; } extern "C" { pub fn nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __nextafterf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn __nexttowardf (__x : f32 , __y : u128) -> f32 ; } extern "C" { pub fn remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __remainderf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __scalbnf (__x : f32 , __n : :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbf (__x : f32) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn __scalblnf (__x : f32 , __n : :: std :: os :: raw :: c_long) -> f32 ; } extern "C" { pub fn nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn __nearbyintf (__x : f32) -> f32 ; } extern "C" { pub fn roundf (__x : f32) -> f32 ; } extern "C" { pub fn __roundf (__x : f32) -> f32 ; } extern "C" { pub fn truncf (__x : f32) -> f32 ; } extern "C" { pub fn __truncf (__x : f32) -> f32 ; } extern "C" { pub fn remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn __remquof (__x : f32 , __y : f32 , __quo : * mut :: std :: os :: raw :: c_int) -> f32 ; } extern "C" { pub fn lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundf (__x : f32) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundf (__x : f32) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fdimf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fmaxf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn __fminf (__x : f32 , __y : f32) -> f32 ; } extern "C" { pub fn fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn __fmaf (__x : f32 , __y : f32 , __z : f32) -> f32 ; } extern "C" { pub fn scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __scalbf (__x : f32 , __n : f32) -> f32 ; } extern "C" { pub fn __fpclassifyl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __signbitl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __iseqsigl (__x : u128 , __y : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __issignalingl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acosl (__x : u128) -> u128 ; } extern "C" { pub fn __acosl (__x : u128) -> u128 ; } extern "C" { pub fn asinl (__x : u128) -> u128 ; } extern "C" { pub fn __asinl (__x : u128) -> u128 ; } extern "C" { pub fn atanl (__x : u128) -> u128 ; } extern "C" { pub fn __atanl (__x : u128) -> u128 ; } extern "C" { pub fn atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn __atan2l (__y : u128 , __x : u128) -> u128 ; } extern "C" { pub fn cosl (__x : u128) -> u128 ; } extern "C" { pub fn __cosl (__x : u128) -> u128 ; } extern "C" { pub fn sinl (__x : u128) -> u128 ; } extern "C" { pub fn __sinl (__x : u128) -> u128 ; } extern "C" { pub fn tanl (__x : u128) -> u128 ; } extern "C" { pub fn __tanl (__x : u128) -> u128 ; } extern "C" { pub fn coshl (__x : u128) -> u128 ; } extern "C" { pub fn __coshl (__x : u128) -> u128 ; } extern "C" { pub fn sinhl (__x : u128) -> u128 ; } extern "C" { pub fn __sinhl (__x : u128) -> u128 ; } extern "C" { pub fn tanhl (__x : u128) -> u128 ; } extern "C" { pub fn __tanhl (__x : u128) -> u128 ; } extern "C" { pub fn acoshl (__x : u128) -> u128 ; } extern "C" { pub fn __acoshl (__x : u128) -> u128 ; } extern "C" { pub fn asinhl (__x : u128) -> u128 ; } extern "C" { pub fn __asinhl (__x : u128) -> u128 ; } extern "C" { pub fn atanhl (__x : u128) -> u128 ; } extern "C" { pub fn __atanhl (__x : u128) -> u128 ; } extern "C" { pub fn expl (__x : u128) -> u128 ; } extern "C" { pub fn __expl (__x : u128) -> u128 ; } extern "C" { pub fn frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __frexpl (__x : u128 , __exponent : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __ldexpl (__x : u128 , __exponent : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn logl (__x : u128) -> u128 ; } extern "C" { pub fn __logl (__x : u128) -> u128 ; } extern "C" { pub fn log10l (__x : u128) -> u128 ; } extern "C" { pub fn __log10l (__x : u128) -> u128 ; } extern "C" { pub fn modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn __modfl (__x : u128 , __iptr : * mut u128) -> u128 ; } extern "C" { pub fn expm1l (__x : u128) -> u128 ; } extern "C" { pub fn __expm1l (__x : u128) -> u128 ; } extern "C" { pub fn log1pl (__x : u128) -> u128 ; } extern "C" { pub fn __log1pl (__x : u128) -> u128 ; } extern "C" { pub fn logbl (__x : u128) -> u128 ; } extern "C" { pub fn __logbl (__x : u128) -> u128 ; } extern "C" { pub fn exp2l (__x : u128) -> u128 ; } extern "C" { pub fn __exp2l (__x : u128) -> u128 ; } extern "C" { pub fn log2l (__x : u128) -> u128 ; } extern "C" { pub fn __log2l (__x : u128) -> u128 ; } extern "C" { pub fn powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __powl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn __sqrtl (__x : u128) -> u128 ; } extern "C" { pub fn hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __hypotl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn __cbrtl (__x : u128) -> u128 ; } extern "C" { pub fn ceill (__x : u128) -> u128 ; } extern "C" { pub fn __ceill (__x : u128) -> u128 ; } extern "C" { pub fn fabsl (__x : u128) -> u128 ; } extern "C" { pub fn __fabsl (__x : u128) -> u128 ; } extern "C" { pub fn floorl (__x : u128) -> u128 ; } extern "C" { pub fn __floorl (__x : u128) -> u128 ; } extern "C" { pub fn fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmodl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn isinfl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn finitel (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __dreml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn significandl (__x : u128) -> u128 ; } extern "C" { pub fn __significandl (__x : u128) -> u128 ; } extern "C" { pub fn copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __copysignl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn __nanl (__tagb : * const :: std :: os :: raw :: c_char) -> u128 ; } extern "C" { pub fn isnanl (__value : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j0l (arg1 : u128) -> u128 ; } extern "C" { pub fn j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __j1l (arg1 : u128) -> u128 ; } extern "C" { pub fn jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __jnl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y0l (arg1 : u128) -> u128 ; } extern "C" { pub fn y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn __y1l (arg1 : u128) -> u128 ; } extern "C" { pub fn ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn __ynl (arg1 : :: std :: os :: raw :: c_int , arg2 : u128) -> u128 ; } extern "C" { pub fn erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfl (arg1 : u128) -> u128 ; } extern "C" { pub fn erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn __erfcl (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __lgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __tgammal (arg1 : u128) -> u128 ; } extern "C" { pub fn gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn __gammal (arg1 : u128) -> u128 ; } extern "C" { pub fn lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __lgammal_r (arg1 : u128 , __signgamp : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn rintl (__x : u128) -> u128 ; } extern "C" { pub fn __rintl (__x : u128) -> u128 ; } extern "C" { pub fn nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nextafterl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __nexttowardl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __remainderl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __scalbnl (__x : u128 , __n : :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __ilogbl (__x : u128) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn __scalblnl (__x : u128 , __n : :: std :: os :: raw :: c_long) -> u128 ; } extern "C" { pub fn nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn __nearbyintl (__x : u128) -> u128 ; } extern "C" { pub fn roundl (__x : u128) -> u128 ; } extern "C" { pub fn __roundl (__x : u128) -> u128 ; } extern "C" { pub fn truncl (__x : u128) -> u128 ; } extern "C" { pub fn __truncl (__x : u128) -> u128 ; } extern "C" { pub fn remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn __remquol (__x : u128 , __y : u128 , __quo : * mut :: std :: os :: raw :: c_int) -> u128 ; } extern "C" { pub fn lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lrintl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llrintl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn __lroundl (__x : u128) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn __llroundl (__x : u128) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fdiml (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fmaxl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn __fminl (__x : u128 , __y : u128) -> u128 ; } extern "C" { pub fn fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn __fmal (__x : u128 , __y : u128 , __z : u128) -> u128 ; } extern "C" { pub fn scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub fn __scalbl (__x : u128 , __n : u128) -> u128 ; } extern "C" { pub static mut signgam : :: std :: os :: raw :: c_int ; } pub const FP_NAN : _bindgen_ty_1 = 0 ; pub const FP_INFINITE : _bindgen_ty_1 = 1 ; pub const FP_ZERO : _bindgen_ty_1 = 2 ; pub const FP_SUBNORMAL : _bindgen_ty_1 = 3 ; pub const FP_NORMAL : _bindgen_ty_1 = 4 ; pu... [INFO] [stdout] | ------------------------------- previous definition of the value `FP_NORMAL` here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_NORMAL` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `FP_NORMAL` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `janet-rs-sys` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "1e14bc2454edfc140c2dbca5677b8376f5529ef63a63061cde95c7ead9a7116b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e14bc2454edfc140c2dbca5677b8376f5529ef63a63061cde95c7ead9a7116b", kill_on_drop: false }` [INFO] [stdout] 1e14bc2454edfc140c2dbca5677b8376f5529ef63a63061cde95c7ead9a7116b