diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33701da9..03af84b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,152 +11,145 @@ on: - master jobs: - test_linux: - name: Run tests (Linux) - runs-on: ubuntu-20.04 + + test_with_bindgen: + runs-on: ${{ matrix.config.os }} + + name: ${{ matrix.config.os }} (R-${{ matrix.config.r }} rust-${{ matrix.config.rust-version }}) + strategy: + fail-fast: false matrix: - rust-version: [stable, beta, nightly] + config: + + - {os: windows-latest, r: 'release', rust-version: 'stable-x86_64-pc-windows-msvc'} + - {os: windows-latest, r: 'release', rust-version: 'nightly-x86_64-pc-windows-msvc'} + - {os: windows-latest, r: 'devel', rust-version: 'stable-x86_64-pc-windows-msvc'} + - {os: windows-latest, r: 'oldrel', rust-version: 'stable-x86_64-pc-windows-msvc'} - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust-version }} - - name: Build - id: build - run: cargo build -vv --features use-bindgen - env: - LIBRSYS_BINDINGS_OUTPUT_PATH: generated_bindings - - name: Run tests - run: cargo test -vv --features use-bindgen -- --nocapture --test-threads=1 - - name: Upload generated bindings - if: steps.build.outcome == 'success' - uses: actions/upload-artifact@main - with: - name: Linux ${{ matrix.rust-version }} generated bindings - path: generated_bindings - - name: Run tests on precomputed bindings shipped with libR-sys - run: cargo test -vv -- --nocapture --test-threads=1 + - {os: windows-latest, r: 'release', rust-version: 'stable-i686-pc-windows-msvc'} + - {os: windows-latest, r: 'release', rust-version: 'nightly-i686-pc-windows-msvc'} + - {os: windows-latest, r: 'devel', rust-version: 'stable-i686-pc-windows-msvc'} + - {os: windows-latest, r: 'oldrel', rust-version: 'stable-i686-pc-windows-msvc'} + + + - {os: macOS-latest, r: 'release', rust-version: 'stable'} + - {os: macOS-latest, r: 'release', rust-version: 'nightly'} + - {os: macOS-latest, r: 'devel', rust-version: 'stable'} + - {os: macOS-latest, r: 'oldrel', rust-version: 'stable'} + + + - {os: ubuntu-20.04, r: 'release', rust-version: 'stable', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} + - {os: ubuntu-20.04, r: 'release', rust-version: 'nightly', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} + # R-devel requires LD_LIBRARY_PATH + - {os: ubuntu-20.04, r: 'devel', rust-version: 'stable', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} + - {os: ubuntu-20.04, r: 'oldrel', rust-version: 'stable', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} - test_macos: - name: Run tests (macOS) - runs-on: macos-latest - strategy: - matrix: - rust-version: [stable] - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust-version }} - - name: Install dependencies - run: brew install llvm r - - name: Set dynamic environment variables - run: echo "LIBCLANG_PATH=$(brew --prefix llvm)/lib" >> $GITHUB_ENV - - name: Build - id: build - run: cargo build -vv --features use-bindgen - env: - LIBRSYS_BINDINGS_OUTPUT_PATH: generated_bindings - - name: Run tests - run: cargo test -vv --features use-bindgen -- --nocapture --test-threads=1 - - name: Upload generated bindings shipped with libR-sys - if: steps.build.outcome == 'success' - uses: actions/upload-artifact@main - with: - name: macOS generated bindings - path: generated_bindings - - name: Run tests on precomputed bindings - run: cargo test -vv -- --nocapture --test-threads=1 - test_windows: - name: Run tests (Windows x86_64) - runs-on: windows-latest + + env: + RSPM: ${{ matrix.config.rspm }} + + # PowerShell core is available on all platforms and can be used to unify scripts defaults: run: - shell: msys2 {0} - strategy: - matrix: - rust-version: [stable-x86_64-pc-windows-gnu] + shell: pwsh steps: - uses: actions/checkout@v2 - - uses: msys2/setup-msys2@v2 + + + - name: Set up R + uses: r-lib/actions/setup-r@v1 + with: + r-version: ${{ matrix.config.r }} + + - name: Set up Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.config.rust-version }} + default: true + components: rustfmt, clippy + + # This step is only needed for Windows + - name: Set up MSYS2 for Windows + if: runner.os == 'Windows' + uses: msys2/setup-msys2@v2 with: msystem: MINGW64 path-type: inherit release: false update: false - - uses: r-lib/actions/setup-r@v1 - with: - r-version: 'release' - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust-version }} - target: i686-pc-windows-gnu - default: true - components: rustfmt, clippy - - name: Build + + # All configurations for Windows go here + # `Rust` toolchain is used to determine target architecture + # Alternatively, `if:` conditions can be used + - name: Configure Windows + if: runner.os == 'Windows' + # 1. Add appropriate *-gnu target + # 2. Set CARGO_BUILD_FLAGS to the `rust` target + # 3. Configure path to `libclang` + # 4. Add path to `mingw32`/`mingw64` -- otherwise library is linked to `rtools` + # 5. Add path to R's `i386`/`x64` -- to solve `x86` build/test issue + run: | + if ($env:RUST_TOOLCHAIN -like "*x86_64*") { + rustup target add x86_64-pc-windows-gnu ; + echo "CARGO_BUILD_FLAGS=--target=x86_64-pc-windows-gnu" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append ; + echo "LIBCLANG_PATH=C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append ; + echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append ; + echo "$(Rscript.exe -e 'cat(normalizePath(R.home()))')\bin\x64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append ; + } + if ($env:RUST_TOOLCHAIN -like "*i686*") { + rustup target add i686-pc-windows-gnu ; + echo "CARGO_BUILD_FLAGS=--target=i686-pc-windows-gnu" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append ; + echo "LIBCLANG_PATH=C:\msys64\mingw32\bin" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append ; + echo "C:\msys64\mingw32\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append ; + echo "$(Rscript.exe -e 'cat(normalizePath(R.home()))')\bin\i386" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append ; + + } + env: + RUST_TOOLCHAIN: ${{ matrix.config.rust-version }} + + + # MacOS configurations, mainly `llvm` and path to `libclang` + - name: Configure MacOs + if: runner.os == 'macOS' + run: | + brew install llvm r + echo "LIBCLANG_PATH=$(brew --prefix llvm)/lib" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + + + # This is required for ubuntu r-devel + # 'Del alias:R' removes 'R' alias which prevents running R + - name: Configure Linux + if: runner.os == 'linux' + run: | + Del alias:R + echo "LD_LIBRARY_PATH=$(R -s -e 'cat(normalizePath(R.home()))')/lib" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + + # Build and emit bindings to `./generated_bindings` + - name: Build & Emit bindings id: build run: | - cargo build -vv --features use-bindgen + cargo build -vv --features use-bindgen $env:CARGO_BUILD_FLAGS env: - LIBCLANG_PATH: C:/msys64/mingw64/bin LIBRSYS_BINDINGS_OUTPUT_PATH: generated_bindings - - name: Build i686 - id: build_i686 - run: | - cargo build -vv --features use-bindgen --target i686-pc-windows-gnu - env: - LIBCLANG_PATH: C:/msys64/mingw64/bin - LIBRSYS_BINDINGS_OUTPUT_PATH: generated_bindings_i686 - LIBRSYS_LIBCLANG_INCLUDE_PATH: C:/msys64/mingw32/i686-w64-mingw32/include/ + + # Test the result of previous step - name: Run tests - run: cargo test --features use-bindgen -- --nocapture --test-threads=1 + id: test + run: | + cargo test -vv --features use-bindgen $env:CARGO_BUILD_FLAGS -- --nocapture --test-threads=1 + + + # If success, upload bindings - name: Upload generated bindings - if: steps.build.outcome == 'success' + if: steps.build.outcome == 'success' && steps.test.outcome == 'success' && startsWith(matrix.config.rust-version, 'stable') uses: actions/upload-artifact@main with: - name: Windows generated bindings + name: ${{ matrix.config.os }} (R-${{ matrix.config.r }} rust-${{ matrix.config.rust-version }}) generated bindings path: generated_bindings - - name: Upload generated i686 bindings - if: steps.build_i686.outcome == 'success' - uses: actions/upload-artifact@main - with: - name: Windows generated i686 bindings - path: generated_bindings_i686 - - name: Run tests on precomputed bindings shipped with libR-sys - run: cargo test -- --nocapture --test-threads=1 - -## Windows 32bit is disabled as it doesn't currently work -# test_windows_32bit: -# name: Run tests (Windows i686) -# runs-on: windows-latest -# defaults: -# run: -# shell: msys2 {0} -# strategy: -# matrix: -# rust-version: [stable-i686-pc-windows-gnu] -# steps: -# - uses: actions/checkout@v2 -# - uses: msys2/setup-msys2@v2 -# with: -# msystem: MINGW32 -# path-type: inherit -# release: false -# update: false -# - uses: r-lib/actions/setup-r@v1 -# with: -# r-version: 'release' -# - uses: actions-rs/toolchain@v1 -# with: -# toolchain: ${{ matrix.rust-version }} -# default: true -# components: rustfmt, clippy -# - name: Build with precomputed bindings -# run: cargo build -vv -# - name: Run tests on precomputed bindings -# run: cargo test -vv -- --nocapture --test-threads=1 + # Run tests again using different bindings + - name: Run tests on precomputed bindings shipped with libR-sys + run: cargo test -vv $env:CARGO_BUILD_FLAGS -- --nocapture --test-threads=1 diff --git a/bindings/bindings-linux-x86_64-R3.6.rs b/bindings/bindings-linux-x86_64-R3.6.rs new file mode 100644 index 00000000..1cbde4a7 --- /dev/null +++ b/bindings/bindings-linux-x86_64-R3.6.rs @@ -0,0 +1,5946 @@ +/* automatically generated by rust-bindgen */ + +pub const _STDIO_H: u32 = 1; +pub const _FEATURES_H: u32 = 1; +pub const _DEFAULT_SOURCE: u32 = 1; +pub const __GLIBC_USE_ISOC2X: u32 = 0; +pub const __USE_ISOC11: u32 = 1; +pub const __USE_ISOC99: u32 = 1; +pub const __USE_ISOC95: u32 = 1; +pub const __USE_POSIX_IMPLICITLY: u32 = 1; +pub const _POSIX_SOURCE: u32 = 1; +pub const _POSIX_C_SOURCE: u32 = 200809; +pub const __USE_POSIX: u32 = 1; +pub const __USE_POSIX2: u32 = 1; +pub const __USE_POSIX199309: u32 = 1; +pub const __USE_POSIX199506: u32 = 1; +pub const __USE_XOPEN2K: u32 = 1; +pub const __USE_XOPEN2K8: u32 = 1; +pub const _ATFILE_SOURCE: u32 = 1; +pub const __USE_MISC: u32 = 1; +pub const __USE_ATFILE: u32 = 1; +pub const __USE_FORTIFY_LEVEL: u32 = 0; +pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0; +pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0; +pub const _STDC_PREDEF_H: u32 = 1; +pub const __STDC_IEC_559__: u32 = 1; +pub const __STDC_IEC_559_COMPLEX__: u32 = 1; +pub const __STDC_ISO_10646__: u32 = 201706; +pub const __GNU_LIBRARY__: u32 = 6; +pub const __GLIBC__: u32 = 2; +pub const __GLIBC_MINOR__: u32 = 31; +pub const _SYS_CDEFS_H: u32 = 1; +pub const __glibc_c99_flexarr_available: u32 = 1; +pub const __WORDSIZE: u32 = 64; +pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; +pub const __SYSCALL_WORDSIZE: u32 = 64; +pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0; +pub const __HAVE_GENERIC_SELECTION: u32 = 1; +pub const __GLIBC_USE_LIB_EXT2: u32 = 0; +pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; +pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; +pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; +pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; +pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; +pub const __GNUC_VA_LIST: u32 = 1; +pub const _BITS_TYPES_H: u32 = 1; +pub const __TIMESIZE: u32 = 64; +pub const _BITS_TYPESIZES_H: u32 = 1; +pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; +pub const __INO_T_MATCHES_INO64_T: u32 = 1; +pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; +pub const __STATFS_MATCHES_STATFS64: u32 = 1; +pub const __FD_SETSIZE: u32 = 1024; +pub const _BITS_TIME64_H: u32 = 1; +pub const _____fpos_t_defined: u32 = 1; +pub const ____mbstate_t_defined: u32 = 1; +pub const _____fpos64_t_defined: u32 = 1; +pub const ____FILE_defined: u32 = 1; +pub const __FILE_defined: u32 = 1; +pub const __struct_FILE_defined: u32 = 1; +pub const _IO_EOF_SEEN: u32 = 16; +pub const _IO_ERR_SEEN: u32 = 32; +pub const _IO_USER_LOCK: u32 = 32768; +pub const _IOFBF: u32 = 0; +pub const _IOLBF: u32 = 1; +pub const _IONBF: u32 = 2; +pub const BUFSIZ: u32 = 8192; +pub const EOF: i32 = -1; +pub const SEEK_SET: u32 = 0; +pub const SEEK_CUR: u32 = 1; +pub const SEEK_END: u32 = 2; +pub const P_tmpdir: &'static [u8; 5usize] = b"/tmp\0"; +pub const _BITS_STDIO_LIM_H: u32 = 1; +pub const L_tmpnam: u32 = 20; +pub const TMP_MAX: u32 = 238328; +pub const FILENAME_MAX: u32 = 4096; +pub const L_ctermid: u32 = 9; +pub const FOPEN_MAX: u32 = 16; +pub const _LIBC_LIMITS_H_: u32 = 1; +pub const MB_LEN_MAX: u32 = 16; +pub const _BITS_POSIX1_LIM_H: u32 = 1; +pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; +pub const _POSIX_AIO_MAX: u32 = 1; +pub const _POSIX_ARG_MAX: u32 = 4096; +pub const _POSIX_CHILD_MAX: u32 = 25; +pub const _POSIX_DELAYTIMER_MAX: u32 = 32; +pub const _POSIX_HOST_NAME_MAX: u32 = 255; +pub const _POSIX_LINK_MAX: u32 = 8; +pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; +pub const _POSIX_MAX_CANON: u32 = 255; +pub const _POSIX_MAX_INPUT: u32 = 255; +pub const _POSIX_MQ_OPEN_MAX: u32 = 8; +pub const _POSIX_MQ_PRIO_MAX: u32 = 32; +pub const _POSIX_NAME_MAX: u32 = 14; +pub const _POSIX_NGROUPS_MAX: u32 = 8; +pub const _POSIX_OPEN_MAX: u32 = 20; +pub const _POSIX_PATH_MAX: u32 = 256; +pub const _POSIX_PIPE_BUF: u32 = 512; +pub const _POSIX_RE_DUP_MAX: u32 = 255; +pub const _POSIX_RTSIG_MAX: u32 = 8; +pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; +pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; +pub const _POSIX_SIGQUEUE_MAX: u32 = 32; +pub const _POSIX_SSIZE_MAX: u32 = 32767; +pub const _POSIX_STREAM_MAX: u32 = 8; +pub const _POSIX_SYMLINK_MAX: u32 = 255; +pub const _POSIX_SYMLOOP_MAX: u32 = 8; +pub const _POSIX_TIMER_MAX: u32 = 32; +pub const _POSIX_TTY_NAME_MAX: u32 = 9; +pub const _POSIX_TZNAME_MAX: u32 = 6; +pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; +pub const NR_OPEN: u32 = 1024; +pub const NGROUPS_MAX: u32 = 65536; +pub const ARG_MAX: u32 = 131072; +pub const LINK_MAX: u32 = 127; +pub const MAX_CANON: u32 = 255; +pub const MAX_INPUT: u32 = 255; +pub const NAME_MAX: u32 = 255; +pub const PATH_MAX: u32 = 4096; +pub const PIPE_BUF: u32 = 4096; +pub const XATTR_NAME_MAX: u32 = 255; +pub const XATTR_SIZE_MAX: u32 = 65536; +pub const XATTR_LIST_MAX: u32 = 65536; +pub const RTSIG_MAX: u32 = 32; +pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; +pub const PTHREAD_KEYS_MAX: u32 = 1024; +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; +pub const AIO_PRIO_DELTA_MAX: u32 = 20; +pub const PTHREAD_STACK_MIN: u32 = 16384; +pub const DELAYTIMER_MAX: u32 = 2147483647; +pub const TTY_NAME_MAX: u32 = 32; +pub const LOGIN_NAME_MAX: u32 = 256; +pub const HOST_NAME_MAX: u32 = 64; +pub const MQ_PRIO_MAX: u32 = 32768; +pub const SEM_VALUE_MAX: u32 = 2147483647; +pub const _BITS_POSIX2_LIM_H: u32 = 1; +pub const _POSIX2_BC_BASE_MAX: u32 = 99; +pub const _POSIX2_BC_DIM_MAX: u32 = 2048; +pub const _POSIX2_BC_SCALE_MAX: u32 = 99; +pub const _POSIX2_BC_STRING_MAX: u32 = 1000; +pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; +pub const _POSIX2_LINE_MAX: u32 = 2048; +pub const _POSIX2_RE_DUP_MAX: u32 = 255; +pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; +pub const BC_BASE_MAX: u32 = 99; +pub const BC_DIM_MAX: u32 = 2048; +pub const BC_SCALE_MAX: u32 = 99; +pub const BC_STRING_MAX: u32 = 1000; +pub const COLL_WEIGHTS_MAX: u32 = 255; +pub const EXPR_NEST_MAX: u32 = 32; +pub const LINE_MAX: u32 = 2048; +pub const CHARCLASS_NAME_MAX: u32 = 2048; +pub const RE_DUP_MAX: u32 = 32767; +pub const _MATH_H: u32 = 1; +pub const _BITS_LIBM_SIMD_DECL_STUBS_H: u32 = 1; +pub const __HAVE_FLOAT128: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; +pub const __HAVE_FLOAT64X: u32 = 1; +pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1; +pub const __HAVE_FLOAT16: u32 = 0; +pub const __HAVE_FLOAT32: u32 = 1; +pub const __HAVE_FLOAT64: u32 = 1; +pub const __HAVE_FLOAT32X: u32 = 1; +pub const __HAVE_FLOAT128X: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT16: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT32: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT64: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; +pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; +pub const __FP_LOGB0_IS_MIN: u32 = 1; +pub const __FP_LOGBNAN_IS_MIN: u32 = 1; +pub const FP_ILOGB0: i32 = -2147483648; +pub const FP_ILOGBNAN: i32 = -2147483648; +pub const __MATH_DECLARING_DOUBLE: u32 = 1; +pub const __MATH_DECLARING_FLOATN: u32 = 0; +pub const __MATH_DECLARE_LDOUBLE: u32 = 1; +pub const MATH_ERRNO: u32 = 1; +pub const MATH_ERREXCEPT: u32 = 2; +pub const math_errhandling: u32 = 3; +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 SINGLESXP: u32 = 302; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_INTERNALS_UUID: &'static [u8; 37usize] = b"2fdf6c18-697a-4ba7-b8ef-11c0d92f1327\0"; +pub const NILSXP: u32 = 0; +pub const SYMSXP: u32 = 1; +pub const LISTSXP: u32 = 2; +pub const CLOSXP: u32 = 3; +pub const ENVSXP: u32 = 4; +pub const PROMSXP: u32 = 5; +pub const LANGSXP: u32 = 6; +pub const SPECIALSXP: u32 = 7; +pub const BUILTINSXP: u32 = 8; +pub const CHARSXP: u32 = 9; +pub const LGLSXP: u32 = 10; +pub const INTSXP: u32 = 13; +pub const REALSXP: u32 = 14; +pub const CPLXSXP: u32 = 15; +pub const STRSXP: u32 = 16; +pub const DOTSXP: u32 = 17; +pub const ANYSXP: u32 = 18; +pub const VECSXP: u32 = 19; +pub const EXPRSXP: u32 = 20; +pub const BCODESXP: u32 = 21; +pub const EXTPTRSXP: u32 = 22; +pub const WEAKREFSXP: u32 = 23; +pub const RAWSXP: u32 = 24; +pub const S4SXP: u32 = 25; +pub const NEWSXP: u32 = 30; +pub const FREESXP: u32 = 31; +pub const FUNSXP: u32 = 99; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const _STDINT_H: u32 = 1; +pub const _BITS_WCHAR_H: u32 = 1; +pub const _BITS_STDINT_INTN_H: u32 = 1; +pub const _BITS_STDINT_UINTN_H: u32 = 1; +pub const INT8_MIN: i32 = -128; +pub const INT16_MIN: i32 = -32768; +pub const INT32_MIN: i32 = -2147483648; +pub const INT8_MAX: u32 = 127; +pub const INT16_MAX: u32 = 32767; +pub const INT32_MAX: u32 = 2147483647; +pub const UINT8_MAX: u32 = 255; +pub const UINT16_MAX: u32 = 65535; +pub const UINT32_MAX: u32 = 4294967295; +pub const INT_LEAST8_MIN: i32 = -128; +pub const INT_LEAST16_MIN: i32 = -32768; +pub const INT_LEAST32_MIN: i32 = -2147483648; +pub const INT_LEAST8_MAX: u32 = 127; +pub const INT_LEAST16_MAX: u32 = 32767; +pub const INT_LEAST32_MAX: u32 = 2147483647; +pub const UINT_LEAST8_MAX: u32 = 255; +pub const UINT_LEAST16_MAX: u32 = 65535; +pub const UINT_LEAST32_MAX: u32 = 4294967295; +pub const INT_FAST8_MIN: i32 = -128; +pub const INT_FAST16_MIN: i64 = -9223372036854775808; +pub const INT_FAST32_MIN: i64 = -9223372036854775808; +pub const INT_FAST8_MAX: u32 = 127; +pub const INT_FAST16_MAX: u64 = 9223372036854775807; +pub const INT_FAST32_MAX: u64 = 9223372036854775807; +pub const UINT_FAST8_MAX: u32 = 255; +pub const UINT_FAST16_MAX: i32 = -1; +pub const UINT_FAST32_MAX: i32 = -1; +pub const INTPTR_MIN: i64 = -9223372036854775808; +pub const INTPTR_MAX: u64 = 9223372036854775807; +pub const UINTPTR_MAX: i32 = -1; +pub const PTRDIFF_MIN: i64 = -9223372036854775808; +pub const PTRDIFF_MAX: u64 = 9223372036854775807; +pub const SIG_ATOMIC_MIN: i32 = -2147483648; +pub const SIG_ATOMIC_MAX: u32 = 2147483647; +pub const SIZE_MAX: i32 = -1; +pub const WINT_MIN: u32 = 0; +pub const WINT_MAX: u32 = 4294967295; +pub const R_VERSION: u32 = 198147; +pub const R_NICK: &'static [u8; 21usize] = b"Holding the Windsock\0"; +pub const R_MAJOR: &'static [u8; 2usize] = b"3\0"; +pub const R_MINOR: &'static [u8; 4usize] = b"6.3\0"; +pub const R_STATUS: &'static [u8; 1usize] = b"\0"; +pub const R_YEAR: &'static [u8; 5usize] = b"2020\0"; +pub const R_MONTH: &'static [u8; 3usize] = b"02\0"; +pub const R_DAY: &'static [u8; 3usize] = b"29\0"; +pub const R_SVN_REVISION: u32 = 77875; +pub type size_t = ::std::os::raw::c_ulong; +pub type wchar_t = ::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() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(max_align_t)) + ); + assert_eq!( + ::std::mem::align_of::(), + 16usize, + concat!("Alignment of ", stringify!(max_align_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__clang_max_align_nonce1 as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(max_align_t), + "::", + stringify!(__clang_max_align_nonce1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__clang_max_align_nonce2 as *const _ as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(max_align_t), + "::", + stringify!(__clang_max_align_nonce2) + ) + ); +} +#[doc = "
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __gnuc_va_list = __builtin_va_list; +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() { + 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::null::<__fsid_t>())).__val as *const _ 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 __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; +#[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], + _bindgen_union_align: u32, +} +#[test] +fn bindgen_test_layout___mbstate_t__bindgen_ty_1() { + 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::null::<__mbstate_t__bindgen_ty_1>())).__wch as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t__bindgen_ty_1), + "::", + stringify!(__wch) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wchb as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t__bindgen_ty_1), + "::", + stringify!(__wchb) + ) + ); +} +#[test] +fn bindgen_test_layout___mbstate_t() { + 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::null::<__mbstate_t>())).__count as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t), + "::", + stringify!(__count) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__value as *const _ 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() { + 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::null::<_G_fpos_t>())).__pos as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_G_fpos_t), + "::", + stringify!(__pos) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__state as *const _ 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() { + 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::null::<_G_fpos64_t>())).__pos as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_G_fpos64_t), + "::", + stringify!(__pos) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__state as *const _ 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: size_t, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[test] +fn bindgen_test_layout__IO_FILE() { + 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::null::<_IO_FILE>()))._flags as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_flags) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_read_ptr) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_read_end) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_read_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_write_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_write_ptr) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_write_end) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize }, + 56usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_buf_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize }, + 64usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_buf_end) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize }, + 72usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_save_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize }, + 80usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_backup_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize }, + 88usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_save_end) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize }, + 96usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_markers) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize }, + 104usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_chain) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_fileno) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize }, + 116usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_flags2) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_old_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize }, + 128usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_cur_column) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize }, + 130usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_vtable_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize }, + 131usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_shortbuf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize }, + 136usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_lock) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize }, + 144usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize }, + 152usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_codecvt) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize }, + 160usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_wide_data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize }, + 168usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_freeres_list) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize }, + 176usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_freeres_buf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize }, + 184usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(__pad5) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize }, + 192usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_mode) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize }, + 196usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_unused2) + ) + ); +} +pub type off_t = __off_t; +pub type ssize_t = __ssize_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 tmpfile() -> *mut FILE; +} +extern "C" { + pub fn tmpnam(__s: *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 fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; +} +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 fmemopen( + __s: *mut ::std::os::raw::c_void, + __len: size_t, + __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 size_t, + ) -> *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: size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: size_t); +} +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 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 size_t, + __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 size_t, + __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 size_t, + __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: size_t, + __n: size_t, + __stream: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn fwrite_unlocked( + __ptr: *const ::std::os::raw::c_void, + __size: size_t, + __n: size_t, + __stream: *mut FILE, + ) -> size_t; +} +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 static mut sys_nerr: ::std::os::raw::c_int; +} +extern "C" { + pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; +} +extern "C" { + pub fn 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 popen( + __command: *const ::std::os::raw::c_char, + __modes: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; +} +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; +} +pub type _Float32 = f32; +pub type _Float64 = f64; +pub type _Float32x = f64; +pub type _Float64x = u128; +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; +pub type _bindgen_ty_1 = u32; +extern "C" { + pub static mut R_NaN: f64; +} +extern "C" { + pub static mut R_PosInf: f64; +} +extern "C" { + pub static mut R_NegInf: f64; +} +extern "C" { + pub static mut R_NaReal: f64; +} +extern "C" { + pub static mut R_NaInt: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} +pub const Rboolean_FALSE: Rboolean = 0; +pub const Rboolean_TRUE: Rboolean = 1; +pub type Rboolean = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +#[test] +fn bindgen_test_layout_Rcomplex() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(Rcomplex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(Rcomplex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).r as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(r) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).i as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(i) + ) + ); +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); +} +extern "C" { + pub fn R_gc(); +} +extern "C" { + pub fn R_gc_running() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_alloc(arg1: size_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_allocLD(nelem: size_t) -> *mut u128; +} +extern "C" { + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_malloc_gc(arg1: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_calloc_gc(arg1: size_t, arg2: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: size_t, + ) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_qsort(v: *mut f64, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); +} +extern "C" { + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn R_atof(str: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; +} +extern "C" { + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_CheckUserInterrupt(); +} +extern "C" { + pub fn R_CheckStack(); +} +extern "C" { + pub fn R_CheckStack2(arg1: size_t); +} +extern "C" { + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} +extern "C" { + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[test] +fn bindgen_test_layout_R_CMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(R_CMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(numArgs) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).types as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(types) + ) + ); +} +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_R_CallMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!("Size of: ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(numArgs) + ) + ); +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; +} +extern "C" { + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +pub const NativeSymbolType_R_ANY_SYM: NativeSymbolType = 0; +pub const NativeSymbolType_R_C_SYM: NativeSymbolType = 1; +pub const NativeSymbolType_R_CALL_SYM: NativeSymbolType = 2; +pub const NativeSymbolType_R_FORTRAN_SYM: NativeSymbolType = 3; +pub const NativeSymbolType_R_EXTERNAL_SYM: NativeSymbolType = 4; +pub type NativeSymbolType = u32; +extern "C" { + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; +} +extern "C" { + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); +} +extern "C" { + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} +pub type Rbyte = ::std::os::raw::c_uchar; +pub type R_len_t = ::std::os::raw::c_int; +pub type SEXPTYPE = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct SEXPREC { + _unused: [u8; 0], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isNull(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLogical(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isReal(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isComplex(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isExpression(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isString(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isObject(s: SEXP) -> Rboolean; +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = -2; +pub const SORTED_DECR: _bindgen_ty_2 = -1; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = -2147483648; +pub const SORTED_INCR: _bindgen_ty_2 = 1; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = 2; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = 0; +pub type _bindgen_ty_2 = i32; +extern "C" { + pub fn ATTRIB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TRACKREFS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_ATTRIB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn ENSURE_NAMEDMAX(x: SEXP); +} +extern "C" { + pub fn ENSURE_NAMED(x: SEXP); +} +extern "C" { + pub fn SETTER_CLEAR_NAMED(x: SEXP); +} +extern "C" { + pub fn RAISE_NAMED(x: SEXP, n: ::std::os::raw::c_int); +} +extern "C" { + pub fn DECREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn INCREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn DISABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn ENABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn MARK_NOT_MUTABLE(x: SEXP); +} +extern "C" { + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn UNSET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn NOJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MAYBEJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_NOJIT(x: SEXP); +} +extern "C" { + pub fn SET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn UNSET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_GROWABLE_BIT(x: SEXP); +} +extern "C" { + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn SETLENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn REAL(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW_RO(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn REAL_RO(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); +} +extern "C" { + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; +} +extern "C" { + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; +} +extern "C" { + pub fn VECTOR_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP_DUPLICATE_EX(x: SEXP, deep: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREP_COERCE(x: SEXP, type_: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn ALTREP_INSPECT( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean; +} +extern "C" { + pub fn ALTREP_SERIALIZED_CLASS(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_SERIALIZED_STATE(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_UNSERIALIZE_EX( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn ALTREP_LENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTREP_TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_EXTRACT_SUBSET(x: SEXP, indx: SEXP, call: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTLOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTLOGICAL_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTREAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn ALTREAL_SET_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn ALTSTRING_ELT(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn ALTSTRING_SET_ELT(arg1: SEXP, arg2: R_xlen_t, arg3: SEXP); +} +extern "C" { + pub fn ALTCOMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn ALTCOMPLEX_SET_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); +} +extern "C" { + pub fn ALTRAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn ALTRAW_SET_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); +} +extern "C" { + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; +} +extern "C" { + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; +} +extern "C" { + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; +} +extern "C" { + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn INTEGER_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn INTEGER_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn REAL_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn REAL_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTLOGICAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_compact_intrange(n1: R_xlen_t, n2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_deferred_coerceToString(v: SEXP, info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_virtrep_vec(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryWrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryUnwrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BadLongVector( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> R_len_t; +} +extern "C" { + pub fn TAG(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAD4R(e: SEXP) -> SEXP; +} +extern "C" { + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_MISSING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TAG(x: SEXP, y: SEXP); +} +extern "C" { + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn CONS_NR(a: SEXP, b: SEXP) -> SEXP; +} +extern "C" { + pub fn FORMALS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn BODY(x: SEXP) -> SEXP; +} +extern "C" { + pub fn CLOENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FORMALS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_BODY(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_CLOENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRINTNAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn SYMVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn INTERNAL(x: SEXP) -> SEXP; +} +extern "C" { + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_DDVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRINTNAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_SYMVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_INTERNAL(x: SEXP, v: SEXP); +} +extern "C" { + pub fn FRAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENCLOS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn HASHTAB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FRAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_ENCLOS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_HASHTAB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRCODE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_PRSEEN(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRCODE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn HASHASH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn HASHVALUE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_HASHASH(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_HASHVALUE(x: SEXP, v: ::std::os::raw::c_int); +} +pub type PROTECT_INDEX = ::std::os::raw::c_int; +extern "C" { + pub static mut R_GlobalEnv: SEXP; +} +extern "C" { + pub static mut R_EmptyEnv: SEXP; +} +extern "C" { + pub static mut R_BaseEnv: SEXP; +} +extern "C" { + pub static mut R_BaseNamespace: SEXP; +} +extern "C" { + pub static mut R_NamespaceRegistry: SEXP; +} +extern "C" { + pub static mut R_Srcref: SEXP; +} +extern "C" { + pub static mut R_NilValue: SEXP; +} +extern "C" { + pub static mut R_UnboundValue: SEXP; +} +extern "C" { + pub static mut R_MissingArg: SEXP; +} +extern "C" { + pub static mut R_InBCInterpreter: SEXP; +} +extern "C" { + pub static mut R_CurrentExpression: SEXP; +} +extern "C" { + pub static mut R_RestartToken: SEXP; +} +extern "C" { + pub static mut R_AsCharacterSymbol: SEXP; +} +extern "C" { + pub static mut R_baseSymbol: SEXP; +} +extern "C" { + pub static mut R_BaseSymbol: SEXP; +} +extern "C" { + pub static mut R_BraceSymbol: SEXP; +} +extern "C" { + pub static mut R_Bracket2Symbol: SEXP; +} +extern "C" { + pub static mut R_BracketSymbol: SEXP; +} +extern "C" { + pub static mut R_ClassSymbol: SEXP; +} +extern "C" { + pub static mut R_DeviceSymbol: SEXP; +} +extern "C" { + pub static mut R_DimNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_DimSymbol: SEXP; +} +extern "C" { + pub static mut R_DollarSymbol: SEXP; +} +extern "C" { + pub static mut R_DotsSymbol: SEXP; +} +extern "C" { + pub static mut R_DoubleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_DropSymbol: SEXP; +} +extern "C" { + pub static mut R_LastvalueSymbol: SEXP; +} +extern "C" { + pub static mut R_LevelsSymbol: SEXP; +} +extern "C" { + pub static mut R_ModeSymbol: SEXP; +} +extern "C" { + pub static mut R_NaRmSymbol: SEXP; +} +extern "C" { + pub static mut R_NameSymbol: SEXP; +} +extern "C" { + pub static mut R_NamesSymbol: SEXP; +} +extern "C" { + pub static mut R_NamespaceEnvSymbol: SEXP; +} +extern "C" { + pub static mut R_PackageSymbol: SEXP; +} +extern "C" { + pub static mut R_PreviousSymbol: SEXP; +} +extern "C" { + pub static mut R_QuoteSymbol: SEXP; +} +extern "C" { + pub static mut R_RowNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_SeedsSymbol: SEXP; +} +extern "C" { + pub static mut R_SortListSymbol: SEXP; +} +extern "C" { + pub static mut R_SourceSymbol: SEXP; +} +extern "C" { + pub static mut R_SpecSymbol: SEXP; +} +extern "C" { + pub static mut R_TripleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_TspSymbol: SEXP; +} +extern "C" { + pub static mut R_dot_defined: SEXP; +} +extern "C" { + pub static mut R_dot_Method: SEXP; +} +extern "C" { + pub static mut R_dot_packageName: SEXP; +} +extern "C" { + pub static mut R_dot_target: SEXP; +} +extern "C" { + pub static mut R_dot_Generic: SEXP; +} +extern "C" { + pub static mut R_NaString: SEXP; +} +extern "C" { + pub static mut R_BlankString: SEXP; +} +extern "C" { + pub static mut R_BlankScalarString: SEXP; +} +extern "C" { + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asLogical2( + x: SEXP, + checking: ::std::os::raw::c_int, + call: SEXP, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asReal(x: SEXP) -> f64; +} +extern "C" { + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +extern "C" { + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_addMissingVarsToNewEnv(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList2(sym1: SEXP, sym2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList3(sym1: SEXP, sym2: SEXP, sym3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList4(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList5(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP, sym5: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList6( + sym1: SEXP, + sym2: SEXP, + sym3: SEXP, + sym4: SEXP, + sym5: SEXP, + sym6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_allocS4Object() -> SEXP; +} +extern "C" { + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; +} +extern "C" { + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_arraySubscript( + arg1: ::std::os::raw::c_int, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::option::Option SEXP>, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP, + >, + arg6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_fixSubset3Args(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: *mut SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_countContexts( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_CreateTag(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_DropDims(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_envHasNoSpecialSymbols(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_ExtractSubset(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFunctionForBody(arg1: SEXP); +} +extern "C" { + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_installChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installDDVAL(i: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_installS3Signature( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> SEXP; +} +extern "C" { + pub fn Rf_isFree(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnmodifiedSpecSym(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; +} +extern "C" { + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_matchE(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +pub const nchar_type_Bytes: nchar_type = 0; +pub const nchar_type_Chars: nchar_type = 1; +pub const nchar_type_Width: nchar_type = 2; +pub type nchar_type = u32; +extern "C" { + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_pmatch(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} +extern "C" { + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_PrintValue(arg1: SEXP); +} +extern "C" { + pub fn Rf_printwhere(); +} +extern "C" { + pub fn Rf_readS3VarsFromFrame( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut SEXP, + arg5: *mut SEXP, + arg6: *mut SEXP, + arg7: *mut SEXP, + ); +} +extern "C" { + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_setSVector(arg1: *mut SEXP, arg2: ::std::os::raw::c_int, arg3: SEXP); +} +extern "C" { + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_stringSuffix(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; +} +extern "C" { + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateChar0(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect_ptr(arg1: SEXP); +} +extern "C" { + pub fn R_signal_protect_error(); +} +extern "C" { + pub fn R_signal_unprotect_error(); +} +extern "C" { + pub fn R_signal_reprotect_error(i: PROTECT_INDEX); +} +extern "C" { + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetCurrentEnv() -> SEXP; +} +extern "C" { + pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isS4(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_cycle_detected(s: SEXP, child: SEXP) -> Rboolean; +} +pub const cetype_t_CE_NATIVE: cetype_t = 0; +pub const cetype_t_CE_UTF8: cetype_t = 1; +pub const cetype_t_CE_LATIN1: cetype_t = 2; +pub const cetype_t_CE_BYTES: cetype_t = 3; +pub const cetype_t_CE_SYMBOL: cetype_t = 5; +pub const cetype_t_CE_ANY: cetype_t = 99; +pub type cetype_t = u32; +extern "C" { + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; +} +extern "C" { + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; +} +extern "C" { + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClearExternalPtr(s: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); +} +extern "C" { + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; +} +pub type R_CFinalizer_t = ::std::option::Option; +extern "C" { + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); +} +extern "C" { + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); +} +extern "C" { + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); +} +extern "C" { + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); +} +extern "C" { + pub fn R_RunPendingFinalizers(); +} +extern "C" { + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_WeakRefKey(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_WeakRefValue(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_RunWeakRefFinalizer(w: SEXP); +} +extern "C" { + pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; +} +extern "C" { + pub fn R_initialize_bcode(); +} +extern "C" { + pub fn R_bcEncode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_bcDecode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_registerBC(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn R_checkConstants(arg1: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_BCVersionOK(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_init_altrep(); +} +extern "C" { + pub fn R_reinit_altrep_classes(arg1: *mut DllInfo); +} +extern "C" { + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; +} +extern "C" { + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_MakeUnwindCont() -> SEXP; +} +extern "C" { + pub fn R_ContinueUnwind(cont: SEXP); +} +extern "C" { + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn R_RestoreHashCount(rho: SEXP); +} +extern "C" { + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindNamespace(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); +} +extern "C" { + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_LockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_unLockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); +} +extern "C" { + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; +} +extern "C" { + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +pub const R_pstream_format_t_R_pstream_any_format: R_pstream_format_t = 0; +pub const R_pstream_format_t_R_pstream_ascii_format: R_pstream_format_t = 1; +pub const R_pstream_format_t_R_pstream_binary_format: R_pstream_format_t = 2; +pub const R_pstream_format_t_R_pstream_xdr_format: R_pstream_format_t = 3; +pub const R_pstream_format_t_R_pstream_asciihex_format: R_pstream_format_t = 4; +pub type R_pstream_format_t = u32; +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +#[test] +fn bindgen_test_layout_R_outpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 48usize, + concat!("Size of: ", stringify!(R_outpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_outpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).version as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(version) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookData) + ) + ); +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout_R_inpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(R_inpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_inpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookData) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).native_encoding as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(native_encoding) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2nat_obj as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2nat_obj) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2utf8_obj as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2utf8_obj) + ) + ); +} +extern "C" { + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); +} +extern "C" { + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef_R(what: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_methods_attached() -> Rboolean; +} +extern "C" { + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_do_new_object(class_def: SEXP) -> SEXP; +} +extern "C" { + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_PreserveObject(arg1: SEXP); +} +extern "C" { + pub fn R_ReleaseObject(arg1: SEXP); +} +extern "C" { + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_dot_Last(); +} +extern "C" { + pub fn R_RunExitFinalizers(); +} +extern "C" { + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; +} +extern "C" { + pub fn R_body_no_src(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_lang1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_length(arg1: SEXP) -> R_len_t; +} +extern "C" { + pub fn Rf_list1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn Rf_protect(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); +} +extern "C" { + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); +} +extern "C" { + pub fn R_FixupRHS(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SCALAR_DVAL(x: SEXP) -> f64; +} +extern "C" { + pub fn SCALAR_LVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SCALAR_IVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_SCALAR_DVAL(x: SEXP, v: f64); +} +extern "C" { + pub fn SET_SCALAR_LVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_IVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_CVAL(x: SEXP, v: Rcomplex); +} +extern "C" { + pub fn SET_SCALAR_BVAL(x: SEXP, v: Rbyte); +} +extern "C" { + pub fn R_altrep_data1(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_altrep_data2(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); +} +extern "C" { + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); +} +extern "C" { + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL0(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn RAW0(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn R_BadValueInRCode( + value: SEXP, + call: SEXP, + rho: SEXP, + rawmsg: *const ::std::os::raw::c_char, + errmsg: *const ::std::os::raw::c_char, + warnmsg: *const ::std::os::raw::c_char, + varname: *const ::std::os::raw::c_char, + warnByDefault: Rboolean, + ); +} +extern "C" { + pub static mut R_Interactive: Rboolean; +} +extern "C" { + pub static mut R_Slave: Rboolean; +} +extern "C" { + pub fn R_RestoreGlobalEnv(); +} +extern "C" { + pub fn R_RestoreGlobalEnvFromFile(arg1: *const ::std::os::raw::c_char, arg2: Rboolean); +} +extern "C" { + pub fn R_SaveGlobalEnv(); +} +extern "C" { + pub fn R_SaveGlobalEnvToFile(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn R_FlushConsole(); +} +extern "C" { + pub fn R_ClearerrConsole(); +} +extern "C" { + pub fn R_Suicide(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn R_HomeDir() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub static mut R_DirtyImage: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_GUIType: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_setupHistory(); +} +extern "C" { + pub static mut R_HistoryFile: *mut ::std::os::raw::c_char; +} +extern "C" { + pub static mut R_HistorySize: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_RestoreHistory: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_Home: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_jump_to_toplevel(); +} +extern "C" { + pub fn Rf_mainloop(); +} +extern "C" { + pub fn Rf_onintr(); +} +extern "C" { + pub fn Rf_onintrNoResume(); +} +extern "C" { + pub static mut R_GlobalContext: *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn process_site_Renviron(); +} +extern "C" { + pub fn process_system_Renviron(); +} +extern "C" { + pub fn process_user_Renviron(); +} +extern "C" { + pub static mut R_Consolefile: *mut FILE; +} +extern "C" { + pub static mut R_Outputfile: *mut FILE; +} +extern "C" { + pub fn R_setStartTime(); +} +extern "C" { + pub fn fpu_setup(arg1: Rboolean); +} +extern "C" { + pub static mut R_running_as_main_program: ::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 static mut R_CStackLimit: usize; +} +extern "C" { + pub static mut R_CStackStart: usize; +} +pub const SA_TYPE_SA_NORESTORE: SA_TYPE = 0; +pub const SA_TYPE_SA_RESTORE: SA_TYPE = 1; +pub const SA_TYPE_SA_DEFAULT: SA_TYPE = 2; +pub const SA_TYPE_SA_NOSAVE: SA_TYPE = 3; +pub const SA_TYPE_SA_SAVE: SA_TYPE = 4; +pub const SA_TYPE_SA_SAVEASK: SA_TYPE = 5; +pub const SA_TYPE_SA_SUICIDE: SA_TYPE = 6; +pub type SA_TYPE = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_Slave: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: size_t, + pub nsize: size_t, + pub max_vsize: size_t, + pub max_nsize: size_t, + pub ppsize: size_t, + pub NoRenviron: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_structRstart() { + assert_eq!( + ::std::mem::size_of::(), + 88usize, + concat!("Size of: ", stringify!(structRstart)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(structRstart)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Quiet as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Quiet) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Slave as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Slave) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Interactive as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Interactive) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Verbose as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Verbose) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).LoadSiteFile as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(LoadSiteFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).LoadInitFile as *const _ as usize }, + 20usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(LoadInitFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).DebugInitFile as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(DebugInitFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).RestoreAction as *const _ as usize }, + 28usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(RestoreAction) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).SaveAction as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(SaveAction) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).vsize as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(vsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nsize as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(nsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).max_vsize as *const _ as usize }, + 56usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(max_vsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).max_nsize as *const _ as usize }, + 64usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(max_nsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).ppsize as *const _ as usize }, + 72usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(ppsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).NoRenviron as *const _ as usize }, + 80usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(NoRenviron) + ) + ); +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_DefParams(arg1: Rstart); +} +extern "C" { + pub fn R_SetParams(arg1: Rstart); +} +extern "C" { + pub fn R_SetWin32(arg1: Rstart); +} +extern "C" { + pub fn R_SizeFromEnv(arg1: Rstart); +} +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} +extern "C" { + pub fn R_set_command_line_arguments( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn setup_Rmainloop(); +} +extern "C" { + pub static mut ptr_R_Suicide: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ShowMessage: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >; +} +extern "C" { + pub static mut ptr_R_WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >; +} +extern "C" { + pub static mut ptr_R_ResetConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_FlushConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ClearerrConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_Busy: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >; +} +extern "C" { + pub static mut ptr_R_ShowFiles: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut *const ::std::os::raw::c_char, + arg3: *mut *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + arg5: Rboolean, + arg6: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_ChooseFile: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_EditFile: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_loadhistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_savehistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_addhistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_EditFiles: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut *const ::std::os::raw::c_char, + arg3: *mut *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_do_selectlist: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_do_dataentry: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_do_dataviewer: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_R_ProcessEvents: ::std::option::Option; +} +extern "C" { + pub static mut R_timeout_handler: + ::std::option::Option ::std::os::raw::c_int>; +} +extern "C" { + pub static mut R_timeout_val: ::std::os::raw::c_long; +} +extern "C" { + pub static mut R_SignalHandlers: ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_initEmbeddedR( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_ReplDLLinit(); +} +extern "C" { + pub fn R_ReplDLLdo1() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn CleanEd(); +} +extern "C" { + pub fn Rf_KillAllDevices(); +} +extern "C" { + pub fn R_CleanTempDir(); +} +extern "C" { + pub static mut R_TempDir: *mut ::std::os::raw::c_char; +} +pub const ParseStatus_PARSE_NULL: ParseStatus = 0; +pub const ParseStatus_PARSE_OK: ParseStatus = 1; +pub const ParseStatus_PARSE_INCOMPLETE: ParseStatus = 2; +pub const ParseStatus_PARSE_ERROR: ParseStatus = 3; +pub const ParseStatus_PARSE_EOF: ParseStatus = 4; +pub type ParseStatus = u32; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout___va_list_tag() { + assert_eq!( + ::std::mem::size_of::<__va_list_tag>(), + 24usize, + concat!("Size of: ", stringify!(__va_list_tag)) + ); + assert_eq!( + ::std::mem::align_of::<__va_list_tag>(), + 8usize, + concat!("Alignment of ", stringify!(__va_list_tag)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(gp_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(fp_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(overflow_arg_area) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(reg_save_area) + ) + ); +} diff --git a/bindings/bindings-linux-x86_64-R4.1-devel.rs b/bindings/bindings-linux-x86_64-R4.1-devel.rs new file mode 100644 index 00000000..f76473eb --- /dev/null +++ b/bindings/bindings-linux-x86_64-R4.1-devel.rs @@ -0,0 +1,6034 @@ +/* automatically generated by rust-bindgen */ + +pub const _STDIO_H: u32 = 1; +pub const _FEATURES_H: u32 = 1; +pub const _DEFAULT_SOURCE: u32 = 1; +pub const __GLIBC_USE_ISOC2X: u32 = 0; +pub const __USE_ISOC11: u32 = 1; +pub const __USE_ISOC99: u32 = 1; +pub const __USE_ISOC95: u32 = 1; +pub const __USE_POSIX_IMPLICITLY: u32 = 1; +pub const _POSIX_SOURCE: u32 = 1; +pub const _POSIX_C_SOURCE: u32 = 200809; +pub const __USE_POSIX: u32 = 1; +pub const __USE_POSIX2: u32 = 1; +pub const __USE_POSIX199309: u32 = 1; +pub const __USE_POSIX199506: u32 = 1; +pub const __USE_XOPEN2K: u32 = 1; +pub const __USE_XOPEN2K8: u32 = 1; +pub const _ATFILE_SOURCE: u32 = 1; +pub const __USE_MISC: u32 = 1; +pub const __USE_ATFILE: u32 = 1; +pub const __USE_FORTIFY_LEVEL: u32 = 0; +pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0; +pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0; +pub const _STDC_PREDEF_H: u32 = 1; +pub const __STDC_IEC_559__: u32 = 1; +pub const __STDC_IEC_559_COMPLEX__: u32 = 1; +pub const __STDC_ISO_10646__: u32 = 201706; +pub const __GNU_LIBRARY__: u32 = 6; +pub const __GLIBC__: u32 = 2; +pub const __GLIBC_MINOR__: u32 = 31; +pub const _SYS_CDEFS_H: u32 = 1; +pub const __glibc_c99_flexarr_available: u32 = 1; +pub const __WORDSIZE: u32 = 64; +pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; +pub const __SYSCALL_WORDSIZE: u32 = 64; +pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0; +pub const __HAVE_GENERIC_SELECTION: u32 = 1; +pub const __GLIBC_USE_LIB_EXT2: u32 = 0; +pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; +pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; +pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; +pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; +pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; +pub const __GNUC_VA_LIST: u32 = 1; +pub const _BITS_TYPES_H: u32 = 1; +pub const __TIMESIZE: u32 = 64; +pub const _BITS_TYPESIZES_H: u32 = 1; +pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; +pub const __INO_T_MATCHES_INO64_T: u32 = 1; +pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; +pub const __STATFS_MATCHES_STATFS64: u32 = 1; +pub const __FD_SETSIZE: u32 = 1024; +pub const _BITS_TIME64_H: u32 = 1; +pub const _____fpos_t_defined: u32 = 1; +pub const ____mbstate_t_defined: u32 = 1; +pub const _____fpos64_t_defined: u32 = 1; +pub const ____FILE_defined: u32 = 1; +pub const __FILE_defined: u32 = 1; +pub const __struct_FILE_defined: u32 = 1; +pub const _IO_EOF_SEEN: u32 = 16; +pub const _IO_ERR_SEEN: u32 = 32; +pub const _IO_USER_LOCK: u32 = 32768; +pub const _IOFBF: u32 = 0; +pub const _IOLBF: u32 = 1; +pub const _IONBF: u32 = 2; +pub const BUFSIZ: u32 = 8192; +pub const EOF: i32 = -1; +pub const SEEK_SET: u32 = 0; +pub const SEEK_CUR: u32 = 1; +pub const SEEK_END: u32 = 2; +pub const P_tmpdir: &'static [u8; 5usize] = b"/tmp\0"; +pub const _BITS_STDIO_LIM_H: u32 = 1; +pub const L_tmpnam: u32 = 20; +pub const TMP_MAX: u32 = 238328; +pub const FILENAME_MAX: u32 = 4096; +pub const L_ctermid: u32 = 9; +pub const FOPEN_MAX: u32 = 16; +pub const _LIBC_LIMITS_H_: u32 = 1; +pub const MB_LEN_MAX: u32 = 16; +pub const _BITS_POSIX1_LIM_H: u32 = 1; +pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; +pub const _POSIX_AIO_MAX: u32 = 1; +pub const _POSIX_ARG_MAX: u32 = 4096; +pub const _POSIX_CHILD_MAX: u32 = 25; +pub const _POSIX_DELAYTIMER_MAX: u32 = 32; +pub const _POSIX_HOST_NAME_MAX: u32 = 255; +pub const _POSIX_LINK_MAX: u32 = 8; +pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; +pub const _POSIX_MAX_CANON: u32 = 255; +pub const _POSIX_MAX_INPUT: u32 = 255; +pub const _POSIX_MQ_OPEN_MAX: u32 = 8; +pub const _POSIX_MQ_PRIO_MAX: u32 = 32; +pub const _POSIX_NAME_MAX: u32 = 14; +pub const _POSIX_NGROUPS_MAX: u32 = 8; +pub const _POSIX_OPEN_MAX: u32 = 20; +pub const _POSIX_PATH_MAX: u32 = 256; +pub const _POSIX_PIPE_BUF: u32 = 512; +pub const _POSIX_RE_DUP_MAX: u32 = 255; +pub const _POSIX_RTSIG_MAX: u32 = 8; +pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; +pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; +pub const _POSIX_SIGQUEUE_MAX: u32 = 32; +pub const _POSIX_SSIZE_MAX: u32 = 32767; +pub const _POSIX_STREAM_MAX: u32 = 8; +pub const _POSIX_SYMLINK_MAX: u32 = 255; +pub const _POSIX_SYMLOOP_MAX: u32 = 8; +pub const _POSIX_TIMER_MAX: u32 = 32; +pub const _POSIX_TTY_NAME_MAX: u32 = 9; +pub const _POSIX_TZNAME_MAX: u32 = 6; +pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; +pub const NR_OPEN: u32 = 1024; +pub const NGROUPS_MAX: u32 = 65536; +pub const ARG_MAX: u32 = 131072; +pub const LINK_MAX: u32 = 127; +pub const MAX_CANON: u32 = 255; +pub const MAX_INPUT: u32 = 255; +pub const NAME_MAX: u32 = 255; +pub const PATH_MAX: u32 = 4096; +pub const PIPE_BUF: u32 = 4096; +pub const XATTR_NAME_MAX: u32 = 255; +pub const XATTR_SIZE_MAX: u32 = 65536; +pub const XATTR_LIST_MAX: u32 = 65536; +pub const RTSIG_MAX: u32 = 32; +pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; +pub const PTHREAD_KEYS_MAX: u32 = 1024; +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; +pub const AIO_PRIO_DELTA_MAX: u32 = 20; +pub const PTHREAD_STACK_MIN: u32 = 16384; +pub const DELAYTIMER_MAX: u32 = 2147483647; +pub const TTY_NAME_MAX: u32 = 32; +pub const LOGIN_NAME_MAX: u32 = 256; +pub const HOST_NAME_MAX: u32 = 64; +pub const MQ_PRIO_MAX: u32 = 32768; +pub const SEM_VALUE_MAX: u32 = 2147483647; +pub const _BITS_POSIX2_LIM_H: u32 = 1; +pub const _POSIX2_BC_BASE_MAX: u32 = 99; +pub const _POSIX2_BC_DIM_MAX: u32 = 2048; +pub const _POSIX2_BC_SCALE_MAX: u32 = 99; +pub const _POSIX2_BC_STRING_MAX: u32 = 1000; +pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; +pub const _POSIX2_LINE_MAX: u32 = 2048; +pub const _POSIX2_RE_DUP_MAX: u32 = 255; +pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; +pub const BC_BASE_MAX: u32 = 99; +pub const BC_DIM_MAX: u32 = 2048; +pub const BC_SCALE_MAX: u32 = 99; +pub const BC_STRING_MAX: u32 = 1000; +pub const COLL_WEIGHTS_MAX: u32 = 255; +pub const EXPR_NEST_MAX: u32 = 32; +pub const LINE_MAX: u32 = 2048; +pub const CHARCLASS_NAME_MAX: u32 = 2048; +pub const RE_DUP_MAX: u32 = 32767; +pub const _MATH_H: u32 = 1; +pub const _BITS_LIBM_SIMD_DECL_STUBS_H: u32 = 1; +pub const __HAVE_FLOAT128: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; +pub const __HAVE_FLOAT64X: u32 = 1; +pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1; +pub const __HAVE_FLOAT16: u32 = 0; +pub const __HAVE_FLOAT32: u32 = 1; +pub const __HAVE_FLOAT64: u32 = 1; +pub const __HAVE_FLOAT32X: u32 = 1; +pub const __HAVE_FLOAT128X: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT16: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT32: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT64: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; +pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; +pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; +pub const __FP_LOGB0_IS_MIN: u32 = 1; +pub const __FP_LOGBNAN_IS_MIN: u32 = 1; +pub const FP_ILOGB0: i32 = -2147483648; +pub const FP_ILOGBNAN: i32 = -2147483648; +pub const __MATH_DECLARING_DOUBLE: u32 = 1; +pub const __MATH_DECLARING_FLOATN: u32 = 0; +pub const __MATH_DECLARE_LDOUBLE: u32 = 1; +pub const MATH_ERRNO: u32 = 1; +pub const MATH_ERREXCEPT: u32 = 2; +pub const math_errhandling: u32 = 3; +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 SINGLESXP: u32 = 302; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_INTERNALS_UUID: &'static [u8; 37usize] = b"2fdf6c18-697a-4ba7-b8ef-11c0d92f1327\0"; +pub const NILSXP: u32 = 0; +pub const SYMSXP: u32 = 1; +pub const LISTSXP: u32 = 2; +pub const CLOSXP: u32 = 3; +pub const ENVSXP: u32 = 4; +pub const PROMSXP: u32 = 5; +pub const LANGSXP: u32 = 6; +pub const SPECIALSXP: u32 = 7; +pub const BUILTINSXP: u32 = 8; +pub const CHARSXP: u32 = 9; +pub const LGLSXP: u32 = 10; +pub const INTSXP: u32 = 13; +pub const REALSXP: u32 = 14; +pub const CPLXSXP: u32 = 15; +pub const STRSXP: u32 = 16; +pub const DOTSXP: u32 = 17; +pub const ANYSXP: u32 = 18; +pub const VECSXP: u32 = 19; +pub const EXPRSXP: u32 = 20; +pub const BCODESXP: u32 = 21; +pub const EXTPTRSXP: u32 = 22; +pub const WEAKREFSXP: u32 = 23; +pub const RAWSXP: u32 = 24; +pub const S4SXP: u32 = 25; +pub const NEWSXP: u32 = 30; +pub const FREESXP: u32 = 31; +pub const FUNSXP: u32 = 99; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const _STDINT_H: u32 = 1; +pub const _BITS_WCHAR_H: u32 = 1; +pub const _BITS_STDINT_INTN_H: u32 = 1; +pub const _BITS_STDINT_UINTN_H: u32 = 1; +pub const INT8_MIN: i32 = -128; +pub const INT16_MIN: i32 = -32768; +pub const INT32_MIN: i32 = -2147483648; +pub const INT8_MAX: u32 = 127; +pub const INT16_MAX: u32 = 32767; +pub const INT32_MAX: u32 = 2147483647; +pub const UINT8_MAX: u32 = 255; +pub const UINT16_MAX: u32 = 65535; +pub const UINT32_MAX: u32 = 4294967295; +pub const INT_LEAST8_MIN: i32 = -128; +pub const INT_LEAST16_MIN: i32 = -32768; +pub const INT_LEAST32_MIN: i32 = -2147483648; +pub const INT_LEAST8_MAX: u32 = 127; +pub const INT_LEAST16_MAX: u32 = 32767; +pub const INT_LEAST32_MAX: u32 = 2147483647; +pub const UINT_LEAST8_MAX: u32 = 255; +pub const UINT_LEAST16_MAX: u32 = 65535; +pub const UINT_LEAST32_MAX: u32 = 4294967295; +pub const INT_FAST8_MIN: i32 = -128; +pub const INT_FAST16_MIN: i64 = -9223372036854775808; +pub const INT_FAST32_MIN: i64 = -9223372036854775808; +pub const INT_FAST8_MAX: u32 = 127; +pub const INT_FAST16_MAX: u64 = 9223372036854775807; +pub const INT_FAST32_MAX: u64 = 9223372036854775807; +pub const UINT_FAST8_MAX: u32 = 255; +pub const UINT_FAST16_MAX: i32 = -1; +pub const UINT_FAST32_MAX: i32 = -1; +pub const INTPTR_MIN: i64 = -9223372036854775808; +pub const INTPTR_MAX: u64 = 9223372036854775807; +pub const UINTPTR_MAX: i32 = -1; +pub const PTRDIFF_MIN: i64 = -9223372036854775808; +pub const PTRDIFF_MAX: u64 = 9223372036854775807; +pub const SIG_ATOMIC_MIN: i32 = -2147483648; +pub const SIG_ATOMIC_MAX: u32 = 2147483647; +pub const SIZE_MAX: i32 = -1; +pub const WINT_MIN: u32 = 0; +pub const WINT_MAX: u32 = 4294967295; +pub const R_VERSION: u32 = 262400; +pub const R_NICK: &'static [u8; 24usize] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &'static [u8; 2usize] = b"4\0"; +pub const R_MINOR: &'static [u8; 4usize] = b"1.0\0"; +pub const R_STATUS: &'static [u8; 29usize] = b"Under development (unstable)\0"; +pub const R_YEAR: &'static [u8; 5usize] = b"2020\0"; +pub const R_MONTH: &'static [u8; 3usize] = b"12\0"; +pub const R_DAY: &'static [u8; 3usize] = b"18\0"; +pub const R_SVN_REVISION: u32 = 79646; +pub type size_t = ::std::os::raw::c_ulong; +pub type wchar_t = ::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() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(max_align_t)) + ); + assert_eq!( + ::std::mem::align_of::(), + 16usize, + concat!("Alignment of ", stringify!(max_align_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__clang_max_align_nonce1 as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(max_align_t), + "::", + stringify!(__clang_max_align_nonce1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__clang_max_align_nonce2 as *const _ as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(max_align_t), + "::", + stringify!(__clang_max_align_nonce2) + ) + ); +} +#[doc = "
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __gnuc_va_list = __builtin_va_list; +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() { + 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::null::<__fsid_t>())).__val as *const _ 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 __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; +#[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], + _bindgen_union_align: u32, +} +#[test] +fn bindgen_test_layout___mbstate_t__bindgen_ty_1() { + 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::null::<__mbstate_t__bindgen_ty_1>())).__wch as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t__bindgen_ty_1), + "::", + stringify!(__wch) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wchb as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t__bindgen_ty_1), + "::", + stringify!(__wchb) + ) + ); +} +#[test] +fn bindgen_test_layout___mbstate_t() { + 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::null::<__mbstate_t>())).__count as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t), + "::", + stringify!(__count) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__value as *const _ 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() { + 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::null::<_G_fpos_t>())).__pos as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_G_fpos_t), + "::", + stringify!(__pos) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__state as *const _ 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() { + 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::null::<_G_fpos64_t>())).__pos as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_G_fpos64_t), + "::", + stringify!(__pos) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__state as *const _ 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: size_t, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[test] +fn bindgen_test_layout__IO_FILE() { + 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::null::<_IO_FILE>()))._flags as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_flags) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_read_ptr) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_read_end) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_read_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_write_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_write_ptr) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_write_end) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize }, + 56usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_buf_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize }, + 64usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_buf_end) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize }, + 72usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_save_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize }, + 80usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_backup_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize }, + 88usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_IO_save_end) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize }, + 96usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_markers) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize }, + 104usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_chain) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_fileno) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize }, + 116usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_flags2) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_old_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize }, + 128usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_cur_column) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize }, + 130usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_vtable_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize }, + 131usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_shortbuf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize }, + 136usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_lock) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize }, + 144usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize }, + 152usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_codecvt) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize }, + 160usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_wide_data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize }, + 168usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_freeres_list) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize }, + 176usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_freeres_buf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize }, + 184usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(__pad5) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize }, + 192usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_mode) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize }, + 196usize, + concat!( + "Offset of field: ", + stringify!(_IO_FILE), + "::", + stringify!(_unused2) + ) + ); +} +pub type off_t = __off_t; +pub type ssize_t = __ssize_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 tmpfile() -> *mut FILE; +} +extern "C" { + pub fn tmpnam(__s: *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 fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; +} +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 fmemopen( + __s: *mut ::std::os::raw::c_void, + __len: size_t, + __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 size_t, + ) -> *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: size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: size_t); +} +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 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 size_t, + __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 size_t, + __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 size_t, + __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: size_t, + __n: size_t, + __stream: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn fwrite_unlocked( + __ptr: *const ::std::os::raw::c_void, + __size: size_t, + __n: size_t, + __stream: *mut FILE, + ) -> size_t; +} +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 static mut sys_nerr: ::std::os::raw::c_int; +} +extern "C" { + pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; +} +extern "C" { + pub fn 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 popen( + __command: *const ::std::os::raw::c_char, + __modes: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; +} +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; +} +pub type _Float32 = f32; +pub type _Float64 = f64; +pub type _Float32x = f64; +pub type _Float64x = u128; +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; +pub type _bindgen_ty_1 = u32; +extern "C" { + pub static mut R_NaN: f64; +} +extern "C" { + pub static mut R_PosInf: f64; +} +extern "C" { + pub static mut R_NegInf: f64; +} +extern "C" { + pub static mut R_NaReal: f64; +} +extern "C" { + pub static mut R_NaInt: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} +pub const Rboolean_FALSE: Rboolean = 0; +pub const Rboolean_TRUE: Rboolean = 1; +pub type Rboolean = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +#[test] +fn bindgen_test_layout_Rcomplex() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(Rcomplex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(Rcomplex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).r as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(r) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).i as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(i) + ) + ); +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); +} +extern "C" { + pub fn R_gc(); +} +extern "C" { + pub fn R_gc_running() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_alloc(arg1: size_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_allocLD(nelem: size_t) -> *mut u128; +} +extern "C" { + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_malloc_gc(arg1: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_calloc_gc(arg1: size_t, arg2: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: size_t, + ) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_qsort(v: *mut f64, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); +} +extern "C" { + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn R_atof(str: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; +} +extern "C" { + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn R_CheckUserInterrupt(); +} +extern "C" { + pub fn R_CheckStack(); +} +extern "C" { + pub fn R_CheckStack2(arg1: size_t); +} +extern "C" { + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} +extern "C" { + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[test] +fn bindgen_test_layout_R_CMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(R_CMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(numArgs) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).types as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(types) + ) + ); +} +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_R_CallMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!("Size of: ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(numArgs) + ) + ); +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; +} +extern "C" { + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +pub const NativeSymbolType_R_ANY_SYM: NativeSymbolType = 0; +pub const NativeSymbolType_R_C_SYM: NativeSymbolType = 1; +pub const NativeSymbolType_R_CALL_SYM: NativeSymbolType = 2; +pub const NativeSymbolType_R_FORTRAN_SYM: NativeSymbolType = 3; +pub const NativeSymbolType_R_EXTERNAL_SYM: NativeSymbolType = 4; +pub type NativeSymbolType = u32; +extern "C" { + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; +} +extern "C" { + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); +} +extern "C" { + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} +pub type Rbyte = ::std::os::raw::c_uchar; +pub type R_len_t = ::std::os::raw::c_int; +pub type SEXPTYPE = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct SEXPREC { + _unused: [u8; 0], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isNull(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLogical(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isReal(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isComplex(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isExpression(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isString(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isObject(s: SEXP) -> Rboolean; +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = -2; +pub const SORTED_DECR: _bindgen_ty_2 = -1; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = -2147483648; +pub const SORTED_INCR: _bindgen_ty_2 = 1; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = 2; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = 0; +pub type _bindgen_ty_2 = i32; +extern "C" { + pub fn ATTRIB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TRACKREFS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_ATTRIB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn ENSURE_NAMEDMAX(x: SEXP); +} +extern "C" { + pub fn ENSURE_NAMED(x: SEXP); +} +extern "C" { + pub fn SETTER_CLEAR_NAMED(x: SEXP); +} +extern "C" { + pub fn RAISE_NAMED(x: SEXP, n: ::std::os::raw::c_int); +} +extern "C" { + pub fn DECREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn INCREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn DISABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn ENABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn MARK_NOT_MUTABLE(x: SEXP); +} +extern "C" { + pub fn ASSIGNMENT_PENDING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ASSIGNMENT_PENDING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn IS_ASSIGNMENT_CALL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK_ASSIGNMENT_CALL(x: SEXP); +} +extern "C" { + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn UNSET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn NOJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MAYBEJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_NOJIT(x: SEXP); +} +extern "C" { + pub fn SET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn UNSET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_GROWABLE_BIT(x: SEXP); +} +extern "C" { + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn SETLENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn REAL(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW_RO(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn REAL_RO(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); +} +extern "C" { + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; +} +extern "C" { + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; +} +extern "C" { + pub fn VECTOR_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP_DUPLICATE_EX(x: SEXP, deep: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREP_COERCE(x: SEXP, type_: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn ALTREP_INSPECT( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean; +} +extern "C" { + pub fn ALTREP_SERIALIZED_CLASS(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_SERIALIZED_STATE(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_UNSERIALIZE_EX( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn ALTREP_LENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTREP_TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_EXTRACT_SUBSET(x: SEXP, indx: SEXP, call: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTLOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTLOGICAL_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTREAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn ALTREAL_SET_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn ALTSTRING_ELT(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn ALTSTRING_SET_ELT(arg1: SEXP, arg2: R_xlen_t, arg3: SEXP); +} +extern "C" { + pub fn ALTCOMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn ALTCOMPLEX_SET_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); +} +extern "C" { + pub fn ALTRAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn ALTRAW_SET_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); +} +extern "C" { + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; +} +extern "C" { + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; +} +extern "C" { + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; +} +extern "C" { + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn INTEGER_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn INTEGER_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn REAL_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn REAL_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTLOGICAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_compact_intrange(n1: R_xlen_t, n2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_deferred_coerceToString(v: SEXP, info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_virtrep_vec(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryWrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryUnwrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BadLongVector( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> R_len_t; +} +extern "C" { + pub fn BNDCELL_TAG(e: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_BNDCELL_TAG(e: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn BNDCELL_DVAL(cell: SEXP) -> f64; +} +extern "C" { + pub fn BNDCELL_IVAL(cell: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn BNDCELL_LVAL(cell: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_BNDCELL_DVAL(cell: SEXP, v: f64); +} +extern "C" { + pub fn SET_BNDCELL_IVAL(cell: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_BNDCELL_LVAL(cell: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn INIT_BNDCELL(cell: SEXP, type_: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_BNDCELL(cell: SEXP, val: SEXP); +} +extern "C" { + pub fn TAG(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR0(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAD4R(e: SEXP) -> SEXP; +} +extern "C" { + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_MISSING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TAG(x: SEXP, y: SEXP); +} +extern "C" { + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn CONS_NR(a: SEXP, b: SEXP) -> SEXP; +} +extern "C" { + pub fn FORMALS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn BODY(x: SEXP) -> SEXP; +} +extern "C" { + pub fn CLOENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FORMALS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_BODY(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_CLOENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRINTNAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn SYMVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn INTERNAL(x: SEXP) -> SEXP; +} +extern "C" { + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_DDVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRINTNAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_SYMVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_INTERNAL(x: SEXP, v: SEXP); +} +extern "C" { + pub fn FRAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENCLOS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn HASHTAB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FRAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_ENCLOS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_HASHTAB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRCODE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_PRSEEN(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRCODE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn HASHASH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn HASHVALUE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_HASHASH(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_HASHVALUE(x: SEXP, v: ::std::os::raw::c_int); +} +pub type PROTECT_INDEX = ::std::os::raw::c_int; +extern "C" { + pub static mut R_GlobalEnv: SEXP; +} +extern "C" { + pub static mut R_EmptyEnv: SEXP; +} +extern "C" { + pub static mut R_BaseEnv: SEXP; +} +extern "C" { + pub static mut R_BaseNamespace: SEXP; +} +extern "C" { + pub static mut R_NamespaceRegistry: SEXP; +} +extern "C" { + pub static mut R_Srcref: SEXP; +} +extern "C" { + pub static mut R_NilValue: SEXP; +} +extern "C" { + pub static mut R_UnboundValue: SEXP; +} +extern "C" { + pub static mut R_MissingArg: SEXP; +} +extern "C" { + pub static mut R_InBCInterpreter: SEXP; +} +extern "C" { + pub static mut R_CurrentExpression: SEXP; +} +extern "C" { + pub static mut R_RestartToken: SEXP; +} +extern "C" { + pub static mut R_AsCharacterSymbol: SEXP; +} +extern "C" { + pub static mut R_baseSymbol: SEXP; +} +extern "C" { + pub static mut R_BaseSymbol: SEXP; +} +extern "C" { + pub static mut R_BraceSymbol: SEXP; +} +extern "C" { + pub static mut R_Bracket2Symbol: SEXP; +} +extern "C" { + pub static mut R_BracketSymbol: SEXP; +} +extern "C" { + pub static mut R_ClassSymbol: SEXP; +} +extern "C" { + pub static mut R_DeviceSymbol: SEXP; +} +extern "C" { + pub static mut R_DimNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_DimSymbol: SEXP; +} +extern "C" { + pub static mut R_DollarSymbol: SEXP; +} +extern "C" { + pub static mut R_DotsSymbol: SEXP; +} +extern "C" { + pub static mut R_DoubleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_DropSymbol: SEXP; +} +extern "C" { + pub static mut R_EvalSymbol: SEXP; +} +extern "C" { + pub static mut R_FunctionSymbol: SEXP; +} +extern "C" { + pub static mut R_LastvalueSymbol: SEXP; +} +extern "C" { + pub static mut R_LevelsSymbol: SEXP; +} +extern "C" { + pub static mut R_ModeSymbol: SEXP; +} +extern "C" { + pub static mut R_NaRmSymbol: SEXP; +} +extern "C" { + pub static mut R_NameSymbol: SEXP; +} +extern "C" { + pub static mut R_NamesSymbol: SEXP; +} +extern "C" { + pub static mut R_NamespaceEnvSymbol: SEXP; +} +extern "C" { + pub static mut R_PackageSymbol: SEXP; +} +extern "C" { + pub static mut R_PreviousSymbol: SEXP; +} +extern "C" { + pub static mut R_QuoteSymbol: SEXP; +} +extern "C" { + pub static mut R_RowNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_SeedsSymbol: SEXP; +} +extern "C" { + pub static mut R_SortListSymbol: SEXP; +} +extern "C" { + pub static mut R_SourceSymbol: SEXP; +} +extern "C" { + pub static mut R_SpecSymbol: SEXP; +} +extern "C" { + pub static mut R_TripleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_TspSymbol: SEXP; +} +extern "C" { + pub static mut R_dot_defined: SEXP; +} +extern "C" { + pub static mut R_dot_Method: SEXP; +} +extern "C" { + pub static mut R_dot_packageName: SEXP; +} +extern "C" { + pub static mut R_dot_target: SEXP; +} +extern "C" { + pub static mut R_dot_Generic: SEXP; +} +extern "C" { + pub static mut R_NaString: SEXP; +} +extern "C" { + pub static mut R_BlankString: SEXP; +} +extern "C" { + pub static mut R_BlankScalarString: SEXP; +} +extern "C" { + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asLogical2( + x: SEXP, + checking: ::std::os::raw::c_int, + call: SEXP, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asReal(x: SEXP) -> f64; +} +extern "C" { + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +pub const warn_type_iSILENT: warn_type = 0; +pub const warn_type_iWARN: warn_type = 1; +pub const warn_type_iERROR: warn_type = 2; +pub type warn_type = u32; +extern "C" { + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_addMissingVarsToNewEnv(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList2(sym1: SEXP, sym2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList3(sym1: SEXP, sym2: SEXP, sym3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList4(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList5(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP, sym5: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList6( + sym1: SEXP, + sym2: SEXP, + sym3: SEXP, + sym4: SEXP, + sym5: SEXP, + sym6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_allocS4Object() -> SEXP; +} +extern "C" { + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; +} +extern "C" { + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_arraySubscript( + arg1: ::std::os::raw::c_int, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::option::Option SEXP>, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP, + >, + arg6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_fixSubset3Args(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: *mut SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_countContexts( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_CreateTag(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_DropDims(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_envHasNoSpecialSymbols(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_ExtractSubset(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFunctionForBody(arg1: SEXP); +} +extern "C" { + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_FixupDigits(arg1: SEXP, arg2: warn_type) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_FixupWidth(arg1: SEXP, arg2: warn_type) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_installChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installDDVAL(i: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_installS3Signature( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> SEXP; +} +extern "C" { + pub fn Rf_isFree(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnmodifiedSpecSym(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; +} +extern "C" { + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_matchE(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +pub const nchar_type_Bytes: nchar_type = 0; +pub const nchar_type_Chars: nchar_type = 1; +pub const nchar_type_Width: nchar_type = 2; +pub type nchar_type = u32; +extern "C" { + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_pmatch(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} +extern "C" { + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_PrintValue(arg1: SEXP); +} +extern "C" { + pub fn Rf_printwhere(); +} +extern "C" { + pub fn Rf_readS3VarsFromFrame( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut SEXP, + arg5: *mut SEXP, + arg6: *mut SEXP, + arg7: *mut SEXP, + ); +} +extern "C" { + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_setSVector(arg1: *mut SEXP, arg2: ::std::os::raw::c_int, arg3: SEXP); +} +extern "C" { + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_stringSuffix(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; +} +extern "C" { + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateChar0(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect_ptr(arg1: SEXP); +} +extern "C" { + pub fn R_signal_protect_error(); +} +extern "C" { + pub fn R_signal_unprotect_error(); +} +extern "C" { + pub fn R_signal_reprotect_error(i: PROTECT_INDEX); +} +extern "C" { + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetCurrentEnv() -> SEXP; +} +extern "C" { + pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isS4(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_cycle_detected(s: SEXP, child: SEXP) -> Rboolean; +} +pub const cetype_t_CE_NATIVE: cetype_t = 0; +pub const cetype_t_CE_UTF8: cetype_t = 1; +pub const cetype_t_CE_LATIN1: cetype_t = 2; +pub const cetype_t_CE_BYTES: cetype_t = 3; +pub const cetype_t_CE_SYMBOL: cetype_t = 5; +pub const cetype_t_CE_ANY: cetype_t = 99; +pub type cetype_t = u32; +extern "C" { + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; +} +extern "C" { + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; +} +extern "C" { + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClearExternalPtr(s: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); +} +extern "C" { + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; +} +pub type R_CFinalizer_t = ::std::option::Option; +extern "C" { + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); +} +extern "C" { + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); +} +extern "C" { + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); +} +extern "C" { + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); +} +extern "C" { + pub fn R_RunPendingFinalizers(); +} +extern "C" { + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_WeakRefKey(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_WeakRefValue(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_RunWeakRefFinalizer(w: SEXP); +} +extern "C" { + pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; +} +extern "C" { + pub fn R_initialize_bcode(); +} +extern "C" { + pub fn R_bcEncode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_bcDecode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_registerBC(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn R_checkConstants(arg1: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_BCVersionOK(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_init_altrep(); +} +extern "C" { + pub fn R_reinit_altrep_classes(arg1: *mut DllInfo); +} +extern "C" { + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; +} +extern "C" { + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_MakeUnwindCont() -> SEXP; +} +extern "C" { + pub fn R_ContinueUnwind(cont: SEXP); +} +extern "C" { + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_RestoreHashCount(rho: SEXP); +} +extern "C" { + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindNamespace(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); +} +extern "C" { + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_LockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_unLockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); +} +extern "C" { + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; +} +extern "C" { + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; +} +extern "C" { + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +pub const R_pstream_format_t_R_pstream_any_format: R_pstream_format_t = 0; +pub const R_pstream_format_t_R_pstream_ascii_format: R_pstream_format_t = 1; +pub const R_pstream_format_t_R_pstream_binary_format: R_pstream_format_t = 2; +pub const R_pstream_format_t_R_pstream_xdr_format: R_pstream_format_t = 3; +pub const R_pstream_format_t_R_pstream_asciihex_format: R_pstream_format_t = 4; +pub type R_pstream_format_t = u32; +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +#[test] +fn bindgen_test_layout_R_outpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 48usize, + concat!("Size of: ", stringify!(R_outpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_outpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).version as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(version) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookData) + ) + ); +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout_R_inpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(R_inpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_inpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookData) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).native_encoding as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(native_encoding) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2nat_obj as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2nat_obj) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2utf8_obj as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2utf8_obj) + ) + ); +} +extern "C" { + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); +} +extern "C" { + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef_R(what: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_methods_attached() -> Rboolean; +} +extern "C" { + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_do_new_object(class_def: SEXP) -> SEXP; +} +extern "C" { + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_PreserveObject(arg1: SEXP); +} +extern "C" { + pub fn R_ReleaseObject(arg1: SEXP); +} +extern "C" { + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_dot_Last(); +} +extern "C" { + pub fn R_RunExitFinalizers(); +} +extern "C" { + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; +} +extern "C" { + pub fn R_body_no_src(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_lang1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_length(arg1: SEXP) -> R_len_t; +} +extern "C" { + pub fn Rf_list1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn Rf_protect(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); +} +extern "C" { + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); +} +extern "C" { + pub fn R_FixupRHS(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SCALAR_DVAL(x: SEXP) -> f64; +} +extern "C" { + pub fn SCALAR_LVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SCALAR_IVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_SCALAR_DVAL(x: SEXP, v: f64); +} +extern "C" { + pub fn SET_SCALAR_LVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_IVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_CVAL(x: SEXP, v: Rcomplex); +} +extern "C" { + pub fn SET_SCALAR_BVAL(x: SEXP, v: Rbyte); +} +extern "C" { + pub fn R_altrep_data1(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_altrep_data2(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); +} +extern "C" { + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); +} +extern "C" { + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL0(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn RAW0(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn R_BadValueInRCode( + value: SEXP, + call: SEXP, + rho: SEXP, + rawmsg: *const ::std::os::raw::c_char, + errmsg: *const ::std::os::raw::c_char, + warnmsg: *const ::std::os::raw::c_char, + varname: *const ::std::os::raw::c_char, + warnByDefault: Rboolean, + ); +} +extern "C" { + pub static mut R_Interactive: Rboolean; +} +extern "C" { + pub static mut R_NoEcho: Rboolean; +} +extern "C" { + pub fn R_RestoreGlobalEnv(); +} +extern "C" { + pub fn R_RestoreGlobalEnvFromFile(arg1: *const ::std::os::raw::c_char, arg2: Rboolean); +} +extern "C" { + pub fn R_SaveGlobalEnv(); +} +extern "C" { + pub fn R_SaveGlobalEnvToFile(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn R_FlushConsole(); +} +extern "C" { + pub fn R_ClearerrConsole(); +} +extern "C" { + pub fn R_Suicide(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn R_HomeDir() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub static mut R_DirtyImage: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_GUIType: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_setupHistory(); +} +extern "C" { + pub static mut R_HistoryFile: *mut ::std::os::raw::c_char; +} +extern "C" { + pub static mut R_HistorySize: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_RestoreHistory: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_Home: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_jump_to_toplevel(); +} +extern "C" { + pub fn Rf_mainloop(); +} +extern "C" { + pub fn Rf_onintr(); +} +extern "C" { + pub fn Rf_onintrNoResume(); +} +extern "C" { + pub static mut R_GlobalContext: *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn process_site_Renviron(); +} +extern "C" { + pub fn process_system_Renviron(); +} +extern "C" { + pub fn process_user_Renviron(); +} +extern "C" { + pub static mut R_Consolefile: *mut FILE; +} +extern "C" { + pub static mut R_Outputfile: *mut FILE; +} +extern "C" { + pub fn R_setStartTime(); +} +extern "C" { + pub fn fpu_setup(arg1: Rboolean); +} +extern "C" { + pub static mut R_running_as_main_program: ::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 static mut R_CStackLimit: usize; +} +extern "C" { + pub static mut R_CStackStart: usize; +} +pub const SA_TYPE_SA_NORESTORE: SA_TYPE = 0; +pub const SA_TYPE_SA_RESTORE: SA_TYPE = 1; +pub const SA_TYPE_SA_DEFAULT: SA_TYPE = 2; +pub const SA_TYPE_SA_NOSAVE: SA_TYPE = 3; +pub const SA_TYPE_SA_SAVE: SA_TYPE = 4; +pub const SA_TYPE_SA_SAVEASK: SA_TYPE = 5; +pub const SA_TYPE_SA_SUICIDE: SA_TYPE = 6; +pub type SA_TYPE = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: size_t, + pub nsize: size_t, + pub max_vsize: size_t, + pub max_nsize: size_t, + pub ppsize: size_t, + pub NoRenviron: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_structRstart() { + assert_eq!( + ::std::mem::size_of::(), + 88usize, + concat!("Size of: ", stringify!(structRstart)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(structRstart)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Quiet as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Quiet) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_NoEcho as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_NoEcho) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Interactive as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Interactive) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Verbose as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Verbose) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).LoadSiteFile as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(LoadSiteFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).LoadInitFile as *const _ as usize }, + 20usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(LoadInitFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).DebugInitFile as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(DebugInitFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).RestoreAction as *const _ as usize }, + 28usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(RestoreAction) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).SaveAction as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(SaveAction) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).vsize as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(vsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nsize as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(nsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).max_vsize as *const _ as usize }, + 56usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(max_vsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).max_nsize as *const _ as usize }, + 64usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(max_nsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).ppsize as *const _ as usize }, + 72usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(ppsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).NoRenviron as *const _ as usize }, + 80usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(NoRenviron) + ) + ); +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_DefParams(arg1: Rstart); +} +extern "C" { + pub fn R_SetParams(arg1: Rstart); +} +extern "C" { + pub fn R_SetWin32(arg1: Rstart); +} +extern "C" { + pub fn R_SizeFromEnv(arg1: Rstart); +} +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} +extern "C" { + pub fn R_set_command_line_arguments( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn setup_Rmainloop(); +} +extern "C" { + pub static mut ptr_R_Suicide: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ShowMessage: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >; +} +extern "C" { + pub static mut ptr_R_WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >; +} +extern "C" { + pub static mut ptr_R_ResetConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_FlushConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ClearerrConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_Busy: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >; +} +extern "C" { + pub static mut ptr_R_ShowFiles: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut *const ::std::os::raw::c_char, + arg3: *mut *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + arg5: Rboolean, + arg6: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_ChooseFile: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_EditFile: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_loadhistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_savehistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_addhistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_EditFiles: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut *const ::std::os::raw::c_char, + arg3: *mut *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_do_selectlist: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_do_dataentry: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_do_dataviewer: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_R_ProcessEvents: ::std::option::Option; +} +extern "C" { + pub static mut R_timeout_handler: + ::std::option::Option ::std::os::raw::c_int>; +} +extern "C" { + pub static mut R_timeout_val: ::std::os::raw::c_long; +} +extern "C" { + pub static mut R_SignalHandlers: ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_initEmbeddedR( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_ReplDLLinit(); +} +extern "C" { + pub fn R_ReplDLLdo1() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn CleanEd(); +} +extern "C" { + pub fn Rf_KillAllDevices(); +} +extern "C" { + pub fn R_CleanTempDir(); +} +extern "C" { + pub static mut R_TempDir: *mut ::std::os::raw::c_char; +} +pub const ParseStatus_PARSE_NULL: ParseStatus = 0; +pub const ParseStatus_PARSE_OK: ParseStatus = 1; +pub const ParseStatus_PARSE_INCOMPLETE: ParseStatus = 2; +pub const ParseStatus_PARSE_ERROR: ParseStatus = 3; +pub const ParseStatus_PARSE_EOF: ParseStatus = 4; +pub type ParseStatus = u32; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout___va_list_tag() { + assert_eq!( + ::std::mem::size_of::<__va_list_tag>(), + 24usize, + concat!("Size of: ", stringify!(__va_list_tag)) + ); + assert_eq!( + ::std::mem::align_of::<__va_list_tag>(), + 8usize, + concat!("Alignment of ", stringify!(__va_list_tag)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(gp_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(fp_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(overflow_arg_area) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(reg_save_area) + ) + ); +} diff --git a/bindings/bindings-macos-x86_64-R3.6.rs b/bindings/bindings-macos-x86_64-R3.6.rs new file mode 100644 index 00000000..b7683735 --- /dev/null +++ b/bindings/bindings-macos-x86_64-R3.6.rs @@ -0,0 +1,5756 @@ +/* automatically generated by rust-bindgen */ + +pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 0; +pub const __DARWIN_ONLY_VERS_1050: u32 = 0; +pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const __DARWIN_UNIX03: u32 = 1; +pub const __DARWIN_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_VERS_1050: u32 = 1; +pub const __DARWIN_NON_CANCELABLE: u32 = 0; +pub const __DARWIN_SUF_64_BIT_INO_T: &'static [u8; 9usize] = b"$INODE64\0"; +pub const __DARWIN_SUF_1050: &'static [u8; 6usize] = b"$1050\0"; +pub const __DARWIN_SUF_EXTSN: &'static [u8; 14usize] = b"$DARWIN_EXTSN\0"; +pub const __DARWIN_C_ANSI: u32 = 4096; +pub const __DARWIN_C_FULL: u32 = 900000; +pub const __DARWIN_C_LEVEL: u32 = 900000; +pub const __STDC_WANT_LIB_EXT1__: u32 = 1; +pub const __DARWIN_NO_LONG_LONG: u32 = 0; +pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; +pub const __API_TO_BE_DEPRECATED: u32 = 100000; +pub const __MAC_10_0: u32 = 1000; +pub const __MAC_10_1: u32 = 1010; +pub const __MAC_10_2: u32 = 1020; +pub const __MAC_10_3: u32 = 1030; +pub const __MAC_10_4: u32 = 1040; +pub const __MAC_10_5: u32 = 1050; +pub const __MAC_10_6: u32 = 1060; +pub const __MAC_10_7: u32 = 1070; +pub const __MAC_10_8: u32 = 1080; +pub const __MAC_10_9: u32 = 1090; +pub const __MAC_10_10: u32 = 101000; +pub const __MAC_10_10_2: u32 = 101002; +pub const __MAC_10_10_3: u32 = 101003; +pub const __MAC_10_11: u32 = 101100; +pub const __MAC_10_11_2: u32 = 101102; +pub const __MAC_10_11_3: u32 = 101103; +pub const __MAC_10_11_4: u32 = 101104; +pub const __MAC_10_12: u32 = 101200; +pub const __MAC_10_12_1: u32 = 101201; +pub const __MAC_10_12_2: u32 = 101202; +pub const __MAC_10_12_4: u32 = 101204; +pub const __MAC_10_13: u32 = 101300; +pub const __MAC_10_13_1: u32 = 101301; +pub const __MAC_10_13_2: u32 = 101302; +pub const __MAC_10_13_4: u32 = 101304; +pub const __MAC_10_14: u32 = 101400; +pub const __MAC_10_14_1: u32 = 101401; +pub const __MAC_10_14_4: u32 = 101404; +pub const __MAC_10_15: u32 = 101500; +pub const __MAC_10_15_1: u32 = 101501; +pub const __MAC_10_15_4: u32 = 101504; +pub const __IPHONE_2_0: u32 = 20000; +pub const __IPHONE_2_1: u32 = 20100; +pub const __IPHONE_2_2: u32 = 20200; +pub const __IPHONE_3_0: u32 = 30000; +pub const __IPHONE_3_1: u32 = 30100; +pub const __IPHONE_3_2: u32 = 30200; +pub const __IPHONE_4_0: u32 = 40000; +pub const __IPHONE_4_1: u32 = 40100; +pub const __IPHONE_4_2: u32 = 40200; +pub const __IPHONE_4_3: u32 = 40300; +pub const __IPHONE_5_0: u32 = 50000; +pub const __IPHONE_5_1: u32 = 50100; +pub const __IPHONE_6_0: u32 = 60000; +pub const __IPHONE_6_1: u32 = 60100; +pub const __IPHONE_7_0: u32 = 70000; +pub const __IPHONE_7_1: u32 = 70100; +pub const __IPHONE_8_0: u32 = 80000; +pub const __IPHONE_8_1: u32 = 80100; +pub const __IPHONE_8_2: u32 = 80200; +pub const __IPHONE_8_3: u32 = 80300; +pub const __IPHONE_8_4: u32 = 80400; +pub const __IPHONE_9_0: u32 = 90000; +pub const __IPHONE_9_1: u32 = 90100; +pub const __IPHONE_9_2: u32 = 90200; +pub const __IPHONE_9_3: u32 = 90300; +pub const __IPHONE_10_0: u32 = 100000; +pub const __IPHONE_10_1: u32 = 100100; +pub const __IPHONE_10_2: u32 = 100200; +pub const __IPHONE_10_3: u32 = 100300; +pub const __IPHONE_11_0: u32 = 110000; +pub const __IPHONE_11_1: u32 = 110100; +pub const __IPHONE_11_2: u32 = 110200; +pub const __IPHONE_11_3: u32 = 110300; +pub const __IPHONE_11_4: u32 = 110400; +pub const __IPHONE_12_0: u32 = 120000; +pub const __IPHONE_12_1: u32 = 120100; +pub const __IPHONE_12_2: u32 = 120200; +pub const __IPHONE_12_3: u32 = 120300; +pub const __IPHONE_13_0: u32 = 130000; +pub const __IPHONE_13_1: u32 = 130100; +pub const __IPHONE_13_2: u32 = 130200; +pub const __IPHONE_13_3: u32 = 130300; +pub const __IPHONE_13_4: u32 = 130400; +pub const __IPHONE_13_5: u32 = 130500; +pub const __IPHONE_13_6: u32 = 130600; +pub const __TVOS_9_0: u32 = 90000; +pub const __TVOS_9_1: u32 = 90100; +pub const __TVOS_9_2: u32 = 90200; +pub const __TVOS_10_0: u32 = 100000; +pub const __TVOS_10_0_1: u32 = 100001; +pub const __TVOS_10_1: u32 = 100100; +pub const __TVOS_10_2: u32 = 100200; +pub const __TVOS_11_0: u32 = 110000; +pub const __TVOS_11_1: u32 = 110100; +pub const __TVOS_11_2: u32 = 110200; +pub const __TVOS_11_3: u32 = 110300; +pub const __TVOS_11_4: u32 = 110400; +pub const __TVOS_12_0: u32 = 120000; +pub const __TVOS_12_1: u32 = 120100; +pub const __TVOS_12_2: u32 = 120200; +pub const __TVOS_12_3: u32 = 120300; +pub const __TVOS_13_0: u32 = 130000; +pub const __TVOS_13_2: u32 = 130200; +pub const __TVOS_13_3: u32 = 130300; +pub const __TVOS_13_4: u32 = 130400; +pub const __WATCHOS_1_0: u32 = 10000; +pub const __WATCHOS_2_0: u32 = 20000; +pub const __WATCHOS_2_1: u32 = 20100; +pub const __WATCHOS_2_2: u32 = 20200; +pub const __WATCHOS_3_0: u32 = 30000; +pub const __WATCHOS_3_1: u32 = 30100; +pub const __WATCHOS_3_1_1: u32 = 30101; +pub const __WATCHOS_3_2: u32 = 30200; +pub const __WATCHOS_4_0: u32 = 40000; +pub const __WATCHOS_4_1: u32 = 40100; +pub const __WATCHOS_4_2: u32 = 40200; +pub const __WATCHOS_4_3: u32 = 40300; +pub const __WATCHOS_5_0: u32 = 50000; +pub const __WATCHOS_5_1: u32 = 50100; +pub const __WATCHOS_5_2: u32 = 50200; +pub const __WATCHOS_6_0: u32 = 60000; +pub const __WATCHOS_6_1: u32 = 60100; +pub const __WATCHOS_6_2: u32 = 60200; +pub const __DRIVERKIT_19_0: u32 = 190000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 101500; +pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; +pub const __PTHREAD_SIZE__: u32 = 8176; +pub const __PTHREAD_ATTR_SIZE__: u32 = 56; +pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; +pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; +pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; +pub const __PTHREAD_COND_SIZE__: u32 = 40; +pub const __PTHREAD_ONCE_SIZE__: u32 = 8; +pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; +pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; +pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; +pub const _FORTIFY_SOURCE: u32 = 2; +pub const RENAME_SECLUDE: u32 = 1; +pub const RENAME_SWAP: u32 = 2; +pub const RENAME_EXCL: u32 = 4; +pub const __SLBF: u32 = 1; +pub const __SNBF: u32 = 2; +pub const __SRD: u32 = 4; +pub const __SWR: u32 = 8; +pub const __SRW: u32 = 16; +pub const __SEOF: u32 = 32; +pub const __SERR: u32 = 64; +pub const __SMBF: u32 = 128; +pub const __SAPP: u32 = 256; +pub const __SSTR: u32 = 512; +pub const __SOPT: u32 = 1024; +pub const __SNPT: u32 = 2048; +pub const __SOFF: u32 = 4096; +pub const __SMOD: u32 = 8192; +pub const __SALC: u32 = 16384; +pub const __SIGN: u32 = 32768; +pub const _IOFBF: u32 = 0; +pub const _IOLBF: u32 = 1; +pub const _IONBF: u32 = 2; +pub const BUFSIZ: u32 = 1024; +pub const EOF: i32 = -1; +pub const FOPEN_MAX: u32 = 20; +pub const FILENAME_MAX: u32 = 1024; +pub const P_tmpdir: &'static [u8; 10usize] = b"/var/tmp/\0"; +pub const L_tmpnam: u32 = 1024; +pub const TMP_MAX: u32 = 308915776; +pub const SEEK_SET: u32 = 0; +pub const SEEK_CUR: u32 = 1; +pub const SEEK_END: u32 = 2; +pub const L_ctermid: u32 = 1024; +pub const _USE_FORTIFY_LEVEL: u32 = 2; +pub const __DARWIN_CLK_TCK: u32 = 100; +pub const CHAR_BIT: u32 = 8; +pub const MB_LEN_MAX: u32 = 6; +pub const CLK_TCK: u32 = 100; +pub const SCHAR_MAX: u32 = 127; +pub const SCHAR_MIN: i32 = -128; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MAX: u32 = 127; +pub const CHAR_MIN: i32 = -128; +pub const USHRT_MAX: u32 = 65535; +pub const SHRT_MAX: u32 = 32767; +pub const SHRT_MIN: i32 = -32768; +pub const UINT_MAX: u32 = 4294967295; +pub const INT_MAX: u32 = 2147483647; +pub const INT_MIN: i32 = -2147483648; +pub const ULONG_MAX: i32 = -1; +pub const LONG_MAX: u64 = 9223372036854775807; +pub const LONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const LONG_BIT: u32 = 64; +pub const SSIZE_MAX: u64 = 9223372036854775807; +pub const WORD_BIT: u32 = 32; +pub const SIZE_T_MAX: i32 = -1; +pub const UQUAD_MAX: i32 = -1; +pub const QUAD_MAX: u64 = 9223372036854775807; +pub const QUAD_MIN: i64 = -9223372036854775808; +pub const ARG_MAX: u32 = 262144; +pub const CHILD_MAX: u32 = 266; +pub const GID_MAX: u32 = 2147483647; +pub const LINK_MAX: u32 = 32767; +pub const MAX_CANON: u32 = 1024; +pub const MAX_INPUT: u32 = 1024; +pub const NAME_MAX: u32 = 255; +pub const NGROUPS_MAX: u32 = 16; +pub const UID_MAX: u32 = 2147483647; +pub const OPEN_MAX: u32 = 10240; +pub const PATH_MAX: u32 = 1024; +pub const PIPE_BUF: u32 = 512; +pub const BC_BASE_MAX: u32 = 99; +pub const BC_DIM_MAX: u32 = 2048; +pub const BC_SCALE_MAX: u32 = 99; +pub const BC_STRING_MAX: u32 = 1000; +pub const CHARCLASS_NAME_MAX: u32 = 14; +pub const COLL_WEIGHTS_MAX: u32 = 2; +pub const EQUIV_CLASS_MAX: u32 = 2; +pub const EXPR_NEST_MAX: u32 = 32; +pub const LINE_MAX: u32 = 2048; +pub const RE_DUP_MAX: u32 = 255; +pub const NZERO: u32 = 20; +pub const _POSIX_ARG_MAX: u32 = 4096; +pub const _POSIX_CHILD_MAX: u32 = 25; +pub const _POSIX_LINK_MAX: u32 = 8; +pub const _POSIX_MAX_CANON: u32 = 255; +pub const _POSIX_MAX_INPUT: u32 = 255; +pub const _POSIX_NAME_MAX: u32 = 14; +pub const _POSIX_NGROUPS_MAX: u32 = 8; +pub const _POSIX_OPEN_MAX: u32 = 20; +pub const _POSIX_PATH_MAX: u32 = 256; +pub const _POSIX_PIPE_BUF: u32 = 512; +pub const _POSIX_SSIZE_MAX: u32 = 32767; +pub const _POSIX_STREAM_MAX: u32 = 8; +pub const _POSIX_TZNAME_MAX: u32 = 6; +pub const _POSIX2_BC_BASE_MAX: u32 = 99; +pub const _POSIX2_BC_DIM_MAX: u32 = 2048; +pub const _POSIX2_BC_SCALE_MAX: u32 = 99; +pub const _POSIX2_BC_STRING_MAX: u32 = 1000; +pub const _POSIX2_EQUIV_CLASS_MAX: u32 = 2; +pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; +pub const _POSIX2_LINE_MAX: u32 = 2048; +pub const _POSIX2_RE_DUP_MAX: u32 = 255; +pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; +pub const _POSIX_AIO_MAX: u32 = 1; +pub const _POSIX_DELAYTIMER_MAX: u32 = 32; +pub const _POSIX_MQ_OPEN_MAX: u32 = 8; +pub const _POSIX_MQ_PRIO_MAX: u32 = 32; +pub const _POSIX_RTSIG_MAX: u32 = 8; +pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; +pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; +pub const _POSIX_SIGQUEUE_MAX: u32 = 32; +pub const _POSIX_TIMER_MAX: u32 = 32; +pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; +pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; +pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const PTHREAD_KEYS_MAX: u32 = 512; +pub const PTHREAD_STACK_MIN: u32 = 8192; +pub const _POSIX_HOST_NAME_MAX: u32 = 255; +pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; +pub const _POSIX_SS_REPL_MAX: u32 = 4; +pub const _POSIX_SYMLINK_MAX: u32 = 255; +pub const _POSIX_SYMLOOP_MAX: u32 = 8; +pub const _POSIX_TRACE_EVENT_NAME_MAX: u32 = 30; +pub const _POSIX_TRACE_NAME_MAX: u32 = 8; +pub const _POSIX_TRACE_SYS_MAX: u32 = 8; +pub const _POSIX_TRACE_USER_EVENT_MAX: u32 = 32; +pub const _POSIX_TTY_NAME_MAX: u32 = 9; +pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; +pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX_RE_DUP_MAX: u32 = 255; +pub const OFF_MIN: i64 = -9223372036854775808; +pub const OFF_MAX: u64 = 9223372036854775807; +pub const PASS_MAX: u32 = 128; +pub const NL_ARGMAX: u32 = 9; +pub const NL_LANGMAX: u32 = 14; +pub const NL_MSGMAX: u32 = 32767; +pub const NL_NMAX: u32 = 1; +pub const NL_SETMAX: u32 = 255; +pub const NL_TEXTMAX: u32 = 2048; +pub const _XOPEN_IOV_MAX: u32 = 16; +pub const IOV_MAX: u32 = 1024; +pub const _XOPEN_NAME_MAX: u32 = 255; +pub const _XOPEN_PATH_MAX: u32 = 1024; +pub const FP_SUPERNORMAL: u32 = 6; +pub const FP_ILOGB0: i32 = -2147483648; +pub const FP_ILOGBNAN: i32 = -2147483648; +pub const MATH_ERRNO: u32 = 1; +pub const MATH_ERREXCEPT: 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 FP_SNAN: u32 = 1; +pub const FP_QNAN: u32 = 1; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +pub const __GNUC_VA_LIST: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_INTERNALS_UUID: &'static [u8; 37usize] = b"2fdf6c18-697a-4ba7-b8ef-11c0d92f1327\0"; +pub const NILSXP: u32 = 0; +pub const SYMSXP: u32 = 1; +pub const LISTSXP: u32 = 2; +pub const CLOSXP: u32 = 3; +pub const ENVSXP: u32 = 4; +pub const PROMSXP: u32 = 5; +pub const LANGSXP: u32 = 6; +pub const SPECIALSXP: u32 = 7; +pub const BUILTINSXP: u32 = 8; +pub const CHARSXP: u32 = 9; +pub const LGLSXP: u32 = 10; +pub const INTSXP: u32 = 13; +pub const REALSXP: u32 = 14; +pub const CPLXSXP: u32 = 15; +pub const STRSXP: u32 = 16; +pub const DOTSXP: u32 = 17; +pub const ANYSXP: u32 = 18; +pub const VECSXP: u32 = 19; +pub const EXPRSXP: u32 = 20; +pub const BCODESXP: u32 = 21; +pub const EXTPTRSXP: u32 = 22; +pub const WEAKREFSXP: u32 = 23; +pub const RAWSXP: u32 = 24; +pub const S4SXP: u32 = 25; +pub const NEWSXP: u32 = 30; +pub const FREESXP: u32 = 31; +pub const FUNSXP: u32 = 99; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const __WORDSIZE: u32 = 64; +pub const INT8_MAX: u32 = 127; +pub const INT16_MAX: u32 = 32767; +pub const INT32_MAX: u32 = 2147483647; +pub const INT64_MAX: u64 = 9223372036854775807; +pub const INT8_MIN: i32 = -128; +pub const INT16_MIN: i32 = -32768; +pub const INT32_MIN: i32 = -2147483648; +pub const INT64_MIN: i64 = -9223372036854775808; +pub const UINT8_MAX: u32 = 255; +pub const UINT16_MAX: u32 = 65535; +pub const UINT32_MAX: u32 = 4294967295; +pub const UINT64_MAX: i32 = -1; +pub const INT_LEAST8_MIN: i32 = -128; +pub const INT_LEAST16_MIN: i32 = -32768; +pub const INT_LEAST32_MIN: i32 = -2147483648; +pub const INT_LEAST64_MIN: i64 = -9223372036854775808; +pub const INT_LEAST8_MAX: u32 = 127; +pub const INT_LEAST16_MAX: u32 = 32767; +pub const INT_LEAST32_MAX: u32 = 2147483647; +pub const INT_LEAST64_MAX: u64 = 9223372036854775807; +pub const UINT_LEAST8_MAX: u32 = 255; +pub const UINT_LEAST16_MAX: u32 = 65535; +pub const UINT_LEAST32_MAX: u32 = 4294967295; +pub const UINT_LEAST64_MAX: i32 = -1; +pub const INT_FAST8_MIN: i32 = -128; +pub const INT_FAST16_MIN: i32 = -32768; +pub const INT_FAST32_MIN: i32 = -2147483648; +pub const INT_FAST64_MIN: i64 = -9223372036854775808; +pub const INT_FAST8_MAX: u32 = 127; +pub const INT_FAST16_MAX: u32 = 32767; +pub const INT_FAST32_MAX: u32 = 2147483647; +pub const INT_FAST64_MAX: u64 = 9223372036854775807; +pub const UINT_FAST8_MAX: u32 = 255; +pub const UINT_FAST16_MAX: u32 = 65535; +pub const UINT_FAST32_MAX: u32 = 4294967295; +pub const UINT_FAST64_MAX: i32 = -1; +pub const INTPTR_MAX: u64 = 9223372036854775807; +pub const INTPTR_MIN: i64 = -9223372036854775808; +pub const UINTPTR_MAX: i32 = -1; +pub const SIZE_MAX: i32 = -1; +pub const RSIZE_MAX: i32 = -1; +pub const WINT_MIN: i32 = -2147483648; +pub const WINT_MAX: u32 = 2147483647; +pub const SIG_ATOMIC_MIN: i32 = -2147483648; +pub const SIG_ATOMIC_MAX: u32 = 2147483647; +pub const R_VERSION: u32 = 198147; +pub const R_NICK: &'static [u8; 21usize] = b"Holding the Windsock\0"; +pub const R_MAJOR: &'static [u8; 2usize] = b"3\0"; +pub const R_MINOR: &'static [u8; 4usize] = b"6.3\0"; +pub const R_STATUS: &'static [u8; 1usize] = b"\0"; +pub const R_YEAR: &'static [u8; 5usize] = b"2020\0"; +pub const R_MONTH: &'static [u8; 3usize] = b"02\0"; +pub const R_DAY: &'static [u8; 3usize] = b"29\0"; +pub const R_SVN_REVISION: u32 = 77875; +pub type size_t = ::std::os::raw::c_ulong; +pub type wchar_t = ::std::os::raw::c_int; +pub type max_align_t = u128; +#[doc = "
"] +pub type R_xlen_t = isize; +pub type __int8_t = ::std::os::raw::c_schar; +pub type __uint8_t = ::std::os::raw::c_uchar; +pub type __int16_t = ::std::os::raw::c_short; +pub type __uint16_t = ::std::os::raw::c_ushort; +pub type __int32_t = ::std::os::raw::c_int; +pub type __uint32_t = ::std::os::raw::c_uint; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __uint64_t = ::std::os::raw::c_ulonglong; +pub type __darwin_intptr_t = ::std::os::raw::c_long; +pub type __darwin_natural_t = ::std::os::raw::c_uint; +pub type __darwin_ct_rune_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mbstate_t { + pub __mbstate8: [::std::os::raw::c_char; 128usize], + pub _mbstateL: ::std::os::raw::c_longlong, + _bindgen_union_align: [u64; 16usize], +} +#[test] +fn bindgen_test_layout___mbstate_t() { + assert_eq!( + ::std::mem::size_of::<__mbstate_t>(), + 128usize, + concat!("Size of: ", stringify!(__mbstate_t)) + ); + assert_eq!( + ::std::mem::align_of::<__mbstate_t>(), + 8usize, + concat!("Alignment of ", stringify!(__mbstate_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__mbstate8 as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t), + "::", + stringify!(__mbstate8) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mbstate_t>()))._mbstateL as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t), + "::", + stringify!(_mbstateL) + ) + ); +} +pub type __darwin_mbstate_t = __mbstate_t; +pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; +pub type __darwin_size_t = ::std::os::raw::c_ulong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_wchar_t = ::std::os::raw::c_int; +pub type __darwin_rune_t = __darwin_wchar_t; +pub type __darwin_wint_t = ::std::os::raw::c_int; +pub type __darwin_clock_t = ::std::os::raw::c_ulong; +pub type __darwin_socklen_t = __uint32_t; +pub type __darwin_ssize_t = ::std::os::raw::c_long; +pub type __darwin_time_t = ::std::os::raw::c_long; +pub type __darwin_blkcnt_t = __int64_t; +pub type __darwin_blksize_t = __int32_t; +pub type __darwin_dev_t = __int32_t; +pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; +pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; +pub type __darwin_gid_t = __uint32_t; +pub type __darwin_id_t = __uint32_t; +pub type __darwin_ino64_t = __uint64_t; +pub type __darwin_ino_t = __darwin_ino64_t; +pub type __darwin_mach_port_name_t = __darwin_natural_t; +pub type __darwin_mach_port_t = __darwin_mach_port_name_t; +pub type __darwin_mode_t = __uint16_t; +pub type __darwin_off_t = __int64_t; +pub type __darwin_pid_t = __int32_t; +pub type __darwin_sigset_t = __uint32_t; +pub type __darwin_suseconds_t = __int32_t; +pub type __darwin_uid_t = __uint32_t; +pub type __darwin_useconds_t = __uint32_t; +pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; +pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __darwin_pthread_handler_rec { + pub __routine: ::std::option::Option, + pub __arg: *mut ::std::os::raw::c_void, + pub __next: *mut __darwin_pthread_handler_rec, +} +#[test] +fn bindgen_test_layout___darwin_pthread_handler_rec() { + assert_eq!( + ::std::mem::size_of::<__darwin_pthread_handler_rec>(), + 24usize, + concat!("Size of: ", stringify!(__darwin_pthread_handler_rec)) + ); + assert_eq!( + ::std::mem::align_of::<__darwin_pthread_handler_rec>(), + 8usize, + concat!("Alignment of ", stringify!(__darwin_pthread_handler_rec)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__routine as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__darwin_pthread_handler_rec), + "::", + stringify!(__routine) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__arg as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__darwin_pthread_handler_rec), + "::", + stringify!(__arg) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__next as *const _ as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(__darwin_pthread_handler_rec), + "::", + stringify!(__next) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_attr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_attr_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_attr_t>(), + 64usize, + concat!("Size of: ", stringify!(_opaque_pthread_attr_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_attr_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_attr_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_attr_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__opaque as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_attr_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_cond_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 40usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_cond_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_cond_t>(), + 48usize, + concat!("Size of: ", stringify!(_opaque_pthread_cond_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_cond_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_cond_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_cond_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__opaque as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_cond_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_condattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_condattr_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_condattr_t>(), + 16usize, + concat!("Size of: ", stringify!(_opaque_pthread_condattr_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_condattr_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_condattr_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__sig as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_condattr_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_condattr_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_mutex_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_mutex_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_mutex_t>(), + 64usize, + concat!("Size of: ", stringify!(_opaque_pthread_mutex_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_mutex_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_mutex_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_mutex_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_mutex_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_mutexattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_mutexattr_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_mutexattr_t>(), + 16usize, + concat!("Size of: ", stringify!(_opaque_pthread_mutexattr_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_mutexattr_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_mutexattr_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__sig as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_mutexattr_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_mutexattr_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_once_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_once_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_once_t>(), + 16usize, + concat!("Size of: ", stringify!(_opaque_pthread_once_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_once_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_once_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_once_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__opaque as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_once_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_rwlock_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 192usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_rwlock_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_rwlock_t>(), + 200usize, + concat!("Size of: ", stringify!(_opaque_pthread_rwlock_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_rwlock_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_rwlock_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_rwlock_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_rwlock_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_rwlockattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 16usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_rwlockattr_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_rwlockattr_t>(), + 24usize, + concat!("Size of: ", stringify!(_opaque_pthread_rwlockattr_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_rwlockattr_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_rwlockattr_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__sig as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_rwlockattr_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_rwlockattr_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_t { + pub __sig: ::std::os::raw::c_long, + pub __cleanup_stack: *mut __darwin_pthread_handler_rec, + pub __opaque: [::std::os::raw::c_char; 8176usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_t>(), + 8192usize, + concat!("Size of: ", stringify!(_opaque_pthread_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_t>())).__cleanup_stack as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_t), + "::", + stringify!(__cleanup_stack) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__opaque as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_t), + "::", + stringify!(__opaque) + ) + ); +} +pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; +pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; +pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; +pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; +pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; +pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; +pub type __darwin_pthread_once_t = _opaque_pthread_once_t; +pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; +pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; +pub type __darwin_pthread_t = *mut _opaque_pthread_t; +pub type __darwin_nl_item = ::std::os::raw::c_int; +pub type __darwin_wctrans_t = ::std::os::raw::c_int; +pub type __darwin_wctype_t = __uint32_t; +pub type u_int8_t = ::std::os::raw::c_uchar; +pub type u_int16_t = ::std::os::raw::c_ushort; +pub type u_int32_t = ::std::os::raw::c_uint; +pub type u_int64_t = ::std::os::raw::c_ulonglong; +pub type register_t = i64; +pub type user_addr_t = u_int64_t; +pub type user_size_t = u_int64_t; +pub type user_ssize_t = i64; +pub type user_long_t = i64; +pub type user_ulong_t = u_int64_t; +pub type user_time_t = i64; +pub type user_off_t = i64; +pub type syscall_arg_t = u_int64_t; +pub type va_list = __darwin_va_list; +extern "C" { + pub fn renameat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn renamex_np( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn renameatx_np( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + arg5: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout___sbuf() { + assert_eq!( + ::std::mem::size_of::<__sbuf>(), + 16usize, + concat!("Size of: ", stringify!(__sbuf)) + ); + assert_eq!( + ::std::mem::align_of::<__sbuf>(), + 8usize, + concat!("Alignment of ", stringify!(__sbuf)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sbuf>()))._base as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sbuf), + "::", + stringify!(_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sbuf>()))._size as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__sbuf), + "::", + stringify!(_size) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +#[test] +fn bindgen_test_layout___sFILE() { + assert_eq!( + ::std::mem::size_of::<__sFILE>(), + 152usize, + concat!("Size of: ", stringify!(__sFILE)) + ); + assert_eq!( + ::std::mem::align_of::<__sFILE>(), + 8usize, + concat!("Alignment of ", stringify!(__sFILE)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._p as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_p) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._r as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_r) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._w as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_w) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._flags as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_flags) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._file as *const _ as usize }, + 18usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_file) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._bf as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_bf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._lbfsize as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_lbfsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._cookie as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_cookie) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._close as *const _ as usize }, + 56usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_close) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._read as *const _ as usize }, + 64usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_read) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._seek as *const _ as usize }, + 72usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_seek) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._write as *const _ as usize }, + 80usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_write) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._ub as *const _ as usize }, + 88usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_ub) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._extra as *const _ as usize }, + 104usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_extra) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._ur as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_ur) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._ubuf as *const _ as usize }, + 116usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_ubuf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._nbuf as *const _ as usize }, + 119usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_nbuf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._lb as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_lb) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._blksize as *const _ as usize }, + 136usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_blksize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._offset as *const _ as usize }, + 144usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_offset) + ) + ); +} +pub type FILE = __sFILE; +extern "C" { + pub static mut __stdinp: *mut FILE; +} +extern "C" { + pub static mut __stdoutp: *mut FILE; +} +extern "C" { + pub static mut __stderrp: *mut FILE; +} +extern "C" { + pub fn clearerr(arg1: *mut FILE); +} +extern "C" { + pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgets( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: *mut FILE, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fopen( + __filename: *const ::std::os::raw::c_char, + __mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fread( + __ptr: *mut ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, + __stream: *mut FILE, + ) -> ::std::os::raw::c_ulong; +} +extern "C" { + pub fn freopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn fscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseek( + arg1: *mut FILE, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn fwrite( + __ptr: *const ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, + __stream: *mut FILE, + ) -> ::std::os::raw::c_ulong; +} +extern "C" { + pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn perror(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rename( + __old: *const ::std::os::raw::c_char, + __new: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rewind(arg1: *mut FILE); +} +extern "C" { + pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn setvbuf( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sscanf( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tmpfile() -> *mut FILE; +} +extern "C" { + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; +} +extern "C" { + pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn popen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __svfscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn flockfile(arg1: *mut FILE); +} +extern "C" { + pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn funlockfile(arg1: *mut FILE); +} +extern "C" { + pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getchar_unlocked() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tempnam( + __dir: *const ::std::os::raw::c_char, + __prefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +pub type off_t = __darwin_off_t; +extern "C" { + pub fn fseeko( + __stream: *mut FILE, + __offset: off_t, + __whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftello(__stream: *mut FILE) -> off_t; +} +extern "C" { + pub fn snprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfscanf( + __stream: *mut FILE, + __format: *const ::std::os::raw::c_char, + arg1: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vscanf( + __format: *const ::std::os::raw::c_char, + arg1: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsnprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + arg1: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsscanf( + __str: *const ::std::os::raw::c_char, + __format: *const ::std::os::raw::c_char, + arg1: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +pub type ssize_t = __darwin_ssize_t; +extern "C" { + pub fn dprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vdprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getdelim( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut size_t, + __delimiter: ::std::os::raw::c_int, + __stream: *mut FILE, + ) -> ssize_t; +} +extern "C" { + pub fn getline( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut size_t, + __stream: *mut FILE, + ) -> ssize_t; +} +extern "C" { + pub fn fmemopen( + __buf: *mut ::std::os::raw::c_void, + __size: size_t, + __mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn open_memstream( + __bufp: *mut *mut ::std::os::raw::c_char, + __sizep: *mut size_t, + ) -> *mut FILE; +} +extern "C" { + pub static sys_nerr: ::std::os::raw::c_int; +} +extern "C" { + pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; +} +extern "C" { + pub fn asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fgetln(arg1: *mut FILE, arg2: *mut size_t) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fmtcheck( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuffer( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn zopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn funopen( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg3: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg4: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + ) -> *mut FILE; +} +extern "C" { + pub fn __sprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: size_t, + arg4: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __snprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: size_t, + arg3: ::std::os::raw::c_int, + arg4: size_t, + arg5: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __vsprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: size_t, + arg4: *const ::std::os::raw::c_char, + arg5: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __vsnprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: size_t, + arg3: ::std::os::raw::c_int, + arg4: size_t, + arg5: *const ::std::os::raw::c_char, + arg6: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +pub type float_t = f32; +pub type double_t = f64; +extern "C" { + pub fn __math_errhandling() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyd(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn acosf(arg1: f32) -> f32; +} +extern "C" { + pub fn acos(arg1: f64) -> f64; +} +extern "C" { + pub fn acosl(arg1: u128) -> u128; +} +extern "C" { + pub fn asinf(arg1: f32) -> f32; +} +extern "C" { + pub fn asin(arg1: f64) -> f64; +} +extern "C" { + pub fn asinl(arg1: u128) -> u128; +} +extern "C" { + pub fn atanf(arg1: f32) -> f32; +} +extern "C" { + pub fn atan(arg1: f64) -> f64; +} +extern "C" { + pub fn atanl(arg1: u128) -> u128; +} +extern "C" { + pub fn atan2f(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn atan2(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn atan2l(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn cosf(arg1: f32) -> f32; +} +extern "C" { + pub fn cos(arg1: f64) -> f64; +} +extern "C" { + pub fn cosl(arg1: u128) -> u128; +} +extern "C" { + pub fn sinf(arg1: f32) -> f32; +} +extern "C" { + pub fn sin(arg1: f64) -> f64; +} +extern "C" { + pub fn sinl(arg1: u128) -> u128; +} +extern "C" { + pub fn tanf(arg1: f32) -> f32; +} +extern "C" { + pub fn tan(arg1: f64) -> f64; +} +extern "C" { + pub fn tanl(arg1: u128) -> u128; +} +extern "C" { + pub fn acoshf(arg1: f32) -> f32; +} +extern "C" { + pub fn acosh(arg1: f64) -> f64; +} +extern "C" { + pub fn acoshl(arg1: u128) -> u128; +} +extern "C" { + pub fn asinhf(arg1: f32) -> f32; +} +extern "C" { + pub fn asinh(arg1: f64) -> f64; +} +extern "C" { + pub fn asinhl(arg1: u128) -> u128; +} +extern "C" { + pub fn atanhf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanh(arg1: f64) -> f64; +} +extern "C" { + pub fn atanhl(arg1: u128) -> u128; +} +extern "C" { + pub fn coshf(arg1: f32) -> f32; +} +extern "C" { + pub fn cosh(arg1: f64) -> f64; +} +extern "C" { + pub fn coshl(arg1: u128) -> u128; +} +extern "C" { + pub fn sinhf(arg1: f32) -> f32; +} +extern "C" { + pub fn sinh(arg1: f64) -> f64; +} +extern "C" { + pub fn sinhl(arg1: u128) -> u128; +} +extern "C" { + pub fn tanhf(arg1: f32) -> f32; +} +extern "C" { + pub fn tanh(arg1: f64) -> f64; +} +extern "C" { + pub fn tanhl(arg1: u128) -> u128; +} +extern "C" { + pub fn expf(arg1: f32) -> f32; +} +extern "C" { + pub fn exp(arg1: f64) -> f64; +} +extern "C" { + pub fn expl(arg1: u128) -> u128; +} +extern "C" { + pub fn exp2f(arg1: f32) -> f32; +} +extern "C" { + pub fn exp2(arg1: f64) -> f64; +} +extern "C" { + pub fn exp2l(arg1: u128) -> u128; +} +extern "C" { + pub fn expm1f(arg1: f32) -> f32; +} +extern "C" { + pub fn expm1(arg1: f64) -> f64; +} +extern "C" { + pub fn expm1l(arg1: u128) -> u128; +} +extern "C" { + pub fn logf(arg1: f32) -> f32; +} +extern "C" { + pub fn log(arg1: f64) -> f64; +} +extern "C" { + pub fn logl(arg1: u128) -> u128; +} +extern "C" { + pub fn log10f(arg1: f32) -> f32; +} +extern "C" { + pub fn log10(arg1: f64) -> f64; +} +extern "C" { + pub fn log10l(arg1: u128) -> u128; +} +extern "C" { + pub fn log2f(arg1: f32) -> f32; +} +extern "C" { + pub fn log2(arg1: f64) -> f64; +} +extern "C" { + pub fn log2l(arg1: u128) -> u128; +} +extern "C" { + pub fn log1pf(arg1: f32) -> f32; +} +extern "C" { + pub fn log1p(arg1: f64) -> f64; +} +extern "C" { + pub fn log1pl(arg1: u128) -> u128; +} +extern "C" { + pub fn logbf(arg1: f32) -> f32; +} +extern "C" { + pub fn logb(arg1: f64) -> f64; +} +extern "C" { + pub fn logbl(arg1: u128) -> u128; +} +extern "C" { + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; +} +extern "C" { + pub fn modf(arg1: f64, arg2: *mut f64) -> f64; +} +extern "C" { + pub fn modfl(arg1: u128, arg2: *mut u128) -> u128; +} +extern "C" { + pub fn ldexpf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn ldexp(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn ldexpl(arg1: u128, arg2: ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn frexpf(arg1: f32, arg2: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn frexp(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn frexpl(arg1: u128, arg2: *mut ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn scalbnl(arg1: u128, arg2: ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; +} +extern "C" { + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn scalblnl(arg1: u128, arg2: ::std::os::raw::c_long) -> u128; +} +extern "C" { + pub fn fabsf(arg1: f32) -> f32; +} +extern "C" { + pub fn fabs(arg1: f64) -> f64; +} +extern "C" { + pub fn fabsl(arg1: u128) -> u128; +} +extern "C" { + pub fn cbrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn cbrt(arg1: f64) -> f64; +} +extern "C" { + pub fn cbrtl(arg1: u128) -> u128; +} +extern "C" { + pub fn hypotf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn hypot(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn hypotl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn powf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn pow(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn powl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn sqrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn sqrt(arg1: f64) -> f64; +} +extern "C" { + pub fn sqrtl(arg1: u128) -> u128; +} +extern "C" { + pub fn erff(arg1: f32) -> f32; +} +extern "C" { + pub fn erf(arg1: f64) -> f64; +} +extern "C" { + pub fn erfl(arg1: u128) -> u128; +} +extern "C" { + pub fn erfcf(arg1: f32) -> f32; +} +extern "C" { + pub fn erfc(arg1: f64) -> f64; +} +extern "C" { + pub fn erfcl(arg1: u128) -> u128; +} +extern "C" { + pub fn lgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn lgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn lgammal(arg1: u128) -> u128; +} +extern "C" { + pub fn tgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn tgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn tgammal(arg1: u128) -> u128; +} +extern "C" { + pub fn ceilf(arg1: f32) -> f32; +} +extern "C" { + pub fn ceil(arg1: f64) -> f64; +} +extern "C" { + pub fn ceill(arg1: u128) -> u128; +} +extern "C" { + pub fn floorf(arg1: f32) -> f32; +} +extern "C" { + pub fn floor(arg1: f64) -> f64; +} +extern "C" { + pub fn floorl(arg1: u128) -> u128; +} +extern "C" { + pub fn nearbyintf(arg1: f32) -> f32; +} +extern "C" { + pub fn nearbyint(arg1: f64) -> f64; +} +extern "C" { + pub fn nearbyintl(arg1: u128) -> u128; +} +extern "C" { + pub fn rintf(arg1: f32) -> f32; +} +extern "C" { + pub fn rint(arg1: f64) -> f64; +} +extern "C" { + pub fn rintl(arg1: u128) -> u128; +} +extern "C" { + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintl(arg1: u128) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn roundf(arg1: f32) -> f32; +} +extern "C" { + pub fn round(arg1: f64) -> f64; +} +extern "C" { + pub fn roundl(arg1: u128) -> u128; +} +extern "C" { + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundl(arg1: u128) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintl(arg1: u128) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundl(arg1: u128) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn truncf(arg1: f32) -> f32; +} +extern "C" { + pub fn trunc(arg1: f64) -> f64; +} +extern "C" { + pub fn truncl(arg1: u128) -> u128; +} +extern "C" { + pub fn fmodf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmod(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmodl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn remainderf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn remainder(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remainderl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn remquol(arg1: u128, arg2: u128, arg3: *mut ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn copysignf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn copysign(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn copysignl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn nanf(arg1: *const ::std::os::raw::c_char) -> f32; +} +extern "C" { + pub fn nan(arg1: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn nanl(arg1: *const ::std::os::raw::c_char) -> u128; +} +extern "C" { + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nextafterl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn nexttoward(arg1: f64, arg2: u128) -> f64; +} +extern "C" { + pub fn nexttowardf(arg1: f32, arg2: u128) -> f32; +} +extern "C" { + pub fn nexttowardl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fdimf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fdim(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fdiml(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmax(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmaxl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fminf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmin(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fminl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; +} +extern "C" { + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; +} +extern "C" { + pub fn fmal(arg1: u128, arg2: u128, arg3: u128) -> u128; +} +extern "C" { + pub fn __inff() -> f32; +} +extern "C" { + pub fn __inf() -> f64; +} +extern "C" { + pub fn __infl() -> u128; +} +extern "C" { + pub fn __nan() -> f32; +} +extern "C" { + pub fn __exp10f(arg1: f32) -> f32; +} +extern "C" { + pub fn __exp10(arg1: f64) -> f64; +} +extern "C" { + pub fn __cospif(arg1: f32) -> f32; +} +extern "C" { + pub fn __cospi(arg1: f64) -> f64; +} +extern "C" { + pub fn __sinpif(arg1: f32) -> f32; +} +extern "C" { + pub fn __sinpi(arg1: f64) -> f64; +} +extern "C" { + pub fn __tanpif(arg1: f32) -> f32; +} +extern "C" { + pub fn __tanpi(arg1: f64) -> f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __float2 { + pub __sinval: f32, + pub __cosval: f32, +} +#[test] +fn bindgen_test_layout___float2() { + assert_eq!( + ::std::mem::size_of::<__float2>(), + 8usize, + concat!("Size of: ", stringify!(__float2)) + ); + assert_eq!( + ::std::mem::align_of::<__float2>(), + 4usize, + concat!("Alignment of ", stringify!(__float2)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__float2>())).__sinval as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__float2), + "::", + stringify!(__sinval) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__float2>())).__cosval as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__float2), + "::", + stringify!(__cosval) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __double2 { + pub __sinval: f64, + pub __cosval: f64, +} +#[test] +fn bindgen_test_layout___double2() { + assert_eq!( + ::std::mem::size_of::<__double2>(), + 16usize, + concat!("Size of: ", stringify!(__double2)) + ); + assert_eq!( + ::std::mem::align_of::<__double2>(), + 8usize, + concat!("Alignment of ", stringify!(__double2)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__double2>())).__sinval as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__double2), + "::", + stringify!(__sinval) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__double2>())).__cosval as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__double2), + "::", + stringify!(__cosval) + ) + ); +} +extern "C" { + pub fn __sincosf_stret(arg1: f32) -> __float2; +} +extern "C" { + pub fn __sincos_stret(arg1: f64) -> __double2; +} +extern "C" { + pub fn __sincospif_stret(arg1: f32) -> __float2; +} +extern "C" { + pub fn __sincospi_stret(arg1: f64) -> __double2; +} +extern "C" { + pub fn j0(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 y0(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 scalb(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub static mut signgam: ::std::os::raw::c_int; +} +extern "C" { + pub fn rinttol(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn roundtol(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn drem(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn gamma(arg1: f64) -> f64; +} +extern "C" { + pub fn significand(arg1: f64) -> f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct exception { + pub type_: ::std::os::raw::c_int, + pub name: *mut ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, +} +#[test] +fn bindgen_test_layout_exception() { + assert_eq!( + ::std::mem::size_of::(), + 40usize, + concat!("Size of: ", stringify!(exception)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(exception)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).arg1 as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(arg1) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).arg2 as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(arg2) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).retval as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(retval) + ) + ); +} +extern "C" { + pub static mut R_NaN: f64; +} +extern "C" { + pub static mut R_PosInf: f64; +} +extern "C" { + pub static mut R_NegInf: f64; +} +extern "C" { + pub static mut R_NaReal: f64; +} +extern "C" { + pub static mut R_NaInt: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} +pub const Rboolean_FALSE: Rboolean = 0; +pub const Rboolean_TRUE: Rboolean = 1; +pub type Rboolean = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +#[test] +fn bindgen_test_layout_Rcomplex() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(Rcomplex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(Rcomplex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).r as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(r) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).i as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(i) + ) + ); +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); +} +extern "C" { + pub fn R_gc(); +} +extern "C" { + pub fn R_gc_running() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_alloc(arg1: size_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_allocLD(nelem: size_t) -> *mut u128; +} +extern "C" { + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_malloc_gc(arg1: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_calloc_gc(arg1: size_t, arg2: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: size_t, + ) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_qsort(v: *mut f64, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); +} +extern "C" { + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn R_atof(str: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; +} +extern "C" { + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_CheckUserInterrupt(); +} +extern "C" { + pub fn R_CheckStack(); +} +extern "C" { + pub fn R_CheckStack2(arg1: size_t); +} +extern "C" { + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} +pub type __gnuc_va_list = __builtin_va_list; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} +extern "C" { + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[test] +fn bindgen_test_layout_R_CMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(R_CMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(numArgs) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).types as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(types) + ) + ); +} +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_R_CallMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!("Size of: ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(numArgs) + ) + ); +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; +} +extern "C" { + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +pub const NativeSymbolType_R_ANY_SYM: NativeSymbolType = 0; +pub const NativeSymbolType_R_C_SYM: NativeSymbolType = 1; +pub const NativeSymbolType_R_CALL_SYM: NativeSymbolType = 2; +pub const NativeSymbolType_R_FORTRAN_SYM: NativeSymbolType = 3; +pub const NativeSymbolType_R_EXTERNAL_SYM: NativeSymbolType = 4; +pub type NativeSymbolType = u32; +extern "C" { + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; +} +extern "C" { + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); +} +extern "C" { + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} +pub type Rbyte = ::std::os::raw::c_uchar; +pub type R_len_t = ::std::os::raw::c_int; +pub type SEXPTYPE = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct SEXPREC { + _unused: [u8; 0], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isNull(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLogical(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isReal(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isComplex(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isExpression(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isString(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isObject(s: SEXP) -> Rboolean; +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = -2; +pub const SORTED_DECR: _bindgen_ty_1 = -1; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = -2147483648; +pub const SORTED_INCR: _bindgen_ty_1 = 1; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = 2; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = 0; +pub type _bindgen_ty_1 = i32; +extern "C" { + pub fn ATTRIB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TRACKREFS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_ATTRIB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn ENSURE_NAMEDMAX(x: SEXP); +} +extern "C" { + pub fn ENSURE_NAMED(x: SEXP); +} +extern "C" { + pub fn SETTER_CLEAR_NAMED(x: SEXP); +} +extern "C" { + pub fn RAISE_NAMED(x: SEXP, n: ::std::os::raw::c_int); +} +extern "C" { + pub fn DECREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn INCREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn DISABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn ENABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn MARK_NOT_MUTABLE(x: SEXP); +} +extern "C" { + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn UNSET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn NOJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MAYBEJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_NOJIT(x: SEXP); +} +extern "C" { + pub fn SET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn UNSET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_GROWABLE_BIT(x: SEXP); +} +extern "C" { + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn SETLENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn REAL(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW_RO(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn REAL_RO(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); +} +extern "C" { + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; +} +extern "C" { + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; +} +extern "C" { + pub fn VECTOR_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP_DUPLICATE_EX(x: SEXP, deep: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREP_COERCE(x: SEXP, type_: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn ALTREP_INSPECT( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean; +} +extern "C" { + pub fn ALTREP_SERIALIZED_CLASS(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_SERIALIZED_STATE(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_UNSERIALIZE_EX( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn ALTREP_LENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTREP_TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_EXTRACT_SUBSET(x: SEXP, indx: SEXP, call: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTLOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTLOGICAL_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTREAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn ALTREAL_SET_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn ALTSTRING_ELT(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn ALTSTRING_SET_ELT(arg1: SEXP, arg2: R_xlen_t, arg3: SEXP); +} +extern "C" { + pub fn ALTCOMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn ALTCOMPLEX_SET_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); +} +extern "C" { + pub fn ALTRAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn ALTRAW_SET_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); +} +extern "C" { + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; +} +extern "C" { + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; +} +extern "C" { + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; +} +extern "C" { + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn INTEGER_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn INTEGER_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn REAL_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn REAL_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTLOGICAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_compact_intrange(n1: R_xlen_t, n2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_deferred_coerceToString(v: SEXP, info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_virtrep_vec(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryWrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryUnwrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BadLongVector( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> R_len_t; +} +extern "C" { + pub fn TAG(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAD4R(e: SEXP) -> SEXP; +} +extern "C" { + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_MISSING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TAG(x: SEXP, y: SEXP); +} +extern "C" { + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn CONS_NR(a: SEXP, b: SEXP) -> SEXP; +} +extern "C" { + pub fn FORMALS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn BODY(x: SEXP) -> SEXP; +} +extern "C" { + pub fn CLOENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FORMALS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_BODY(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_CLOENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRINTNAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn SYMVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn INTERNAL(x: SEXP) -> SEXP; +} +extern "C" { + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_DDVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRINTNAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_SYMVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_INTERNAL(x: SEXP, v: SEXP); +} +extern "C" { + pub fn FRAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENCLOS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn HASHTAB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FRAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_ENCLOS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_HASHTAB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRCODE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_PRSEEN(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRCODE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn HASHASH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn HASHVALUE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_HASHASH(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_HASHVALUE(x: SEXP, v: ::std::os::raw::c_int); +} +pub type PROTECT_INDEX = ::std::os::raw::c_int; +extern "C" { + pub static mut R_GlobalEnv: SEXP; +} +extern "C" { + pub static mut R_EmptyEnv: SEXP; +} +extern "C" { + pub static mut R_BaseEnv: SEXP; +} +extern "C" { + pub static mut R_BaseNamespace: SEXP; +} +extern "C" { + pub static mut R_NamespaceRegistry: SEXP; +} +extern "C" { + pub static mut R_Srcref: SEXP; +} +extern "C" { + pub static mut R_NilValue: SEXP; +} +extern "C" { + pub static mut R_UnboundValue: SEXP; +} +extern "C" { + pub static mut R_MissingArg: SEXP; +} +extern "C" { + pub static mut R_InBCInterpreter: SEXP; +} +extern "C" { + pub static mut R_CurrentExpression: SEXP; +} +extern "C" { + pub static mut R_RestartToken: SEXP; +} +extern "C" { + pub static mut R_AsCharacterSymbol: SEXP; +} +extern "C" { + pub static mut R_baseSymbol: SEXP; +} +extern "C" { + pub static mut R_BaseSymbol: SEXP; +} +extern "C" { + pub static mut R_BraceSymbol: SEXP; +} +extern "C" { + pub static mut R_Bracket2Symbol: SEXP; +} +extern "C" { + pub static mut R_BracketSymbol: SEXP; +} +extern "C" { + pub static mut R_ClassSymbol: SEXP; +} +extern "C" { + pub static mut R_DeviceSymbol: SEXP; +} +extern "C" { + pub static mut R_DimNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_DimSymbol: SEXP; +} +extern "C" { + pub static mut R_DollarSymbol: SEXP; +} +extern "C" { + pub static mut R_DotsSymbol: SEXP; +} +extern "C" { + pub static mut R_DoubleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_DropSymbol: SEXP; +} +extern "C" { + pub static mut R_LastvalueSymbol: SEXP; +} +extern "C" { + pub static mut R_LevelsSymbol: SEXP; +} +extern "C" { + pub static mut R_ModeSymbol: SEXP; +} +extern "C" { + pub static mut R_NaRmSymbol: SEXP; +} +extern "C" { + pub static mut R_NameSymbol: SEXP; +} +extern "C" { + pub static mut R_NamesSymbol: SEXP; +} +extern "C" { + pub static mut R_NamespaceEnvSymbol: SEXP; +} +extern "C" { + pub static mut R_PackageSymbol: SEXP; +} +extern "C" { + pub static mut R_PreviousSymbol: SEXP; +} +extern "C" { + pub static mut R_QuoteSymbol: SEXP; +} +extern "C" { + pub static mut R_RowNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_SeedsSymbol: SEXP; +} +extern "C" { + pub static mut R_SortListSymbol: SEXP; +} +extern "C" { + pub static mut R_SourceSymbol: SEXP; +} +extern "C" { + pub static mut R_SpecSymbol: SEXP; +} +extern "C" { + pub static mut R_TripleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_TspSymbol: SEXP; +} +extern "C" { + pub static mut R_dot_defined: SEXP; +} +extern "C" { + pub static mut R_dot_Method: SEXP; +} +extern "C" { + pub static mut R_dot_packageName: SEXP; +} +extern "C" { + pub static mut R_dot_target: SEXP; +} +extern "C" { + pub static mut R_dot_Generic: SEXP; +} +extern "C" { + pub static mut R_NaString: SEXP; +} +extern "C" { + pub static mut R_BlankString: SEXP; +} +extern "C" { + pub static mut R_BlankScalarString: SEXP; +} +extern "C" { + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asLogical2( + x: SEXP, + checking: ::std::os::raw::c_int, + call: SEXP, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asReal(x: SEXP) -> f64; +} +extern "C" { + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +extern "C" { + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_addMissingVarsToNewEnv(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList2(sym1: SEXP, sym2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList3(sym1: SEXP, sym2: SEXP, sym3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList4(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList5(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP, sym5: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList6( + sym1: SEXP, + sym2: SEXP, + sym3: SEXP, + sym4: SEXP, + sym5: SEXP, + sym6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_allocS4Object() -> SEXP; +} +extern "C" { + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; +} +extern "C" { + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_arraySubscript( + arg1: ::std::os::raw::c_int, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::option::Option SEXP>, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP, + >, + arg6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_fixSubset3Args(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: *mut SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_countContexts( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_CreateTag(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_DropDims(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_envHasNoSpecialSymbols(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_ExtractSubset(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFunctionForBody(arg1: SEXP); +} +extern "C" { + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_installChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installDDVAL(i: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_installS3Signature( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> SEXP; +} +extern "C" { + pub fn Rf_isFree(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnmodifiedSpecSym(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; +} +extern "C" { + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_matchE(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +pub const nchar_type_Bytes: nchar_type = 0; +pub const nchar_type_Chars: nchar_type = 1; +pub const nchar_type_Width: nchar_type = 2; +pub type nchar_type = u32; +extern "C" { + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_pmatch(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} +extern "C" { + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_PrintValue(arg1: SEXP); +} +extern "C" { + pub fn Rf_printwhere(); +} +extern "C" { + pub fn Rf_readS3VarsFromFrame( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut SEXP, + arg5: *mut SEXP, + arg6: *mut SEXP, + arg7: *mut SEXP, + ); +} +extern "C" { + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_setSVector(arg1: *mut SEXP, arg2: ::std::os::raw::c_int, arg3: SEXP); +} +extern "C" { + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_stringSuffix(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; +} +extern "C" { + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateChar0(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect_ptr(arg1: SEXP); +} +extern "C" { + pub fn R_signal_protect_error(); +} +extern "C" { + pub fn R_signal_unprotect_error(); +} +extern "C" { + pub fn R_signal_reprotect_error(i: PROTECT_INDEX); +} +extern "C" { + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetCurrentEnv() -> SEXP; +} +extern "C" { + pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isS4(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_cycle_detected(s: SEXP, child: SEXP) -> Rboolean; +} +pub const cetype_t_CE_NATIVE: cetype_t = 0; +pub const cetype_t_CE_UTF8: cetype_t = 1; +pub const cetype_t_CE_LATIN1: cetype_t = 2; +pub const cetype_t_CE_BYTES: cetype_t = 3; +pub const cetype_t_CE_SYMBOL: cetype_t = 5; +pub const cetype_t_CE_ANY: cetype_t = 99; +pub type cetype_t = u32; +extern "C" { + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; +} +extern "C" { + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; +} +extern "C" { + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClearExternalPtr(s: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); +} +extern "C" { + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; +} +pub type R_CFinalizer_t = ::std::option::Option; +extern "C" { + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); +} +extern "C" { + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); +} +extern "C" { + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); +} +extern "C" { + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); +} +extern "C" { + pub fn R_RunPendingFinalizers(); +} +extern "C" { + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_WeakRefKey(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_WeakRefValue(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_RunWeakRefFinalizer(w: SEXP); +} +extern "C" { + pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; +} +extern "C" { + pub fn R_initialize_bcode(); +} +extern "C" { + pub fn R_bcEncode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_bcDecode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_registerBC(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn R_checkConstants(arg1: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_BCVersionOK(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_init_altrep(); +} +extern "C" { + pub fn R_reinit_altrep_classes(arg1: *mut DllInfo); +} +extern "C" { + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; +} +extern "C" { + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_MakeUnwindCont() -> SEXP; +} +extern "C" { + pub fn R_ContinueUnwind(cont: SEXP); +} +extern "C" { + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn R_RestoreHashCount(rho: SEXP); +} +extern "C" { + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindNamespace(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); +} +extern "C" { + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_LockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_unLockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); +} +extern "C" { + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; +} +extern "C" { + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +pub const R_pstream_format_t_R_pstream_any_format: R_pstream_format_t = 0; +pub const R_pstream_format_t_R_pstream_ascii_format: R_pstream_format_t = 1; +pub const R_pstream_format_t_R_pstream_binary_format: R_pstream_format_t = 2; +pub const R_pstream_format_t_R_pstream_xdr_format: R_pstream_format_t = 3; +pub const R_pstream_format_t_R_pstream_asciihex_format: R_pstream_format_t = 4; +pub type R_pstream_format_t = u32; +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +#[test] +fn bindgen_test_layout_R_outpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 48usize, + concat!("Size of: ", stringify!(R_outpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_outpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).version as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(version) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookData) + ) + ); +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout_R_inpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(R_inpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_inpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookData) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).native_encoding as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(native_encoding) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2nat_obj as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2nat_obj) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2utf8_obj as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2utf8_obj) + ) + ); +} +extern "C" { + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); +} +extern "C" { + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef_R(what: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_methods_attached() -> Rboolean; +} +extern "C" { + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_do_new_object(class_def: SEXP) -> SEXP; +} +extern "C" { + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_PreserveObject(arg1: SEXP); +} +extern "C" { + pub fn R_ReleaseObject(arg1: SEXP); +} +extern "C" { + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_dot_Last(); +} +extern "C" { + pub fn R_RunExitFinalizers(); +} +extern "C" { + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; +} +extern "C" { + pub fn R_body_no_src(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_lang1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_length(arg1: SEXP) -> R_len_t; +} +extern "C" { + pub fn Rf_list1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn Rf_protect(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); +} +extern "C" { + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); +} +extern "C" { + pub fn R_FixupRHS(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SCALAR_DVAL(x: SEXP) -> f64; +} +extern "C" { + pub fn SCALAR_LVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SCALAR_IVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_SCALAR_DVAL(x: SEXP, v: f64); +} +extern "C" { + pub fn SET_SCALAR_LVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_IVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_CVAL(x: SEXP, v: Rcomplex); +} +extern "C" { + pub fn SET_SCALAR_BVAL(x: SEXP, v: Rbyte); +} +extern "C" { + pub fn R_altrep_data1(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_altrep_data2(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); +} +extern "C" { + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); +} +extern "C" { + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL0(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn RAW0(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn R_BadValueInRCode( + value: SEXP, + call: SEXP, + rho: SEXP, + rawmsg: *const ::std::os::raw::c_char, + errmsg: *const ::std::os::raw::c_char, + warnmsg: *const ::std::os::raw::c_char, + varname: *const ::std::os::raw::c_char, + warnByDefault: Rboolean, + ); +} +extern "C" { + pub static mut R_Interactive: Rboolean; +} +extern "C" { + pub static mut R_Slave: Rboolean; +} +extern "C" { + pub fn R_RestoreGlobalEnv(); +} +extern "C" { + pub fn R_RestoreGlobalEnvFromFile(arg1: *const ::std::os::raw::c_char, arg2: Rboolean); +} +extern "C" { + pub fn R_SaveGlobalEnv(); +} +extern "C" { + pub fn R_SaveGlobalEnvToFile(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn R_FlushConsole(); +} +extern "C" { + pub fn R_ClearerrConsole(); +} +extern "C" { + pub fn R_Suicide(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn R_HomeDir() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub static mut R_DirtyImage: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_GUIType: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_setupHistory(); +} +extern "C" { + pub static mut R_HistoryFile: *mut ::std::os::raw::c_char; +} +extern "C" { + pub static mut R_HistorySize: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_RestoreHistory: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_Home: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_jump_to_toplevel(); +} +extern "C" { + pub fn Rf_mainloop(); +} +extern "C" { + pub fn Rf_onintr(); +} +extern "C" { + pub fn Rf_onintrNoResume(); +} +extern "C" { + pub static mut R_GlobalContext: *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn process_site_Renviron(); +} +extern "C" { + pub fn process_system_Renviron(); +} +extern "C" { + pub fn process_user_Renviron(); +} +extern "C" { + pub static mut R_Consolefile: *mut FILE; +} +extern "C" { + pub static mut R_Outputfile: *mut FILE; +} +extern "C" { + pub fn R_setStartTime(); +} +extern "C" { + pub fn fpu_setup(arg1: Rboolean); +} +extern "C" { + pub static mut R_running_as_main_program: ::std::os::raw::c_int; +} +pub type int_least8_t = i8; +pub type int_least16_t = i16; +pub type int_least32_t = i32; +pub type int_least64_t = i64; +pub type uint_least8_t = u8; +pub type uint_least16_t = u16; +pub type uint_least32_t = u32; +pub type uint_least64_t = u64; +pub type int_fast8_t = i8; +pub type int_fast16_t = i16; +pub type int_fast32_t = i32; +pub type int_fast64_t = i64; +pub type uint_fast8_t = u8; +pub type uint_fast16_t = u16; +pub type uint_fast32_t = u32; +pub type uint_fast64_t = u64; +pub type intmax_t = ::std::os::raw::c_long; +pub type uintmax_t = ::std::os::raw::c_ulong; +extern "C" { + pub static mut R_CStackLimit: usize; +} +extern "C" { + pub static mut R_CStackStart: usize; +} +pub const SA_TYPE_SA_NORESTORE: SA_TYPE = 0; +pub const SA_TYPE_SA_RESTORE: SA_TYPE = 1; +pub const SA_TYPE_SA_DEFAULT: SA_TYPE = 2; +pub const SA_TYPE_SA_NOSAVE: SA_TYPE = 3; +pub const SA_TYPE_SA_SAVE: SA_TYPE = 4; +pub const SA_TYPE_SA_SAVEASK: SA_TYPE = 5; +pub const SA_TYPE_SA_SUICIDE: SA_TYPE = 6; +pub type SA_TYPE = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_Slave: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: size_t, + pub nsize: size_t, + pub max_vsize: size_t, + pub max_nsize: size_t, + pub ppsize: size_t, + pub NoRenviron: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_structRstart() { + assert_eq!( + ::std::mem::size_of::(), + 88usize, + concat!("Size of: ", stringify!(structRstart)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(structRstart)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Quiet as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Quiet) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Slave as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Slave) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Interactive as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Interactive) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Verbose as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Verbose) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).LoadSiteFile as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(LoadSiteFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).LoadInitFile as *const _ as usize }, + 20usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(LoadInitFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).DebugInitFile as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(DebugInitFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).RestoreAction as *const _ as usize }, + 28usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(RestoreAction) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).SaveAction as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(SaveAction) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).vsize as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(vsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nsize as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(nsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).max_vsize as *const _ as usize }, + 56usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(max_vsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).max_nsize as *const _ as usize }, + 64usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(max_nsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).ppsize as *const _ as usize }, + 72usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(ppsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).NoRenviron as *const _ as usize }, + 80usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(NoRenviron) + ) + ); +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_DefParams(arg1: Rstart); +} +extern "C" { + pub fn R_SetParams(arg1: Rstart); +} +extern "C" { + pub fn R_SetWin32(arg1: Rstart); +} +extern "C" { + pub fn R_SizeFromEnv(arg1: Rstart); +} +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} +extern "C" { + pub fn R_set_command_line_arguments( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn setup_Rmainloop(); +} +extern "C" { + pub static mut ptr_R_Suicide: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ShowMessage: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >; +} +extern "C" { + pub static mut ptr_R_WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >; +} +extern "C" { + pub static mut ptr_R_ResetConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_FlushConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ClearerrConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_Busy: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >; +} +extern "C" { + pub static mut ptr_R_ShowFiles: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut *const ::std::os::raw::c_char, + arg3: *mut *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + arg5: Rboolean, + arg6: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_ChooseFile: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_EditFile: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_loadhistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_savehistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_addhistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_EditFiles: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut *const ::std::os::raw::c_char, + arg3: *mut *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_do_selectlist: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_do_dataentry: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_do_dataviewer: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_R_ProcessEvents: ::std::option::Option; +} +extern "C" { + pub static mut R_timeout_handler: + ::std::option::Option ::std::os::raw::c_int>; +} +extern "C" { + pub static mut R_timeout_val: ::std::os::raw::c_long; +} +extern "C" { + pub static mut R_SignalHandlers: ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_initEmbeddedR( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_ReplDLLinit(); +} +extern "C" { + pub fn R_ReplDLLdo1() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn CleanEd(); +} +extern "C" { + pub fn Rf_KillAllDevices(); +} +extern "C" { + pub fn R_CleanTempDir(); +} +extern "C" { + pub static mut R_TempDir: *mut ::std::os::raw::c_char; +} +pub const ParseStatus_PARSE_NULL: ParseStatus = 0; +pub const ParseStatus_PARSE_OK: ParseStatus = 1; +pub const ParseStatus_PARSE_INCOMPLETE: ParseStatus = 2; +pub const ParseStatus_PARSE_ERROR: ParseStatus = 3; +pub const ParseStatus_PARSE_EOF: ParseStatus = 4; +pub type ParseStatus = u32; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout___va_list_tag() { + assert_eq!( + ::std::mem::size_of::<__va_list_tag>(), + 24usize, + concat!("Size of: ", stringify!(__va_list_tag)) + ); + assert_eq!( + ::std::mem::align_of::<__va_list_tag>(), + 8usize, + concat!("Alignment of ", stringify!(__va_list_tag)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(gp_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(fp_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(overflow_arg_area) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(reg_save_area) + ) + ); +} diff --git a/bindings/bindings-macos-x86_64-R4.1-devel.rs b/bindings/bindings-macos-x86_64-R4.1-devel.rs new file mode 100644 index 00000000..3504aaf7 --- /dev/null +++ b/bindings/bindings-macos-x86_64-R4.1-devel.rs @@ -0,0 +1,5844 @@ +/* automatically generated by rust-bindgen */ + +pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 0; +pub const __DARWIN_ONLY_VERS_1050: u32 = 0; +pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const __DARWIN_UNIX03: u32 = 1; +pub const __DARWIN_64_BIT_INO_T: u32 = 1; +pub const __DARWIN_VERS_1050: u32 = 1; +pub const __DARWIN_NON_CANCELABLE: u32 = 0; +pub const __DARWIN_SUF_64_BIT_INO_T: &'static [u8; 9usize] = b"$INODE64\0"; +pub const __DARWIN_SUF_1050: &'static [u8; 6usize] = b"$1050\0"; +pub const __DARWIN_SUF_EXTSN: &'static [u8; 14usize] = b"$DARWIN_EXTSN\0"; +pub const __DARWIN_C_ANSI: u32 = 4096; +pub const __DARWIN_C_FULL: u32 = 900000; +pub const __DARWIN_C_LEVEL: u32 = 900000; +pub const __STDC_WANT_LIB_EXT1__: u32 = 1; +pub const __DARWIN_NO_LONG_LONG: u32 = 0; +pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; +pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; +pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; +pub const __API_TO_BE_DEPRECATED: u32 = 100000; +pub const __MAC_10_0: u32 = 1000; +pub const __MAC_10_1: u32 = 1010; +pub const __MAC_10_2: u32 = 1020; +pub const __MAC_10_3: u32 = 1030; +pub const __MAC_10_4: u32 = 1040; +pub const __MAC_10_5: u32 = 1050; +pub const __MAC_10_6: u32 = 1060; +pub const __MAC_10_7: u32 = 1070; +pub const __MAC_10_8: u32 = 1080; +pub const __MAC_10_9: u32 = 1090; +pub const __MAC_10_10: u32 = 101000; +pub const __MAC_10_10_2: u32 = 101002; +pub const __MAC_10_10_3: u32 = 101003; +pub const __MAC_10_11: u32 = 101100; +pub const __MAC_10_11_2: u32 = 101102; +pub const __MAC_10_11_3: u32 = 101103; +pub const __MAC_10_11_4: u32 = 101104; +pub const __MAC_10_12: u32 = 101200; +pub const __MAC_10_12_1: u32 = 101201; +pub const __MAC_10_12_2: u32 = 101202; +pub const __MAC_10_12_4: u32 = 101204; +pub const __MAC_10_13: u32 = 101300; +pub const __MAC_10_13_1: u32 = 101301; +pub const __MAC_10_13_2: u32 = 101302; +pub const __MAC_10_13_4: u32 = 101304; +pub const __MAC_10_14: u32 = 101400; +pub const __MAC_10_14_1: u32 = 101401; +pub const __MAC_10_14_4: u32 = 101404; +pub const __MAC_10_15: u32 = 101500; +pub const __MAC_10_15_1: u32 = 101501; +pub const __MAC_10_15_4: u32 = 101504; +pub const __IPHONE_2_0: u32 = 20000; +pub const __IPHONE_2_1: u32 = 20100; +pub const __IPHONE_2_2: u32 = 20200; +pub const __IPHONE_3_0: u32 = 30000; +pub const __IPHONE_3_1: u32 = 30100; +pub const __IPHONE_3_2: u32 = 30200; +pub const __IPHONE_4_0: u32 = 40000; +pub const __IPHONE_4_1: u32 = 40100; +pub const __IPHONE_4_2: u32 = 40200; +pub const __IPHONE_4_3: u32 = 40300; +pub const __IPHONE_5_0: u32 = 50000; +pub const __IPHONE_5_1: u32 = 50100; +pub const __IPHONE_6_0: u32 = 60000; +pub const __IPHONE_6_1: u32 = 60100; +pub const __IPHONE_7_0: u32 = 70000; +pub const __IPHONE_7_1: u32 = 70100; +pub const __IPHONE_8_0: u32 = 80000; +pub const __IPHONE_8_1: u32 = 80100; +pub const __IPHONE_8_2: u32 = 80200; +pub const __IPHONE_8_3: u32 = 80300; +pub const __IPHONE_8_4: u32 = 80400; +pub const __IPHONE_9_0: u32 = 90000; +pub const __IPHONE_9_1: u32 = 90100; +pub const __IPHONE_9_2: u32 = 90200; +pub const __IPHONE_9_3: u32 = 90300; +pub const __IPHONE_10_0: u32 = 100000; +pub const __IPHONE_10_1: u32 = 100100; +pub const __IPHONE_10_2: u32 = 100200; +pub const __IPHONE_10_3: u32 = 100300; +pub const __IPHONE_11_0: u32 = 110000; +pub const __IPHONE_11_1: u32 = 110100; +pub const __IPHONE_11_2: u32 = 110200; +pub const __IPHONE_11_3: u32 = 110300; +pub const __IPHONE_11_4: u32 = 110400; +pub const __IPHONE_12_0: u32 = 120000; +pub const __IPHONE_12_1: u32 = 120100; +pub const __IPHONE_12_2: u32 = 120200; +pub const __IPHONE_12_3: u32 = 120300; +pub const __IPHONE_13_0: u32 = 130000; +pub const __IPHONE_13_1: u32 = 130100; +pub const __IPHONE_13_2: u32 = 130200; +pub const __IPHONE_13_3: u32 = 130300; +pub const __IPHONE_13_4: u32 = 130400; +pub const __IPHONE_13_5: u32 = 130500; +pub const __IPHONE_13_6: u32 = 130600; +pub const __TVOS_9_0: u32 = 90000; +pub const __TVOS_9_1: u32 = 90100; +pub const __TVOS_9_2: u32 = 90200; +pub const __TVOS_10_0: u32 = 100000; +pub const __TVOS_10_0_1: u32 = 100001; +pub const __TVOS_10_1: u32 = 100100; +pub const __TVOS_10_2: u32 = 100200; +pub const __TVOS_11_0: u32 = 110000; +pub const __TVOS_11_1: u32 = 110100; +pub const __TVOS_11_2: u32 = 110200; +pub const __TVOS_11_3: u32 = 110300; +pub const __TVOS_11_4: u32 = 110400; +pub const __TVOS_12_0: u32 = 120000; +pub const __TVOS_12_1: u32 = 120100; +pub const __TVOS_12_2: u32 = 120200; +pub const __TVOS_12_3: u32 = 120300; +pub const __TVOS_13_0: u32 = 130000; +pub const __TVOS_13_2: u32 = 130200; +pub const __TVOS_13_3: u32 = 130300; +pub const __TVOS_13_4: u32 = 130400; +pub const __WATCHOS_1_0: u32 = 10000; +pub const __WATCHOS_2_0: u32 = 20000; +pub const __WATCHOS_2_1: u32 = 20100; +pub const __WATCHOS_2_2: u32 = 20200; +pub const __WATCHOS_3_0: u32 = 30000; +pub const __WATCHOS_3_1: u32 = 30100; +pub const __WATCHOS_3_1_1: u32 = 30101; +pub const __WATCHOS_3_2: u32 = 30200; +pub const __WATCHOS_4_0: u32 = 40000; +pub const __WATCHOS_4_1: u32 = 40100; +pub const __WATCHOS_4_2: u32 = 40200; +pub const __WATCHOS_4_3: u32 = 40300; +pub const __WATCHOS_5_0: u32 = 50000; +pub const __WATCHOS_5_1: u32 = 50100; +pub const __WATCHOS_5_2: u32 = 50200; +pub const __WATCHOS_6_0: u32 = 60000; +pub const __WATCHOS_6_1: u32 = 60100; +pub const __WATCHOS_6_2: u32 = 60200; +pub const __DRIVERKIT_19_0: u32 = 190000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 101500; +pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; +pub const __PTHREAD_SIZE__: u32 = 8176; +pub const __PTHREAD_ATTR_SIZE__: u32 = 56; +pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; +pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; +pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; +pub const __PTHREAD_COND_SIZE__: u32 = 40; +pub const __PTHREAD_ONCE_SIZE__: u32 = 8; +pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; +pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; +pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; +pub const _FORTIFY_SOURCE: u32 = 2; +pub const RENAME_SECLUDE: u32 = 1; +pub const RENAME_SWAP: u32 = 2; +pub const RENAME_EXCL: u32 = 4; +pub const __SLBF: u32 = 1; +pub const __SNBF: u32 = 2; +pub const __SRD: u32 = 4; +pub const __SWR: u32 = 8; +pub const __SRW: u32 = 16; +pub const __SEOF: u32 = 32; +pub const __SERR: u32 = 64; +pub const __SMBF: u32 = 128; +pub const __SAPP: u32 = 256; +pub const __SSTR: u32 = 512; +pub const __SOPT: u32 = 1024; +pub const __SNPT: u32 = 2048; +pub const __SOFF: u32 = 4096; +pub const __SMOD: u32 = 8192; +pub const __SALC: u32 = 16384; +pub const __SIGN: u32 = 32768; +pub const _IOFBF: u32 = 0; +pub const _IOLBF: u32 = 1; +pub const _IONBF: u32 = 2; +pub const BUFSIZ: u32 = 1024; +pub const EOF: i32 = -1; +pub const FOPEN_MAX: u32 = 20; +pub const FILENAME_MAX: u32 = 1024; +pub const P_tmpdir: &'static [u8; 10usize] = b"/var/tmp/\0"; +pub const L_tmpnam: u32 = 1024; +pub const TMP_MAX: u32 = 308915776; +pub const SEEK_SET: u32 = 0; +pub const SEEK_CUR: u32 = 1; +pub const SEEK_END: u32 = 2; +pub const L_ctermid: u32 = 1024; +pub const _USE_FORTIFY_LEVEL: u32 = 2; +pub const __DARWIN_CLK_TCK: u32 = 100; +pub const CHAR_BIT: u32 = 8; +pub const MB_LEN_MAX: u32 = 6; +pub const CLK_TCK: u32 = 100; +pub const SCHAR_MAX: u32 = 127; +pub const SCHAR_MIN: i32 = -128; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MAX: u32 = 127; +pub const CHAR_MIN: i32 = -128; +pub const USHRT_MAX: u32 = 65535; +pub const SHRT_MAX: u32 = 32767; +pub const SHRT_MIN: i32 = -32768; +pub const UINT_MAX: u32 = 4294967295; +pub const INT_MAX: u32 = 2147483647; +pub const INT_MIN: i32 = -2147483648; +pub const ULONG_MAX: i32 = -1; +pub const LONG_MAX: u64 = 9223372036854775807; +pub const LONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const LONG_BIT: u32 = 64; +pub const SSIZE_MAX: u64 = 9223372036854775807; +pub const WORD_BIT: u32 = 32; +pub const SIZE_T_MAX: i32 = -1; +pub const UQUAD_MAX: i32 = -1; +pub const QUAD_MAX: u64 = 9223372036854775807; +pub const QUAD_MIN: i64 = -9223372036854775808; +pub const ARG_MAX: u32 = 262144; +pub const CHILD_MAX: u32 = 266; +pub const GID_MAX: u32 = 2147483647; +pub const LINK_MAX: u32 = 32767; +pub const MAX_CANON: u32 = 1024; +pub const MAX_INPUT: u32 = 1024; +pub const NAME_MAX: u32 = 255; +pub const NGROUPS_MAX: u32 = 16; +pub const UID_MAX: u32 = 2147483647; +pub const OPEN_MAX: u32 = 10240; +pub const PATH_MAX: u32 = 1024; +pub const PIPE_BUF: u32 = 512; +pub const BC_BASE_MAX: u32 = 99; +pub const BC_DIM_MAX: u32 = 2048; +pub const BC_SCALE_MAX: u32 = 99; +pub const BC_STRING_MAX: u32 = 1000; +pub const CHARCLASS_NAME_MAX: u32 = 14; +pub const COLL_WEIGHTS_MAX: u32 = 2; +pub const EQUIV_CLASS_MAX: u32 = 2; +pub const EXPR_NEST_MAX: u32 = 32; +pub const LINE_MAX: u32 = 2048; +pub const RE_DUP_MAX: u32 = 255; +pub const NZERO: u32 = 20; +pub const _POSIX_ARG_MAX: u32 = 4096; +pub const _POSIX_CHILD_MAX: u32 = 25; +pub const _POSIX_LINK_MAX: u32 = 8; +pub const _POSIX_MAX_CANON: u32 = 255; +pub const _POSIX_MAX_INPUT: u32 = 255; +pub const _POSIX_NAME_MAX: u32 = 14; +pub const _POSIX_NGROUPS_MAX: u32 = 8; +pub const _POSIX_OPEN_MAX: u32 = 20; +pub const _POSIX_PATH_MAX: u32 = 256; +pub const _POSIX_PIPE_BUF: u32 = 512; +pub const _POSIX_SSIZE_MAX: u32 = 32767; +pub const _POSIX_STREAM_MAX: u32 = 8; +pub const _POSIX_TZNAME_MAX: u32 = 6; +pub const _POSIX2_BC_BASE_MAX: u32 = 99; +pub const _POSIX2_BC_DIM_MAX: u32 = 2048; +pub const _POSIX2_BC_SCALE_MAX: u32 = 99; +pub const _POSIX2_BC_STRING_MAX: u32 = 1000; +pub const _POSIX2_EQUIV_CLASS_MAX: u32 = 2; +pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; +pub const _POSIX2_LINE_MAX: u32 = 2048; +pub const _POSIX2_RE_DUP_MAX: u32 = 255; +pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; +pub const _POSIX_AIO_MAX: u32 = 1; +pub const _POSIX_DELAYTIMER_MAX: u32 = 32; +pub const _POSIX_MQ_OPEN_MAX: u32 = 8; +pub const _POSIX_MQ_PRIO_MAX: u32 = 32; +pub const _POSIX_RTSIG_MAX: u32 = 8; +pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; +pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; +pub const _POSIX_SIGQUEUE_MAX: u32 = 32; +pub const _POSIX_TIMER_MAX: u32 = 32; +pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; +pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; +pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; +pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; +pub const PTHREAD_KEYS_MAX: u32 = 512; +pub const PTHREAD_STACK_MIN: u32 = 8192; +pub const _POSIX_HOST_NAME_MAX: u32 = 255; +pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; +pub const _POSIX_SS_REPL_MAX: u32 = 4; +pub const _POSIX_SYMLINK_MAX: u32 = 255; +pub const _POSIX_SYMLOOP_MAX: u32 = 8; +pub const _POSIX_TRACE_EVENT_NAME_MAX: u32 = 30; +pub const _POSIX_TRACE_NAME_MAX: u32 = 8; +pub const _POSIX_TRACE_SYS_MAX: u32 = 8; +pub const _POSIX_TRACE_USER_EVENT_MAX: u32 = 32; +pub const _POSIX_TTY_NAME_MAX: u32 = 9; +pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; +pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; +pub const _POSIX_RE_DUP_MAX: u32 = 255; +pub const OFF_MIN: i64 = -9223372036854775808; +pub const OFF_MAX: u64 = 9223372036854775807; +pub const PASS_MAX: u32 = 128; +pub const NL_ARGMAX: u32 = 9; +pub const NL_LANGMAX: u32 = 14; +pub const NL_MSGMAX: u32 = 32767; +pub const NL_NMAX: u32 = 1; +pub const NL_SETMAX: u32 = 255; +pub const NL_TEXTMAX: u32 = 2048; +pub const _XOPEN_IOV_MAX: u32 = 16; +pub const IOV_MAX: u32 = 1024; +pub const _XOPEN_NAME_MAX: u32 = 255; +pub const _XOPEN_PATH_MAX: u32 = 1024; +pub const FP_SUPERNORMAL: u32 = 6; +pub const FP_ILOGB0: i32 = -2147483648; +pub const FP_ILOGBNAN: i32 = -2147483648; +pub const MATH_ERRNO: u32 = 1; +pub const MATH_ERREXCEPT: 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 FP_SNAN: u32 = 1; +pub const FP_QNAN: u32 = 1; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +pub const __GNUC_VA_LIST: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_INTERNALS_UUID: &'static [u8; 37usize] = b"2fdf6c18-697a-4ba7-b8ef-11c0d92f1327\0"; +pub const NILSXP: u32 = 0; +pub const SYMSXP: u32 = 1; +pub const LISTSXP: u32 = 2; +pub const CLOSXP: u32 = 3; +pub const ENVSXP: u32 = 4; +pub const PROMSXP: u32 = 5; +pub const LANGSXP: u32 = 6; +pub const SPECIALSXP: u32 = 7; +pub const BUILTINSXP: u32 = 8; +pub const CHARSXP: u32 = 9; +pub const LGLSXP: u32 = 10; +pub const INTSXP: u32 = 13; +pub const REALSXP: u32 = 14; +pub const CPLXSXP: u32 = 15; +pub const STRSXP: u32 = 16; +pub const DOTSXP: u32 = 17; +pub const ANYSXP: u32 = 18; +pub const VECSXP: u32 = 19; +pub const EXPRSXP: u32 = 20; +pub const BCODESXP: u32 = 21; +pub const EXTPTRSXP: u32 = 22; +pub const WEAKREFSXP: u32 = 23; +pub const RAWSXP: u32 = 24; +pub const S4SXP: u32 = 25; +pub const NEWSXP: u32 = 30; +pub const FREESXP: u32 = 31; +pub const FUNSXP: u32 = 99; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const __WORDSIZE: u32 = 64; +pub const INT8_MAX: u32 = 127; +pub const INT16_MAX: u32 = 32767; +pub const INT32_MAX: u32 = 2147483647; +pub const INT64_MAX: u64 = 9223372036854775807; +pub const INT8_MIN: i32 = -128; +pub const INT16_MIN: i32 = -32768; +pub const INT32_MIN: i32 = -2147483648; +pub const INT64_MIN: i64 = -9223372036854775808; +pub const UINT8_MAX: u32 = 255; +pub const UINT16_MAX: u32 = 65535; +pub const UINT32_MAX: u32 = 4294967295; +pub const UINT64_MAX: i32 = -1; +pub const INT_LEAST8_MIN: i32 = -128; +pub const INT_LEAST16_MIN: i32 = -32768; +pub const INT_LEAST32_MIN: i32 = -2147483648; +pub const INT_LEAST64_MIN: i64 = -9223372036854775808; +pub const INT_LEAST8_MAX: u32 = 127; +pub const INT_LEAST16_MAX: u32 = 32767; +pub const INT_LEAST32_MAX: u32 = 2147483647; +pub const INT_LEAST64_MAX: u64 = 9223372036854775807; +pub const UINT_LEAST8_MAX: u32 = 255; +pub const UINT_LEAST16_MAX: u32 = 65535; +pub const UINT_LEAST32_MAX: u32 = 4294967295; +pub const UINT_LEAST64_MAX: i32 = -1; +pub const INT_FAST8_MIN: i32 = -128; +pub const INT_FAST16_MIN: i32 = -32768; +pub const INT_FAST32_MIN: i32 = -2147483648; +pub const INT_FAST64_MIN: i64 = -9223372036854775808; +pub const INT_FAST8_MAX: u32 = 127; +pub const INT_FAST16_MAX: u32 = 32767; +pub const INT_FAST32_MAX: u32 = 2147483647; +pub const INT_FAST64_MAX: u64 = 9223372036854775807; +pub const UINT_FAST8_MAX: u32 = 255; +pub const UINT_FAST16_MAX: u32 = 65535; +pub const UINT_FAST32_MAX: u32 = 4294967295; +pub const UINT_FAST64_MAX: i32 = -1; +pub const INTPTR_MAX: u64 = 9223372036854775807; +pub const INTPTR_MIN: i64 = -9223372036854775808; +pub const UINTPTR_MAX: i32 = -1; +pub const SIZE_MAX: i32 = -1; +pub const RSIZE_MAX: i32 = -1; +pub const WINT_MIN: i32 = -2147483648; +pub const WINT_MAX: u32 = 2147483647; +pub const SIG_ATOMIC_MIN: i32 = -2147483648; +pub const SIG_ATOMIC_MAX: u32 = 2147483647; +pub const R_VERSION: u32 = 262400; +pub const R_NICK: &'static [u8; 24usize] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &'static [u8; 2usize] = b"4\0"; +pub const R_MINOR: &'static [u8; 4usize] = b"1.0\0"; +pub const R_STATUS: &'static [u8; 29usize] = b"Under development (unstable)\0"; +pub const R_YEAR: &'static [u8; 5usize] = b"2020\0"; +pub const R_MONTH: &'static [u8; 3usize] = b"12\0"; +pub const R_DAY: &'static [u8; 3usize] = b"21\0"; +pub const R_SVN_REVISION: u32 = 79668; +pub type size_t = ::std::os::raw::c_ulong; +pub type wchar_t = ::std::os::raw::c_int; +pub type max_align_t = u128; +#[doc = "
"] +pub type R_xlen_t = isize; +pub type __int8_t = ::std::os::raw::c_schar; +pub type __uint8_t = ::std::os::raw::c_uchar; +pub type __int16_t = ::std::os::raw::c_short; +pub type __uint16_t = ::std::os::raw::c_ushort; +pub type __int32_t = ::std::os::raw::c_int; +pub type __uint32_t = ::std::os::raw::c_uint; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __uint64_t = ::std::os::raw::c_ulonglong; +pub type __darwin_intptr_t = ::std::os::raw::c_long; +pub type __darwin_natural_t = ::std::os::raw::c_uint; +pub type __darwin_ct_rune_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mbstate_t { + pub __mbstate8: [::std::os::raw::c_char; 128usize], + pub _mbstateL: ::std::os::raw::c_longlong, + _bindgen_union_align: [u64; 16usize], +} +#[test] +fn bindgen_test_layout___mbstate_t() { + assert_eq!( + ::std::mem::size_of::<__mbstate_t>(), + 128usize, + concat!("Size of: ", stringify!(__mbstate_t)) + ); + assert_eq!( + ::std::mem::align_of::<__mbstate_t>(), + 8usize, + concat!("Alignment of ", stringify!(__mbstate_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__mbstate8 as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t), + "::", + stringify!(__mbstate8) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mbstate_t>()))._mbstateL as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mbstate_t), + "::", + stringify!(_mbstateL) + ) + ); +} +pub type __darwin_mbstate_t = __mbstate_t; +pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; +pub type __darwin_size_t = ::std::os::raw::c_ulong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_wchar_t = ::std::os::raw::c_int; +pub type __darwin_rune_t = __darwin_wchar_t; +pub type __darwin_wint_t = ::std::os::raw::c_int; +pub type __darwin_clock_t = ::std::os::raw::c_ulong; +pub type __darwin_socklen_t = __uint32_t; +pub type __darwin_ssize_t = ::std::os::raw::c_long; +pub type __darwin_time_t = ::std::os::raw::c_long; +pub type __darwin_blkcnt_t = __int64_t; +pub type __darwin_blksize_t = __int32_t; +pub type __darwin_dev_t = __int32_t; +pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; +pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; +pub type __darwin_gid_t = __uint32_t; +pub type __darwin_id_t = __uint32_t; +pub type __darwin_ino64_t = __uint64_t; +pub type __darwin_ino_t = __darwin_ino64_t; +pub type __darwin_mach_port_name_t = __darwin_natural_t; +pub type __darwin_mach_port_t = __darwin_mach_port_name_t; +pub type __darwin_mode_t = __uint16_t; +pub type __darwin_off_t = __int64_t; +pub type __darwin_pid_t = __int32_t; +pub type __darwin_sigset_t = __uint32_t; +pub type __darwin_suseconds_t = __int32_t; +pub type __darwin_uid_t = __uint32_t; +pub type __darwin_useconds_t = __uint32_t; +pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; +pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __darwin_pthread_handler_rec { + pub __routine: ::std::option::Option, + pub __arg: *mut ::std::os::raw::c_void, + pub __next: *mut __darwin_pthread_handler_rec, +} +#[test] +fn bindgen_test_layout___darwin_pthread_handler_rec() { + assert_eq!( + ::std::mem::size_of::<__darwin_pthread_handler_rec>(), + 24usize, + concat!("Size of: ", stringify!(__darwin_pthread_handler_rec)) + ); + assert_eq!( + ::std::mem::align_of::<__darwin_pthread_handler_rec>(), + 8usize, + concat!("Alignment of ", stringify!(__darwin_pthread_handler_rec)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__routine as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__darwin_pthread_handler_rec), + "::", + stringify!(__routine) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__arg as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__darwin_pthread_handler_rec), + "::", + stringify!(__arg) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__darwin_pthread_handler_rec>())).__next as *const _ as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(__darwin_pthread_handler_rec), + "::", + stringify!(__next) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_attr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_attr_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_attr_t>(), + 64usize, + concat!("Size of: ", stringify!(_opaque_pthread_attr_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_attr_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_attr_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_attr_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_attr_t>())).__opaque as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_attr_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_cond_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 40usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_cond_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_cond_t>(), + 48usize, + concat!("Size of: ", stringify!(_opaque_pthread_cond_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_cond_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_cond_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_cond_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_cond_t>())).__opaque as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_cond_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_condattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_condattr_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_condattr_t>(), + 16usize, + concat!("Size of: ", stringify!(_opaque_pthread_condattr_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_condattr_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_condattr_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__sig as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_condattr_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_condattr_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_condattr_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_mutex_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 56usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_mutex_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_mutex_t>(), + 64usize, + concat!("Size of: ", stringify!(_opaque_pthread_mutex_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_mutex_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_mutex_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_mutex_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_mutex_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_mutex_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_mutexattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_mutexattr_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_mutexattr_t>(), + 16usize, + concat!("Size of: ", stringify!(_opaque_pthread_mutexattr_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_mutexattr_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_mutexattr_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__sig as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_mutexattr_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_mutexattr_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_mutexattr_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_once_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 8usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_once_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_once_t>(), + 16usize, + concat!("Size of: ", stringify!(_opaque_pthread_once_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_once_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_once_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_once_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_once_t>())).__opaque as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_once_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_rwlock_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 192usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_rwlock_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_rwlock_t>(), + 200usize, + concat!("Size of: ", stringify!(_opaque_pthread_rwlock_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_rwlock_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_rwlock_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_rwlock_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_rwlock_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_rwlock_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _opaque_pthread_rwlockattr_t { + pub __sig: ::std::os::raw::c_long, + pub __opaque: [::std::os::raw::c_char; 16usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_rwlockattr_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_rwlockattr_t>(), + 24usize, + concat!("Size of: ", stringify!(_opaque_pthread_rwlockattr_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_rwlockattr_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_rwlockattr_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__sig as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_rwlockattr_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_rwlockattr_t>())).__opaque as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_rwlockattr_t), + "::", + stringify!(__opaque) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct _opaque_pthread_t { + pub __sig: ::std::os::raw::c_long, + pub __cleanup_stack: *mut __darwin_pthread_handler_rec, + pub __opaque: [::std::os::raw::c_char; 8176usize], +} +#[test] +fn bindgen_test_layout__opaque_pthread_t() { + assert_eq!( + ::std::mem::size_of::<_opaque_pthread_t>(), + 8192usize, + concat!("Size of: ", stringify!(_opaque_pthread_t)) + ); + assert_eq!( + ::std::mem::align_of::<_opaque_pthread_t>(), + 8usize, + concat!("Alignment of ", stringify!(_opaque_pthread_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__sig as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_t), + "::", + stringify!(__sig) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<_opaque_pthread_t>())).__cleanup_stack as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_t), + "::", + stringify!(__cleanup_stack) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_opaque_pthread_t>())).__opaque as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(_opaque_pthread_t), + "::", + stringify!(__opaque) + ) + ); +} +pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; +pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; +pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; +pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; +pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; +pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; +pub type __darwin_pthread_once_t = _opaque_pthread_once_t; +pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; +pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; +pub type __darwin_pthread_t = *mut _opaque_pthread_t; +pub type __darwin_nl_item = ::std::os::raw::c_int; +pub type __darwin_wctrans_t = ::std::os::raw::c_int; +pub type __darwin_wctype_t = __uint32_t; +pub type u_int8_t = ::std::os::raw::c_uchar; +pub type u_int16_t = ::std::os::raw::c_ushort; +pub type u_int32_t = ::std::os::raw::c_uint; +pub type u_int64_t = ::std::os::raw::c_ulonglong; +pub type register_t = i64; +pub type user_addr_t = u_int64_t; +pub type user_size_t = u_int64_t; +pub type user_ssize_t = i64; +pub type user_long_t = i64; +pub type user_ulong_t = u_int64_t; +pub type user_time_t = i64; +pub type user_off_t = i64; +pub type syscall_arg_t = u_int64_t; +pub type va_list = __darwin_va_list; +extern "C" { + pub fn renameat( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn renamex_np( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn renameatx_np( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: *const ::std::os::raw::c_char, + arg5: ::std::os::raw::c_uint, + ) -> ::std::os::raw::c_int; +} +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout___sbuf() { + assert_eq!( + ::std::mem::size_of::<__sbuf>(), + 16usize, + concat!("Size of: ", stringify!(__sbuf)) + ); + assert_eq!( + ::std::mem::align_of::<__sbuf>(), + 8usize, + concat!("Alignment of ", stringify!(__sbuf)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sbuf>()))._base as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sbuf), + "::", + stringify!(_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sbuf>()))._size as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__sbuf), + "::", + stringify!(_size) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +#[test] +fn bindgen_test_layout___sFILE() { + assert_eq!( + ::std::mem::size_of::<__sFILE>(), + 152usize, + concat!("Size of: ", stringify!(__sFILE)) + ); + assert_eq!( + ::std::mem::align_of::<__sFILE>(), + 8usize, + concat!("Alignment of ", stringify!(__sFILE)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._p as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_p) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._r as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_r) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._w as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_w) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._flags as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_flags) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._file as *const _ as usize }, + 18usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_file) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._bf as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_bf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._lbfsize as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_lbfsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._cookie as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_cookie) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._close as *const _ as usize }, + 56usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_close) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._read as *const _ as usize }, + 64usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_read) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._seek as *const _ as usize }, + 72usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_seek) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._write as *const _ as usize }, + 80usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_write) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._ub as *const _ as usize }, + 88usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_ub) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._extra as *const _ as usize }, + 104usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_extra) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._ur as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_ur) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._ubuf as *const _ as usize }, + 116usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_ubuf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._nbuf as *const _ as usize }, + 119usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_nbuf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._lb as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_lb) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._blksize as *const _ as usize }, + 136usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_blksize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__sFILE>()))._offset as *const _ as usize }, + 144usize, + concat!( + "Offset of field: ", + stringify!(__sFILE), + "::", + stringify!(_offset) + ) + ); +} +pub type FILE = __sFILE; +extern "C" { + pub static mut __stdinp: *mut FILE; +} +extern "C" { + pub static mut __stdoutp: *mut FILE; +} +extern "C" { + pub static mut __stderrp: *mut FILE; +} +extern "C" { + pub fn clearerr(arg1: *mut FILE); +} +extern "C" { + pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgets( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: *mut FILE, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fopen( + __filename: *const ::std::os::raw::c_char, + __mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fread( + __ptr: *mut ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, + __stream: *mut FILE, + ) -> ::std::os::raw::c_ulong; +} +extern "C" { + pub fn freopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn fscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseek( + arg1: *mut FILE, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn fwrite( + __ptr: *const ::std::os::raw::c_void, + __size: ::std::os::raw::c_ulong, + __nitems: ::std::os::raw::c_ulong, + __stream: *mut FILE, + ) -> ::std::os::raw::c_ulong; +} +extern "C" { + pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn perror(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn remove(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rename( + __old: *const ::std::os::raw::c_char, + __new: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rewind(arg1: *mut FILE); +} +extern "C" { + pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn setvbuf( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + arg4: size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sscanf( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tmpfile() -> *mut FILE; +} +extern "C" { + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; +} +extern "C" { + pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn popen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __svfscanf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn flockfile(arg1: *mut FILE); +} +extern "C" { + pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn funlockfile(arg1: *mut FILE); +} +extern "C" { + pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getchar_unlocked() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tempnam( + __dir: *const ::std::os::raw::c_char, + __prefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +pub type off_t = __darwin_off_t; +extern "C" { + pub fn fseeko( + __stream: *mut FILE, + __offset: off_t, + __whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftello(__stream: *mut FILE) -> off_t; +} +extern "C" { + pub fn snprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfscanf( + __stream: *mut FILE, + __format: *const ::std::os::raw::c_char, + arg1: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vscanf( + __format: *const ::std::os::raw::c_char, + arg1: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsnprintf( + __str: *mut ::std::os::raw::c_char, + __size: ::std::os::raw::c_ulong, + __format: *const ::std::os::raw::c_char, + arg1: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsscanf( + __str: *const ::std::os::raw::c_char, + __format: *const ::std::os::raw::c_char, + arg1: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +pub type ssize_t = __darwin_ssize_t; +extern "C" { + pub fn dprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vdprintf( + arg1: ::std::os::raw::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getdelim( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut size_t, + __delimiter: ::std::os::raw::c_int, + __stream: *mut FILE, + ) -> ssize_t; +} +extern "C" { + pub fn getline( + __linep: *mut *mut ::std::os::raw::c_char, + __linecapp: *mut size_t, + __stream: *mut FILE, + ) -> ssize_t; +} +extern "C" { + pub fn fmemopen( + __buf: *mut ::std::os::raw::c_void, + __size: size_t, + __mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn open_memstream( + __bufp: *mut *mut ::std::os::raw::c_char, + __sizep: *mut size_t, + ) -> *mut FILE; +} +extern "C" { + pub static sys_nerr: ::std::os::raw::c_int; +} +extern "C" { + pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; +} +extern "C" { + pub fn asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fgetln(arg1: *mut FILE, arg2: *mut size_t) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fmtcheck( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuffer( + arg1: *mut FILE, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn zopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn funopen( + arg1: *const ::std::os::raw::c_void, + arg2: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg3: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + arg4: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + ) -> *mut FILE; +} +extern "C" { + pub fn __sprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: size_t, + arg4: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __snprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: size_t, + arg3: ::std::os::raw::c_int, + arg4: size_t, + arg5: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __vsprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: size_t, + arg4: *const ::std::os::raw::c_char, + arg5: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __vsnprintf_chk( + arg1: *mut ::std::os::raw::c_char, + arg2: size_t, + arg3: ::std::os::raw::c_int, + arg4: size_t, + arg5: *const ::std::os::raw::c_char, + arg6: *mut __va_list_tag, + ) -> ::std::os::raw::c_int; +} +pub type float_t = f32; +pub type double_t = f64; +extern "C" { + pub fn __math_errhandling() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyd(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn acosf(arg1: f32) -> f32; +} +extern "C" { + pub fn acos(arg1: f64) -> f64; +} +extern "C" { + pub fn acosl(arg1: u128) -> u128; +} +extern "C" { + pub fn asinf(arg1: f32) -> f32; +} +extern "C" { + pub fn asin(arg1: f64) -> f64; +} +extern "C" { + pub fn asinl(arg1: u128) -> u128; +} +extern "C" { + pub fn atanf(arg1: f32) -> f32; +} +extern "C" { + pub fn atan(arg1: f64) -> f64; +} +extern "C" { + pub fn atanl(arg1: u128) -> u128; +} +extern "C" { + pub fn atan2f(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn atan2(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn atan2l(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn cosf(arg1: f32) -> f32; +} +extern "C" { + pub fn cos(arg1: f64) -> f64; +} +extern "C" { + pub fn cosl(arg1: u128) -> u128; +} +extern "C" { + pub fn sinf(arg1: f32) -> f32; +} +extern "C" { + pub fn sin(arg1: f64) -> f64; +} +extern "C" { + pub fn sinl(arg1: u128) -> u128; +} +extern "C" { + pub fn tanf(arg1: f32) -> f32; +} +extern "C" { + pub fn tan(arg1: f64) -> f64; +} +extern "C" { + pub fn tanl(arg1: u128) -> u128; +} +extern "C" { + pub fn acoshf(arg1: f32) -> f32; +} +extern "C" { + pub fn acosh(arg1: f64) -> f64; +} +extern "C" { + pub fn acoshl(arg1: u128) -> u128; +} +extern "C" { + pub fn asinhf(arg1: f32) -> f32; +} +extern "C" { + pub fn asinh(arg1: f64) -> f64; +} +extern "C" { + pub fn asinhl(arg1: u128) -> u128; +} +extern "C" { + pub fn atanhf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanh(arg1: f64) -> f64; +} +extern "C" { + pub fn atanhl(arg1: u128) -> u128; +} +extern "C" { + pub fn coshf(arg1: f32) -> f32; +} +extern "C" { + pub fn cosh(arg1: f64) -> f64; +} +extern "C" { + pub fn coshl(arg1: u128) -> u128; +} +extern "C" { + pub fn sinhf(arg1: f32) -> f32; +} +extern "C" { + pub fn sinh(arg1: f64) -> f64; +} +extern "C" { + pub fn sinhl(arg1: u128) -> u128; +} +extern "C" { + pub fn tanhf(arg1: f32) -> f32; +} +extern "C" { + pub fn tanh(arg1: f64) -> f64; +} +extern "C" { + pub fn tanhl(arg1: u128) -> u128; +} +extern "C" { + pub fn expf(arg1: f32) -> f32; +} +extern "C" { + pub fn exp(arg1: f64) -> f64; +} +extern "C" { + pub fn expl(arg1: u128) -> u128; +} +extern "C" { + pub fn exp2f(arg1: f32) -> f32; +} +extern "C" { + pub fn exp2(arg1: f64) -> f64; +} +extern "C" { + pub fn exp2l(arg1: u128) -> u128; +} +extern "C" { + pub fn expm1f(arg1: f32) -> f32; +} +extern "C" { + pub fn expm1(arg1: f64) -> f64; +} +extern "C" { + pub fn expm1l(arg1: u128) -> u128; +} +extern "C" { + pub fn logf(arg1: f32) -> f32; +} +extern "C" { + pub fn log(arg1: f64) -> f64; +} +extern "C" { + pub fn logl(arg1: u128) -> u128; +} +extern "C" { + pub fn log10f(arg1: f32) -> f32; +} +extern "C" { + pub fn log10(arg1: f64) -> f64; +} +extern "C" { + pub fn log10l(arg1: u128) -> u128; +} +extern "C" { + pub fn log2f(arg1: f32) -> f32; +} +extern "C" { + pub fn log2(arg1: f64) -> f64; +} +extern "C" { + pub fn log2l(arg1: u128) -> u128; +} +extern "C" { + pub fn log1pf(arg1: f32) -> f32; +} +extern "C" { + pub fn log1p(arg1: f64) -> f64; +} +extern "C" { + pub fn log1pl(arg1: u128) -> u128; +} +extern "C" { + pub fn logbf(arg1: f32) -> f32; +} +extern "C" { + pub fn logb(arg1: f64) -> f64; +} +extern "C" { + pub fn logbl(arg1: u128) -> u128; +} +extern "C" { + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; +} +extern "C" { + pub fn modf(arg1: f64, arg2: *mut f64) -> f64; +} +extern "C" { + pub fn modfl(arg1: u128, arg2: *mut u128) -> u128; +} +extern "C" { + pub fn ldexpf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn ldexp(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn ldexpl(arg1: u128, arg2: ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn frexpf(arg1: f32, arg2: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn frexp(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn frexpl(arg1: u128, arg2: *mut ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn scalbnl(arg1: u128, arg2: ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; +} +extern "C" { + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn scalblnl(arg1: u128, arg2: ::std::os::raw::c_long) -> u128; +} +extern "C" { + pub fn fabsf(arg1: f32) -> f32; +} +extern "C" { + pub fn fabs(arg1: f64) -> f64; +} +extern "C" { + pub fn fabsl(arg1: u128) -> u128; +} +extern "C" { + pub fn cbrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn cbrt(arg1: f64) -> f64; +} +extern "C" { + pub fn cbrtl(arg1: u128) -> u128; +} +extern "C" { + pub fn hypotf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn hypot(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn hypotl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn powf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn pow(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn powl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn sqrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn sqrt(arg1: f64) -> f64; +} +extern "C" { + pub fn sqrtl(arg1: u128) -> u128; +} +extern "C" { + pub fn erff(arg1: f32) -> f32; +} +extern "C" { + pub fn erf(arg1: f64) -> f64; +} +extern "C" { + pub fn erfl(arg1: u128) -> u128; +} +extern "C" { + pub fn erfcf(arg1: f32) -> f32; +} +extern "C" { + pub fn erfc(arg1: f64) -> f64; +} +extern "C" { + pub fn erfcl(arg1: u128) -> u128; +} +extern "C" { + pub fn lgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn lgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn lgammal(arg1: u128) -> u128; +} +extern "C" { + pub fn tgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn tgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn tgammal(arg1: u128) -> u128; +} +extern "C" { + pub fn ceilf(arg1: f32) -> f32; +} +extern "C" { + pub fn ceil(arg1: f64) -> f64; +} +extern "C" { + pub fn ceill(arg1: u128) -> u128; +} +extern "C" { + pub fn floorf(arg1: f32) -> f32; +} +extern "C" { + pub fn floor(arg1: f64) -> f64; +} +extern "C" { + pub fn floorl(arg1: u128) -> u128; +} +extern "C" { + pub fn nearbyintf(arg1: f32) -> f32; +} +extern "C" { + pub fn nearbyint(arg1: f64) -> f64; +} +extern "C" { + pub fn nearbyintl(arg1: u128) -> u128; +} +extern "C" { + pub fn rintf(arg1: f32) -> f32; +} +extern "C" { + pub fn rint(arg1: f64) -> f64; +} +extern "C" { + pub fn rintl(arg1: u128) -> u128; +} +extern "C" { + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintl(arg1: u128) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn roundf(arg1: f32) -> f32; +} +extern "C" { + pub fn round(arg1: f64) -> f64; +} +extern "C" { + pub fn roundl(arg1: u128) -> u128; +} +extern "C" { + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundl(arg1: u128) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintl(arg1: u128) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundl(arg1: u128) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn truncf(arg1: f32) -> f32; +} +extern "C" { + pub fn trunc(arg1: f64) -> f64; +} +extern "C" { + pub fn truncl(arg1: u128) -> u128; +} +extern "C" { + pub fn fmodf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmod(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmodl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn remainderf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn remainder(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remainderl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn remquol(arg1: u128, arg2: u128, arg3: *mut ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn copysignf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn copysign(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn copysignl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn nanf(arg1: *const ::std::os::raw::c_char) -> f32; +} +extern "C" { + pub fn nan(arg1: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn nanl(arg1: *const ::std::os::raw::c_char) -> u128; +} +extern "C" { + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nextafterl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn nexttoward(arg1: f64, arg2: u128) -> f64; +} +extern "C" { + pub fn nexttowardf(arg1: f32, arg2: u128) -> f32; +} +extern "C" { + pub fn nexttowardl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fdimf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fdim(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fdiml(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmax(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmaxl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fminf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmin(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fminl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; +} +extern "C" { + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; +} +extern "C" { + pub fn fmal(arg1: u128, arg2: u128, arg3: u128) -> u128; +} +extern "C" { + pub fn __inff() -> f32; +} +extern "C" { + pub fn __inf() -> f64; +} +extern "C" { + pub fn __infl() -> u128; +} +extern "C" { + pub fn __nan() -> f32; +} +extern "C" { + pub fn __exp10f(arg1: f32) -> f32; +} +extern "C" { + pub fn __exp10(arg1: f64) -> f64; +} +extern "C" { + pub fn __cospif(arg1: f32) -> f32; +} +extern "C" { + pub fn __cospi(arg1: f64) -> f64; +} +extern "C" { + pub fn __sinpif(arg1: f32) -> f32; +} +extern "C" { + pub fn __sinpi(arg1: f64) -> f64; +} +extern "C" { + pub fn __tanpif(arg1: f32) -> f32; +} +extern "C" { + pub fn __tanpi(arg1: f64) -> f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __float2 { + pub __sinval: f32, + pub __cosval: f32, +} +#[test] +fn bindgen_test_layout___float2() { + assert_eq!( + ::std::mem::size_of::<__float2>(), + 8usize, + concat!("Size of: ", stringify!(__float2)) + ); + assert_eq!( + ::std::mem::align_of::<__float2>(), + 4usize, + concat!("Alignment of ", stringify!(__float2)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__float2>())).__sinval as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__float2), + "::", + stringify!(__sinval) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__float2>())).__cosval as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__float2), + "::", + stringify!(__cosval) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __double2 { + pub __sinval: f64, + pub __cosval: f64, +} +#[test] +fn bindgen_test_layout___double2() { + assert_eq!( + ::std::mem::size_of::<__double2>(), + 16usize, + concat!("Size of: ", stringify!(__double2)) + ); + assert_eq!( + ::std::mem::align_of::<__double2>(), + 8usize, + concat!("Alignment of ", stringify!(__double2)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__double2>())).__sinval as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__double2), + "::", + stringify!(__sinval) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__double2>())).__cosval as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__double2), + "::", + stringify!(__cosval) + ) + ); +} +extern "C" { + pub fn __sincosf_stret(arg1: f32) -> __float2; +} +extern "C" { + pub fn __sincos_stret(arg1: f64) -> __double2; +} +extern "C" { + pub fn __sincospif_stret(arg1: f32) -> __float2; +} +extern "C" { + pub fn __sincospi_stret(arg1: f64) -> __double2; +} +extern "C" { + pub fn j0(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 y0(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 scalb(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub static mut signgam: ::std::os::raw::c_int; +} +extern "C" { + pub fn rinttol(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn roundtol(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn drem(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn gamma(arg1: f64) -> f64; +} +extern "C" { + pub fn significand(arg1: f64) -> f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct exception { + pub type_: ::std::os::raw::c_int, + pub name: *mut ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, +} +#[test] +fn bindgen_test_layout_exception() { + assert_eq!( + ::std::mem::size_of::(), + 40usize, + concat!("Size of: ", stringify!(exception)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(exception)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).arg1 as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(arg1) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).arg2 as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(arg2) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).retval as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(exception), + "::", + stringify!(retval) + ) + ); +} +extern "C" { + pub static mut R_NaN: f64; +} +extern "C" { + pub static mut R_PosInf: f64; +} +extern "C" { + pub static mut R_NegInf: f64; +} +extern "C" { + pub static mut R_NaReal: f64; +} +extern "C" { + pub static mut R_NaInt: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} +pub const Rboolean_FALSE: Rboolean = 0; +pub const Rboolean_TRUE: Rboolean = 1; +pub type Rboolean = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +#[test] +fn bindgen_test_layout_Rcomplex() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(Rcomplex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(Rcomplex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).r as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(r) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).i as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(i) + ) + ); +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); +} +extern "C" { + pub fn R_gc(); +} +extern "C" { + pub fn R_gc_running() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_alloc(arg1: size_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_allocLD(nelem: size_t) -> *mut u128; +} +extern "C" { + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_malloc_gc(arg1: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_calloc_gc(arg1: size_t, arg2: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: size_t, + ) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_qsort(v: *mut f64, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); +} +extern "C" { + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn R_atof(str: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; +} +extern "C" { + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn R_CheckUserInterrupt(); +} +extern "C" { + pub fn R_CheckStack(); +} +extern "C" { + pub fn R_CheckStack2(arg1: size_t); +} +extern "C" { + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} +pub type __gnuc_va_list = __builtin_va_list; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} +extern "C" { + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[test] +fn bindgen_test_layout_R_CMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(R_CMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(numArgs) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).types as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(types) + ) + ); +} +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_R_CallMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!("Size of: ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(numArgs) + ) + ); +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; +} +extern "C" { + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +pub const NativeSymbolType_R_ANY_SYM: NativeSymbolType = 0; +pub const NativeSymbolType_R_C_SYM: NativeSymbolType = 1; +pub const NativeSymbolType_R_CALL_SYM: NativeSymbolType = 2; +pub const NativeSymbolType_R_FORTRAN_SYM: NativeSymbolType = 3; +pub const NativeSymbolType_R_EXTERNAL_SYM: NativeSymbolType = 4; +pub type NativeSymbolType = u32; +extern "C" { + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; +} +extern "C" { + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); +} +extern "C" { + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} +pub type Rbyte = ::std::os::raw::c_uchar; +pub type R_len_t = ::std::os::raw::c_int; +pub type SEXPTYPE = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct SEXPREC { + _unused: [u8; 0], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isNull(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLogical(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isReal(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isComplex(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isExpression(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isString(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isObject(s: SEXP) -> Rboolean; +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = -2; +pub const SORTED_DECR: _bindgen_ty_1 = -1; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = -2147483648; +pub const SORTED_INCR: _bindgen_ty_1 = 1; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = 2; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = 0; +pub type _bindgen_ty_1 = i32; +extern "C" { + pub fn ATTRIB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TRACKREFS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_ATTRIB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn ENSURE_NAMEDMAX(x: SEXP); +} +extern "C" { + pub fn ENSURE_NAMED(x: SEXP); +} +extern "C" { + pub fn SETTER_CLEAR_NAMED(x: SEXP); +} +extern "C" { + pub fn RAISE_NAMED(x: SEXP, n: ::std::os::raw::c_int); +} +extern "C" { + pub fn DECREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn INCREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn DISABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn ENABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn MARK_NOT_MUTABLE(x: SEXP); +} +extern "C" { + pub fn ASSIGNMENT_PENDING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ASSIGNMENT_PENDING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn IS_ASSIGNMENT_CALL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK_ASSIGNMENT_CALL(x: SEXP); +} +extern "C" { + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn UNSET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn NOJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MAYBEJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_NOJIT(x: SEXP); +} +extern "C" { + pub fn SET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn UNSET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_GROWABLE_BIT(x: SEXP); +} +extern "C" { + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn SETLENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn REAL(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW_RO(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn REAL_RO(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); +} +extern "C" { + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; +} +extern "C" { + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; +} +extern "C" { + pub fn VECTOR_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP_DUPLICATE_EX(x: SEXP, deep: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREP_COERCE(x: SEXP, type_: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn ALTREP_INSPECT( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean; +} +extern "C" { + pub fn ALTREP_SERIALIZED_CLASS(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_SERIALIZED_STATE(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_UNSERIALIZE_EX( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn ALTREP_LENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTREP_TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_EXTRACT_SUBSET(x: SEXP, indx: SEXP, call: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTLOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTLOGICAL_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTREAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn ALTREAL_SET_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn ALTSTRING_ELT(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn ALTSTRING_SET_ELT(arg1: SEXP, arg2: R_xlen_t, arg3: SEXP); +} +extern "C" { + pub fn ALTCOMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn ALTCOMPLEX_SET_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); +} +extern "C" { + pub fn ALTRAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn ALTRAW_SET_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); +} +extern "C" { + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; +} +extern "C" { + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; +} +extern "C" { + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; +} +extern "C" { + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn INTEGER_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn INTEGER_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn REAL_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn REAL_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTLOGICAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_compact_intrange(n1: R_xlen_t, n2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_deferred_coerceToString(v: SEXP, info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_virtrep_vec(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryWrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryUnwrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BadLongVector( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> R_len_t; +} +extern "C" { + pub fn BNDCELL_TAG(e: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_BNDCELL_TAG(e: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn BNDCELL_DVAL(cell: SEXP) -> f64; +} +extern "C" { + pub fn BNDCELL_IVAL(cell: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn BNDCELL_LVAL(cell: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_BNDCELL_DVAL(cell: SEXP, v: f64); +} +extern "C" { + pub fn SET_BNDCELL_IVAL(cell: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_BNDCELL_LVAL(cell: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn INIT_BNDCELL(cell: SEXP, type_: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_BNDCELL(cell: SEXP, val: SEXP); +} +extern "C" { + pub fn TAG(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR0(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAD4R(e: SEXP) -> SEXP; +} +extern "C" { + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_MISSING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TAG(x: SEXP, y: SEXP); +} +extern "C" { + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn CONS_NR(a: SEXP, b: SEXP) -> SEXP; +} +extern "C" { + pub fn FORMALS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn BODY(x: SEXP) -> SEXP; +} +extern "C" { + pub fn CLOENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FORMALS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_BODY(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_CLOENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRINTNAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn SYMVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn INTERNAL(x: SEXP) -> SEXP; +} +extern "C" { + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_DDVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRINTNAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_SYMVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_INTERNAL(x: SEXP, v: SEXP); +} +extern "C" { + pub fn FRAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENCLOS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn HASHTAB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FRAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_ENCLOS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_HASHTAB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRCODE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_PRSEEN(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRCODE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn HASHASH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn HASHVALUE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_HASHASH(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_HASHVALUE(x: SEXP, v: ::std::os::raw::c_int); +} +pub type PROTECT_INDEX = ::std::os::raw::c_int; +extern "C" { + pub static mut R_GlobalEnv: SEXP; +} +extern "C" { + pub static mut R_EmptyEnv: SEXP; +} +extern "C" { + pub static mut R_BaseEnv: SEXP; +} +extern "C" { + pub static mut R_BaseNamespace: SEXP; +} +extern "C" { + pub static mut R_NamespaceRegistry: SEXP; +} +extern "C" { + pub static mut R_Srcref: SEXP; +} +extern "C" { + pub static mut R_NilValue: SEXP; +} +extern "C" { + pub static mut R_UnboundValue: SEXP; +} +extern "C" { + pub static mut R_MissingArg: SEXP; +} +extern "C" { + pub static mut R_InBCInterpreter: SEXP; +} +extern "C" { + pub static mut R_CurrentExpression: SEXP; +} +extern "C" { + pub static mut R_RestartToken: SEXP; +} +extern "C" { + pub static mut R_AsCharacterSymbol: SEXP; +} +extern "C" { + pub static mut R_baseSymbol: SEXP; +} +extern "C" { + pub static mut R_BaseSymbol: SEXP; +} +extern "C" { + pub static mut R_BraceSymbol: SEXP; +} +extern "C" { + pub static mut R_Bracket2Symbol: SEXP; +} +extern "C" { + pub static mut R_BracketSymbol: SEXP; +} +extern "C" { + pub static mut R_ClassSymbol: SEXP; +} +extern "C" { + pub static mut R_DeviceSymbol: SEXP; +} +extern "C" { + pub static mut R_DimNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_DimSymbol: SEXP; +} +extern "C" { + pub static mut R_DollarSymbol: SEXP; +} +extern "C" { + pub static mut R_DotsSymbol: SEXP; +} +extern "C" { + pub static mut R_DoubleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_DropSymbol: SEXP; +} +extern "C" { + pub static mut R_EvalSymbol: SEXP; +} +extern "C" { + pub static mut R_FunctionSymbol: SEXP; +} +extern "C" { + pub static mut R_LastvalueSymbol: SEXP; +} +extern "C" { + pub static mut R_LevelsSymbol: SEXP; +} +extern "C" { + pub static mut R_ModeSymbol: SEXP; +} +extern "C" { + pub static mut R_NaRmSymbol: SEXP; +} +extern "C" { + pub static mut R_NameSymbol: SEXP; +} +extern "C" { + pub static mut R_NamesSymbol: SEXP; +} +extern "C" { + pub static mut R_NamespaceEnvSymbol: SEXP; +} +extern "C" { + pub static mut R_PackageSymbol: SEXP; +} +extern "C" { + pub static mut R_PreviousSymbol: SEXP; +} +extern "C" { + pub static mut R_QuoteSymbol: SEXP; +} +extern "C" { + pub static mut R_RowNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_SeedsSymbol: SEXP; +} +extern "C" { + pub static mut R_SortListSymbol: SEXP; +} +extern "C" { + pub static mut R_SourceSymbol: SEXP; +} +extern "C" { + pub static mut R_SpecSymbol: SEXP; +} +extern "C" { + pub static mut R_TripleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_TspSymbol: SEXP; +} +extern "C" { + pub static mut R_dot_defined: SEXP; +} +extern "C" { + pub static mut R_dot_Method: SEXP; +} +extern "C" { + pub static mut R_dot_packageName: SEXP; +} +extern "C" { + pub static mut R_dot_target: SEXP; +} +extern "C" { + pub static mut R_dot_Generic: SEXP; +} +extern "C" { + pub static mut R_NaString: SEXP; +} +extern "C" { + pub static mut R_BlankString: SEXP; +} +extern "C" { + pub static mut R_BlankScalarString: SEXP; +} +extern "C" { + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asLogical2( + x: SEXP, + checking: ::std::os::raw::c_int, + call: SEXP, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asReal(x: SEXP) -> f64; +} +extern "C" { + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +pub const warn_type_iSILENT: warn_type = 0; +pub const warn_type_iWARN: warn_type = 1; +pub const warn_type_iERROR: warn_type = 2; +pub type warn_type = u32; +extern "C" { + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_addMissingVarsToNewEnv(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList2(sym1: SEXP, sym2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList3(sym1: SEXP, sym2: SEXP, sym3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList4(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList5(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP, sym5: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList6( + sym1: SEXP, + sym2: SEXP, + sym3: SEXP, + sym4: SEXP, + sym5: SEXP, + sym6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_allocS4Object() -> SEXP; +} +extern "C" { + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; +} +extern "C" { + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_arraySubscript( + arg1: ::std::os::raw::c_int, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::option::Option SEXP>, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP, + >, + arg6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_fixSubset3Args(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: *mut SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_countContexts( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_CreateTag(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_DropDims(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_envHasNoSpecialSymbols(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_ExtractSubset(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFunctionForBody(arg1: SEXP); +} +extern "C" { + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_FixupDigits(arg1: SEXP, arg2: warn_type) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_FixupWidth(arg1: SEXP, arg2: warn_type) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_installChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installDDVAL(i: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_installS3Signature( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> SEXP; +} +extern "C" { + pub fn Rf_isFree(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnmodifiedSpecSym(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; +} +extern "C" { + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_matchE(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +pub const nchar_type_Bytes: nchar_type = 0; +pub const nchar_type_Chars: nchar_type = 1; +pub const nchar_type_Width: nchar_type = 2; +pub type nchar_type = u32; +extern "C" { + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_pmatch(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} +extern "C" { + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_PrintValue(arg1: SEXP); +} +extern "C" { + pub fn Rf_printwhere(); +} +extern "C" { + pub fn Rf_readS3VarsFromFrame( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut SEXP, + arg5: *mut SEXP, + arg6: *mut SEXP, + arg7: *mut SEXP, + ); +} +extern "C" { + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_setSVector(arg1: *mut SEXP, arg2: ::std::os::raw::c_int, arg3: SEXP); +} +extern "C" { + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_stringSuffix(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; +} +extern "C" { + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateChar0(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect_ptr(arg1: SEXP); +} +extern "C" { + pub fn R_signal_protect_error(); +} +extern "C" { + pub fn R_signal_unprotect_error(); +} +extern "C" { + pub fn R_signal_reprotect_error(i: PROTECT_INDEX); +} +extern "C" { + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetCurrentEnv() -> SEXP; +} +extern "C" { + pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isS4(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_cycle_detected(s: SEXP, child: SEXP) -> Rboolean; +} +pub const cetype_t_CE_NATIVE: cetype_t = 0; +pub const cetype_t_CE_UTF8: cetype_t = 1; +pub const cetype_t_CE_LATIN1: cetype_t = 2; +pub const cetype_t_CE_BYTES: cetype_t = 3; +pub const cetype_t_CE_SYMBOL: cetype_t = 5; +pub const cetype_t_CE_ANY: cetype_t = 99; +pub type cetype_t = u32; +extern "C" { + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; +} +extern "C" { + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; +} +extern "C" { + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClearExternalPtr(s: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); +} +extern "C" { + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; +} +pub type R_CFinalizer_t = ::std::option::Option; +extern "C" { + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); +} +extern "C" { + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); +} +extern "C" { + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); +} +extern "C" { + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); +} +extern "C" { + pub fn R_RunPendingFinalizers(); +} +extern "C" { + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_WeakRefKey(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_WeakRefValue(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_RunWeakRefFinalizer(w: SEXP); +} +extern "C" { + pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; +} +extern "C" { + pub fn R_initialize_bcode(); +} +extern "C" { + pub fn R_bcEncode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_bcDecode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_registerBC(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn R_checkConstants(arg1: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_BCVersionOK(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_init_altrep(); +} +extern "C" { + pub fn R_reinit_altrep_classes(arg1: *mut DllInfo); +} +extern "C" { + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; +} +extern "C" { + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_MakeUnwindCont() -> SEXP; +} +extern "C" { + pub fn R_ContinueUnwind(cont: SEXP); +} +extern "C" { + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_RestoreHashCount(rho: SEXP); +} +extern "C" { + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindNamespace(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); +} +extern "C" { + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_LockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_unLockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); +} +extern "C" { + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; +} +extern "C" { + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; +} +extern "C" { + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +pub const R_pstream_format_t_R_pstream_any_format: R_pstream_format_t = 0; +pub const R_pstream_format_t_R_pstream_ascii_format: R_pstream_format_t = 1; +pub const R_pstream_format_t_R_pstream_binary_format: R_pstream_format_t = 2; +pub const R_pstream_format_t_R_pstream_xdr_format: R_pstream_format_t = 3; +pub const R_pstream_format_t_R_pstream_asciihex_format: R_pstream_format_t = 4; +pub type R_pstream_format_t = u32; +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +#[test] +fn bindgen_test_layout_R_outpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 48usize, + concat!("Size of: ", stringify!(R_outpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_outpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).version as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(version) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookData) + ) + ); +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout_R_inpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(R_inpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_inpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookData) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).native_encoding as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(native_encoding) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2nat_obj as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2nat_obj) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2utf8_obj as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2utf8_obj) + ) + ); +} +extern "C" { + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); +} +extern "C" { + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef_R(what: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_methods_attached() -> Rboolean; +} +extern "C" { + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_do_new_object(class_def: SEXP) -> SEXP; +} +extern "C" { + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_PreserveObject(arg1: SEXP); +} +extern "C" { + pub fn R_ReleaseObject(arg1: SEXP); +} +extern "C" { + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_dot_Last(); +} +extern "C" { + pub fn R_RunExitFinalizers(); +} +extern "C" { + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; +} +extern "C" { + pub fn R_body_no_src(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_lang1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_length(arg1: SEXP) -> R_len_t; +} +extern "C" { + pub fn Rf_list1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn Rf_protect(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); +} +extern "C" { + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); +} +extern "C" { + pub fn R_FixupRHS(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SCALAR_DVAL(x: SEXP) -> f64; +} +extern "C" { + pub fn SCALAR_LVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SCALAR_IVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_SCALAR_DVAL(x: SEXP, v: f64); +} +extern "C" { + pub fn SET_SCALAR_LVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_IVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_CVAL(x: SEXP, v: Rcomplex); +} +extern "C" { + pub fn SET_SCALAR_BVAL(x: SEXP, v: Rbyte); +} +extern "C" { + pub fn R_altrep_data1(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_altrep_data2(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); +} +extern "C" { + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); +} +extern "C" { + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL0(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn RAW0(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn R_BadValueInRCode( + value: SEXP, + call: SEXP, + rho: SEXP, + rawmsg: *const ::std::os::raw::c_char, + errmsg: *const ::std::os::raw::c_char, + warnmsg: *const ::std::os::raw::c_char, + varname: *const ::std::os::raw::c_char, + warnByDefault: Rboolean, + ); +} +extern "C" { + pub static mut R_Interactive: Rboolean; +} +extern "C" { + pub static mut R_NoEcho: Rboolean; +} +extern "C" { + pub fn R_RestoreGlobalEnv(); +} +extern "C" { + pub fn R_RestoreGlobalEnvFromFile(arg1: *const ::std::os::raw::c_char, arg2: Rboolean); +} +extern "C" { + pub fn R_SaveGlobalEnv(); +} +extern "C" { + pub fn R_SaveGlobalEnvToFile(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn R_FlushConsole(); +} +extern "C" { + pub fn R_ClearerrConsole(); +} +extern "C" { + pub fn R_Suicide(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn R_HomeDir() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub static mut R_DirtyImage: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_GUIType: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_setupHistory(); +} +extern "C" { + pub static mut R_HistoryFile: *mut ::std::os::raw::c_char; +} +extern "C" { + pub static mut R_HistorySize: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_RestoreHistory: ::std::os::raw::c_int; +} +extern "C" { + pub static mut R_Home: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_jump_to_toplevel(); +} +extern "C" { + pub fn Rf_mainloop(); +} +extern "C" { + pub fn Rf_onintr(); +} +extern "C" { + pub fn Rf_onintrNoResume(); +} +extern "C" { + pub static mut R_GlobalContext: *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn process_site_Renviron(); +} +extern "C" { + pub fn process_system_Renviron(); +} +extern "C" { + pub fn process_user_Renviron(); +} +extern "C" { + pub static mut R_Consolefile: *mut FILE; +} +extern "C" { + pub static mut R_Outputfile: *mut FILE; +} +extern "C" { + pub fn R_setStartTime(); +} +extern "C" { + pub fn fpu_setup(arg1: Rboolean); +} +extern "C" { + pub static mut R_running_as_main_program: ::std::os::raw::c_int; +} +pub type int_least8_t = i8; +pub type int_least16_t = i16; +pub type int_least32_t = i32; +pub type int_least64_t = i64; +pub type uint_least8_t = u8; +pub type uint_least16_t = u16; +pub type uint_least32_t = u32; +pub type uint_least64_t = u64; +pub type int_fast8_t = i8; +pub type int_fast16_t = i16; +pub type int_fast32_t = i32; +pub type int_fast64_t = i64; +pub type uint_fast8_t = u8; +pub type uint_fast16_t = u16; +pub type uint_fast32_t = u32; +pub type uint_fast64_t = u64; +pub type intmax_t = ::std::os::raw::c_long; +pub type uintmax_t = ::std::os::raw::c_ulong; +extern "C" { + pub static mut R_CStackLimit: usize; +} +extern "C" { + pub static mut R_CStackStart: usize; +} +pub const SA_TYPE_SA_NORESTORE: SA_TYPE = 0; +pub const SA_TYPE_SA_RESTORE: SA_TYPE = 1; +pub const SA_TYPE_SA_DEFAULT: SA_TYPE = 2; +pub const SA_TYPE_SA_NOSAVE: SA_TYPE = 3; +pub const SA_TYPE_SA_SAVE: SA_TYPE = 4; +pub const SA_TYPE_SA_SAVEASK: SA_TYPE = 5; +pub const SA_TYPE_SA_SUICIDE: SA_TYPE = 6; +pub type SA_TYPE = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: size_t, + pub nsize: size_t, + pub max_vsize: size_t, + pub max_nsize: size_t, + pub ppsize: size_t, + pub NoRenviron: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_structRstart() { + assert_eq!( + ::std::mem::size_of::(), + 88usize, + concat!("Size of: ", stringify!(structRstart)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(structRstart)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Quiet as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Quiet) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_NoEcho as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_NoEcho) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Interactive as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Interactive) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).R_Verbose as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(R_Verbose) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).LoadSiteFile as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(LoadSiteFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).LoadInitFile as *const _ as usize }, + 20usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(LoadInitFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).DebugInitFile as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(DebugInitFile) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).RestoreAction as *const _ as usize }, + 28usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(RestoreAction) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).SaveAction as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(SaveAction) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).vsize as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(vsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nsize as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(nsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).max_vsize as *const _ as usize }, + 56usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(max_vsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).max_nsize as *const _ as usize }, + 64usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(max_nsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).ppsize as *const _ as usize }, + 72usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(ppsize) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).NoRenviron as *const _ as usize }, + 80usize, + concat!( + "Offset of field: ", + stringify!(structRstart), + "::", + stringify!(NoRenviron) + ) + ); +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_DefParams(arg1: Rstart); +} +extern "C" { + pub fn R_SetParams(arg1: Rstart); +} +extern "C" { + pub fn R_SetWin32(arg1: Rstart); +} +extern "C" { + pub fn R_SizeFromEnv(arg1: Rstart); +} +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); +} +extern "C" { + pub fn R_set_command_line_arguments( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn setup_Rmainloop(); +} +extern "C" { + pub static mut ptr_R_Suicide: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ShowMessage: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >; +} +extern "C" { + pub static mut ptr_R_WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >; +} +extern "C" { + pub static mut ptr_R_ResetConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_FlushConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_ClearerrConsole: ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_Busy: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >; +} +extern "C" { + pub static mut ptr_R_ShowFiles: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut *const ::std::os::raw::c_char, + arg3: *mut *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + arg5: Rboolean, + arg6: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_ChooseFile: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_EditFile: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_R_loadhistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_savehistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_addhistory: + ::std::option::Option; +} +extern "C" { + pub static mut ptr_R_EditFiles: ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut *const ::std::os::raw::c_char, + arg3: *mut *const ::std::os::raw::c_char, + arg4: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int, + >; +} +extern "C" { + pub static mut ptr_do_selectlist: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_do_dataentry: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_do_dataviewer: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP, + >; +} +extern "C" { + pub static mut ptr_R_ProcessEvents: ::std::option::Option; +} +extern "C" { + pub static mut R_timeout_handler: + ::std::option::Option ::std::os::raw::c_int>; +} +extern "C" { + pub static mut R_timeout_val: ::std::os::raw::c_long; +} +extern "C" { + pub static mut R_SignalHandlers: ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_initEmbeddedR( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_ReplDLLinit(); +} +extern "C" { + pub fn R_ReplDLLdo1() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn CleanEd(); +} +extern "C" { + pub fn Rf_KillAllDevices(); +} +extern "C" { + pub fn R_CleanTempDir(); +} +extern "C" { + pub static mut R_TempDir: *mut ::std::os::raw::c_char; +} +pub const ParseStatus_PARSE_NULL: ParseStatus = 0; +pub const ParseStatus_PARSE_OK: ParseStatus = 1; +pub const ParseStatus_PARSE_INCOMPLETE: ParseStatus = 2; +pub const ParseStatus_PARSE_ERROR: ParseStatus = 3; +pub const ParseStatus_PARSE_EOF: ParseStatus = 4; +pub type ParseStatus = u32; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout___va_list_tag() { + assert_eq!( + ::std::mem::size_of::<__va_list_tag>(), + 24usize, + concat!("Size of: ", stringify!(__va_list_tag)) + ); + assert_eq!( + ::std::mem::align_of::<__va_list_tag>(), + 8usize, + concat!("Alignment of ", stringify!(__va_list_tag)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(gp_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(fp_offset) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(overflow_arg_area) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(__va_list_tag), + "::", + stringify!(reg_save_area) + ) + ); +} diff --git a/bindings/bindings-windows-x86-R3.6.rs b/bindings/bindings-windows-x86-R3.6.rs new file mode 100644 index 00000000..99261fee --- /dev/null +++ b/bindings/bindings-windows-x86-R3.6.rs @@ -0,0 +1,5418 @@ +/* automatically generated by rust-bindgen */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, + align: [Align; 0], +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage, align: [] } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const __MINGW64_VERSION_MAJOR: u32 = 9; +pub const __MINGW64_VERSION_MINOR: u32 = 0; +pub const __MINGW64_VERSION_BUGFIX: u32 = 0; +pub const __MINGW64_VERSION_RC: u32 = 0; +pub const __MINGW64_VERSION_STATE: &'static [u8; 6usize] = b"alpha\0"; +pub const __MINGW32_MAJOR_VERSION: u32 = 3; +pub const __MINGW32_MINOR_VERSION: u32 = 11; +pub const _M_IX86: u32 = 300; +pub const __MINGW_USE_UNDERSCORE_PREFIX: u32 = 1; +pub const __MINGW_HAVE_ANSI_C99_PRINTF: u32 = 1; +pub const __MINGW_HAVE_WIDE_C99_PRINTF: u32 = 1; +pub const __MINGW_HAVE_ANSI_C99_SCANF: u32 = 1; +pub const __MINGW_HAVE_WIDE_C99_SCANF: u32 = 1; +pub const __MINGW_SEC_WARN_STR : & 'static [u8 ; 92usize] = b"This function or variable may be unsafe, use _CRT_SECURE_NO_WARNINGS to disable deprecation\0" ; +pub const __MINGW_MSVC2005_DEPREC_STR : & 'static [u8 ; 117usize] = b"This POSIX function is deprecated beginning in Visual C++ 2005, use _CRT_NONSTDC_NO_DEPRECATE to disable deprecation\0" ; +pub const __MINGW_FORTIFY_LEVEL: u32 = 0; +pub const __MINGW_FORTIFY_VA_ARG: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY: u32 = 0; +pub const __USE_CRTIMP: u32 = 1; +pub const USE___UUIDOF: u32 = 0; +pub const __CRT__NO_INLINE: u32 = 1; +pub const __MSVCRT_VERSION__: u32 = 1792; +pub const _WIN32_WINNT: u32 = 1537; +pub const MINGW_HAS_SECURE_API: u32 = 1; +pub const __STDC_SECURE_LIB__: u32 = 200411; +pub const __GOT_SECURE_LIB__: u32 = 200411; +pub const MINGW_HAS_DDK_H: u32 = 1; +pub const _CRT_PACKING: u32 = 8; +pub const _SECURECRT_FILL_BUFFER_PATTERN: u32 = 253; +pub const _ARGMAX: u32 = 100; +pub const __USE_MINGW_ANSI_STDIO: u32 = 1; +pub const _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION: u32 = 1; +pub const _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR: u32 = 2; +pub const _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS: u32 = 4; +pub const _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY: u32 = 8; +pub const _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS: u32 = 16; +pub const _CRT_INTERNAL_SCANF_SECURECRT: u32 = 1; +pub const _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS: u32 = 2; +pub const _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY: u32 = 4; +pub const _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS: u32 = 4; +pub const _CRT_INTERNAL_LOCAL_SCANF_OPTIONS: u32 = 2; +pub const BUFSIZ: u32 = 512; +pub const _NSTREAM_: u32 = 512; +pub const _IOB_ENTRIES: u32 = 20; +pub const EOF: i32 = -1; +pub const _P_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const _wP_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const SEEK_CUR: u32 = 1; +pub const SEEK_END: u32 = 2; +pub const SEEK_SET: u32 = 0; +pub const STDIN_FILENO: u32 = 0; +pub const STDOUT_FILENO: u32 = 1; +pub const STDERR_FILENO: u32 = 2; +pub const FILENAME_MAX: u32 = 260; +pub const FOPEN_MAX: u32 = 20; +pub const _SYS_OPEN: u32 = 20; +pub const TMP_MAX: u32 = 32767; +pub const _IOREAD: u32 = 1; +pub const _IOWRT: u32 = 2; +pub const _IOFBF: u32 = 0; +pub const _IOLBF: u32 = 64; +pub const _IONBF: u32 = 4; +pub const _IOMYBUF: u32 = 8; +pub const _IOEOF: u32 = 16; +pub const _IOERR: u32 = 32; +pub const _IOSTRG: u32 = 64; +pub const _IORW: u32 = 128; +pub const _TWO_DIGIT_EXPONENT: u32 = 1; +pub const P_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const SYS_OPEN: u32 = 20; +pub const _P_WAIT: u32 = 0; +pub const _P_NOWAIT: u32 = 1; +pub const _OLD_P_OVERLAY: u32 = 2; +pub const _P_NOWAITO: u32 = 3; +pub const _P_DETACH: u32 = 4; +pub const _P_OVERLAY: u32 = 2; +pub const _WAIT_CHILD: u32 = 0; +pub const _WAIT_GRANDCHILD: u32 = 1; +pub const TMP_MAX_S: u32 = 32767; +pub const PATH_MAX: u32 = 260; +pub const CHAR_BIT: u32 = 8; +pub const SCHAR_MIN: i32 = -128; +pub const SCHAR_MAX: u32 = 127; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MIN: i32 = -128; +pub const CHAR_MAX: u32 = 127; +pub const MB_LEN_MAX: u32 = 5; +pub const SHRT_MIN: i32 = -32768; +pub const SHRT_MAX: u32 = 32767; +pub const USHRT_MAX: u32 = 65535; +pub const INT_MIN: i32 = -2147483648; +pub const INT_MAX: u32 = 2147483647; +pub const UINT_MAX: u32 = 4294967295; +pub const LONG_MIN: i32 = -2147483648; +pub const LONG_MAX: u32 = 2147483647; +pub const ULONG_MAX: u32 = 4294967295; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const _I8_MIN: i32 = -128; +pub const _I8_MAX: u32 = 127; +pub const _UI8_MAX: u32 = 255; +pub const _I16_MIN: i32 = -32768; +pub const _I16_MAX: u32 = 32767; +pub const _UI16_MAX: u32 = 65535; +pub const _I32_MIN: i32 = -2147483648; +pub const _I32_MAX: u32 = 2147483647; +pub const _UI32_MAX: u32 = 4294967295; +pub const LONG_LONG_MAX: u64 = 9223372036854775807; +pub const LONG_LONG_MIN: i64 = -9223372036854775808; +pub const ULONG_LONG_MAX: i32 = -1; +pub const _I64_MIN: i64 = -9223372036854775808; +pub const _I64_MAX: u64 = 9223372036854775807; +pub const _UI64_MAX: i32 = -1; +pub const SIZE_MAX: u32 = 4294967295; +pub const SSIZE_MAX: u32 = 2147483647; +pub const _DOMAIN: u32 = 1; +pub const _SING: u32 = 2; +pub const _OVERFLOW: u32 = 3; +pub const _UNDERFLOW: u32 = 4; +pub const _TLOSS: u32 = 5; +pub const _PLOSS: u32 = 6; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +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 __MINGW_FPCLASS_DEFINED: u32 = 1; +pub const _FPCLASS_SNAN: u32 = 1; +pub const _FPCLASS_QNAN: u32 = 2; +pub const _FPCLASS_NINF: u32 = 4; +pub const _FPCLASS_NN: u32 = 8; +pub const _FPCLASS_ND: u32 = 16; +pub const _FPCLASS_NZ: u32 = 32; +pub const _FPCLASS_PZ: u32 = 64; +pub const _FPCLASS_PD: u32 = 128; +pub const _FPCLASS_PN: u32 = 256; +pub const _FPCLASS_PINF: u32 = 512; +pub const EDOM: u32 = 33; +pub const ERANGE: u32 = 34; +pub const FP_SNAN: u32 = 1; +pub const FP_QNAN: u32 = 2; +pub const FP_NINF: u32 = 4; +pub const FP_PINF: u32 = 512; +pub const FP_NDENORM: u32 = 16; +pub const FP_PDENORM: u32 = 128; +pub const FP_NZERO: u32 = 32; +pub const FP_PZERO: u32 = 64; +pub const FP_NNORM: u32 = 8; +pub const FP_PNORM: u32 = 256; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 4; +pub const R_XLEN_T_MAX: u32 = 2147483647; +pub const R_INTERNALS_UUID: &'static [u8; 37usize] = b"2fdf6c18-697a-4ba7-b8ef-11c0d92f1327\0"; +pub const NILSXP: u32 = 0; +pub const SYMSXP: u32 = 1; +pub const LISTSXP: u32 = 2; +pub const CLOSXP: u32 = 3; +pub const ENVSXP: u32 = 4; +pub const PROMSXP: u32 = 5; +pub const LANGSXP: u32 = 6; +pub const SPECIALSXP: u32 = 7; +pub const BUILTINSXP: u32 = 8; +pub const CHARSXP: u32 = 9; +pub const LGLSXP: u32 = 10; +pub const INTSXP: u32 = 13; +pub const REALSXP: u32 = 14; +pub const CPLXSXP: u32 = 15; +pub const STRSXP: u32 = 16; +pub const DOTSXP: u32 = 17; +pub const ANYSXP: u32 = 18; +pub const VECSXP: u32 = 19; +pub const EXPRSXP: u32 = 20; +pub const BCODESXP: u32 = 21; +pub const EXTPTRSXP: u32 = 22; +pub const WEAKREFSXP: u32 = 23; +pub const RAWSXP: u32 = 24; +pub const S4SXP: u32 = 25; +pub const NEWSXP: u32 = 30; +pub const FREESXP: u32 = 31; +pub const FUNSXP: u32 = 99; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const R_VERSION: u32 = 198147; +pub const R_NICK: &'static [u8; 21usize] = b"Holding the Windsock\0"; +pub const R_MAJOR: &'static [u8; 2usize] = b"3\0"; +pub const R_MINOR: &'static [u8; 4usize] = b"6.3\0"; +pub const R_STATUS: &'static [u8; 1usize] = b"\0"; +pub const R_YEAR: &'static [u8; 5usize] = b"2020\0"; +pub const R_MONTH: &'static [u8; 3usize] = b"02\0"; +pub const R_DAY: &'static [u8; 3usize] = b"29\0"; +pub const R_SVN_REVISION: u32 = 77875; +pub type size_t = ::std::os::raw::c_uint; +pub type wchar_t = ::std::os::raw::c_ushort; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct max_align_t { + pub __clang_max_align_nonce1: ::std::os::raw::c_longlong, + pub __clang_max_align_nonce2: f64, +} +#[doc = "
"] +pub type R_xlen_t = isize; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +extern "C" { + pub fn __debugbreak(); +} +extern "C" { + pub fn __mingw_get_crt_info() -> *const ::std::os::raw::c_char; +} +pub type ssize_t = ::std::os::raw::c_int; +pub type rsize_t = size_t; +pub type wint_t = ::std::os::raw::c_ushort; +pub type wctype_t = ::std::os::raw::c_ushort; +pub type errno_t = ::std::os::raw::c_int; +pub type __time32_t = ::std::os::raw::c_long; +pub type __time64_t = ::std::os::raw::c_longlong; +pub type time_t = __time32_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadmbcinfostruct { + _unused: [u8; 0], +} +pub type pthreadlocinfo = *mut threadlocaleinfostruct; +pub type pthreadmbcinfo = *mut threadmbcinfostruct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __lc_time_data { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct localeinfo_struct { + pub locinfo: pthreadlocinfo, + pub mbcinfo: pthreadmbcinfo, +} +pub type _locale_tstruct = localeinfo_struct; +pub type _locale_t = *mut localeinfo_struct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct tagLC_ID { + pub wLanguage: ::std::os::raw::c_ushort, + pub wCountry: ::std::os::raw::c_ushort, + pub wCodePage: ::std::os::raw::c_ushort, +} +pub type LC_ID = tagLC_ID; +pub type LPLC_ID = *mut tagLC_ID; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadlocaleinfostruct { + pub refcount: ::std::os::raw::c_int, + pub lc_codepage: ::std::os::raw::c_uint, + pub lc_collate_cp: ::std::os::raw::c_uint, + pub lc_handle: [::std::os::raw::c_ulong; 6usize], + pub lc_id: [LC_ID; 6usize], + pub lc_category: [threadlocaleinfostruct__bindgen_ty_1; 6usize], + pub lc_clike: ::std::os::raw::c_int, + pub mb_cur_max: ::std::os::raw::c_int, + pub lconv_intl_refcount: *mut ::std::os::raw::c_int, + pub lconv_num_refcount: *mut ::std::os::raw::c_int, + pub lconv_mon_refcount: *mut ::std::os::raw::c_int, + pub lconv: *mut lconv, + pub ctype1_refcount: *mut ::std::os::raw::c_int, + pub ctype1: *mut ::std::os::raw::c_ushort, + pub pctype: *const ::std::os::raw::c_ushort, + pub pclmap: *const ::std::os::raw::c_uchar, + pub pcumap: *const ::std::os::raw::c_uchar, + pub lc_time_curr: *mut __lc_time_data, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadlocaleinfostruct__bindgen_ty_1 { + pub locale: *mut ::std::os::raw::c_char, + pub wlocale: *mut wchar_t, + pub refcount: *mut ::std::os::raw::c_int, + pub wrefcount: *mut ::std::os::raw::c_int, +} +pub type threadlocinfo = threadlocaleinfostruct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _ptr: *mut ::std::os::raw::c_char, + pub _cnt: ::std::os::raw::c_int, + pub _base: *mut ::std::os::raw::c_char, + pub _flag: ::std::os::raw::c_int, + pub _file: ::std::os::raw::c_int, + pub _charbuf: ::std::os::raw::c_int, + pub _bufsiz: ::std::os::raw::c_int, + pub _tmpfname: *mut ::std::os::raw::c_char, +} +pub type FILE = _iobuf; +pub type _off_t = ::std::os::raw::c_long; +pub type off32_t = ::std::os::raw::c_long; +pub type _off64_t = ::std::os::raw::c_longlong; +pub type off64_t = ::std::os::raw::c_longlong; +pub type off_t = off32_t; +extern "C" { + pub fn __acrt_iob_func(index: ::std::os::raw::c_uint) -> *mut FILE; +} +extern "C" { + pub static mut _imp___iob: *mut [FILE; 0usize]; +} +pub type fpos_t = ::std::os::raw::c_longlong; +extern "C" { + pub fn __mingw_sscanf( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsscanf( + _Str: *const ::std::os::raw::c_char, + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vscanf( + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fscanf( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfscanf( + fp: *mut FILE, + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsnprintf( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_snprintf( + s: *mut ::std::os::raw::c_char, + n: size_t, + format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_sscanf( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fscanf( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _filbuf(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _flsbuf(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fsopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _ShFlag: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn clearerr(_File: *mut FILE); +} +extern "C" { + pub fn fclose(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fcloseall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fdopen( + _FileHandle: ::std::os::raw::c_int, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn feof(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ferror(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fflush(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetc(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fgetchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos(_File: *mut FILE, _Pos: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos64(_File: *mut FILE, _Pos: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgets( + _Buf: *mut ::std::os::raw::c_char, + _MaxCount: ::std::os::raw::c_int, + _File: *mut FILE, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _fileno(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _tempnam( + _DirName: *const ::std::os::raw::c_char, + _FilePrefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _flushall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fopen64( + filename: *const ::std::os::raw::c_char, + mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fputc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputs(_Str: *const ::std::os::raw::c_char, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fread( + _DstBuf: *mut ::std::os::raw::c_void, + _ElementSize: ::std::os::raw::c_uint, + _Count: ::std::os::raw::c_uint, + _File: *mut FILE, + ) -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn freopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _File: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn fsetpos(_File: *mut FILE, _Pos: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fsetpos64(_File: *mut FILE, _Pos: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseek( + _File: *mut FILE, + _Offset: ::std::os::raw::c_long, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftell(_File: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn _fseeki64( + _File: *mut FILE, + _Offset: ::std::os::raw::c_longlong, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftelli64(_File: *mut FILE) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn fseeko64( + stream: *mut FILE, + offset: _off64_t, + whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseeko( + stream: *mut FILE, + offset: _off_t, + whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftello(stream: *mut FILE) -> _off_t; +} +extern "C" { + pub fn ftello64(stream: *mut FILE) -> _off64_t; +} +extern "C" { + pub fn fwrite( + _Str: *const ::std::os::raw::c_void, + _Size: ::std::os::raw::c_uint, + _Count: ::std::os::raw::c_uint, + _File: *mut FILE, + ) -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn getc(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _getmaxstdio() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn gets(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _getw(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn perror(_ErrMsg: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn _pclose(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _popen( + _Command: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn putc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn puts(_Str: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _putw(_Word: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn remove(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rename( + _OldFilename: *const ::std::os::raw::c_char, + _NewFilename: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _unlink(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn unlink(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rewind(_File: *mut FILE); +} +extern "C" { + pub fn _rmtmp() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuf(_File: *mut FILE, _Buffer: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn _setmaxstdio(_Max: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_output_format(_Format: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn _get_output_format() -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn setvbuf( + _File: *mut FILE, + _Buf: *mut ::std::os::raw::c_char, + _Mode: ::std::os::raw::c_int, + _Size: size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tmpfile() -> *mut FILE; +} +extern "C" { + pub fn tmpnam(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn ungetc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf( + _Dest: *mut ::std::os::raw::c_char, + _Count: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf( + _Dest: *mut ::std::os::raw::c_char, + _Count: size_t, + _Format: *const ::std::os::raw::c_char, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_printf_count_output(_Value: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _get_printf_count_output() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_swscanf( + _Src: *const wchar_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vswscanf( + _Str: *const wchar_t, + Format: *const wchar_t, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vwscanf(Format: *const wchar_t, argp: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fwscanf(_File: *mut FILE, _Format: *const wchar_t, ...) + -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfwscanf( + fp: *mut FILE, + Format: *const wchar_t, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_snwprintf( + s: *mut wchar_t, + n: size_t, + format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsnwprintf( + arg1: *mut wchar_t, + arg2: size_t, + arg3: *const wchar_t, + arg4: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_swprintf(arg1: *mut wchar_t, arg2: *const wchar_t, ...) + -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vswprintf( + arg1: *mut wchar_t, + arg2: *const wchar_t, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_swscanf( + _Src: *const wchar_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fwscanf(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fwprintf(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vfwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_swprintf(arg1: *mut wchar_t, arg2: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vswprintf( + arg1: *mut wchar_t, + arg2: *const wchar_t, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfsopen( + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _ShFlag: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn fgetwc(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fgetwchar() -> wint_t; +} +extern "C" { + pub fn fputwc(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fputwchar(_Ch: wchar_t) -> wint_t; +} +extern "C" { + pub fn getwc(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn getwchar() -> wint_t; +} +extern "C" { + pub fn putwc(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn putwchar(_Ch: wchar_t) -> wint_t; +} +extern "C" { + pub fn ungetwc(_Ch: wint_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn fgetws( + _Dst: *mut wchar_t, + _SizeInWords: ::std::os::raw::c_int, + _File: *mut FILE, + ) -> *mut wchar_t; +} +extern "C" { + pub fn fputws(_Str: *const wchar_t, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _getws(_String: *mut wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _putws(_Str: *const wchar_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_c( + _DstBuf: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_c( + _DstBuf: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf( + _Dest: *mut wchar_t, + _Count: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf( + _Dest: *mut wchar_t, + _Count: size_t, + _Format: *const wchar_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf(_Dest: *mut wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wtempnam(_Directory: *const wchar_t, _FilePrefix: *const wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _snwscanf( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfdopen(_FileHandle: ::std::os::raw::c_int, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wfopen(_Filename: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wfreopen( + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _OldFile: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn _wperror(_ErrMsg: *const wchar_t); +} +extern "C" { + pub fn _wpopen(_Command: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wremove(_Filename: *const wchar_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wtmpnam(_Buffer: *mut wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _fgetwc_nolock(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fputwc_nolock(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _ungetwc_nolock(_Ch: wint_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _lock_file(_File: *mut FILE); +} +extern "C" { + pub fn _unlock_file(_File: *mut FILE); +} +extern "C" { + pub fn _fclose_nolock(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fflush_nolock(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fread_nolock( + _DstBuf: *mut ::std::os::raw::c_void, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn _fseek_nolock( + _File: *mut FILE, + _Offset: ::std::os::raw::c_long, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftell_nolock(_File: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn _fseeki64_nolock( + _File: *mut FILE, + _Offset: ::std::os::raw::c_longlong, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftelli64_nolock(_File: *mut FILE) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn _fwrite_nolock( + _DstBuf: *const ::std::os::raw::c_void, + _Size: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn _ungetc_nolock(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tempnam( + _Directory: *const ::std::os::raw::c_char, + _FilePrefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fcloseall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fdopen( + _FileHandle: ::std::os::raw::c_int, + _Format: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fgetchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fileno(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn flushall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getw(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putw(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rmtmp() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_wide_utf8( + wptr: *const wchar_t, + mbptr: *mut *mut ::std::os::raw::c_char, + buflen: *mut size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_utf8_wide( + mbptr: *const ::std::os::raw::c_char, + wptr: *mut *mut wchar_t, + buflen: *mut size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_free(ptr: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn _wspawnl( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnle( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnlp( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnlpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnv( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnve( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + _Env: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnvp( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnvpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + _Env: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _spawnv( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnve( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + _Env: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnvp( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnvpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + _Env: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn clearerr_s(_File: *mut FILE) -> errno_t; +} +extern "C" { + pub fn fread_s( + _DstBuf: *mut ::std::os::raw::c_void, + _DstSize: size_t, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn fprintf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fscanf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fscanf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn printf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scanf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scanf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn scanf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_c( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_c( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fscanf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sscanf_l( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sscanf_s_l( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sscanf_s( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_s( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_l( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_s_l( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfprintf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vprintf_s( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsnprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _Size: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_p( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_p( + _Dst: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_p( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_p( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_p( + _Dst: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_p( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_p_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_p_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_p_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + arg1: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_p_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_c_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_c_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + arg1: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fopen_s( + _File: *mut *mut FILE, + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> errno_t; +} +extern "C" { + pub fn freopen_s( + _File: *mut *mut FILE, + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _Stream: *mut FILE, + ) -> errno_t; +} +extern "C" { + pub fn gets_s(arg1: *mut ::std::os::raw::c_char, arg2: rsize_t) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn tmpnam_s(arg1: *mut ::std::os::raw::c_char, arg2: rsize_t) -> errno_t; +} +extern "C" { + pub fn _getws_s(_Str: *mut wchar_t, _SizeInWords: size_t) -> *mut wchar_t; +} +extern "C" { + pub fn fwprintf_s(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn wprintf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfwprintf_s( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vwprintf_s(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vswprintf_s( + _Dst: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn swprintf_s( + _Dst: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_s( + _DstBuf: *mut wchar_t, + _DstSizeInWords: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_s( + _DstBuf: *mut wchar_t, + _DstSizeInWords: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_s_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwscanf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fwscanf_s(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swscanf_s_l( + _Src: *const wchar_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn swscanf_s(_Src: *const wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_s( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_s_l( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wscanf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn wscanf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfopen_s( + _File: *mut *mut FILE, + _Filename: *const wchar_t, + _Mode: *const wchar_t, + ) -> errno_t; +} +extern "C" { + pub fn _wfreopen_s( + _File: *mut *mut FILE, + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _OldFile: *mut FILE, + ) -> errno_t; +} +extern "C" { + pub fn _wtmpnam_s(_DstBuf: *mut wchar_t, _SizeInWords: size_t) -> errno_t; +} +extern "C" { + pub fn _fwprintf_p(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_p( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_p( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_p( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_p_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_p_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_c_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_p_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_c_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_p_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __swprintf_l( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Plocinfo: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __vswprintf_l( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Plocinfo: _locale_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwscanf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swscanf_l( + _Src: *const wchar_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_l( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wscanf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fread_nolock_s( + _DstBuf: *mut ::std::os::raw::c_void, + _DstSize: size_t, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_dbl_type_t { + pub x: f64, + pub val: ::std::os::raw::c_ulonglong, + pub lh: __mingw_dbl_type_t__bindgen_ty_1, + _bindgen_union_align: u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __mingw_dbl_type_t__bindgen_ty_1 { + pub low: ::std::os::raw::c_uint, + pub high: ::std::os::raw::c_uint, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_flt_type_t { + pub x: f32, + pub val: ::std::os::raw::c_uint, + _bindgen_union_align: u32, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_ldbl_type_t { + pub x: f64, + pub lh: __mingw_ldbl_type_t__bindgen_ty_1, + _bindgen_union_align: [u32; 4usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __mingw_ldbl_type_t__bindgen_ty_1 { + pub low: ::std::os::raw::c_uint, + pub high: ::std::os::raw::c_uint, + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize], u32>, +} +impl __mingw_ldbl_type_t__bindgen_ty_1 { + #[inline] + pub fn sign_exponent(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_sign_exponent(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn res1(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_res1(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn res0(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 32u8) as u32) } + } + #[inline] + pub fn set_res0(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(32usize, 32u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + sign_exponent: ::std::os::raw::c_int, + res1: ::std::os::raw::c_int, + res0: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 8usize], u32> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize], u32> = + Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let sign_exponent: u32 = unsafe { ::std::mem::transmute(sign_exponent) }; + sign_exponent as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let res1: u32 = unsafe { ::std::mem::transmute(res1) }; + res1 as u64 + }); + __bindgen_bitfield_unit.set(32usize, 32u8, { + let res0: u32 = unsafe { ::std::mem::transmute(res0) }; + res0 as u64 + }); + __bindgen_bitfield_unit + } +} +extern "C" { + pub static mut _imp___HUGE: *mut f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _exception { + pub type_: ::std::os::raw::c_int, + pub name: *const ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, +} +extern "C" { + pub fn __mingw_raise_matherr( + typ: ::std::os::raw::c_int, + name: *const ::std::os::raw::c_char, + a1: f64, + a2: f64, + rslt: f64, + ); +} +extern "C" { + pub fn __mingw_setusermatherr( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut _exception) -> ::std::os::raw::c_int, + >, + ); +} +extern "C" { + pub fn __setusermatherr( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut _exception) -> ::std::os::raw::c_int, + >, + ); +} +extern "C" { + pub fn sin(_X: f64) -> f64; +} +extern "C" { + pub fn cos(_X: f64) -> f64; +} +extern "C" { + pub fn tan(_X: f64) -> f64; +} +extern "C" { + pub fn sinh(_X: f64) -> f64; +} +extern "C" { + pub fn cosh(_X: f64) -> f64; +} +extern "C" { + pub fn tanh(_X: f64) -> f64; +} +extern "C" { + pub fn asin(_X: f64) -> f64; +} +extern "C" { + pub fn acos(_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 exp(_X: f64) -> f64; +} +extern "C" { + pub fn log(_X: f64) -> f64; +} +extern "C" { + pub fn log10(_X: f64) -> f64; +} +extern "C" { + pub fn pow(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn sqrt(_X: f64) -> f64; +} +extern "C" { + pub fn ceil(_X: f64) -> f64; +} +extern "C" { + pub fn floor(_X: f64) -> f64; +} +extern "C" { + pub fn fabsf(x: f32) -> f32; +} +extern "C" { + pub fn fabsl(arg1: f64) -> f64; +} +extern "C" { + pub fn fabs(_X: f64) -> f64; +} +extern "C" { + pub fn ldexp(_X: f64, _Y: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn frexp(_X: f64, _Y: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn modf(_X: f64, _Y: *mut f64) -> f64; +} +extern "C" { + pub fn fmod(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn sincos(__x: f64, p_sin: *mut f64, p_cos: *mut f64); +} +extern "C" { + pub fn sincosl(__x: f64, p_sin: *mut f64, p_cos: *mut f64); +} +extern "C" { + pub fn sincosf(__x: f32, p_sin: *mut f32, p_cos: *mut f32); +} +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 atof(_String: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn _atof_l(_String: *const ::std::os::raw::c_char, _Locale: _locale_t) -> f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _complex { + pub x: f64, + pub y: f64, +} +extern "C" { + pub fn _cabs(_ComplexA: _complex) -> f64; +} +extern "C" { + pub fn _hypot(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn _j0(_X: f64) -> f64; +} +extern "C" { + pub fn _j1(_X: f64) -> f64; +} +extern "C" { + pub fn _jn(_X: ::std::os::raw::c_int, _Y: f64) -> f64; +} +extern "C" { + pub fn _y0(_X: f64) -> f64; +} +extern "C" { + pub fn _y1(_X: f64) -> f64; +} +extern "C" { + pub fn _yn(_X: ::std::os::raw::c_int, _Y: f64) -> f64; +} +extern "C" { + pub fn _matherr(arg1: *mut _exception) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _chgsign(_X: f64) -> f64; +} +extern "C" { + pub fn _copysign(_Number: f64, _Sign: f64) -> f64; +} +extern "C" { + pub fn _logb(arg1: f64) -> f64; +} +extern "C" { + pub fn _nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn _scalb(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn _finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fpclass(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _isnan(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn j0(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 y0(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 chgsign(arg1: f64) -> f64; +} +extern "C" { + pub fn finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fpclass(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_SSE2_enable(_Flag: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +pub type float_t = f32; +pub type double_t = f64; +extern "C" { + pub fn __fpclassifyl(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassify(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnan(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnanf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnanl(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbit(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbitf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbitl(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sinf(_X: f32) -> f32; +} +extern "C" { + pub fn sinl(arg1: f64) -> f64; +} +extern "C" { + pub fn cosf(_X: f32) -> f32; +} +extern "C" { + pub fn cosl(arg1: f64) -> f64; +} +extern "C" { + pub fn tanf(_X: f32) -> f32; +} +extern "C" { + pub fn tanl(arg1: f64) -> f64; +} +extern "C" { + pub fn asinf(_X: f32) -> f32; +} +extern "C" { + pub fn asinl(arg1: f64) -> f64; +} +extern "C" { + pub fn acosf(arg1: f32) -> f32; +} +extern "C" { + pub fn acosl(arg1: f64) -> f64; +} +extern "C" { + pub fn atanf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanl(arg1: f64) -> f64; +} +extern "C" { + pub fn atan2f(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn atan2l(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn sinhf(_X: f32) -> f32; +} +extern "C" { + pub fn sinhl(arg1: f64) -> f64; +} +extern "C" { + pub fn coshf(_X: f32) -> f32; +} +extern "C" { + pub fn coshl(arg1: f64) -> f64; +} +extern "C" { + pub fn tanhf(_X: f32) -> f32; +} +extern "C" { + pub fn tanhl(arg1: f64) -> f64; +} +extern "C" { + pub fn acosh(arg1: f64) -> f64; +} +extern "C" { + pub fn acoshf(arg1: f32) -> f32; +} +extern "C" { + pub fn acoshl(arg1: f64) -> f64; +} +extern "C" { + pub fn asinh(arg1: f64) -> f64; +} +extern "C" { + pub fn asinhf(arg1: f32) -> f32; +} +extern "C" { + pub fn asinhl(arg1: f64) -> f64; +} +extern "C" { + pub fn atanh(arg1: f64) -> f64; +} +extern "C" { + pub fn atanhf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanhl(arg1: f64) -> f64; +} +extern "C" { + pub fn expf(_X: f32) -> f32; +} +extern "C" { + pub fn expl(arg1: f64) -> f64; +} +extern "C" { + pub fn exp2(arg1: f64) -> f64; +} +extern "C" { + pub fn exp2f(arg1: f32) -> f32; +} +extern "C" { + pub fn exp2l(arg1: f64) -> f64; +} +extern "C" { + pub fn expm1(arg1: f64) -> f64; +} +extern "C" { + pub fn expm1f(arg1: f32) -> f32; +} +extern "C" { + pub fn expm1l(arg1: f64) -> f64; +} +extern "C" { + pub fn frexpf(_X: f32, _Y: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn frexpl(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbl(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ldexpf(_X: f32, _Y: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn ldexpl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn logf(arg1: f32) -> f32; +} +extern "C" { + pub fn logl(arg1: f64) -> f64; +} +extern "C" { + pub fn log10f(arg1: f32) -> f32; +} +extern "C" { + pub fn log10l(arg1: f64) -> f64; +} +extern "C" { + pub fn log1p(arg1: f64) -> f64; +} +extern "C" { + pub fn log1pf(arg1: f32) -> f32; +} +extern "C" { + pub fn log1pl(arg1: f64) -> f64; +} +extern "C" { + pub fn log2(arg1: f64) -> f64; +} +extern "C" { + pub fn log2f(arg1: f32) -> f32; +} +extern "C" { + pub fn log2l(arg1: f64) -> f64; +} +extern "C" { + pub fn logb(arg1: f64) -> f64; +} +extern "C" { + pub fn logbf(arg1: f32) -> f32; +} +extern "C" { + pub fn logbl(arg1: f64) -> f64; +} +extern "C" { + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; +} +extern "C" { + pub fn modfl(arg1: f64, arg2: *mut f64) -> f64; +} +extern "C" { + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn scalbnl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; +} +extern "C" { + pub fn scalblnl(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn cbrt(arg1: f64) -> f64; +} +extern "C" { + pub fn cbrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn cbrtl(arg1: f64) -> f64; +} +extern "C" { + pub fn hypot(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn hypotf(x: f32, y: f32) -> f32; +} +extern "C" { + pub fn hypotl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn powf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn powl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn sqrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn sqrtl(arg1: f64) -> f64; +} +extern "C" { + pub fn erf(arg1: f64) -> f64; +} +extern "C" { + pub fn erff(arg1: f32) -> f32; +} +extern "C" { + pub fn erfl(arg1: f64) -> f64; +} +extern "C" { + pub fn erfc(arg1: f64) -> f64; +} +extern "C" { + pub fn erfcf(arg1: f32) -> f32; +} +extern "C" { + pub fn erfcl(arg1: f64) -> f64; +} +extern "C" { + pub fn lgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn lgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn lgammal(arg1: f64) -> f64; +} +extern "C" { + pub static mut signgam: ::std::os::raw::c_int; +} +extern "C" { + pub fn tgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn tgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn tgammal(arg1: f64) -> f64; +} +extern "C" { + pub fn ceilf(arg1: f32) -> f32; +} +extern "C" { + pub fn ceill(arg1: f64) -> f64; +} +extern "C" { + pub fn floorf(arg1: f32) -> f32; +} +extern "C" { + pub fn floorl(arg1: f64) -> f64; +} +extern "C" { + pub fn nearbyint(arg1: f64) -> f64; +} +extern "C" { + pub fn nearbyintf(arg1: f32) -> f32; +} +extern "C" { + pub fn nearbyintl(arg1: f64) -> f64; +} +extern "C" { + pub fn rint(arg1: f64) -> f64; +} +extern "C" { + pub fn rintf(arg1: f32) -> f32; +} +extern "C" { + pub fn rintl(arg1: f64) -> f64; +} +extern "C" { + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintl(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintl(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn round(arg1: f64) -> f64; +} +extern "C" { + pub fn roundf(arg1: f32) -> f32; +} +extern "C" { + pub fn roundl(arg1: f64) -> f64; +} +extern "C" { + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundl(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundl(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn trunc(arg1: f64) -> f64; +} +extern "C" { + pub fn truncf(arg1: f32) -> f32; +} +extern "C" { + pub fn truncl(arg1: f64) -> f64; +} +extern "C" { + pub fn fmodf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmodl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remainder(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remainderf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn remainderl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn remquol(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn copysign(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn copysignf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn copysignl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nan(tagp: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn nanf(tagp: *const ::std::os::raw::c_char) -> f32; +} +extern "C" { + pub fn nanl(tagp: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn nextafterl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nexttoward(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nexttowardf(arg1: f32, arg2: f64) -> f32; +} +extern "C" { + pub fn nexttowardl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fdim(x: f64, y: f64) -> f64; +} +extern "C" { + pub fn fdimf(x: f32, y: f32) -> f32; +} +extern "C" { + pub fn fdiml(x: f64, y: f64) -> f64; +} +extern "C" { + pub fn fmax(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmaxl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmin(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fminf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fminl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; +} +extern "C" { + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; +} +extern "C" { + pub fn fmal(arg1: f64, arg2: f64, arg3: f64) -> f64; +} +extern "C" { + pub fn _hypotf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn _copysignf(_Number: f32, _Sign: f32) -> f32; +} +extern "C" { + pub fn _chgsignf(_X: f32) -> f32; +} +extern "C" { + pub fn _logbf(_X: f32) -> f32; +} +extern "C" { + pub fn _nextafterf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn _finitef(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _isnanf(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fpclassf(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _chgsignl(arg1: f64) -> f64; +} +extern "C" { + pub static mut R_NaN: f64; +} +extern "C" { + pub static mut R_PosInf: f64; +} +extern "C" { + pub static mut R_NegInf: f64; +} +extern "C" { + pub static mut R_NaReal: f64; +} +extern "C" { + pub static mut R_NaInt: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} +pub const Rboolean_FALSE: Rboolean = 0; +pub const Rboolean_TRUE: Rboolean = 1; +pub type Rboolean = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); +} +extern "C" { + pub fn R_gc(); +} +extern "C" { + pub fn R_gc_running() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_alloc(arg1: size_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_allocLD(nelem: size_t) -> *mut f64; +} +extern "C" { + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_malloc_gc(arg1: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_calloc_gc(arg1: size_t, arg2: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: size_t, + ) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_qsort(v: *mut f64, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); +} +extern "C" { + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn R_atof(str: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; +} +extern "C" { + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_CheckUserInterrupt(); +} +extern "C" { + pub fn R_CheckStack(); +} +extern "C" { + pub fn R_CheckStack2(arg1: size_t); +} +extern "C" { + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} +extern "C" { + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; +} +extern "C" { + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +pub const NativeSymbolType_R_ANY_SYM: NativeSymbolType = 0; +pub const NativeSymbolType_R_C_SYM: NativeSymbolType = 1; +pub const NativeSymbolType_R_CALL_SYM: NativeSymbolType = 2; +pub const NativeSymbolType_R_FORTRAN_SYM: NativeSymbolType = 3; +pub const NativeSymbolType_R_EXTERNAL_SYM: NativeSymbolType = 4; +pub type NativeSymbolType = u32; +extern "C" { + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; +} +extern "C" { + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); +} +extern "C" { + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} +pub type Rbyte = ::std::os::raw::c_uchar; +pub type R_len_t = ::std::os::raw::c_int; +pub type SEXPTYPE = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct SEXPREC { + _unused: [u8; 0], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isNull(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLogical(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isReal(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isComplex(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isExpression(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isString(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isObject(s: SEXP) -> Rboolean; +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = -2; +pub const SORTED_DECR: _bindgen_ty_1 = -1; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = -2147483648; +pub const SORTED_INCR: _bindgen_ty_1 = 1; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = 2; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = 0; +pub type _bindgen_ty_1 = i32; +extern "C" { + pub fn ATTRIB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TRACKREFS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_ATTRIB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn ENSURE_NAMEDMAX(x: SEXP); +} +extern "C" { + pub fn ENSURE_NAMED(x: SEXP); +} +extern "C" { + pub fn SETTER_CLEAR_NAMED(x: SEXP); +} +extern "C" { + pub fn RAISE_NAMED(x: SEXP, n: ::std::os::raw::c_int); +} +extern "C" { + pub fn DECREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn INCREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn DISABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn ENABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn MARK_NOT_MUTABLE(x: SEXP); +} +extern "C" { + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn UNSET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn NOJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MAYBEJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_NOJIT(x: SEXP); +} +extern "C" { + pub fn SET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn UNSET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_GROWABLE_BIT(x: SEXP); +} +extern "C" { + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn SETLENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn REAL(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW_RO(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn REAL_RO(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); +} +extern "C" { + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; +} +extern "C" { + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; +} +extern "C" { + pub fn VECTOR_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP_DUPLICATE_EX(x: SEXP, deep: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREP_COERCE(x: SEXP, type_: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn ALTREP_INSPECT( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean; +} +extern "C" { + pub fn ALTREP_SERIALIZED_CLASS(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_SERIALIZED_STATE(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_UNSERIALIZE_EX( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn ALTREP_LENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTREP_TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_EXTRACT_SUBSET(x: SEXP, indx: SEXP, call: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTLOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTLOGICAL_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTREAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn ALTREAL_SET_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn ALTSTRING_ELT(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn ALTSTRING_SET_ELT(arg1: SEXP, arg2: R_xlen_t, arg3: SEXP); +} +extern "C" { + pub fn ALTCOMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn ALTCOMPLEX_SET_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); +} +extern "C" { + pub fn ALTRAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn ALTRAW_SET_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); +} +extern "C" { + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; +} +extern "C" { + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; +} +extern "C" { + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; +} +extern "C" { + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn INTEGER_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn INTEGER_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn REAL_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn REAL_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTLOGICAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_compact_intrange(n1: R_xlen_t, n2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_deferred_coerceToString(v: SEXP, info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_virtrep_vec(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryWrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryUnwrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn TAG(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAD4R(e: SEXP) -> SEXP; +} +extern "C" { + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_MISSING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TAG(x: SEXP, y: SEXP); +} +extern "C" { + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn CONS_NR(a: SEXP, b: SEXP) -> SEXP; +} +extern "C" { + pub fn FORMALS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn BODY(x: SEXP) -> SEXP; +} +extern "C" { + pub fn CLOENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FORMALS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_BODY(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_CLOENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRINTNAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn SYMVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn INTERNAL(x: SEXP) -> SEXP; +} +extern "C" { + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_DDVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRINTNAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_SYMVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_INTERNAL(x: SEXP, v: SEXP); +} +extern "C" { + pub fn FRAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENCLOS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn HASHTAB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FRAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_ENCLOS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_HASHTAB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRCODE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_PRSEEN(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRCODE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn HASHASH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn HASHVALUE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_HASHASH(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_HASHVALUE(x: SEXP, v: ::std::os::raw::c_int); +} +pub type PROTECT_INDEX = ::std::os::raw::c_int; +extern "C" { + pub static mut R_GlobalEnv: SEXP; +} +extern "C" { + pub static mut R_EmptyEnv: SEXP; +} +extern "C" { + pub static mut R_BaseEnv: SEXP; +} +extern "C" { + pub static mut R_BaseNamespace: SEXP; +} +extern "C" { + pub static mut R_NamespaceRegistry: SEXP; +} +extern "C" { + pub static mut R_Srcref: SEXP; +} +extern "C" { + pub static mut R_NilValue: SEXP; +} +extern "C" { + pub static mut R_UnboundValue: SEXP; +} +extern "C" { + pub static mut R_MissingArg: SEXP; +} +extern "C" { + pub static mut R_InBCInterpreter: SEXP; +} +extern "C" { + pub static mut R_CurrentExpression: SEXP; +} +extern "C" { + pub static mut R_RestartToken: SEXP; +} +extern "C" { + pub static mut R_AsCharacterSymbol: SEXP; +} +extern "C" { + pub static mut R_baseSymbol: SEXP; +} +extern "C" { + pub static mut R_BaseSymbol: SEXP; +} +extern "C" { + pub static mut R_BraceSymbol: SEXP; +} +extern "C" { + pub static mut R_Bracket2Symbol: SEXP; +} +extern "C" { + pub static mut R_BracketSymbol: SEXP; +} +extern "C" { + pub static mut R_ClassSymbol: SEXP; +} +extern "C" { + pub static mut R_DeviceSymbol: SEXP; +} +extern "C" { + pub static mut R_DimNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_DimSymbol: SEXP; +} +extern "C" { + pub static mut R_DollarSymbol: SEXP; +} +extern "C" { + pub static mut R_DotsSymbol: SEXP; +} +extern "C" { + pub static mut R_DoubleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_DropSymbol: SEXP; +} +extern "C" { + pub static mut R_LastvalueSymbol: SEXP; +} +extern "C" { + pub static mut R_LevelsSymbol: SEXP; +} +extern "C" { + pub static mut R_ModeSymbol: SEXP; +} +extern "C" { + pub static mut R_NaRmSymbol: SEXP; +} +extern "C" { + pub static mut R_NameSymbol: SEXP; +} +extern "C" { + pub static mut R_NamesSymbol: SEXP; +} +extern "C" { + pub static mut R_NamespaceEnvSymbol: SEXP; +} +extern "C" { + pub static mut R_PackageSymbol: SEXP; +} +extern "C" { + pub static mut R_PreviousSymbol: SEXP; +} +extern "C" { + pub static mut R_QuoteSymbol: SEXP; +} +extern "C" { + pub static mut R_RowNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_SeedsSymbol: SEXP; +} +extern "C" { + pub static mut R_SortListSymbol: SEXP; +} +extern "C" { + pub static mut R_SourceSymbol: SEXP; +} +extern "C" { + pub static mut R_SpecSymbol: SEXP; +} +extern "C" { + pub static mut R_TripleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_TspSymbol: SEXP; +} +extern "C" { + pub static mut R_dot_defined: SEXP; +} +extern "C" { + pub static mut R_dot_Method: SEXP; +} +extern "C" { + pub static mut R_dot_packageName: SEXP; +} +extern "C" { + pub static mut R_dot_target: SEXP; +} +extern "C" { + pub static mut R_dot_Generic: SEXP; +} +extern "C" { + pub static mut R_NaString: SEXP; +} +extern "C" { + pub static mut R_BlankString: SEXP; +} +extern "C" { + pub static mut R_BlankScalarString: SEXP; +} +extern "C" { + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asLogical2( + x: SEXP, + checking: ::std::os::raw::c_int, + call: SEXP, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asReal(x: SEXP) -> f64; +} +extern "C" { + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +extern "C" { + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_addMissingVarsToNewEnv(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList2(sym1: SEXP, sym2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList3(sym1: SEXP, sym2: SEXP, sym3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList4(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList5(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP, sym5: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList6( + sym1: SEXP, + sym2: SEXP, + sym3: SEXP, + sym4: SEXP, + sym5: SEXP, + sym6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_allocS4Object() -> SEXP; +} +extern "C" { + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; +} +extern "C" { + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_arraySubscript( + arg1: ::std::os::raw::c_int, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::option::Option SEXP>, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP, + >, + arg6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_fixSubset3Args(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: *mut SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_countContexts( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_CreateTag(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_DropDims(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_envHasNoSpecialSymbols(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_ExtractSubset(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFunctionForBody(arg1: SEXP); +} +extern "C" { + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_installChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installDDVAL(i: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_installS3Signature( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> SEXP; +} +extern "C" { + pub fn Rf_isFree(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnmodifiedSpecSym(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; +} +extern "C" { + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_matchE(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +pub const nchar_type_Bytes: nchar_type = 0; +pub const nchar_type_Chars: nchar_type = 1; +pub const nchar_type_Width: nchar_type = 2; +pub type nchar_type = u32; +extern "C" { + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_pmatch(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} +extern "C" { + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_PrintValue(arg1: SEXP); +} +extern "C" { + pub fn Rf_printwhere(); +} +extern "C" { + pub fn Rf_readS3VarsFromFrame( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut SEXP, + arg5: *mut SEXP, + arg6: *mut SEXP, + arg7: *mut SEXP, + ); +} +extern "C" { + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_setSVector(arg1: *mut SEXP, arg2: ::std::os::raw::c_int, arg3: SEXP); +} +extern "C" { + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_stringSuffix(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; +} +extern "C" { + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateChar0(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect_ptr(arg1: SEXP); +} +extern "C" { + pub fn R_signal_protect_error(); +} +extern "C" { + pub fn R_signal_unprotect_error(); +} +extern "C" { + pub fn R_signal_reprotect_error(i: PROTECT_INDEX); +} +extern "C" { + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetCurrentEnv() -> SEXP; +} +extern "C" { + pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isS4(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_cycle_detected(s: SEXP, child: SEXP) -> Rboolean; +} +pub const cetype_t_CE_NATIVE: cetype_t = 0; +pub const cetype_t_CE_UTF8: cetype_t = 1; +pub const cetype_t_CE_LATIN1: cetype_t = 2; +pub const cetype_t_CE_BYTES: cetype_t = 3; +pub const cetype_t_CE_SYMBOL: cetype_t = 5; +pub const cetype_t_CE_ANY: cetype_t = 99; +pub type cetype_t = u32; +extern "C" { + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; +} +extern "C" { + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; +} +extern "C" { + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClearExternalPtr(s: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); +} +extern "C" { + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; +} +pub type R_CFinalizer_t = ::std::option::Option; +extern "C" { + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); +} +extern "C" { + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); +} +extern "C" { + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); +} +extern "C" { + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); +} +extern "C" { + pub fn R_RunPendingFinalizers(); +} +extern "C" { + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_WeakRefKey(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_WeakRefValue(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_RunWeakRefFinalizer(w: SEXP); +} +extern "C" { + pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; +} +extern "C" { + pub fn R_initialize_bcode(); +} +extern "C" { + pub fn R_bcEncode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_bcDecode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_registerBC(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn R_checkConstants(arg1: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_BCVersionOK(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_init_altrep(); +} +extern "C" { + pub fn R_reinit_altrep_classes(arg1: *mut DllInfo); +} +extern "C" { + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; +} +extern "C" { + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_MakeUnwindCont() -> SEXP; +} +extern "C" { + pub fn R_ContinueUnwind(cont: SEXP); +} +extern "C" { + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn R_RestoreHashCount(rho: SEXP); +} +extern "C" { + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindNamespace(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); +} +extern "C" { + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_LockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_unLockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); +} +extern "C" { + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; +} +extern "C" { + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +pub const R_pstream_format_t_R_pstream_any_format: R_pstream_format_t = 0; +pub const R_pstream_format_t_R_pstream_ascii_format: R_pstream_format_t = 1; +pub const R_pstream_format_t_R_pstream_binary_format: R_pstream_format_t = 2; +pub const R_pstream_format_t_R_pstream_xdr_format: R_pstream_format_t = 3; +pub const R_pstream_format_t_R_pstream_asciihex_format: R_pstream_format_t = 4; +pub type R_pstream_format_t = u32; +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); +} +extern "C" { + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef_R(what: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_methods_attached() -> Rboolean; +} +extern "C" { + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_do_new_object(class_def: SEXP) -> SEXP; +} +extern "C" { + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_PreserveObject(arg1: SEXP); +} +extern "C" { + pub fn R_ReleaseObject(arg1: SEXP); +} +extern "C" { + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_dot_Last(); +} +extern "C" { + pub fn R_RunExitFinalizers(); +} +extern "C" { + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; +} +extern "C" { + pub fn R_body_no_src(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_lang1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_length(arg1: SEXP) -> R_len_t; +} +extern "C" { + pub fn Rf_list1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn Rf_protect(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); +} +extern "C" { + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); +} +extern "C" { + pub fn R_FixupRHS(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SCALAR_DVAL(x: SEXP) -> f64; +} +extern "C" { + pub fn SCALAR_LVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SCALAR_IVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_SCALAR_DVAL(x: SEXP, v: f64); +} +extern "C" { + pub fn SET_SCALAR_LVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_IVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_CVAL(x: SEXP, v: Rcomplex); +} +extern "C" { + pub fn SET_SCALAR_BVAL(x: SEXP, v: Rbyte); +} +extern "C" { + pub fn R_altrep_data1(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_altrep_data2(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); +} +extern "C" { + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); +} +extern "C" { + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL0(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn RAW0(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn R_BadValueInRCode( + value: SEXP, + call: SEXP, + rho: SEXP, + rawmsg: *const ::std::os::raw::c_char, + errmsg: *const ::std::os::raw::c_char, + warnmsg: *const ::std::os::raw::c_char, + varname: *const ::std::os::raw::c_char, + warnByDefault: Rboolean, + ); +} +extern "C" { + pub static mut R_CStackLimit: usize; +} +extern "C" { + pub fn Rf_initEmbeddedR( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setup_Rmainloop(); +} +extern "C" { + pub fn R_ReplDLLinit(); +} +extern "C" { + pub fn R_ReplDLLdo1() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_setStartTime(); +} +extern "C" { + pub fn CleanEd(); +} +extern "C" { + pub fn Rf_KillAllDevices(); +} +extern "C" { + pub static mut R_DirtyImage: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_CleanTempDir(); +} +extern "C" { + pub static mut R_TempDir: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_SaveGlobalEnv(); +} +extern "C" { + pub fn getDLLVersion() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn getRUser() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn get_R_HOME() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn setup_term_ui(); +} +extern "C" { + pub static mut UserBreak: ::std::os::raw::c_int; +} +extern "C" { + pub static mut AllDevicesKilled: Rboolean; +} +extern "C" { + pub fn editorcleanall(); +} +extern "C" { + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn GA_appcleanup(); +} +extern "C" { + pub fn readconsolecfg(); +} +pub const ParseStatus_PARSE_NULL: ParseStatus = 0; +pub const ParseStatus_PARSE_OK: ParseStatus = 1; +pub const ParseStatus_PARSE_INCOMPLETE: ParseStatus = 2; +pub const ParseStatus_PARSE_ERROR: ParseStatus = 3; +pub const ParseStatus_PARSE_EOF: ParseStatus = 4; +pub type ParseStatus = u32; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct lconv { + pub _address: u8, +} diff --git a/bindings/bindings-windows-x86-R4.1-devel.rs b/bindings/bindings-windows-x86-R4.1-devel.rs new file mode 100644 index 00000000..e2b6acf3 --- /dev/null +++ b/bindings/bindings-windows-x86-R4.1-devel.rs @@ -0,0 +1,5507 @@ +/* automatically generated by rust-bindgen */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, + align: [Align; 0], +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage, align: [] } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const __MINGW64_VERSION_MAJOR: u32 = 9; +pub const __MINGW64_VERSION_MINOR: u32 = 0; +pub const __MINGW64_VERSION_BUGFIX: u32 = 0; +pub const __MINGW64_VERSION_RC: u32 = 0; +pub const __MINGW64_VERSION_STATE: &'static [u8; 6usize] = b"alpha\0"; +pub const __MINGW32_MAJOR_VERSION: u32 = 3; +pub const __MINGW32_MINOR_VERSION: u32 = 11; +pub const _M_IX86: u32 = 300; +pub const __MINGW_USE_UNDERSCORE_PREFIX: u32 = 1; +pub const __MINGW_HAVE_ANSI_C99_PRINTF: u32 = 1; +pub const __MINGW_HAVE_WIDE_C99_PRINTF: u32 = 1; +pub const __MINGW_HAVE_ANSI_C99_SCANF: u32 = 1; +pub const __MINGW_HAVE_WIDE_C99_SCANF: u32 = 1; +pub const __MINGW_SEC_WARN_STR : & 'static [u8 ; 92usize] = b"This function or variable may be unsafe, use _CRT_SECURE_NO_WARNINGS to disable deprecation\0" ; +pub const __MINGW_MSVC2005_DEPREC_STR : & 'static [u8 ; 117usize] = b"This POSIX function is deprecated beginning in Visual C++ 2005, use _CRT_NONSTDC_NO_DEPRECATE to disable deprecation\0" ; +pub const __MINGW_FORTIFY_LEVEL: u32 = 0; +pub const __MINGW_FORTIFY_VA_ARG: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY: u32 = 0; +pub const __USE_CRTIMP: u32 = 1; +pub const USE___UUIDOF: u32 = 0; +pub const __CRT__NO_INLINE: u32 = 1; +pub const __MSVCRT_VERSION__: u32 = 1792; +pub const _WIN32_WINNT: u32 = 1537; +pub const MINGW_HAS_SECURE_API: u32 = 1; +pub const __STDC_SECURE_LIB__: u32 = 200411; +pub const __GOT_SECURE_LIB__: u32 = 200411; +pub const MINGW_HAS_DDK_H: u32 = 1; +pub const _CRT_PACKING: u32 = 8; +pub const _SECURECRT_FILL_BUFFER_PATTERN: u32 = 253; +pub const _ARGMAX: u32 = 100; +pub const __USE_MINGW_ANSI_STDIO: u32 = 1; +pub const _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION: u32 = 1; +pub const _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR: u32 = 2; +pub const _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS: u32 = 4; +pub const _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY: u32 = 8; +pub const _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS: u32 = 16; +pub const _CRT_INTERNAL_SCANF_SECURECRT: u32 = 1; +pub const _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS: u32 = 2; +pub const _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY: u32 = 4; +pub const _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS: u32 = 4; +pub const _CRT_INTERNAL_LOCAL_SCANF_OPTIONS: u32 = 2; +pub const BUFSIZ: u32 = 512; +pub const _NSTREAM_: u32 = 512; +pub const _IOB_ENTRIES: u32 = 20; +pub const EOF: i32 = -1; +pub const _P_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const _wP_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const SEEK_CUR: u32 = 1; +pub const SEEK_END: u32 = 2; +pub const SEEK_SET: u32 = 0; +pub const STDIN_FILENO: u32 = 0; +pub const STDOUT_FILENO: u32 = 1; +pub const STDERR_FILENO: u32 = 2; +pub const FILENAME_MAX: u32 = 260; +pub const FOPEN_MAX: u32 = 20; +pub const _SYS_OPEN: u32 = 20; +pub const TMP_MAX: u32 = 32767; +pub const _IOREAD: u32 = 1; +pub const _IOWRT: u32 = 2; +pub const _IOFBF: u32 = 0; +pub const _IOLBF: u32 = 64; +pub const _IONBF: u32 = 4; +pub const _IOMYBUF: u32 = 8; +pub const _IOEOF: u32 = 16; +pub const _IOERR: u32 = 32; +pub const _IOSTRG: u32 = 64; +pub const _IORW: u32 = 128; +pub const _TWO_DIGIT_EXPONENT: u32 = 1; +pub const P_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const SYS_OPEN: u32 = 20; +pub const _P_WAIT: u32 = 0; +pub const _P_NOWAIT: u32 = 1; +pub const _OLD_P_OVERLAY: u32 = 2; +pub const _P_NOWAITO: u32 = 3; +pub const _P_DETACH: u32 = 4; +pub const _P_OVERLAY: u32 = 2; +pub const _WAIT_CHILD: u32 = 0; +pub const _WAIT_GRANDCHILD: u32 = 1; +pub const TMP_MAX_S: u32 = 32767; +pub const PATH_MAX: u32 = 260; +pub const CHAR_BIT: u32 = 8; +pub const SCHAR_MIN: i32 = -128; +pub const SCHAR_MAX: u32 = 127; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MIN: i32 = -128; +pub const CHAR_MAX: u32 = 127; +pub const MB_LEN_MAX: u32 = 5; +pub const SHRT_MIN: i32 = -32768; +pub const SHRT_MAX: u32 = 32767; +pub const USHRT_MAX: u32 = 65535; +pub const INT_MIN: i32 = -2147483648; +pub const INT_MAX: u32 = 2147483647; +pub const UINT_MAX: u32 = 4294967295; +pub const LONG_MIN: i32 = -2147483648; +pub const LONG_MAX: u32 = 2147483647; +pub const ULONG_MAX: u32 = 4294967295; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const _I8_MIN: i32 = -128; +pub const _I8_MAX: u32 = 127; +pub const _UI8_MAX: u32 = 255; +pub const _I16_MIN: i32 = -32768; +pub const _I16_MAX: u32 = 32767; +pub const _UI16_MAX: u32 = 65535; +pub const _I32_MIN: i32 = -2147483648; +pub const _I32_MAX: u32 = 2147483647; +pub const _UI32_MAX: u32 = 4294967295; +pub const LONG_LONG_MAX: u64 = 9223372036854775807; +pub const LONG_LONG_MIN: i64 = -9223372036854775808; +pub const ULONG_LONG_MAX: i32 = -1; +pub const _I64_MIN: i64 = -9223372036854775808; +pub const _I64_MAX: u64 = 9223372036854775807; +pub const _UI64_MAX: i32 = -1; +pub const SIZE_MAX: u32 = 4294967295; +pub const SSIZE_MAX: u32 = 2147483647; +pub const _DOMAIN: u32 = 1; +pub const _SING: u32 = 2; +pub const _OVERFLOW: u32 = 3; +pub const _UNDERFLOW: u32 = 4; +pub const _TLOSS: u32 = 5; +pub const _PLOSS: u32 = 6; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +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 __MINGW_FPCLASS_DEFINED: u32 = 1; +pub const _FPCLASS_SNAN: u32 = 1; +pub const _FPCLASS_QNAN: u32 = 2; +pub const _FPCLASS_NINF: u32 = 4; +pub const _FPCLASS_NN: u32 = 8; +pub const _FPCLASS_ND: u32 = 16; +pub const _FPCLASS_NZ: u32 = 32; +pub const _FPCLASS_PZ: u32 = 64; +pub const _FPCLASS_PD: u32 = 128; +pub const _FPCLASS_PN: u32 = 256; +pub const _FPCLASS_PINF: u32 = 512; +pub const EDOM: u32 = 33; +pub const ERANGE: u32 = 34; +pub const FP_SNAN: u32 = 1; +pub const FP_QNAN: u32 = 2; +pub const FP_NINF: u32 = 4; +pub const FP_PINF: u32 = 512; +pub const FP_NDENORM: u32 = 16; +pub const FP_PDENORM: u32 = 128; +pub const FP_NZERO: u32 = 32; +pub const FP_PZERO: u32 = 64; +pub const FP_NNORM: u32 = 8; +pub const FP_PNORM: u32 = 256; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 4; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u32 = 2147483647; +pub const R_INTERNALS_UUID: &'static [u8; 37usize] = b"2fdf6c18-697a-4ba7-b8ef-11c0d92f1327\0"; +pub const NILSXP: u32 = 0; +pub const SYMSXP: u32 = 1; +pub const LISTSXP: u32 = 2; +pub const CLOSXP: u32 = 3; +pub const ENVSXP: u32 = 4; +pub const PROMSXP: u32 = 5; +pub const LANGSXP: u32 = 6; +pub const SPECIALSXP: u32 = 7; +pub const BUILTINSXP: u32 = 8; +pub const CHARSXP: u32 = 9; +pub const LGLSXP: u32 = 10; +pub const INTSXP: u32 = 13; +pub const REALSXP: u32 = 14; +pub const CPLXSXP: u32 = 15; +pub const STRSXP: u32 = 16; +pub const DOTSXP: u32 = 17; +pub const ANYSXP: u32 = 18; +pub const VECSXP: u32 = 19; +pub const EXPRSXP: u32 = 20; +pub const BCODESXP: u32 = 21; +pub const EXTPTRSXP: u32 = 22; +pub const WEAKREFSXP: u32 = 23; +pub const RAWSXP: u32 = 24; +pub const S4SXP: u32 = 25; +pub const NEWSXP: u32 = 30; +pub const FREESXP: u32 = 31; +pub const FUNSXP: u32 = 99; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const R_VERSION: u32 = 262400; +pub const R_NICK: &'static [u8; 24usize] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &'static [u8; 2usize] = b"4\0"; +pub const R_MINOR: &'static [u8; 4usize] = b"1.0\0"; +pub const R_STATUS: &'static [u8; 29usize] = b"Under development (unstable)\0"; +pub const R_YEAR: &'static [u8; 5usize] = b"2020\0"; +pub const R_MONTH: &'static [u8; 3usize] = b"12\0"; +pub const R_DAY: &'static [u8; 3usize] = b"21\0"; +pub const R_SVN_REVISION: u32 = 79668; +pub type size_t = ::std::os::raw::c_uint; +pub type wchar_t = ::std::os::raw::c_ushort; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct max_align_t { + pub __clang_max_align_nonce1: ::std::os::raw::c_longlong, + pub __clang_max_align_nonce2: f64, +} +#[doc = "
"] +pub type R_xlen_t = isize; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +extern "C" { + pub fn __debugbreak(); +} +extern "C" { + pub fn __mingw_get_crt_info() -> *const ::std::os::raw::c_char; +} +pub type ssize_t = ::std::os::raw::c_int; +pub type rsize_t = size_t; +pub type wint_t = ::std::os::raw::c_ushort; +pub type wctype_t = ::std::os::raw::c_ushort; +pub type errno_t = ::std::os::raw::c_int; +pub type __time32_t = ::std::os::raw::c_long; +pub type __time64_t = ::std::os::raw::c_longlong; +pub type time_t = __time32_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadmbcinfostruct { + _unused: [u8; 0], +} +pub type pthreadlocinfo = *mut threadlocaleinfostruct; +pub type pthreadmbcinfo = *mut threadmbcinfostruct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __lc_time_data { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct localeinfo_struct { + pub locinfo: pthreadlocinfo, + pub mbcinfo: pthreadmbcinfo, +} +pub type _locale_tstruct = localeinfo_struct; +pub type _locale_t = *mut localeinfo_struct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct tagLC_ID { + pub wLanguage: ::std::os::raw::c_ushort, + pub wCountry: ::std::os::raw::c_ushort, + pub wCodePage: ::std::os::raw::c_ushort, +} +pub type LC_ID = tagLC_ID; +pub type LPLC_ID = *mut tagLC_ID; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadlocaleinfostruct { + pub refcount: ::std::os::raw::c_int, + pub lc_codepage: ::std::os::raw::c_uint, + pub lc_collate_cp: ::std::os::raw::c_uint, + pub lc_handle: [::std::os::raw::c_ulong; 6usize], + pub lc_id: [LC_ID; 6usize], + pub lc_category: [threadlocaleinfostruct__bindgen_ty_1; 6usize], + pub lc_clike: ::std::os::raw::c_int, + pub mb_cur_max: ::std::os::raw::c_int, + pub lconv_intl_refcount: *mut ::std::os::raw::c_int, + pub lconv_num_refcount: *mut ::std::os::raw::c_int, + pub lconv_mon_refcount: *mut ::std::os::raw::c_int, + pub lconv: *mut lconv, + pub ctype1_refcount: *mut ::std::os::raw::c_int, + pub ctype1: *mut ::std::os::raw::c_ushort, + pub pctype: *const ::std::os::raw::c_ushort, + pub pclmap: *const ::std::os::raw::c_uchar, + pub pcumap: *const ::std::os::raw::c_uchar, + pub lc_time_curr: *mut __lc_time_data, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadlocaleinfostruct__bindgen_ty_1 { + pub locale: *mut ::std::os::raw::c_char, + pub wlocale: *mut wchar_t, + pub refcount: *mut ::std::os::raw::c_int, + pub wrefcount: *mut ::std::os::raw::c_int, +} +pub type threadlocinfo = threadlocaleinfostruct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _ptr: *mut ::std::os::raw::c_char, + pub _cnt: ::std::os::raw::c_int, + pub _base: *mut ::std::os::raw::c_char, + pub _flag: ::std::os::raw::c_int, + pub _file: ::std::os::raw::c_int, + pub _charbuf: ::std::os::raw::c_int, + pub _bufsiz: ::std::os::raw::c_int, + pub _tmpfname: *mut ::std::os::raw::c_char, +} +pub type FILE = _iobuf; +pub type _off_t = ::std::os::raw::c_long; +pub type off32_t = ::std::os::raw::c_long; +pub type _off64_t = ::std::os::raw::c_longlong; +pub type off64_t = ::std::os::raw::c_longlong; +pub type off_t = off32_t; +extern "C" { + pub fn __acrt_iob_func(index: ::std::os::raw::c_uint) -> *mut FILE; +} +extern "C" { + pub static mut _imp___iob: *mut [FILE; 0usize]; +} +pub type fpos_t = ::std::os::raw::c_longlong; +extern "C" { + pub fn __mingw_sscanf( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsscanf( + _Str: *const ::std::os::raw::c_char, + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vscanf( + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fscanf( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfscanf( + fp: *mut FILE, + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsnprintf( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_snprintf( + s: *mut ::std::os::raw::c_char, + n: size_t, + format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_sscanf( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fscanf( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _filbuf(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _flsbuf(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fsopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _ShFlag: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn clearerr(_File: *mut FILE); +} +extern "C" { + pub fn fclose(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fcloseall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fdopen( + _FileHandle: ::std::os::raw::c_int, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn feof(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ferror(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fflush(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetc(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fgetchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos(_File: *mut FILE, _Pos: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos64(_File: *mut FILE, _Pos: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgets( + _Buf: *mut ::std::os::raw::c_char, + _MaxCount: ::std::os::raw::c_int, + _File: *mut FILE, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _fileno(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _tempnam( + _DirName: *const ::std::os::raw::c_char, + _FilePrefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _flushall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fopen64( + filename: *const ::std::os::raw::c_char, + mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fputc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputs(_Str: *const ::std::os::raw::c_char, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fread( + _DstBuf: *mut ::std::os::raw::c_void, + _ElementSize: ::std::os::raw::c_uint, + _Count: ::std::os::raw::c_uint, + _File: *mut FILE, + ) -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn freopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _File: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn fsetpos(_File: *mut FILE, _Pos: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fsetpos64(_File: *mut FILE, _Pos: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseek( + _File: *mut FILE, + _Offset: ::std::os::raw::c_long, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftell(_File: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn _fseeki64( + _File: *mut FILE, + _Offset: ::std::os::raw::c_longlong, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftelli64(_File: *mut FILE) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn fseeko64( + stream: *mut FILE, + offset: _off64_t, + whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseeko( + stream: *mut FILE, + offset: _off_t, + whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftello(stream: *mut FILE) -> _off_t; +} +extern "C" { + pub fn ftello64(stream: *mut FILE) -> _off64_t; +} +extern "C" { + pub fn fwrite( + _Str: *const ::std::os::raw::c_void, + _Size: ::std::os::raw::c_uint, + _Count: ::std::os::raw::c_uint, + _File: *mut FILE, + ) -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn getc(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _getmaxstdio() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn gets(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _getw(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn perror(_ErrMsg: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn _pclose(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _popen( + _Command: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn putc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn puts(_Str: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _putw(_Word: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn remove(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rename( + _OldFilename: *const ::std::os::raw::c_char, + _NewFilename: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _unlink(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn unlink(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rewind(_File: *mut FILE); +} +extern "C" { + pub fn _rmtmp() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuf(_File: *mut FILE, _Buffer: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn _setmaxstdio(_Max: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_output_format(_Format: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn _get_output_format() -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn setvbuf( + _File: *mut FILE, + _Buf: *mut ::std::os::raw::c_char, + _Mode: ::std::os::raw::c_int, + _Size: size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tmpfile() -> *mut FILE; +} +extern "C" { + pub fn tmpnam(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn ungetc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf( + _Dest: *mut ::std::os::raw::c_char, + _Count: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf( + _Dest: *mut ::std::os::raw::c_char, + _Count: size_t, + _Format: *const ::std::os::raw::c_char, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_printf_count_output(_Value: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _get_printf_count_output() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_swscanf( + _Src: *const wchar_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vswscanf( + _Str: *const wchar_t, + Format: *const wchar_t, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vwscanf(Format: *const wchar_t, argp: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fwscanf(_File: *mut FILE, _Format: *const wchar_t, ...) + -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfwscanf( + fp: *mut FILE, + Format: *const wchar_t, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_snwprintf( + s: *mut wchar_t, + n: size_t, + format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsnwprintf( + arg1: *mut wchar_t, + arg2: size_t, + arg3: *const wchar_t, + arg4: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_swprintf(arg1: *mut wchar_t, arg2: *const wchar_t, ...) + -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vswprintf( + arg1: *mut wchar_t, + arg2: *const wchar_t, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_swscanf( + _Src: *const wchar_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fwscanf(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fwprintf(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vfwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_swprintf(arg1: *mut wchar_t, arg2: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vswprintf( + arg1: *mut wchar_t, + arg2: *const wchar_t, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfsopen( + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _ShFlag: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn fgetwc(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fgetwchar() -> wint_t; +} +extern "C" { + pub fn fputwc(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fputwchar(_Ch: wchar_t) -> wint_t; +} +extern "C" { + pub fn getwc(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn getwchar() -> wint_t; +} +extern "C" { + pub fn putwc(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn putwchar(_Ch: wchar_t) -> wint_t; +} +extern "C" { + pub fn ungetwc(_Ch: wint_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn fgetws( + _Dst: *mut wchar_t, + _SizeInWords: ::std::os::raw::c_int, + _File: *mut FILE, + ) -> *mut wchar_t; +} +extern "C" { + pub fn fputws(_Str: *const wchar_t, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _getws(_String: *mut wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _putws(_Str: *const wchar_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_c( + _DstBuf: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_c( + _DstBuf: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf( + _Dest: *mut wchar_t, + _Count: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf( + _Dest: *mut wchar_t, + _Count: size_t, + _Format: *const wchar_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf(_Dest: *mut wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wtempnam(_Directory: *const wchar_t, _FilePrefix: *const wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _snwscanf( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfdopen(_FileHandle: ::std::os::raw::c_int, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wfopen(_Filename: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wfreopen( + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _OldFile: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn _wperror(_ErrMsg: *const wchar_t); +} +extern "C" { + pub fn _wpopen(_Command: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wremove(_Filename: *const wchar_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wtmpnam(_Buffer: *mut wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _fgetwc_nolock(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fputwc_nolock(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _ungetwc_nolock(_Ch: wint_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _lock_file(_File: *mut FILE); +} +extern "C" { + pub fn _unlock_file(_File: *mut FILE); +} +extern "C" { + pub fn _fclose_nolock(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fflush_nolock(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fread_nolock( + _DstBuf: *mut ::std::os::raw::c_void, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn _fseek_nolock( + _File: *mut FILE, + _Offset: ::std::os::raw::c_long, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftell_nolock(_File: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn _fseeki64_nolock( + _File: *mut FILE, + _Offset: ::std::os::raw::c_longlong, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftelli64_nolock(_File: *mut FILE) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn _fwrite_nolock( + _DstBuf: *const ::std::os::raw::c_void, + _Size: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn _ungetc_nolock(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tempnam( + _Directory: *const ::std::os::raw::c_char, + _FilePrefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fcloseall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fdopen( + _FileHandle: ::std::os::raw::c_int, + _Format: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fgetchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fileno(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn flushall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getw(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putw(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rmtmp() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_wide_utf8( + wptr: *const wchar_t, + mbptr: *mut *mut ::std::os::raw::c_char, + buflen: *mut size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_utf8_wide( + mbptr: *const ::std::os::raw::c_char, + wptr: *mut *mut wchar_t, + buflen: *mut size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_free(ptr: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn _wspawnl( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnle( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnlp( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnlpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnv( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnve( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + _Env: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnvp( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnvpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + _Env: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _spawnv( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnve( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + _Env: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnvp( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnvpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + _Env: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn clearerr_s(_File: *mut FILE) -> errno_t; +} +extern "C" { + pub fn fread_s( + _DstBuf: *mut ::std::os::raw::c_void, + _DstSize: size_t, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn fprintf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fscanf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fscanf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn printf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scanf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scanf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn scanf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_c( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_c( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fscanf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sscanf_l( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sscanf_s_l( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sscanf_s( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_s( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_l( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_s_l( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfprintf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vprintf_s( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsnprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _Size: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_p( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_p( + _Dst: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_p( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_p( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_p( + _Dst: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_p( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_p_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_p_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_p_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + arg1: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_p_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_c_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_c_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + arg1: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fopen_s( + _File: *mut *mut FILE, + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> errno_t; +} +extern "C" { + pub fn freopen_s( + _File: *mut *mut FILE, + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _Stream: *mut FILE, + ) -> errno_t; +} +extern "C" { + pub fn gets_s(arg1: *mut ::std::os::raw::c_char, arg2: rsize_t) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn tmpnam_s(arg1: *mut ::std::os::raw::c_char, arg2: rsize_t) -> errno_t; +} +extern "C" { + pub fn _getws_s(_Str: *mut wchar_t, _SizeInWords: size_t) -> *mut wchar_t; +} +extern "C" { + pub fn fwprintf_s(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn wprintf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfwprintf_s( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vwprintf_s(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vswprintf_s( + _Dst: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn swprintf_s( + _Dst: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_s( + _DstBuf: *mut wchar_t, + _DstSizeInWords: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_s( + _DstBuf: *mut wchar_t, + _DstSizeInWords: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_s_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwscanf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fwscanf_s(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swscanf_s_l( + _Src: *const wchar_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn swscanf_s(_Src: *const wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_s( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_s_l( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wscanf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn wscanf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfopen_s( + _File: *mut *mut FILE, + _Filename: *const wchar_t, + _Mode: *const wchar_t, + ) -> errno_t; +} +extern "C" { + pub fn _wfreopen_s( + _File: *mut *mut FILE, + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _OldFile: *mut FILE, + ) -> errno_t; +} +extern "C" { + pub fn _wtmpnam_s(_DstBuf: *mut wchar_t, _SizeInWords: size_t) -> errno_t; +} +extern "C" { + pub fn _fwprintf_p(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_p( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_p( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_p( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_p_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_p_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_c_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_p_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_c_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_p_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __swprintf_l( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Plocinfo: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __vswprintf_l( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Plocinfo: _locale_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwscanf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swscanf_l( + _Src: *const wchar_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_l( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wscanf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fread_nolock_s( + _DstBuf: *mut ::std::os::raw::c_void, + _DstSize: size_t, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_dbl_type_t { + pub x: f64, + pub val: ::std::os::raw::c_ulonglong, + pub lh: __mingw_dbl_type_t__bindgen_ty_1, + _bindgen_union_align: u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __mingw_dbl_type_t__bindgen_ty_1 { + pub low: ::std::os::raw::c_uint, + pub high: ::std::os::raw::c_uint, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_flt_type_t { + pub x: f32, + pub val: ::std::os::raw::c_uint, + _bindgen_union_align: u32, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_ldbl_type_t { + pub x: f64, + pub lh: __mingw_ldbl_type_t__bindgen_ty_1, + _bindgen_union_align: [u32; 4usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __mingw_ldbl_type_t__bindgen_ty_1 { + pub low: ::std::os::raw::c_uint, + pub high: ::std::os::raw::c_uint, + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize], u32>, +} +impl __mingw_ldbl_type_t__bindgen_ty_1 { + #[inline] + pub fn sign_exponent(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_sign_exponent(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn res1(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_res1(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn res0(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 32u8) as u32) } + } + #[inline] + pub fn set_res0(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(32usize, 32u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + sign_exponent: ::std::os::raw::c_int, + res1: ::std::os::raw::c_int, + res0: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 8usize], u32> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize], u32> = + Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let sign_exponent: u32 = unsafe { ::std::mem::transmute(sign_exponent) }; + sign_exponent as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let res1: u32 = unsafe { ::std::mem::transmute(res1) }; + res1 as u64 + }); + __bindgen_bitfield_unit.set(32usize, 32u8, { + let res0: u32 = unsafe { ::std::mem::transmute(res0) }; + res0 as u64 + }); + __bindgen_bitfield_unit + } +} +extern "C" { + pub static mut _imp___HUGE: *mut f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _exception { + pub type_: ::std::os::raw::c_int, + pub name: *const ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, +} +extern "C" { + pub fn __mingw_raise_matherr( + typ: ::std::os::raw::c_int, + name: *const ::std::os::raw::c_char, + a1: f64, + a2: f64, + rslt: f64, + ); +} +extern "C" { + pub fn __mingw_setusermatherr( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut _exception) -> ::std::os::raw::c_int, + >, + ); +} +extern "C" { + pub fn __setusermatherr( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut _exception) -> ::std::os::raw::c_int, + >, + ); +} +extern "C" { + pub fn sin(_X: f64) -> f64; +} +extern "C" { + pub fn cos(_X: f64) -> f64; +} +extern "C" { + pub fn tan(_X: f64) -> f64; +} +extern "C" { + pub fn sinh(_X: f64) -> f64; +} +extern "C" { + pub fn cosh(_X: f64) -> f64; +} +extern "C" { + pub fn tanh(_X: f64) -> f64; +} +extern "C" { + pub fn asin(_X: f64) -> f64; +} +extern "C" { + pub fn acos(_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 exp(_X: f64) -> f64; +} +extern "C" { + pub fn log(_X: f64) -> f64; +} +extern "C" { + pub fn log10(_X: f64) -> f64; +} +extern "C" { + pub fn pow(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn sqrt(_X: f64) -> f64; +} +extern "C" { + pub fn ceil(_X: f64) -> f64; +} +extern "C" { + pub fn floor(_X: f64) -> f64; +} +extern "C" { + pub fn fabsf(x: f32) -> f32; +} +extern "C" { + pub fn fabsl(arg1: f64) -> f64; +} +extern "C" { + pub fn fabs(_X: f64) -> f64; +} +extern "C" { + pub fn ldexp(_X: f64, _Y: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn frexp(_X: f64, _Y: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn modf(_X: f64, _Y: *mut f64) -> f64; +} +extern "C" { + pub fn fmod(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn sincos(__x: f64, p_sin: *mut f64, p_cos: *mut f64); +} +extern "C" { + pub fn sincosl(__x: f64, p_sin: *mut f64, p_cos: *mut f64); +} +extern "C" { + pub fn sincosf(__x: f32, p_sin: *mut f32, p_cos: *mut f32); +} +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 atof(_String: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn _atof_l(_String: *const ::std::os::raw::c_char, _Locale: _locale_t) -> f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _complex { + pub x: f64, + pub y: f64, +} +extern "C" { + pub fn _cabs(_ComplexA: _complex) -> f64; +} +extern "C" { + pub fn _hypot(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn _j0(_X: f64) -> f64; +} +extern "C" { + pub fn _j1(_X: f64) -> f64; +} +extern "C" { + pub fn _jn(_X: ::std::os::raw::c_int, _Y: f64) -> f64; +} +extern "C" { + pub fn _y0(_X: f64) -> f64; +} +extern "C" { + pub fn _y1(_X: f64) -> f64; +} +extern "C" { + pub fn _yn(_X: ::std::os::raw::c_int, _Y: f64) -> f64; +} +extern "C" { + pub fn _matherr(arg1: *mut _exception) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _chgsign(_X: f64) -> f64; +} +extern "C" { + pub fn _copysign(_Number: f64, _Sign: f64) -> f64; +} +extern "C" { + pub fn _logb(arg1: f64) -> f64; +} +extern "C" { + pub fn _nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn _scalb(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn _finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fpclass(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _isnan(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn j0(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 y0(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 chgsign(arg1: f64) -> f64; +} +extern "C" { + pub fn finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fpclass(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_SSE2_enable(_Flag: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +pub type float_t = f32; +pub type double_t = f64; +extern "C" { + pub fn __fpclassifyl(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassify(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnan(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnanf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnanl(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbit(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbitf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbitl(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sinf(_X: f32) -> f32; +} +extern "C" { + pub fn sinl(arg1: f64) -> f64; +} +extern "C" { + pub fn cosf(_X: f32) -> f32; +} +extern "C" { + pub fn cosl(arg1: f64) -> f64; +} +extern "C" { + pub fn tanf(_X: f32) -> f32; +} +extern "C" { + pub fn tanl(arg1: f64) -> f64; +} +extern "C" { + pub fn asinf(_X: f32) -> f32; +} +extern "C" { + pub fn asinl(arg1: f64) -> f64; +} +extern "C" { + pub fn acosf(arg1: f32) -> f32; +} +extern "C" { + pub fn acosl(arg1: f64) -> f64; +} +extern "C" { + pub fn atanf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanl(arg1: f64) -> f64; +} +extern "C" { + pub fn atan2f(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn atan2l(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn sinhf(_X: f32) -> f32; +} +extern "C" { + pub fn sinhl(arg1: f64) -> f64; +} +extern "C" { + pub fn coshf(_X: f32) -> f32; +} +extern "C" { + pub fn coshl(arg1: f64) -> f64; +} +extern "C" { + pub fn tanhf(_X: f32) -> f32; +} +extern "C" { + pub fn tanhl(arg1: f64) -> f64; +} +extern "C" { + pub fn acosh(arg1: f64) -> f64; +} +extern "C" { + pub fn acoshf(arg1: f32) -> f32; +} +extern "C" { + pub fn acoshl(arg1: f64) -> f64; +} +extern "C" { + pub fn asinh(arg1: f64) -> f64; +} +extern "C" { + pub fn asinhf(arg1: f32) -> f32; +} +extern "C" { + pub fn asinhl(arg1: f64) -> f64; +} +extern "C" { + pub fn atanh(arg1: f64) -> f64; +} +extern "C" { + pub fn atanhf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanhl(arg1: f64) -> f64; +} +extern "C" { + pub fn expf(_X: f32) -> f32; +} +extern "C" { + pub fn expl(arg1: f64) -> f64; +} +extern "C" { + pub fn exp2(arg1: f64) -> f64; +} +extern "C" { + pub fn exp2f(arg1: f32) -> f32; +} +extern "C" { + pub fn exp2l(arg1: f64) -> f64; +} +extern "C" { + pub fn expm1(arg1: f64) -> f64; +} +extern "C" { + pub fn expm1f(arg1: f32) -> f32; +} +extern "C" { + pub fn expm1l(arg1: f64) -> f64; +} +extern "C" { + pub fn frexpf(_X: f32, _Y: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn frexpl(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbl(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ldexpf(_X: f32, _Y: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn ldexpl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn logf(arg1: f32) -> f32; +} +extern "C" { + pub fn logl(arg1: f64) -> f64; +} +extern "C" { + pub fn log10f(arg1: f32) -> f32; +} +extern "C" { + pub fn log10l(arg1: f64) -> f64; +} +extern "C" { + pub fn log1p(arg1: f64) -> f64; +} +extern "C" { + pub fn log1pf(arg1: f32) -> f32; +} +extern "C" { + pub fn log1pl(arg1: f64) -> f64; +} +extern "C" { + pub fn log2(arg1: f64) -> f64; +} +extern "C" { + pub fn log2f(arg1: f32) -> f32; +} +extern "C" { + pub fn log2l(arg1: f64) -> f64; +} +extern "C" { + pub fn logb(arg1: f64) -> f64; +} +extern "C" { + pub fn logbf(arg1: f32) -> f32; +} +extern "C" { + pub fn logbl(arg1: f64) -> f64; +} +extern "C" { + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; +} +extern "C" { + pub fn modfl(arg1: f64, arg2: *mut f64) -> f64; +} +extern "C" { + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn scalbnl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; +} +extern "C" { + pub fn scalblnl(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn cbrt(arg1: f64) -> f64; +} +extern "C" { + pub fn cbrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn cbrtl(arg1: f64) -> f64; +} +extern "C" { + pub fn hypot(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn hypotf(x: f32, y: f32) -> f32; +} +extern "C" { + pub fn hypotl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn powf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn powl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn sqrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn sqrtl(arg1: f64) -> f64; +} +extern "C" { + pub fn erf(arg1: f64) -> f64; +} +extern "C" { + pub fn erff(arg1: f32) -> f32; +} +extern "C" { + pub fn erfl(arg1: f64) -> f64; +} +extern "C" { + pub fn erfc(arg1: f64) -> f64; +} +extern "C" { + pub fn erfcf(arg1: f32) -> f32; +} +extern "C" { + pub fn erfcl(arg1: f64) -> f64; +} +extern "C" { + pub fn lgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn lgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn lgammal(arg1: f64) -> f64; +} +extern "C" { + pub static mut signgam: ::std::os::raw::c_int; +} +extern "C" { + pub fn tgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn tgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn tgammal(arg1: f64) -> f64; +} +extern "C" { + pub fn ceilf(arg1: f32) -> f32; +} +extern "C" { + pub fn ceill(arg1: f64) -> f64; +} +extern "C" { + pub fn floorf(arg1: f32) -> f32; +} +extern "C" { + pub fn floorl(arg1: f64) -> f64; +} +extern "C" { + pub fn nearbyint(arg1: f64) -> f64; +} +extern "C" { + pub fn nearbyintf(arg1: f32) -> f32; +} +extern "C" { + pub fn nearbyintl(arg1: f64) -> f64; +} +extern "C" { + pub fn rint(arg1: f64) -> f64; +} +extern "C" { + pub fn rintf(arg1: f32) -> f32; +} +extern "C" { + pub fn rintl(arg1: f64) -> f64; +} +extern "C" { + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintl(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintl(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn round(arg1: f64) -> f64; +} +extern "C" { + pub fn roundf(arg1: f32) -> f32; +} +extern "C" { + pub fn roundl(arg1: f64) -> f64; +} +extern "C" { + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundl(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundl(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn trunc(arg1: f64) -> f64; +} +extern "C" { + pub fn truncf(arg1: f32) -> f32; +} +extern "C" { + pub fn truncl(arg1: f64) -> f64; +} +extern "C" { + pub fn fmodf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmodl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remainder(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remainderf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn remainderl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn remquol(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn copysign(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn copysignf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn copysignl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nan(tagp: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn nanf(tagp: *const ::std::os::raw::c_char) -> f32; +} +extern "C" { + pub fn nanl(tagp: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn nextafterl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nexttoward(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nexttowardf(arg1: f32, arg2: f64) -> f32; +} +extern "C" { + pub fn nexttowardl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fdim(x: f64, y: f64) -> f64; +} +extern "C" { + pub fn fdimf(x: f32, y: f32) -> f32; +} +extern "C" { + pub fn fdiml(x: f64, y: f64) -> f64; +} +extern "C" { + pub fn fmax(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmaxl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmin(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fminf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fminl(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; +} +extern "C" { + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; +} +extern "C" { + pub fn fmal(arg1: f64, arg2: f64, arg3: f64) -> f64; +} +extern "C" { + pub fn _hypotf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn _copysignf(_Number: f32, _Sign: f32) -> f32; +} +extern "C" { + pub fn _chgsignf(_X: f32) -> f32; +} +extern "C" { + pub fn _logbf(_X: f32) -> f32; +} +extern "C" { + pub fn _nextafterf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn _finitef(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _isnanf(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fpclassf(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _chgsignl(arg1: f64) -> f64; +} +extern "C" { + pub static mut R_NaN: f64; +} +extern "C" { + pub static mut R_PosInf: f64; +} +extern "C" { + pub static mut R_NegInf: f64; +} +extern "C" { + pub static mut R_NaReal: f64; +} +extern "C" { + pub static mut R_NaInt: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} +pub const Rboolean_FALSE: Rboolean = 0; +pub const Rboolean_TRUE: Rboolean = 1; +pub type Rboolean = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); +} +extern "C" { + pub fn R_gc(); +} +extern "C" { + pub fn R_gc_running() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_alloc(arg1: size_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_allocLD(nelem: size_t) -> *mut f64; +} +extern "C" { + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_malloc_gc(arg1: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_calloc_gc(arg1: size_t, arg2: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: size_t, + ) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_qsort(v: *mut f64, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); +} +extern "C" { + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn R_atof(str: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; +} +extern "C" { + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn R_CheckUserInterrupt(); +} +extern "C" { + pub fn R_CheckStack(); +} +extern "C" { + pub fn R_CheckStack2(arg1: size_t); +} +extern "C" { + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} +extern "C" { + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; +} +extern "C" { + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +pub const NativeSymbolType_R_ANY_SYM: NativeSymbolType = 0; +pub const NativeSymbolType_R_C_SYM: NativeSymbolType = 1; +pub const NativeSymbolType_R_CALL_SYM: NativeSymbolType = 2; +pub const NativeSymbolType_R_FORTRAN_SYM: NativeSymbolType = 3; +pub const NativeSymbolType_R_EXTERNAL_SYM: NativeSymbolType = 4; +pub type NativeSymbolType = u32; +extern "C" { + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; +} +extern "C" { + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); +} +extern "C" { + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} +pub type Rbyte = ::std::os::raw::c_uchar; +pub type R_len_t = ::std::os::raw::c_int; +pub type SEXPTYPE = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct SEXPREC { + _unused: [u8; 0], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isNull(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLogical(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isReal(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isComplex(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isExpression(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isString(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isObject(s: SEXP) -> Rboolean; +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = -2; +pub const SORTED_DECR: _bindgen_ty_1 = -1; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = -2147483648; +pub const SORTED_INCR: _bindgen_ty_1 = 1; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = 2; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = 0; +pub type _bindgen_ty_1 = i32; +extern "C" { + pub fn ATTRIB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TRACKREFS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_ATTRIB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn ENSURE_NAMEDMAX(x: SEXP); +} +extern "C" { + pub fn ENSURE_NAMED(x: SEXP); +} +extern "C" { + pub fn SETTER_CLEAR_NAMED(x: SEXP); +} +extern "C" { + pub fn RAISE_NAMED(x: SEXP, n: ::std::os::raw::c_int); +} +extern "C" { + pub fn DECREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn INCREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn DISABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn ENABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn MARK_NOT_MUTABLE(x: SEXP); +} +extern "C" { + pub fn ASSIGNMENT_PENDING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ASSIGNMENT_PENDING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn IS_ASSIGNMENT_CALL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK_ASSIGNMENT_CALL(x: SEXP); +} +extern "C" { + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn UNSET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn NOJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MAYBEJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_NOJIT(x: SEXP); +} +extern "C" { + pub fn SET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn UNSET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_GROWABLE_BIT(x: SEXP); +} +extern "C" { + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn SETLENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn REAL(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW_RO(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn REAL_RO(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); +} +extern "C" { + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; +} +extern "C" { + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; +} +extern "C" { + pub fn VECTOR_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP_DUPLICATE_EX(x: SEXP, deep: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREP_COERCE(x: SEXP, type_: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn ALTREP_INSPECT( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean; +} +extern "C" { + pub fn ALTREP_SERIALIZED_CLASS(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_SERIALIZED_STATE(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_UNSERIALIZE_EX( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn ALTREP_LENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTREP_TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_EXTRACT_SUBSET(x: SEXP, indx: SEXP, call: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTLOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTLOGICAL_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTREAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn ALTREAL_SET_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn ALTSTRING_ELT(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn ALTSTRING_SET_ELT(arg1: SEXP, arg2: R_xlen_t, arg3: SEXP); +} +extern "C" { + pub fn ALTCOMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn ALTCOMPLEX_SET_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); +} +extern "C" { + pub fn ALTRAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn ALTRAW_SET_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); +} +extern "C" { + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; +} +extern "C" { + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; +} +extern "C" { + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; +} +extern "C" { + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn INTEGER_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn INTEGER_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn REAL_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn REAL_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTLOGICAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_compact_intrange(n1: R_xlen_t, n2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_deferred_coerceToString(v: SEXP, info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_virtrep_vec(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryWrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryUnwrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn BNDCELL_TAG(e: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_BNDCELL_TAG(e: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn BNDCELL_DVAL(cell: SEXP) -> f64; +} +extern "C" { + pub fn BNDCELL_IVAL(cell: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn BNDCELL_LVAL(cell: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_BNDCELL_DVAL(cell: SEXP, v: f64); +} +extern "C" { + pub fn SET_BNDCELL_IVAL(cell: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_BNDCELL_LVAL(cell: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn INIT_BNDCELL(cell: SEXP, type_: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_BNDCELL(cell: SEXP, val: SEXP); +} +extern "C" { + pub fn TAG(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR0(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAD4R(e: SEXP) -> SEXP; +} +extern "C" { + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_MISSING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TAG(x: SEXP, y: SEXP); +} +extern "C" { + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn CONS_NR(a: SEXP, b: SEXP) -> SEXP; +} +extern "C" { + pub fn FORMALS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn BODY(x: SEXP) -> SEXP; +} +extern "C" { + pub fn CLOENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FORMALS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_BODY(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_CLOENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRINTNAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn SYMVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn INTERNAL(x: SEXP) -> SEXP; +} +extern "C" { + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_DDVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRINTNAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_SYMVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_INTERNAL(x: SEXP, v: SEXP); +} +extern "C" { + pub fn FRAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENCLOS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn HASHTAB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FRAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_ENCLOS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_HASHTAB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRCODE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_PRSEEN(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRCODE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn HASHASH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn HASHVALUE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_HASHASH(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_HASHVALUE(x: SEXP, v: ::std::os::raw::c_int); +} +pub type PROTECT_INDEX = ::std::os::raw::c_int; +extern "C" { + pub static mut R_GlobalEnv: SEXP; +} +extern "C" { + pub static mut R_EmptyEnv: SEXP; +} +extern "C" { + pub static mut R_BaseEnv: SEXP; +} +extern "C" { + pub static mut R_BaseNamespace: SEXP; +} +extern "C" { + pub static mut R_NamespaceRegistry: SEXP; +} +extern "C" { + pub static mut R_Srcref: SEXP; +} +extern "C" { + pub static mut R_NilValue: SEXP; +} +extern "C" { + pub static mut R_UnboundValue: SEXP; +} +extern "C" { + pub static mut R_MissingArg: SEXP; +} +extern "C" { + pub static mut R_InBCInterpreter: SEXP; +} +extern "C" { + pub static mut R_CurrentExpression: SEXP; +} +extern "C" { + pub static mut R_RestartToken: SEXP; +} +extern "C" { + pub static mut R_AsCharacterSymbol: SEXP; +} +extern "C" { + pub static mut R_baseSymbol: SEXP; +} +extern "C" { + pub static mut R_BaseSymbol: SEXP; +} +extern "C" { + pub static mut R_BraceSymbol: SEXP; +} +extern "C" { + pub static mut R_Bracket2Symbol: SEXP; +} +extern "C" { + pub static mut R_BracketSymbol: SEXP; +} +extern "C" { + pub static mut R_ClassSymbol: SEXP; +} +extern "C" { + pub static mut R_DeviceSymbol: SEXP; +} +extern "C" { + pub static mut R_DimNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_DimSymbol: SEXP; +} +extern "C" { + pub static mut R_DollarSymbol: SEXP; +} +extern "C" { + pub static mut R_DotsSymbol: SEXP; +} +extern "C" { + pub static mut R_DoubleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_DropSymbol: SEXP; +} +extern "C" { + pub static mut R_EvalSymbol: SEXP; +} +extern "C" { + pub static mut R_FunctionSymbol: SEXP; +} +extern "C" { + pub static mut R_LastvalueSymbol: SEXP; +} +extern "C" { + pub static mut R_LevelsSymbol: SEXP; +} +extern "C" { + pub static mut R_ModeSymbol: SEXP; +} +extern "C" { + pub static mut R_NaRmSymbol: SEXP; +} +extern "C" { + pub static mut R_NameSymbol: SEXP; +} +extern "C" { + pub static mut R_NamesSymbol: SEXP; +} +extern "C" { + pub static mut R_NamespaceEnvSymbol: SEXP; +} +extern "C" { + pub static mut R_PackageSymbol: SEXP; +} +extern "C" { + pub static mut R_PreviousSymbol: SEXP; +} +extern "C" { + pub static mut R_QuoteSymbol: SEXP; +} +extern "C" { + pub static mut R_RowNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_SeedsSymbol: SEXP; +} +extern "C" { + pub static mut R_SortListSymbol: SEXP; +} +extern "C" { + pub static mut R_SourceSymbol: SEXP; +} +extern "C" { + pub static mut R_SpecSymbol: SEXP; +} +extern "C" { + pub static mut R_TripleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_TspSymbol: SEXP; +} +extern "C" { + pub static mut R_dot_defined: SEXP; +} +extern "C" { + pub static mut R_dot_Method: SEXP; +} +extern "C" { + pub static mut R_dot_packageName: SEXP; +} +extern "C" { + pub static mut R_dot_target: SEXP; +} +extern "C" { + pub static mut R_dot_Generic: SEXP; +} +extern "C" { + pub static mut R_NaString: SEXP; +} +extern "C" { + pub static mut R_BlankString: SEXP; +} +extern "C" { + pub static mut R_BlankScalarString: SEXP; +} +extern "C" { + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asLogical2( + x: SEXP, + checking: ::std::os::raw::c_int, + call: SEXP, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asReal(x: SEXP) -> f64; +} +extern "C" { + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +pub const warn_type_iSILENT: warn_type = 0; +pub const warn_type_iWARN: warn_type = 1; +pub const warn_type_iERROR: warn_type = 2; +pub type warn_type = u32; +extern "C" { + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_addMissingVarsToNewEnv(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList2(sym1: SEXP, sym2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList3(sym1: SEXP, sym2: SEXP, sym3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList4(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList5(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP, sym5: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList6( + sym1: SEXP, + sym2: SEXP, + sym3: SEXP, + sym4: SEXP, + sym5: SEXP, + sym6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_allocS4Object() -> SEXP; +} +extern "C" { + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; +} +extern "C" { + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_arraySubscript( + arg1: ::std::os::raw::c_int, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::option::Option SEXP>, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP, + >, + arg6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_fixSubset3Args(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: *mut SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_countContexts( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_CreateTag(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_DropDims(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_envHasNoSpecialSymbols(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_ExtractSubset(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFunctionForBody(arg1: SEXP); +} +extern "C" { + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_FixupDigits(arg1: SEXP, arg2: warn_type) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_FixupWidth(arg1: SEXP, arg2: warn_type) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_installChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installDDVAL(i: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_installS3Signature( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> SEXP; +} +extern "C" { + pub fn Rf_isFree(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnmodifiedSpecSym(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; +} +extern "C" { + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_matchE(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +pub const nchar_type_Bytes: nchar_type = 0; +pub const nchar_type_Chars: nchar_type = 1; +pub const nchar_type_Width: nchar_type = 2; +pub type nchar_type = u32; +extern "C" { + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_pmatch(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} +extern "C" { + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_PrintValue(arg1: SEXP); +} +extern "C" { + pub fn Rf_printwhere(); +} +extern "C" { + pub fn Rf_readS3VarsFromFrame( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut SEXP, + arg5: *mut SEXP, + arg6: *mut SEXP, + arg7: *mut SEXP, + ); +} +extern "C" { + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_setSVector(arg1: *mut SEXP, arg2: ::std::os::raw::c_int, arg3: SEXP); +} +extern "C" { + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_stringSuffix(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; +} +extern "C" { + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateChar0(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect_ptr(arg1: SEXP); +} +extern "C" { + pub fn R_signal_protect_error(); +} +extern "C" { + pub fn R_signal_unprotect_error(); +} +extern "C" { + pub fn R_signal_reprotect_error(i: PROTECT_INDEX); +} +extern "C" { + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetCurrentEnv() -> SEXP; +} +extern "C" { + pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isS4(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_cycle_detected(s: SEXP, child: SEXP) -> Rboolean; +} +pub const cetype_t_CE_NATIVE: cetype_t = 0; +pub const cetype_t_CE_UTF8: cetype_t = 1; +pub const cetype_t_CE_LATIN1: cetype_t = 2; +pub const cetype_t_CE_BYTES: cetype_t = 3; +pub const cetype_t_CE_SYMBOL: cetype_t = 5; +pub const cetype_t_CE_ANY: cetype_t = 99; +pub type cetype_t = u32; +extern "C" { + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; +} +extern "C" { + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; +} +extern "C" { + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClearExternalPtr(s: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); +} +extern "C" { + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; +} +pub type R_CFinalizer_t = ::std::option::Option; +extern "C" { + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); +} +extern "C" { + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); +} +extern "C" { + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); +} +extern "C" { + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); +} +extern "C" { + pub fn R_RunPendingFinalizers(); +} +extern "C" { + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_WeakRefKey(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_WeakRefValue(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_RunWeakRefFinalizer(w: SEXP); +} +extern "C" { + pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; +} +extern "C" { + pub fn R_initialize_bcode(); +} +extern "C" { + pub fn R_bcEncode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_bcDecode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_registerBC(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn R_checkConstants(arg1: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_BCVersionOK(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_init_altrep(); +} +extern "C" { + pub fn R_reinit_altrep_classes(arg1: *mut DllInfo); +} +extern "C" { + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; +} +extern "C" { + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_MakeUnwindCont() -> SEXP; +} +extern "C" { + pub fn R_ContinueUnwind(cont: SEXP); +} +extern "C" { + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_RestoreHashCount(rho: SEXP); +} +extern "C" { + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindNamespace(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); +} +extern "C" { + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_LockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_unLockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); +} +extern "C" { + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; +} +extern "C" { + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; +} +extern "C" { + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +pub const R_pstream_format_t_R_pstream_any_format: R_pstream_format_t = 0; +pub const R_pstream_format_t_R_pstream_ascii_format: R_pstream_format_t = 1; +pub const R_pstream_format_t_R_pstream_binary_format: R_pstream_format_t = 2; +pub const R_pstream_format_t_R_pstream_xdr_format: R_pstream_format_t = 3; +pub const R_pstream_format_t_R_pstream_asciihex_format: R_pstream_format_t = 4; +pub type R_pstream_format_t = u32; +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); +} +extern "C" { + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef_R(what: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_methods_attached() -> Rboolean; +} +extern "C" { + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_do_new_object(class_def: SEXP) -> SEXP; +} +extern "C" { + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_PreserveObject(arg1: SEXP); +} +extern "C" { + pub fn R_ReleaseObject(arg1: SEXP); +} +extern "C" { + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_dot_Last(); +} +extern "C" { + pub fn R_RunExitFinalizers(); +} +extern "C" { + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; +} +extern "C" { + pub fn R_body_no_src(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_lang1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_length(arg1: SEXP) -> R_len_t; +} +extern "C" { + pub fn Rf_list1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn Rf_protect(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); +} +extern "C" { + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); +} +extern "C" { + pub fn R_FixupRHS(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SCALAR_DVAL(x: SEXP) -> f64; +} +extern "C" { + pub fn SCALAR_LVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SCALAR_IVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_SCALAR_DVAL(x: SEXP, v: f64); +} +extern "C" { + pub fn SET_SCALAR_LVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_IVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_CVAL(x: SEXP, v: Rcomplex); +} +extern "C" { + pub fn SET_SCALAR_BVAL(x: SEXP, v: Rbyte); +} +extern "C" { + pub fn R_altrep_data1(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_altrep_data2(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); +} +extern "C" { + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); +} +extern "C" { + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL0(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn RAW0(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn R_BadValueInRCode( + value: SEXP, + call: SEXP, + rho: SEXP, + rawmsg: *const ::std::os::raw::c_char, + errmsg: *const ::std::os::raw::c_char, + warnmsg: *const ::std::os::raw::c_char, + varname: *const ::std::os::raw::c_char, + warnByDefault: Rboolean, + ); +} +extern "C" { + pub static mut R_CStackLimit: usize; +} +extern "C" { + pub fn Rf_initEmbeddedR( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setup_Rmainloop(); +} +extern "C" { + pub fn R_ReplDLLinit(); +} +extern "C" { + pub fn R_ReplDLLdo1() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_setStartTime(); +} +extern "C" { + pub fn CleanEd(); +} +extern "C" { + pub fn Rf_KillAllDevices(); +} +extern "C" { + pub static mut R_DirtyImage: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_CleanTempDir(); +} +extern "C" { + pub static mut R_TempDir: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_SaveGlobalEnv(); +} +extern "C" { + pub fn getDLLVersion() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn getRUser() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn get_R_HOME() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn setup_term_ui(); +} +extern "C" { + pub static mut UserBreak: ::std::os::raw::c_int; +} +extern "C" { + pub static mut AllDevicesKilled: Rboolean; +} +extern "C" { + pub fn editorcleanall(); +} +extern "C" { + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn GA_appcleanup(); +} +extern "C" { + pub fn readconsolecfg(); +} +pub const ParseStatus_PARSE_NULL: ParseStatus = 0; +pub const ParseStatus_PARSE_OK: ParseStatus = 1; +pub const ParseStatus_PARSE_INCOMPLETE: ParseStatus = 2; +pub const ParseStatus_PARSE_ERROR: ParseStatus = 3; +pub const ParseStatus_PARSE_EOF: ParseStatus = 4; +pub type ParseStatus = u32; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct lconv { + pub _address: u8, +} diff --git a/bindings/bindings-windows-x86_64-R3.6.rs b/bindings/bindings-windows-x86_64-R3.6.rs new file mode 100644 index 00000000..282d493b --- /dev/null +++ b/bindings/bindings-windows-x86_64-R3.6.rs @@ -0,0 +1,6525 @@ +/* automatically generated by rust-bindgen */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, + align: [Align; 0], +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage, align: [] } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const __MINGW64_VERSION_MAJOR: u32 = 9; +pub const __MINGW64_VERSION_MINOR: u32 = 0; +pub const __MINGW64_VERSION_BUGFIX: u32 = 0; +pub const __MINGW64_VERSION_RC: u32 = 0; +pub const __MINGW64_VERSION_STATE: &'static [u8; 6usize] = b"alpha\0"; +pub const __MINGW32_MAJOR_VERSION: u32 = 3; +pub const __MINGW32_MINOR_VERSION: u32 = 11; +pub const _M_AMD64: u32 = 100; +pub const _M_X64: u32 = 100; +pub const __: u32 = 1; +pub const __MINGW_USE_UNDERSCORE_PREFIX: u32 = 0; +pub const __MINGW_HAVE_ANSI_C99_PRINTF: u32 = 1; +pub const __MINGW_HAVE_WIDE_C99_PRINTF: u32 = 1; +pub const __MINGW_HAVE_ANSI_C99_SCANF: u32 = 1; +pub const __MINGW_HAVE_WIDE_C99_SCANF: u32 = 1; +pub const __MINGW_SEC_WARN_STR : & 'static [u8 ; 92usize] = b"This function or variable may be unsafe, use _CRT_SECURE_NO_WARNINGS to disable deprecation\0" ; +pub const __MINGW_MSVC2005_DEPREC_STR : & 'static [u8 ; 117usize] = b"This POSIX function is deprecated beginning in Visual C++ 2005, use _CRT_NONSTDC_NO_DEPRECATE to disable deprecation\0" ; +pub const __MINGW_FORTIFY_LEVEL: u32 = 0; +pub const __MINGW_FORTIFY_VA_ARG: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY: u32 = 0; +pub const __USE_CRTIMP: u32 = 1; +pub const USE___UUIDOF: u32 = 0; +pub const __CRT__NO_INLINE: u32 = 1; +pub const __MSVCRT_VERSION__: u32 = 1792; +pub const _WIN32_WINNT: u32 = 1537; +pub const MINGW_HAS_SECURE_API: u32 = 1; +pub const __STDC_SECURE_LIB__: u32 = 200411; +pub const __GOT_SECURE_LIB__: u32 = 200411; +pub const MINGW_HAS_DDK_H: u32 = 1; +pub const _CRT_PACKING: u32 = 8; +pub const _SECURECRT_FILL_BUFFER_PATTERN: u32 = 253; +pub const _ARGMAX: u32 = 100; +pub const __USE_MINGW_ANSI_STDIO: u32 = 1; +pub const _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION: u32 = 1; +pub const _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR: u32 = 2; +pub const _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS: u32 = 4; +pub const _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY: u32 = 8; +pub const _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS: u32 = 16; +pub const _CRT_INTERNAL_SCANF_SECURECRT: u32 = 1; +pub const _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS: u32 = 2; +pub const _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY: u32 = 4; +pub const _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS: u32 = 4; +pub const _CRT_INTERNAL_LOCAL_SCANF_OPTIONS: u32 = 2; +pub const BUFSIZ: u32 = 512; +pub const _NSTREAM_: u32 = 512; +pub const _IOB_ENTRIES: u32 = 20; +pub const EOF: i32 = -1; +pub const _P_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const _wP_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const SEEK_CUR: u32 = 1; +pub const SEEK_END: u32 = 2; +pub const SEEK_SET: u32 = 0; +pub const STDIN_FILENO: u32 = 0; +pub const STDOUT_FILENO: u32 = 1; +pub const STDERR_FILENO: u32 = 2; +pub const FILENAME_MAX: u32 = 260; +pub const FOPEN_MAX: u32 = 20; +pub const _SYS_OPEN: u32 = 20; +pub const TMP_MAX: u32 = 32767; +pub const _IOREAD: u32 = 1; +pub const _IOWRT: u32 = 2; +pub const _IOFBF: u32 = 0; +pub const _IOLBF: u32 = 64; +pub const _IONBF: u32 = 4; +pub const _IOMYBUF: u32 = 8; +pub const _IOEOF: u32 = 16; +pub const _IOERR: u32 = 32; +pub const _IOSTRG: u32 = 64; +pub const _IORW: u32 = 128; +pub const _TWO_DIGIT_EXPONENT: u32 = 1; +pub const P_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const SYS_OPEN: u32 = 20; +pub const _P_WAIT: u32 = 0; +pub const _P_NOWAIT: u32 = 1; +pub const _OLD_P_OVERLAY: u32 = 2; +pub const _P_NOWAITO: u32 = 3; +pub const _P_DETACH: u32 = 4; +pub const _P_OVERLAY: u32 = 2; +pub const _WAIT_CHILD: u32 = 0; +pub const _WAIT_GRANDCHILD: u32 = 1; +pub const TMP_MAX_S: u32 = 32767; +pub const PATH_MAX: u32 = 260; +pub const CHAR_BIT: u32 = 8; +pub const SCHAR_MIN: i32 = -128; +pub const SCHAR_MAX: u32 = 127; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MIN: i32 = -128; +pub const CHAR_MAX: u32 = 127; +pub const MB_LEN_MAX: u32 = 5; +pub const SHRT_MIN: i32 = -32768; +pub const SHRT_MAX: u32 = 32767; +pub const USHRT_MAX: u32 = 65535; +pub const INT_MIN: i32 = -2147483648; +pub const INT_MAX: u32 = 2147483647; +pub const UINT_MAX: u32 = 4294967295; +pub const LONG_MIN: i32 = -2147483648; +pub const LONG_MAX: u32 = 2147483647; +pub const ULONG_MAX: u32 = 4294967295; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const _I8_MIN: i32 = -128; +pub const _I8_MAX: u32 = 127; +pub const _UI8_MAX: u32 = 255; +pub const _I16_MIN: i32 = -32768; +pub const _I16_MAX: u32 = 32767; +pub const _UI16_MAX: u32 = 65535; +pub const _I32_MIN: i32 = -2147483648; +pub const _I32_MAX: u32 = 2147483647; +pub const _UI32_MAX: u32 = 4294967295; +pub const LONG_LONG_MAX: u64 = 9223372036854775807; +pub const LONG_LONG_MIN: i64 = -9223372036854775808; +pub const ULONG_LONG_MAX: i32 = -1; +pub const _I64_MIN: i64 = -9223372036854775808; +pub const _I64_MAX: u64 = 9223372036854775807; +pub const _UI64_MAX: i32 = -1; +pub const SIZE_MAX: i32 = -1; +pub const SSIZE_MAX: u64 = 9223372036854775807; +pub const _DOMAIN: u32 = 1; +pub const _SING: u32 = 2; +pub const _OVERFLOW: u32 = 3; +pub const _UNDERFLOW: u32 = 4; +pub const _TLOSS: u32 = 5; +pub const _PLOSS: u32 = 6; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +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 __MINGW_FPCLASS_DEFINED: u32 = 1; +pub const _FPCLASS_SNAN: u32 = 1; +pub const _FPCLASS_QNAN: u32 = 2; +pub const _FPCLASS_NINF: u32 = 4; +pub const _FPCLASS_NN: u32 = 8; +pub const _FPCLASS_ND: u32 = 16; +pub const _FPCLASS_NZ: u32 = 32; +pub const _FPCLASS_PZ: u32 = 64; +pub const _FPCLASS_PD: u32 = 128; +pub const _FPCLASS_PN: u32 = 256; +pub const _FPCLASS_PINF: u32 = 512; +pub const EDOM: u32 = 33; +pub const ERANGE: u32 = 34; +pub const FP_SNAN: u32 = 1; +pub const FP_QNAN: u32 = 2; +pub const FP_NINF: u32 = 4; +pub const FP_PINF: u32 = 512; +pub const FP_NDENORM: u32 = 16; +pub const FP_PDENORM: u32 = 128; +pub const FP_NZERO: u32 = 32; +pub const FP_PZERO: u32 = 64; +pub const FP_NNORM: u32 = 8; +pub const FP_PNORM: u32 = 256; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_INTERNALS_UUID: &'static [u8; 37usize] = b"2fdf6c18-697a-4ba7-b8ef-11c0d92f1327\0"; +pub const NILSXP: u32 = 0; +pub const SYMSXP: u32 = 1; +pub const LISTSXP: u32 = 2; +pub const CLOSXP: u32 = 3; +pub const ENVSXP: u32 = 4; +pub const PROMSXP: u32 = 5; +pub const LANGSXP: u32 = 6; +pub const SPECIALSXP: u32 = 7; +pub const BUILTINSXP: u32 = 8; +pub const CHARSXP: u32 = 9; +pub const LGLSXP: u32 = 10; +pub const INTSXP: u32 = 13; +pub const REALSXP: u32 = 14; +pub const CPLXSXP: u32 = 15; +pub const STRSXP: u32 = 16; +pub const DOTSXP: u32 = 17; +pub const ANYSXP: u32 = 18; +pub const VECSXP: u32 = 19; +pub const EXPRSXP: u32 = 20; +pub const BCODESXP: u32 = 21; +pub const EXTPTRSXP: u32 = 22; +pub const WEAKREFSXP: u32 = 23; +pub const RAWSXP: u32 = 24; +pub const S4SXP: u32 = 25; +pub const NEWSXP: u32 = 30; +pub const FREESXP: u32 = 31; +pub const FUNSXP: u32 = 99; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const R_VERSION: u32 = 198147; +pub const R_NICK: &'static [u8; 21usize] = b"Holding the Windsock\0"; +pub const R_MAJOR: &'static [u8; 2usize] = b"3\0"; +pub const R_MINOR: &'static [u8; 4usize] = b"6.3\0"; +pub const R_STATUS: &'static [u8; 1usize] = b"\0"; +pub const R_YEAR: &'static [u8; 5usize] = b"2020\0"; +pub const R_MONTH: &'static [u8; 3usize] = b"02\0"; +pub const R_DAY: &'static [u8; 3usize] = b"29\0"; +pub const R_SVN_REVISION: u32 = 77875; +pub type size_t = ::std::os::raw::c_ulonglong; +pub type wchar_t = ::std::os::raw::c_ushort; +#[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() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(max_align_t)) + ); + assert_eq!( + ::std::mem::align_of::(), + 16usize, + concat!("Alignment of ", stringify!(max_align_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__clang_max_align_nonce1 as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(max_align_t), + "::", + stringify!(__clang_max_align_nonce1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__clang_max_align_nonce2 as *const _ as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(max_align_t), + "::", + stringify!(__clang_max_align_nonce2) + ) + ); +} +#[doc = "
"] +pub type R_xlen_t = isize; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +extern "C" { + pub fn __debugbreak(); +} +extern "C" { + pub fn __mingw_get_crt_info() -> *const ::std::os::raw::c_char; +} +pub type ssize_t = ::std::os::raw::c_longlong; +pub type rsize_t = size_t; +pub type wint_t = ::std::os::raw::c_ushort; +pub type wctype_t = ::std::os::raw::c_ushort; +pub type errno_t = ::std::os::raw::c_int; +pub type __time32_t = ::std::os::raw::c_long; +pub type __time64_t = ::std::os::raw::c_longlong; +pub type time_t = __time64_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadmbcinfostruct { + _unused: [u8; 0], +} +pub type pthreadlocinfo = *mut threadlocaleinfostruct; +pub type pthreadmbcinfo = *mut threadmbcinfostruct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __lc_time_data { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct localeinfo_struct { + pub locinfo: pthreadlocinfo, + pub mbcinfo: pthreadmbcinfo, +} +#[test] +fn bindgen_test_layout_localeinfo_struct() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(localeinfo_struct)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(localeinfo_struct)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).locinfo as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(localeinfo_struct), + "::", + stringify!(locinfo) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mbcinfo as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(localeinfo_struct), + "::", + stringify!(mbcinfo) + ) + ); +} +pub type _locale_tstruct = localeinfo_struct; +pub type _locale_t = *mut localeinfo_struct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct tagLC_ID { + pub wLanguage: ::std::os::raw::c_ushort, + pub wCountry: ::std::os::raw::c_ushort, + pub wCodePage: ::std::os::raw::c_ushort, +} +#[test] +fn bindgen_test_layout_tagLC_ID() { + assert_eq!( + ::std::mem::size_of::(), + 6usize, + concat!("Size of: ", stringify!(tagLC_ID)) + ); + assert_eq!( + ::std::mem::align_of::(), + 2usize, + concat!("Alignment of ", stringify!(tagLC_ID)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).wLanguage as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(tagLC_ID), + "::", + stringify!(wLanguage) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).wCountry as *const _ as usize }, + 2usize, + concat!( + "Offset of field: ", + stringify!(tagLC_ID), + "::", + stringify!(wCountry) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).wCodePage as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(tagLC_ID), + "::", + stringify!(wCodePage) + ) + ); +} +pub type LC_ID = tagLC_ID; +pub type LPLC_ID = *mut tagLC_ID; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadlocaleinfostruct { + pub refcount: ::std::os::raw::c_int, + pub lc_codepage: ::std::os::raw::c_uint, + pub lc_collate_cp: ::std::os::raw::c_uint, + pub lc_handle: [::std::os::raw::c_ulong; 6usize], + pub lc_id: [LC_ID; 6usize], + pub lc_category: [threadlocaleinfostruct__bindgen_ty_1; 6usize], + pub lc_clike: ::std::os::raw::c_int, + pub mb_cur_max: ::std::os::raw::c_int, + pub lconv_intl_refcount: *mut ::std::os::raw::c_int, + pub lconv_num_refcount: *mut ::std::os::raw::c_int, + pub lconv_mon_refcount: *mut ::std::os::raw::c_int, + pub lconv: *mut lconv, + pub ctype1_refcount: *mut ::std::os::raw::c_int, + pub ctype1: *mut ::std::os::raw::c_ushort, + pub pctype: *const ::std::os::raw::c_ushort, + pub pclmap: *const ::std::os::raw::c_uchar, + pub pcumap: *const ::std::os::raw::c_uchar, + pub lc_time_curr: *mut __lc_time_data, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadlocaleinfostruct__bindgen_ty_1 { + pub locale: *mut ::std::os::raw::c_char, + pub wlocale: *mut wchar_t, + pub refcount: *mut ::std::os::raw::c_int, + pub wrefcount: *mut ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_threadlocaleinfostruct__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!( + "Size of: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(threadlocaleinfostruct__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).locale as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1), + "::", + stringify!(locale) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).wlocale as *const _ + as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1), + "::", + stringify!(wlocale) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).refcount as *const _ + as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1), + "::", + stringify!(refcount) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).wrefcount as *const _ + as usize + }, + 24usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1), + "::", + stringify!(wrefcount) + ) + ); +} +#[test] +fn bindgen_test_layout_threadlocaleinfostruct() { + assert_eq!( + ::std::mem::size_of::(), + 352usize, + concat!("Size of: ", stringify!(threadlocaleinfostruct)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(threadlocaleinfostruct)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).refcount as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(refcount) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_codepage as *const _ as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_codepage) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_collate_cp as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_collate_cp) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_handle as *const _ as usize + }, + 12usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_handle) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).lc_id as *const _ as usize }, + 36usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_id) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_category as *const _ as usize + }, + 72usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_category) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).lc_clike as *const _ as usize }, + 264usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_clike) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mb_cur_max as *const _ as usize + }, + 268usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(mb_cur_max) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lconv_intl_refcount as *const _ + as usize + }, + 272usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lconv_intl_refcount) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lconv_num_refcount as *const _ + as usize + }, + 280usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lconv_num_refcount) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lconv_mon_refcount as *const _ + as usize + }, + 288usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lconv_mon_refcount) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).lconv as *const _ as usize }, + 296usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lconv) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).ctype1_refcount as *const _ as usize + }, + 304usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(ctype1_refcount) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).ctype1 as *const _ as usize }, + 312usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(ctype1) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pctype as *const _ as usize }, + 320usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(pctype) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pclmap as *const _ as usize }, + 328usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(pclmap) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pcumap as *const _ as usize }, + 336usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(pcumap) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_time_curr as *const _ as usize + }, + 344usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_time_curr) + ) + ); +} +pub type threadlocinfo = threadlocaleinfostruct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _ptr: *mut ::std::os::raw::c_char, + pub _cnt: ::std::os::raw::c_int, + pub _base: *mut ::std::os::raw::c_char, + pub _flag: ::std::os::raw::c_int, + pub _file: ::std::os::raw::c_int, + pub _charbuf: ::std::os::raw::c_int, + pub _bufsiz: ::std::os::raw::c_int, + pub _tmpfname: *mut ::std::os::raw::c_char, +} +#[test] +fn bindgen_test_layout__iobuf() { + assert_eq!( + ::std::mem::size_of::<_iobuf>(), + 48usize, + concat!("Size of: ", stringify!(_iobuf)) + ); + assert_eq!( + ::std::mem::align_of::<_iobuf>(), + 8usize, + concat!("Alignment of ", stringify!(_iobuf)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._ptr as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_ptr) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._cnt as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_cnt) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._base as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._flag as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_flag) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._file as *const _ as usize }, + 28usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_file) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._charbuf as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_charbuf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._bufsiz as *const _ as usize }, + 36usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_bufsiz) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._tmpfname as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_tmpfname) + ) + ); +} +pub type FILE = _iobuf; +pub type _off_t = ::std::os::raw::c_long; +pub type off32_t = ::std::os::raw::c_long; +pub type _off64_t = ::std::os::raw::c_longlong; +pub type off64_t = ::std::os::raw::c_longlong; +pub type off_t = off32_t; +extern "C" { + pub fn __acrt_iob_func(index: ::std::os::raw::c_uint) -> *mut FILE; +} +extern "C" { + pub fn __iob_func() -> *mut FILE; +} +pub type fpos_t = ::std::os::raw::c_longlong; +extern "C" { + pub fn __mingw_sscanf( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsscanf( + _Str: *const ::std::os::raw::c_char, + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vscanf( + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fscanf( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfscanf( + fp: *mut FILE, + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsnprintf( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_snprintf( + s: *mut ::std::os::raw::c_char, + n: size_t, + format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_sscanf( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fscanf( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _filbuf(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _flsbuf(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fsopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _ShFlag: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn clearerr(_File: *mut FILE); +} +extern "C" { + pub fn fclose(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fcloseall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fdopen( + _FileHandle: ::std::os::raw::c_int, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn feof(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ferror(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fflush(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetc(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fgetchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos(_File: *mut FILE, _Pos: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos64(_File: *mut FILE, _Pos: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgets( + _Buf: *mut ::std::os::raw::c_char, + _MaxCount: ::std::os::raw::c_int, + _File: *mut FILE, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _fileno(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _tempnam( + _DirName: *const ::std::os::raw::c_char, + _FilePrefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _flushall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fopen64( + filename: *const ::std::os::raw::c_char, + mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fputc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputs(_Str: *const ::std::os::raw::c_char, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fread( + _DstBuf: *mut ::std::os::raw::c_void, + _ElementSize: ::std::os::raw::c_ulonglong, + _Count: ::std::os::raw::c_ulonglong, + _File: *mut FILE, + ) -> ::std::os::raw::c_ulonglong; +} +extern "C" { + pub fn freopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _File: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn fsetpos(_File: *mut FILE, _Pos: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fsetpos64(_File: *mut FILE, _Pos: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseek( + _File: *mut FILE, + _Offset: ::std::os::raw::c_long, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftell(_File: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn _fseeki64( + _File: *mut FILE, + _Offset: ::std::os::raw::c_longlong, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftelli64(_File: *mut FILE) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn fseeko64( + stream: *mut FILE, + offset: _off64_t, + whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseeko( + stream: *mut FILE, + offset: _off_t, + whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftello(stream: *mut FILE) -> _off_t; +} +extern "C" { + pub fn ftello64(stream: *mut FILE) -> _off64_t; +} +extern "C" { + pub fn fwrite( + _Str: *const ::std::os::raw::c_void, + _Size: ::std::os::raw::c_ulonglong, + _Count: ::std::os::raw::c_ulonglong, + _File: *mut FILE, + ) -> ::std::os::raw::c_ulonglong; +} +extern "C" { + pub fn getc(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _getmaxstdio() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn gets(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _getw(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn perror(_ErrMsg: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn _pclose(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _popen( + _Command: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn putc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn puts(_Str: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _putw(_Word: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn remove(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rename( + _OldFilename: *const ::std::os::raw::c_char, + _NewFilename: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _unlink(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn unlink(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rewind(_File: *mut FILE); +} +extern "C" { + pub fn _rmtmp() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuf(_File: *mut FILE, _Buffer: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn _setmaxstdio(_Max: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_output_format(_Format: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn _get_output_format() -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn setvbuf( + _File: *mut FILE, + _Buf: *mut ::std::os::raw::c_char, + _Mode: ::std::os::raw::c_int, + _Size: size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tmpfile() -> *mut FILE; +} +extern "C" { + pub fn tmpnam(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn ungetc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf( + _Dest: *mut ::std::os::raw::c_char, + _Count: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf( + _Dest: *mut ::std::os::raw::c_char, + _Count: size_t, + _Format: *const ::std::os::raw::c_char, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_printf_count_output(_Value: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _get_printf_count_output() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_swscanf( + _Src: *const wchar_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vswscanf( + _Str: *const wchar_t, + Format: *const wchar_t, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vwscanf(Format: *const wchar_t, argp: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fwscanf(_File: *mut FILE, _Format: *const wchar_t, ...) + -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfwscanf( + fp: *mut FILE, + Format: *const wchar_t, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_snwprintf( + s: *mut wchar_t, + n: size_t, + format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsnwprintf( + arg1: *mut wchar_t, + arg2: size_t, + arg3: *const wchar_t, + arg4: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_swprintf(arg1: *mut wchar_t, arg2: *const wchar_t, ...) + -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vswprintf( + arg1: *mut wchar_t, + arg2: *const wchar_t, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_swscanf( + _Src: *const wchar_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fwscanf(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fwprintf(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vfwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_swprintf(arg1: *mut wchar_t, arg2: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vswprintf( + arg1: *mut wchar_t, + arg2: *const wchar_t, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfsopen( + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _ShFlag: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn fgetwc(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fgetwchar() -> wint_t; +} +extern "C" { + pub fn fputwc(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fputwchar(_Ch: wchar_t) -> wint_t; +} +extern "C" { + pub fn getwc(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn getwchar() -> wint_t; +} +extern "C" { + pub fn putwc(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn putwchar(_Ch: wchar_t) -> wint_t; +} +extern "C" { + pub fn ungetwc(_Ch: wint_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn fgetws( + _Dst: *mut wchar_t, + _SizeInWords: ::std::os::raw::c_int, + _File: *mut FILE, + ) -> *mut wchar_t; +} +extern "C" { + pub fn fputws(_Str: *const wchar_t, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _getws(_String: *mut wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _putws(_Str: *const wchar_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_c( + _DstBuf: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_c( + _DstBuf: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf( + _Dest: *mut wchar_t, + _Count: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf( + _Dest: *mut wchar_t, + _Count: size_t, + _Format: *const wchar_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf(_Dest: *mut wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wtempnam(_Directory: *const wchar_t, _FilePrefix: *const wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _snwscanf( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfdopen(_FileHandle: ::std::os::raw::c_int, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wfopen(_Filename: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wfreopen( + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _OldFile: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn _wperror(_ErrMsg: *const wchar_t); +} +extern "C" { + pub fn _wpopen(_Command: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wremove(_Filename: *const wchar_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wtmpnam(_Buffer: *mut wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _fgetwc_nolock(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fputwc_nolock(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _ungetwc_nolock(_Ch: wint_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _lock_file(_File: *mut FILE); +} +extern "C" { + pub fn _unlock_file(_File: *mut FILE); +} +extern "C" { + pub fn _fclose_nolock(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fflush_nolock(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fread_nolock( + _DstBuf: *mut ::std::os::raw::c_void, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn _fseek_nolock( + _File: *mut FILE, + _Offset: ::std::os::raw::c_long, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftell_nolock(_File: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn _fseeki64_nolock( + _File: *mut FILE, + _Offset: ::std::os::raw::c_longlong, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftelli64_nolock(_File: *mut FILE) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn _fwrite_nolock( + _DstBuf: *const ::std::os::raw::c_void, + _Size: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn _ungetc_nolock(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tempnam( + _Directory: *const ::std::os::raw::c_char, + _FilePrefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fcloseall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fdopen( + _FileHandle: ::std::os::raw::c_int, + _Format: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fgetchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fileno(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn flushall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getw(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putw(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rmtmp() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_wide_utf8( + wptr: *const wchar_t, + mbptr: *mut *mut ::std::os::raw::c_char, + buflen: *mut size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_utf8_wide( + mbptr: *const ::std::os::raw::c_char, + wptr: *mut *mut wchar_t, + buflen: *mut size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_free(ptr: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn _wspawnl( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnle( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnlp( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnlpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnv( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnve( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + _Env: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnvp( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnvpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + _Env: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _spawnv( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnve( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + _Env: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnvp( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnvpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + _Env: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn clearerr_s(_File: *mut FILE) -> errno_t; +} +extern "C" { + pub fn fread_s( + _DstBuf: *mut ::std::os::raw::c_void, + _DstSize: size_t, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn fprintf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fscanf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fscanf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn printf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scanf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scanf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn scanf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_c( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_c( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fscanf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sscanf_l( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sscanf_s_l( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sscanf_s( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_s( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_l( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_s_l( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfprintf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vprintf_s( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsnprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _Size: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_p( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_p( + _Dst: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_p( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_p( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_p( + _Dst: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_p( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_p_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_p_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_p_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + arg1: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_p_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_c_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_c_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + arg1: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fopen_s( + _File: *mut *mut FILE, + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> errno_t; +} +extern "C" { + pub fn freopen_s( + _File: *mut *mut FILE, + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _Stream: *mut FILE, + ) -> errno_t; +} +extern "C" { + pub fn gets_s(arg1: *mut ::std::os::raw::c_char, arg2: rsize_t) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn tmpnam_s(arg1: *mut ::std::os::raw::c_char, arg2: rsize_t) -> errno_t; +} +extern "C" { + pub fn _getws_s(_Str: *mut wchar_t, _SizeInWords: size_t) -> *mut wchar_t; +} +extern "C" { + pub fn fwprintf_s(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn wprintf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfwprintf_s( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vwprintf_s(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vswprintf_s( + _Dst: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn swprintf_s( + _Dst: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_s( + _DstBuf: *mut wchar_t, + _DstSizeInWords: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_s( + _DstBuf: *mut wchar_t, + _DstSizeInWords: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_s_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwscanf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fwscanf_s(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swscanf_s_l( + _Src: *const wchar_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn swscanf_s(_Src: *const wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_s( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_s_l( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wscanf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn wscanf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfopen_s( + _File: *mut *mut FILE, + _Filename: *const wchar_t, + _Mode: *const wchar_t, + ) -> errno_t; +} +extern "C" { + pub fn _wfreopen_s( + _File: *mut *mut FILE, + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _OldFile: *mut FILE, + ) -> errno_t; +} +extern "C" { + pub fn _wtmpnam_s(_DstBuf: *mut wchar_t, _SizeInWords: size_t) -> errno_t; +} +extern "C" { + pub fn _fwprintf_p(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_p( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_p( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_p( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_p_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_p_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_c_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_p_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_c_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_p_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __swprintf_l( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Plocinfo: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __vswprintf_l( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Plocinfo: _locale_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwscanf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swscanf_l( + _Src: *const wchar_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_l( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wscanf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fread_nolock_s( + _DstBuf: *mut ::std::os::raw::c_void, + _DstSize: size_t, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_dbl_type_t { + pub x: f64, + pub val: ::std::os::raw::c_ulonglong, + pub lh: __mingw_dbl_type_t__bindgen_ty_1, + _bindgen_union_align: u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __mingw_dbl_type_t__bindgen_ty_1 { + pub low: ::std::os::raw::c_uint, + pub high: ::std::os::raw::c_uint, +} +#[test] +fn bindgen_test_layout___mingw_dbl_type_t__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::<__mingw_dbl_type_t__bindgen_ty_1>(), + 8usize, + concat!("Size of: ", stringify!(__mingw_dbl_type_t__bindgen_ty_1)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_dbl_type_t__bindgen_ty_1>(), + 4usize, + concat!( + "Alignment of ", + stringify!(__mingw_dbl_type_t__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mingw_dbl_type_t__bindgen_ty_1>())).low as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t__bindgen_ty_1), + "::", + stringify!(low) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mingw_dbl_type_t__bindgen_ty_1>())).high as *const _ as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t__bindgen_ty_1), + "::", + stringify!(high) + ) + ); +} +#[test] +fn bindgen_test_layout___mingw_dbl_type_t() { + assert_eq!( + ::std::mem::size_of::<__mingw_dbl_type_t>(), + 8usize, + concat!("Size of: ", stringify!(__mingw_dbl_type_t)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_dbl_type_t>(), + 8usize, + concat!("Alignment of ", stringify!(__mingw_dbl_type_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_dbl_type_t>())).x as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t), + "::", + stringify!(x) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_dbl_type_t>())).val as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t), + "::", + stringify!(val) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_dbl_type_t>())).lh as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t), + "::", + stringify!(lh) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_flt_type_t { + pub x: f32, + pub val: ::std::os::raw::c_uint, + _bindgen_union_align: u32, +} +#[test] +fn bindgen_test_layout___mingw_flt_type_t() { + assert_eq!( + ::std::mem::size_of::<__mingw_flt_type_t>(), + 4usize, + concat!("Size of: ", stringify!(__mingw_flt_type_t)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_flt_type_t>(), + 4usize, + concat!("Alignment of ", stringify!(__mingw_flt_type_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_flt_type_t>())).x as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_flt_type_t), + "::", + stringify!(x) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_flt_type_t>())).val as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_flt_type_t), + "::", + stringify!(val) + ) + ); +} +#[repr(C, packed(8))] +#[derive(Copy, Clone)] +pub union __mingw_ldbl_type_t { + pub x: u128, + pub lh: __mingw_ldbl_type_t__bindgen_ty_1, + _bindgen_union_align: [u64; 2usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __mingw_ldbl_type_t__bindgen_ty_1 { + pub low: ::std::os::raw::c_uint, + pub high: ::std::os::raw::c_uint, + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize], u32>, +} +#[test] +fn bindgen_test_layout___mingw_ldbl_type_t__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::<__mingw_ldbl_type_t__bindgen_ty_1>(), + 16usize, + concat!("Size of: ", stringify!(__mingw_ldbl_type_t__bindgen_ty_1)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_ldbl_type_t__bindgen_ty_1>(), + 4usize, + concat!( + "Alignment of ", + stringify!(__mingw_ldbl_type_t__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mingw_ldbl_type_t__bindgen_ty_1>())).low as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_ldbl_type_t__bindgen_ty_1), + "::", + stringify!(low) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mingw_ldbl_type_t__bindgen_ty_1>())).high as *const _ as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__mingw_ldbl_type_t__bindgen_ty_1), + "::", + stringify!(high) + ) + ); +} +impl __mingw_ldbl_type_t__bindgen_ty_1 { + #[inline] + pub fn sign_exponent(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_sign_exponent(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn res1(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_res1(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn res0(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 32u8) as u32) } + } + #[inline] + pub fn set_res0(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(32usize, 32u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + sign_exponent: ::std::os::raw::c_int, + res1: ::std::os::raw::c_int, + res0: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 8usize], u32> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize], u32> = + Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let sign_exponent: u32 = unsafe { ::std::mem::transmute(sign_exponent) }; + sign_exponent as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let res1: u32 = unsafe { ::std::mem::transmute(res1) }; + res1 as u64 + }); + __bindgen_bitfield_unit.set(32usize, 32u8, { + let res0: u32 = unsafe { ::std::mem::transmute(res0) }; + res0 as u64 + }); + __bindgen_bitfield_unit + } +} +#[test] +fn bindgen_test_layout___mingw_ldbl_type_t() { + assert_eq!( + ::std::mem::size_of::<__mingw_ldbl_type_t>(), + 16usize, + concat!("Size of: ", stringify!(__mingw_ldbl_type_t)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_ldbl_type_t>(), + 8usize, + concat!("Alignment of ", stringify!(__mingw_ldbl_type_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_ldbl_type_t>())).x as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_ldbl_type_t), + "::", + stringify!(x) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_ldbl_type_t>())).lh as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_ldbl_type_t), + "::", + stringify!(lh) + ) + ); +} +extern "C" { + pub static mut __imp__HUGE: *mut f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _exception { + pub type_: ::std::os::raw::c_int, + pub name: *const ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, +} +#[test] +fn bindgen_test_layout__exception() { + assert_eq!( + ::std::mem::size_of::<_exception>(), + 40usize, + concat!("Size of: ", stringify!(_exception)) + ); + assert_eq!( + ::std::mem::align_of::<_exception>(), + 8usize, + concat!("Alignment of ", stringify!(_exception)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).type_ as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).name as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).arg1 as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(arg1) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).arg2 as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(arg2) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).retval as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(retval) + ) + ); +} +extern "C" { + pub fn __mingw_raise_matherr( + typ: ::std::os::raw::c_int, + name: *const ::std::os::raw::c_char, + a1: f64, + a2: f64, + rslt: f64, + ); +} +extern "C" { + pub fn __mingw_setusermatherr( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut _exception) -> ::std::os::raw::c_int, + >, + ); +} +extern "C" { + pub fn __setusermatherr( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut _exception) -> ::std::os::raw::c_int, + >, + ); +} +extern "C" { + pub fn sin(_X: f64) -> f64; +} +extern "C" { + pub fn cos(_X: f64) -> f64; +} +extern "C" { + pub fn tan(_X: f64) -> f64; +} +extern "C" { + pub fn sinh(_X: f64) -> f64; +} +extern "C" { + pub fn cosh(_X: f64) -> f64; +} +extern "C" { + pub fn tanh(_X: f64) -> f64; +} +extern "C" { + pub fn asin(_X: f64) -> f64; +} +extern "C" { + pub fn acos(_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 exp(_X: f64) -> f64; +} +extern "C" { + pub fn log(_X: f64) -> f64; +} +extern "C" { + pub fn log10(_X: f64) -> f64; +} +extern "C" { + pub fn pow(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn sqrt(_X: f64) -> f64; +} +extern "C" { + pub fn ceil(_X: f64) -> f64; +} +extern "C" { + pub fn floor(_X: f64) -> f64; +} +extern "C" { + pub fn fabsf(x: f32) -> f32; +} +extern "C" { + pub fn fabsl(arg1: u128) -> u128; +} +extern "C" { + pub fn fabs(_X: f64) -> f64; +} +extern "C" { + pub fn ldexp(_X: f64, _Y: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn frexp(_X: f64, _Y: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn modf(_X: f64, _Y: *mut f64) -> f64; +} +extern "C" { + pub fn fmod(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn sincos(__x: f64, p_sin: *mut f64, p_cos: *mut f64); +} +extern "C" { + pub fn sincosl(__x: u128, p_sin: *mut u128, p_cos: *mut u128); +} +extern "C" { + pub fn sincosf(__x: f32, p_sin: *mut f32, p_cos: *mut f32); +} +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 atof(_String: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn _atof_l(_String: *const ::std::os::raw::c_char, _Locale: _locale_t) -> f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _complex { + pub x: f64, + pub y: f64, +} +#[test] +fn bindgen_test_layout__complex() { + assert_eq!( + ::std::mem::size_of::<_complex>(), + 16usize, + concat!("Size of: ", stringify!(_complex)) + ); + assert_eq!( + ::std::mem::align_of::<_complex>(), + 8usize, + concat!("Alignment of ", stringify!(_complex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_complex>())).x as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_complex), + "::", + stringify!(x) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_complex>())).y as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_complex), + "::", + stringify!(y) + ) + ); +} +extern "C" { + pub fn _cabs(_ComplexA: _complex) -> f64; +} +extern "C" { + pub fn _hypot(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn _j0(_X: f64) -> f64; +} +extern "C" { + pub fn _j1(_X: f64) -> f64; +} +extern "C" { + pub fn _jn(_X: ::std::os::raw::c_int, _Y: f64) -> f64; +} +extern "C" { + pub fn _y0(_X: f64) -> f64; +} +extern "C" { + pub fn _y1(_X: f64) -> f64; +} +extern "C" { + pub fn _yn(_X: ::std::os::raw::c_int, _Y: f64) -> f64; +} +extern "C" { + pub fn _matherr(arg1: *mut _exception) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _chgsign(_X: f64) -> f64; +} +extern "C" { + pub fn _copysign(_Number: f64, _Sign: f64) -> f64; +} +extern "C" { + pub fn _logb(arg1: f64) -> f64; +} +extern "C" { + pub fn _nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn _scalb(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn _finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fpclass(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _isnan(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn j0(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 y0(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 chgsign(arg1: f64) -> f64; +} +extern "C" { + pub fn finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fpclass(arg1: f64) -> ::std::os::raw::c_int; +} +pub type float_t = f32; +pub type double_t = f64; +extern "C" { + pub fn __fpclassifyl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassify(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnan(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnanf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnanl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbit(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbitf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbitl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sinf(_X: f32) -> f32; +} +extern "C" { + pub fn sinl(arg1: u128) -> u128; +} +extern "C" { + pub fn cosf(_X: f32) -> f32; +} +extern "C" { + pub fn cosl(arg1: u128) -> u128; +} +extern "C" { + pub fn tanf(_X: f32) -> f32; +} +extern "C" { + pub fn tanl(arg1: u128) -> u128; +} +extern "C" { + pub fn asinf(_X: f32) -> f32; +} +extern "C" { + pub fn asinl(arg1: u128) -> u128; +} +extern "C" { + pub fn acosf(arg1: f32) -> f32; +} +extern "C" { + pub fn acosl(arg1: u128) -> u128; +} +extern "C" { + pub fn atanf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanl(arg1: u128) -> u128; +} +extern "C" { + pub fn atan2f(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn atan2l(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn sinhf(_X: f32) -> f32; +} +extern "C" { + pub fn sinhl(arg1: u128) -> u128; +} +extern "C" { + pub fn coshf(_X: f32) -> f32; +} +extern "C" { + pub fn coshl(arg1: u128) -> u128; +} +extern "C" { + pub fn tanhf(_X: f32) -> f32; +} +extern "C" { + pub fn tanhl(arg1: u128) -> u128; +} +extern "C" { + pub fn acosh(arg1: f64) -> f64; +} +extern "C" { + pub fn acoshf(arg1: f32) -> f32; +} +extern "C" { + pub fn acoshl(arg1: u128) -> u128; +} +extern "C" { + pub fn asinh(arg1: f64) -> f64; +} +extern "C" { + pub fn asinhf(arg1: f32) -> f32; +} +extern "C" { + pub fn asinhl(arg1: u128) -> u128; +} +extern "C" { + pub fn atanh(arg1: f64) -> f64; +} +extern "C" { + pub fn atanhf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanhl(arg1: u128) -> u128; +} +extern "C" { + pub fn expf(_X: f32) -> f32; +} +extern "C" { + pub fn expl(arg1: u128) -> u128; +} +extern "C" { + pub fn exp2(arg1: f64) -> f64; +} +extern "C" { + pub fn exp2f(arg1: f32) -> f32; +} +extern "C" { + pub fn exp2l(arg1: u128) -> u128; +} +extern "C" { + pub fn expm1(arg1: f64) -> f64; +} +extern "C" { + pub fn expm1f(arg1: f32) -> f32; +} +extern "C" { + pub fn expm1l(arg1: u128) -> u128; +} +extern "C" { + pub fn frexpf(_X: f32, _Y: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn frexpl(arg1: u128, arg2: *mut ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ldexpf(_X: f32, _Y: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn ldexpl(arg1: u128, arg2: ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn logf(arg1: f32) -> f32; +} +extern "C" { + pub fn logl(arg1: u128) -> u128; +} +extern "C" { + pub fn log10f(arg1: f32) -> f32; +} +extern "C" { + pub fn log10l(arg1: u128) -> u128; +} +extern "C" { + pub fn log1p(arg1: f64) -> f64; +} +extern "C" { + pub fn log1pf(arg1: f32) -> f32; +} +extern "C" { + pub fn log1pl(arg1: u128) -> u128; +} +extern "C" { + pub fn log2(arg1: f64) -> f64; +} +extern "C" { + pub fn log2f(arg1: f32) -> f32; +} +extern "C" { + pub fn log2l(arg1: u128) -> u128; +} +extern "C" { + pub fn logb(arg1: f64) -> f64; +} +extern "C" { + pub fn logbf(arg1: f32) -> f32; +} +extern "C" { + pub fn logbl(arg1: u128) -> u128; +} +extern "C" { + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; +} +extern "C" { + pub fn modfl(arg1: u128, arg2: *mut u128) -> u128; +} +extern "C" { + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn scalbnl(arg1: u128, arg2: ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; +} +extern "C" { + pub fn scalblnl(arg1: u128, arg2: ::std::os::raw::c_long) -> u128; +} +extern "C" { + pub fn cbrt(arg1: f64) -> f64; +} +extern "C" { + pub fn cbrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn cbrtl(arg1: u128) -> u128; +} +extern "C" { + pub fn hypot(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn hypotf(x: f32, y: f32) -> f32; +} +extern "C" { + pub fn hypotl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn powf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn powl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn sqrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn sqrtl(arg1: u128) -> u128; +} +extern "C" { + pub fn erf(arg1: f64) -> f64; +} +extern "C" { + pub fn erff(arg1: f32) -> f32; +} +extern "C" { + pub fn erfl(arg1: u128) -> u128; +} +extern "C" { + pub fn erfc(arg1: f64) -> f64; +} +extern "C" { + pub fn erfcf(arg1: f32) -> f32; +} +extern "C" { + pub fn erfcl(arg1: u128) -> u128; +} +extern "C" { + pub fn lgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn lgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn lgammal(arg1: u128) -> u128; +} +extern "C" { + pub static mut signgam: ::std::os::raw::c_int; +} +extern "C" { + pub fn tgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn tgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn tgammal(arg1: u128) -> u128; +} +extern "C" { + pub fn ceilf(arg1: f32) -> f32; +} +extern "C" { + pub fn ceill(arg1: u128) -> u128; +} +extern "C" { + pub fn floorf(arg1: f32) -> f32; +} +extern "C" { + pub fn floorl(arg1: u128) -> u128; +} +extern "C" { + pub fn nearbyint(arg1: f64) -> f64; +} +extern "C" { + pub fn nearbyintf(arg1: f32) -> f32; +} +extern "C" { + pub fn nearbyintl(arg1: u128) -> u128; +} +extern "C" { + pub fn rint(arg1: f64) -> f64; +} +extern "C" { + pub fn rintf(arg1: f32) -> f32; +} +extern "C" { + pub fn rintl(arg1: u128) -> u128; +} +extern "C" { + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintl(arg1: u128) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintl(arg1: u128) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn round(arg1: f64) -> f64; +} +extern "C" { + pub fn roundf(arg1: f32) -> f32; +} +extern "C" { + pub fn roundl(arg1: u128) -> u128; +} +extern "C" { + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundl(arg1: u128) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundl(arg1: u128) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn trunc(arg1: f64) -> f64; +} +extern "C" { + pub fn truncf(arg1: f32) -> f32; +} +extern "C" { + pub fn truncl(arg1: u128) -> u128; +} +extern "C" { + pub fn fmodf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmodl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn remainder(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remainderf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn remainderl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn remquol(arg1: u128, arg2: u128, arg3: *mut ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn copysign(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn copysignf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn copysignl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn nan(tagp: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn nanf(tagp: *const ::std::os::raw::c_char) -> f32; +} +extern "C" { + pub fn nanl(tagp: *const ::std::os::raw::c_char) -> u128; +} +extern "C" { + pub fn nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn nextafterl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn nexttoward(arg1: f64, arg2: u128) -> f64; +} +extern "C" { + pub fn nexttowardf(arg1: f32, arg2: u128) -> f32; +} +extern "C" { + pub fn nexttowardl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fdim(x: f64, y: f64) -> f64; +} +extern "C" { + pub fn fdimf(x: f32, y: f32) -> f32; +} +extern "C" { + pub fn fdiml(x: u128, y: u128) -> u128; +} +extern "C" { + pub fn fmax(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmaxl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fmin(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fminf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fminl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; +} +extern "C" { + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; +} +extern "C" { + pub fn fmal(arg1: u128, arg2: u128, arg3: u128) -> u128; +} +extern "C" { + pub fn _copysignf(_Number: f32, _Sign: f32) -> f32; +} +extern "C" { + pub fn _chgsignf(_X: f32) -> f32; +} +extern "C" { + pub fn _logbf(_X: f32) -> f32; +} +extern "C" { + pub fn _nextafterf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn _finitef(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _isnanf(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fpclassf(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _chgsignl(arg1: u128) -> u128; +} +extern "C" { + pub static mut R_NaN: f64; +} +extern "C" { + pub static mut R_PosInf: f64; +} +extern "C" { + pub static mut R_NegInf: f64; +} +extern "C" { + pub static mut R_NaReal: f64; +} +extern "C" { + pub static mut R_NaInt: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} +pub const Rboolean_FALSE: Rboolean = 0; +pub const Rboolean_TRUE: Rboolean = 1; +pub type Rboolean = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +#[test] +fn bindgen_test_layout_Rcomplex() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(Rcomplex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(Rcomplex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).r as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(r) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).i as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(i) + ) + ); +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); +} +extern "C" { + pub fn R_gc(); +} +extern "C" { + pub fn R_gc_running() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_alloc(arg1: size_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_allocLD(nelem: size_t) -> *mut u128; +} +extern "C" { + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_malloc_gc(arg1: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_calloc_gc(arg1: size_t, arg2: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: size_t, + ) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_qsort(v: *mut f64, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); +} +extern "C" { + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn R_atof(str: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; +} +extern "C" { + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_CheckUserInterrupt(); +} +extern "C" { + pub fn R_CheckStack(); +} +extern "C" { + pub fn R_CheckStack2(arg1: size_t); +} +extern "C" { + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} +extern "C" { + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[test] +fn bindgen_test_layout_R_CMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(R_CMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(numArgs) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).types as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(types) + ) + ); +} +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_R_CallMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!("Size of: ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(numArgs) + ) + ); +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; +} +extern "C" { + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +pub const NativeSymbolType_R_ANY_SYM: NativeSymbolType = 0; +pub const NativeSymbolType_R_C_SYM: NativeSymbolType = 1; +pub const NativeSymbolType_R_CALL_SYM: NativeSymbolType = 2; +pub const NativeSymbolType_R_FORTRAN_SYM: NativeSymbolType = 3; +pub const NativeSymbolType_R_EXTERNAL_SYM: NativeSymbolType = 4; +pub type NativeSymbolType = u32; +extern "C" { + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; +} +extern "C" { + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); +} +extern "C" { + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} +pub type Rbyte = ::std::os::raw::c_uchar; +pub type R_len_t = ::std::os::raw::c_int; +pub type SEXPTYPE = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct SEXPREC { + _unused: [u8; 0], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isNull(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLogical(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isReal(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isComplex(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isExpression(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isString(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isObject(s: SEXP) -> Rboolean; +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = -2; +pub const SORTED_DECR: _bindgen_ty_1 = -1; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = -2147483648; +pub const SORTED_INCR: _bindgen_ty_1 = 1; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = 2; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = 0; +pub type _bindgen_ty_1 = i32; +extern "C" { + pub fn ATTRIB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TRACKREFS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_ATTRIB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn ENSURE_NAMEDMAX(x: SEXP); +} +extern "C" { + pub fn ENSURE_NAMED(x: SEXP); +} +extern "C" { + pub fn SETTER_CLEAR_NAMED(x: SEXP); +} +extern "C" { + pub fn RAISE_NAMED(x: SEXP, n: ::std::os::raw::c_int); +} +extern "C" { + pub fn DECREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn INCREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn DISABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn ENABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn MARK_NOT_MUTABLE(x: SEXP); +} +extern "C" { + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn UNSET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn NOJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MAYBEJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_NOJIT(x: SEXP); +} +extern "C" { + pub fn SET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn UNSET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_GROWABLE_BIT(x: SEXP); +} +extern "C" { + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn SETLENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn REAL(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW_RO(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn REAL_RO(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); +} +extern "C" { + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; +} +extern "C" { + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; +} +extern "C" { + pub fn VECTOR_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP_DUPLICATE_EX(x: SEXP, deep: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREP_COERCE(x: SEXP, type_: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn ALTREP_INSPECT( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean; +} +extern "C" { + pub fn ALTREP_SERIALIZED_CLASS(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_SERIALIZED_STATE(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_UNSERIALIZE_EX( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn ALTREP_LENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTREP_TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_EXTRACT_SUBSET(x: SEXP, indx: SEXP, call: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTLOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTLOGICAL_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTREAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn ALTREAL_SET_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn ALTSTRING_ELT(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn ALTSTRING_SET_ELT(arg1: SEXP, arg2: R_xlen_t, arg3: SEXP); +} +extern "C" { + pub fn ALTCOMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn ALTCOMPLEX_SET_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); +} +extern "C" { + pub fn ALTRAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn ALTRAW_SET_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); +} +extern "C" { + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; +} +extern "C" { + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; +} +extern "C" { + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; +} +extern "C" { + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn INTEGER_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn INTEGER_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn REAL_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn REAL_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTLOGICAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_compact_intrange(n1: R_xlen_t, n2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_deferred_coerceToString(v: SEXP, info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_virtrep_vec(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryWrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryUnwrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BadLongVector( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> R_len_t; +} +extern "C" { + pub fn TAG(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAD4R(e: SEXP) -> SEXP; +} +extern "C" { + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_MISSING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TAG(x: SEXP, y: SEXP); +} +extern "C" { + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn CONS_NR(a: SEXP, b: SEXP) -> SEXP; +} +extern "C" { + pub fn FORMALS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn BODY(x: SEXP) -> SEXP; +} +extern "C" { + pub fn CLOENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FORMALS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_BODY(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_CLOENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRINTNAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn SYMVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn INTERNAL(x: SEXP) -> SEXP; +} +extern "C" { + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_DDVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRINTNAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_SYMVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_INTERNAL(x: SEXP, v: SEXP); +} +extern "C" { + pub fn FRAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENCLOS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn HASHTAB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FRAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_ENCLOS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_HASHTAB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRCODE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_PRSEEN(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRCODE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn HASHASH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn HASHVALUE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_HASHASH(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_HASHVALUE(x: SEXP, v: ::std::os::raw::c_int); +} +pub type PROTECT_INDEX = ::std::os::raw::c_int; +extern "C" { + pub static mut R_GlobalEnv: SEXP; +} +extern "C" { + pub static mut R_EmptyEnv: SEXP; +} +extern "C" { + pub static mut R_BaseEnv: SEXP; +} +extern "C" { + pub static mut R_BaseNamespace: SEXP; +} +extern "C" { + pub static mut R_NamespaceRegistry: SEXP; +} +extern "C" { + pub static mut R_Srcref: SEXP; +} +extern "C" { + pub static mut R_NilValue: SEXP; +} +extern "C" { + pub static mut R_UnboundValue: SEXP; +} +extern "C" { + pub static mut R_MissingArg: SEXP; +} +extern "C" { + pub static mut R_InBCInterpreter: SEXP; +} +extern "C" { + pub static mut R_CurrentExpression: SEXP; +} +extern "C" { + pub static mut R_RestartToken: SEXP; +} +extern "C" { + pub static mut R_AsCharacterSymbol: SEXP; +} +extern "C" { + pub static mut R_baseSymbol: SEXP; +} +extern "C" { + pub static mut R_BaseSymbol: SEXP; +} +extern "C" { + pub static mut R_BraceSymbol: SEXP; +} +extern "C" { + pub static mut R_Bracket2Symbol: SEXP; +} +extern "C" { + pub static mut R_BracketSymbol: SEXP; +} +extern "C" { + pub static mut R_ClassSymbol: SEXP; +} +extern "C" { + pub static mut R_DeviceSymbol: SEXP; +} +extern "C" { + pub static mut R_DimNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_DimSymbol: SEXP; +} +extern "C" { + pub static mut R_DollarSymbol: SEXP; +} +extern "C" { + pub static mut R_DotsSymbol: SEXP; +} +extern "C" { + pub static mut R_DoubleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_DropSymbol: SEXP; +} +extern "C" { + pub static mut R_LastvalueSymbol: SEXP; +} +extern "C" { + pub static mut R_LevelsSymbol: SEXP; +} +extern "C" { + pub static mut R_ModeSymbol: SEXP; +} +extern "C" { + pub static mut R_NaRmSymbol: SEXP; +} +extern "C" { + pub static mut R_NameSymbol: SEXP; +} +extern "C" { + pub static mut R_NamesSymbol: SEXP; +} +extern "C" { + pub static mut R_NamespaceEnvSymbol: SEXP; +} +extern "C" { + pub static mut R_PackageSymbol: SEXP; +} +extern "C" { + pub static mut R_PreviousSymbol: SEXP; +} +extern "C" { + pub static mut R_QuoteSymbol: SEXP; +} +extern "C" { + pub static mut R_RowNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_SeedsSymbol: SEXP; +} +extern "C" { + pub static mut R_SortListSymbol: SEXP; +} +extern "C" { + pub static mut R_SourceSymbol: SEXP; +} +extern "C" { + pub static mut R_SpecSymbol: SEXP; +} +extern "C" { + pub static mut R_TripleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_TspSymbol: SEXP; +} +extern "C" { + pub static mut R_dot_defined: SEXP; +} +extern "C" { + pub static mut R_dot_Method: SEXP; +} +extern "C" { + pub static mut R_dot_packageName: SEXP; +} +extern "C" { + pub static mut R_dot_target: SEXP; +} +extern "C" { + pub static mut R_dot_Generic: SEXP; +} +extern "C" { + pub static mut R_NaString: SEXP; +} +extern "C" { + pub static mut R_BlankString: SEXP; +} +extern "C" { + pub static mut R_BlankScalarString: SEXP; +} +extern "C" { + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asLogical2( + x: SEXP, + checking: ::std::os::raw::c_int, + call: SEXP, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asReal(x: SEXP) -> f64; +} +extern "C" { + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +extern "C" { + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_addMissingVarsToNewEnv(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList2(sym1: SEXP, sym2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList3(sym1: SEXP, sym2: SEXP, sym3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList4(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList5(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP, sym5: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList6( + sym1: SEXP, + sym2: SEXP, + sym3: SEXP, + sym4: SEXP, + sym5: SEXP, + sym6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_allocS4Object() -> SEXP; +} +extern "C" { + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; +} +extern "C" { + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_arraySubscript( + arg1: ::std::os::raw::c_int, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::option::Option SEXP>, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP, + >, + arg6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_fixSubset3Args(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: *mut SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_countContexts( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_CreateTag(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_DropDims(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_envHasNoSpecialSymbols(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_ExtractSubset(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFunctionForBody(arg1: SEXP); +} +extern "C" { + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_installChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installDDVAL(i: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_installS3Signature( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> SEXP; +} +extern "C" { + pub fn Rf_isFree(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnmodifiedSpecSym(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; +} +extern "C" { + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_matchE(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +pub const nchar_type_Bytes: nchar_type = 0; +pub const nchar_type_Chars: nchar_type = 1; +pub const nchar_type_Width: nchar_type = 2; +pub type nchar_type = u32; +extern "C" { + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_pmatch(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} +extern "C" { + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_PrintValue(arg1: SEXP); +} +extern "C" { + pub fn Rf_printwhere(); +} +extern "C" { + pub fn Rf_readS3VarsFromFrame( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut SEXP, + arg5: *mut SEXP, + arg6: *mut SEXP, + arg7: *mut SEXP, + ); +} +extern "C" { + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_setSVector(arg1: *mut SEXP, arg2: ::std::os::raw::c_int, arg3: SEXP); +} +extern "C" { + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_stringSuffix(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; +} +extern "C" { + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateChar0(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect_ptr(arg1: SEXP); +} +extern "C" { + pub fn R_signal_protect_error(); +} +extern "C" { + pub fn R_signal_unprotect_error(); +} +extern "C" { + pub fn R_signal_reprotect_error(i: PROTECT_INDEX); +} +extern "C" { + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetCurrentEnv() -> SEXP; +} +extern "C" { + pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isS4(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_cycle_detected(s: SEXP, child: SEXP) -> Rboolean; +} +pub const cetype_t_CE_NATIVE: cetype_t = 0; +pub const cetype_t_CE_UTF8: cetype_t = 1; +pub const cetype_t_CE_LATIN1: cetype_t = 2; +pub const cetype_t_CE_BYTES: cetype_t = 3; +pub const cetype_t_CE_SYMBOL: cetype_t = 5; +pub const cetype_t_CE_ANY: cetype_t = 99; +pub type cetype_t = u32; +extern "C" { + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; +} +extern "C" { + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; +} +extern "C" { + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClearExternalPtr(s: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); +} +extern "C" { + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; +} +pub type R_CFinalizer_t = ::std::option::Option; +extern "C" { + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); +} +extern "C" { + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); +} +extern "C" { + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); +} +extern "C" { + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); +} +extern "C" { + pub fn R_RunPendingFinalizers(); +} +extern "C" { + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_WeakRefKey(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_WeakRefValue(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_RunWeakRefFinalizer(w: SEXP); +} +extern "C" { + pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; +} +extern "C" { + pub fn R_initialize_bcode(); +} +extern "C" { + pub fn R_bcEncode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_bcDecode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_registerBC(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn R_checkConstants(arg1: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_BCVersionOK(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_init_altrep(); +} +extern "C" { + pub fn R_reinit_altrep_classes(arg1: *mut DllInfo); +} +extern "C" { + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; +} +extern "C" { + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_MakeUnwindCont() -> SEXP; +} +extern "C" { + pub fn R_ContinueUnwind(cont: SEXP); +} +extern "C" { + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn R_RestoreHashCount(rho: SEXP); +} +extern "C" { + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindNamespace(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); +} +extern "C" { + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_LockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_unLockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); +} +extern "C" { + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; +} +extern "C" { + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +pub const R_pstream_format_t_R_pstream_any_format: R_pstream_format_t = 0; +pub const R_pstream_format_t_R_pstream_ascii_format: R_pstream_format_t = 1; +pub const R_pstream_format_t_R_pstream_binary_format: R_pstream_format_t = 2; +pub const R_pstream_format_t_R_pstream_xdr_format: R_pstream_format_t = 3; +pub const R_pstream_format_t_R_pstream_asciihex_format: R_pstream_format_t = 4; +pub type R_pstream_format_t = u32; +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +#[test] +fn bindgen_test_layout_R_outpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 48usize, + concat!("Size of: ", stringify!(R_outpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_outpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).version as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(version) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookData) + ) + ); +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout_R_inpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(R_inpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_inpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookData) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).native_encoding as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(native_encoding) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2nat_obj as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2nat_obj) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2utf8_obj as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2utf8_obj) + ) + ); +} +extern "C" { + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); +} +extern "C" { + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef_R(what: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_methods_attached() -> Rboolean; +} +extern "C" { + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_do_new_object(class_def: SEXP) -> SEXP; +} +extern "C" { + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_PreserveObject(arg1: SEXP); +} +extern "C" { + pub fn R_ReleaseObject(arg1: SEXP); +} +extern "C" { + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_dot_Last(); +} +extern "C" { + pub fn R_RunExitFinalizers(); +} +extern "C" { + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; +} +extern "C" { + pub fn R_body_no_src(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_lang1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_length(arg1: SEXP) -> R_len_t; +} +extern "C" { + pub fn Rf_list1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn Rf_protect(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); +} +extern "C" { + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); +} +extern "C" { + pub fn R_FixupRHS(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SCALAR_DVAL(x: SEXP) -> f64; +} +extern "C" { + pub fn SCALAR_LVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SCALAR_IVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_SCALAR_DVAL(x: SEXP, v: f64); +} +extern "C" { + pub fn SET_SCALAR_LVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_IVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_CVAL(x: SEXP, v: Rcomplex); +} +extern "C" { + pub fn SET_SCALAR_BVAL(x: SEXP, v: Rbyte); +} +extern "C" { + pub fn R_altrep_data1(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_altrep_data2(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); +} +extern "C" { + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); +} +extern "C" { + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL0(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn RAW0(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn R_BadValueInRCode( + value: SEXP, + call: SEXP, + rho: SEXP, + rawmsg: *const ::std::os::raw::c_char, + errmsg: *const ::std::os::raw::c_char, + warnmsg: *const ::std::os::raw::c_char, + varname: *const ::std::os::raw::c_char, + warnByDefault: Rboolean, + ); +} +extern "C" { + pub static mut R_CStackLimit: usize; +} +extern "C" { + pub fn Rf_initEmbeddedR( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setup_Rmainloop(); +} +extern "C" { + pub fn R_ReplDLLinit(); +} +extern "C" { + pub fn R_ReplDLLdo1() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_setStartTime(); +} +extern "C" { + pub fn CleanEd(); +} +extern "C" { + pub fn Rf_KillAllDevices(); +} +extern "C" { + pub static mut R_DirtyImage: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_CleanTempDir(); +} +extern "C" { + pub static mut R_TempDir: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_SaveGlobalEnv(); +} +extern "C" { + pub fn getDLLVersion() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn getRUser() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn get_R_HOME() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn setup_term_ui(); +} +extern "C" { + pub static mut UserBreak: ::std::os::raw::c_int; +} +extern "C" { + pub static mut AllDevicesKilled: Rboolean; +} +extern "C" { + pub fn editorcleanall(); +} +extern "C" { + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn GA_appcleanup(); +} +extern "C" { + pub fn readconsolecfg(); +} +pub const ParseStatus_PARSE_NULL: ParseStatus = 0; +pub const ParseStatus_PARSE_OK: ParseStatus = 1; +pub const ParseStatus_PARSE_INCOMPLETE: ParseStatus = 2; +pub const ParseStatus_PARSE_ERROR: ParseStatus = 3; +pub const ParseStatus_PARSE_EOF: ParseStatus = 4; +pub type ParseStatus = u32; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct lconv { + pub _address: u8, +} diff --git a/bindings/bindings-windows-x86_64-R4.1-devel.rs b/bindings/bindings-windows-x86_64-R4.1-devel.rs new file mode 100644 index 00000000..5fbf56d3 --- /dev/null +++ b/bindings/bindings-windows-x86_64-R4.1-devel.rs @@ -0,0 +1,6614 @@ +/* automatically generated by rust-bindgen */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, + align: [Align; 0], +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage, align: [] } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const __MINGW64_VERSION_MAJOR: u32 = 9; +pub const __MINGW64_VERSION_MINOR: u32 = 0; +pub const __MINGW64_VERSION_BUGFIX: u32 = 0; +pub const __MINGW64_VERSION_RC: u32 = 0; +pub const __MINGW64_VERSION_STATE: &'static [u8; 6usize] = b"alpha\0"; +pub const __MINGW32_MAJOR_VERSION: u32 = 3; +pub const __MINGW32_MINOR_VERSION: u32 = 11; +pub const _M_AMD64: u32 = 100; +pub const _M_X64: u32 = 100; +pub const __: u32 = 1; +pub const __MINGW_USE_UNDERSCORE_PREFIX: u32 = 0; +pub const __MINGW_HAVE_ANSI_C99_PRINTF: u32 = 1; +pub const __MINGW_HAVE_WIDE_C99_PRINTF: u32 = 1; +pub const __MINGW_HAVE_ANSI_C99_SCANF: u32 = 1; +pub const __MINGW_HAVE_WIDE_C99_SCANF: u32 = 1; +pub const __MINGW_SEC_WARN_STR : & 'static [u8 ; 92usize] = b"This function or variable may be unsafe, use _CRT_SECURE_NO_WARNINGS to disable deprecation\0" ; +pub const __MINGW_MSVC2005_DEPREC_STR : & 'static [u8 ; 117usize] = b"This POSIX function is deprecated beginning in Visual C++ 2005, use _CRT_NONSTDC_NO_DEPRECATE to disable deprecation\0" ; +pub const __MINGW_FORTIFY_LEVEL: u32 = 0; +pub const __MINGW_FORTIFY_VA_ARG: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT: u32 = 0; +pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY: u32 = 0; +pub const __USE_CRTIMP: u32 = 1; +pub const USE___UUIDOF: u32 = 0; +pub const __CRT__NO_INLINE: u32 = 1; +pub const __MSVCRT_VERSION__: u32 = 1792; +pub const _WIN32_WINNT: u32 = 1537; +pub const MINGW_HAS_SECURE_API: u32 = 1; +pub const __STDC_SECURE_LIB__: u32 = 200411; +pub const __GOT_SECURE_LIB__: u32 = 200411; +pub const MINGW_HAS_DDK_H: u32 = 1; +pub const _CRT_PACKING: u32 = 8; +pub const _SECURECRT_FILL_BUFFER_PATTERN: u32 = 253; +pub const _ARGMAX: u32 = 100; +pub const __USE_MINGW_ANSI_STDIO: u32 = 1; +pub const _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION: u32 = 1; +pub const _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR: u32 = 2; +pub const _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS: u32 = 4; +pub const _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY: u32 = 8; +pub const _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS: u32 = 16; +pub const _CRT_INTERNAL_SCANF_SECURECRT: u32 = 1; +pub const _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS: u32 = 2; +pub const _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY: u32 = 4; +pub const _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS: u32 = 4; +pub const _CRT_INTERNAL_LOCAL_SCANF_OPTIONS: u32 = 2; +pub const BUFSIZ: u32 = 512; +pub const _NSTREAM_: u32 = 512; +pub const _IOB_ENTRIES: u32 = 20; +pub const EOF: i32 = -1; +pub const _P_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const _wP_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const SEEK_CUR: u32 = 1; +pub const SEEK_END: u32 = 2; +pub const SEEK_SET: u32 = 0; +pub const STDIN_FILENO: u32 = 0; +pub const STDOUT_FILENO: u32 = 1; +pub const STDERR_FILENO: u32 = 2; +pub const FILENAME_MAX: u32 = 260; +pub const FOPEN_MAX: u32 = 20; +pub const _SYS_OPEN: u32 = 20; +pub const TMP_MAX: u32 = 32767; +pub const _IOREAD: u32 = 1; +pub const _IOWRT: u32 = 2; +pub const _IOFBF: u32 = 0; +pub const _IOLBF: u32 = 64; +pub const _IONBF: u32 = 4; +pub const _IOMYBUF: u32 = 8; +pub const _IOEOF: u32 = 16; +pub const _IOERR: u32 = 32; +pub const _IOSTRG: u32 = 64; +pub const _IORW: u32 = 128; +pub const _TWO_DIGIT_EXPONENT: u32 = 1; +pub const P_tmpdir: &'static [u8; 2usize] = b"\\\0"; +pub const SYS_OPEN: u32 = 20; +pub const _P_WAIT: u32 = 0; +pub const _P_NOWAIT: u32 = 1; +pub const _OLD_P_OVERLAY: u32 = 2; +pub const _P_NOWAITO: u32 = 3; +pub const _P_DETACH: u32 = 4; +pub const _P_OVERLAY: u32 = 2; +pub const _WAIT_CHILD: u32 = 0; +pub const _WAIT_GRANDCHILD: u32 = 1; +pub const TMP_MAX_S: u32 = 32767; +pub const PATH_MAX: u32 = 260; +pub const CHAR_BIT: u32 = 8; +pub const SCHAR_MIN: i32 = -128; +pub const SCHAR_MAX: u32 = 127; +pub const UCHAR_MAX: u32 = 255; +pub const CHAR_MIN: i32 = -128; +pub const CHAR_MAX: u32 = 127; +pub const MB_LEN_MAX: u32 = 5; +pub const SHRT_MIN: i32 = -32768; +pub const SHRT_MAX: u32 = 32767; +pub const USHRT_MAX: u32 = 65535; +pub const INT_MIN: i32 = -2147483648; +pub const INT_MAX: u32 = 2147483647; +pub const UINT_MAX: u32 = 4294967295; +pub const LONG_MIN: i32 = -2147483648; +pub const LONG_MAX: u32 = 2147483647; +pub const ULONG_MAX: u32 = 4294967295; +pub const LLONG_MAX: u64 = 9223372036854775807; +pub const LLONG_MIN: i64 = -9223372036854775808; +pub const ULLONG_MAX: i32 = -1; +pub const _I8_MIN: i32 = -128; +pub const _I8_MAX: u32 = 127; +pub const _UI8_MAX: u32 = 255; +pub const _I16_MIN: i32 = -32768; +pub const _I16_MAX: u32 = 32767; +pub const _UI16_MAX: u32 = 65535; +pub const _I32_MIN: i32 = -2147483648; +pub const _I32_MAX: u32 = 2147483647; +pub const _UI32_MAX: u32 = 4294967295; +pub const LONG_LONG_MAX: u64 = 9223372036854775807; +pub const LONG_LONG_MIN: i64 = -9223372036854775808; +pub const ULONG_LONG_MAX: i32 = -1; +pub const _I64_MIN: i64 = -9223372036854775808; +pub const _I64_MAX: u64 = 9223372036854775807; +pub const _UI64_MAX: i32 = -1; +pub const SIZE_MAX: i32 = -1; +pub const SSIZE_MAX: u64 = 9223372036854775807; +pub const _DOMAIN: u32 = 1; +pub const _SING: u32 = 2; +pub const _OVERFLOW: u32 = 3; +pub const _UNDERFLOW: u32 = 4; +pub const _TLOSS: u32 = 5; +pub const _PLOSS: u32 = 6; +pub const DOMAIN: u32 = 1; +pub const SING: u32 = 2; +pub const OVERFLOW: u32 = 3; +pub const UNDERFLOW: u32 = 4; +pub const TLOSS: u32 = 5; +pub const PLOSS: u32 = 6; +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 __MINGW_FPCLASS_DEFINED: u32 = 1; +pub const _FPCLASS_SNAN: u32 = 1; +pub const _FPCLASS_QNAN: u32 = 2; +pub const _FPCLASS_NINF: u32 = 4; +pub const _FPCLASS_NN: u32 = 8; +pub const _FPCLASS_ND: u32 = 16; +pub const _FPCLASS_NZ: u32 = 32; +pub const _FPCLASS_PZ: u32 = 64; +pub const _FPCLASS_PD: u32 = 128; +pub const _FPCLASS_PN: u32 = 256; +pub const _FPCLASS_PINF: u32 = 512; +pub const EDOM: u32 = 33; +pub const ERANGE: u32 = 34; +pub const FP_SNAN: u32 = 1; +pub const FP_QNAN: u32 = 2; +pub const FP_NINF: u32 = 4; +pub const FP_PINF: u32 = 512; +pub const FP_NDENORM: u32 = 16; +pub const FP_PDENORM: u32 = 128; +pub const FP_NZERO: u32 = 32; +pub const FP_PZERO: u32 = 64; +pub const FP_NNORM: u32 = 8; +pub const FP_PNORM: u32 = 256; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_INTERNALS_UUID: &'static [u8; 37usize] = b"2fdf6c18-697a-4ba7-b8ef-11c0d92f1327\0"; +pub const NILSXP: u32 = 0; +pub const SYMSXP: u32 = 1; +pub const LISTSXP: u32 = 2; +pub const CLOSXP: u32 = 3; +pub const ENVSXP: u32 = 4; +pub const PROMSXP: u32 = 5; +pub const LANGSXP: u32 = 6; +pub const SPECIALSXP: u32 = 7; +pub const BUILTINSXP: u32 = 8; +pub const CHARSXP: u32 = 9; +pub const LGLSXP: u32 = 10; +pub const INTSXP: u32 = 13; +pub const REALSXP: u32 = 14; +pub const CPLXSXP: u32 = 15; +pub const STRSXP: u32 = 16; +pub const DOTSXP: u32 = 17; +pub const ANYSXP: u32 = 18; +pub const VECSXP: u32 = 19; +pub const EXPRSXP: u32 = 20; +pub const BCODESXP: u32 = 21; +pub const EXTPTRSXP: u32 = 22; +pub const WEAKREFSXP: u32 = 23; +pub const RAWSXP: u32 = 24; +pub const S4SXP: u32 = 25; +pub const NEWSXP: u32 = 30; +pub const FREESXP: u32 = 31; +pub const FUNSXP: u32 = 99; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const R_VERSION: u32 = 262400; +pub const R_NICK: &'static [u8; 24usize] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &'static [u8; 2usize] = b"4\0"; +pub const R_MINOR: &'static [u8; 4usize] = b"1.0\0"; +pub const R_STATUS: &'static [u8; 29usize] = b"Under development (unstable)\0"; +pub const R_YEAR: &'static [u8; 5usize] = b"2020\0"; +pub const R_MONTH: &'static [u8; 3usize] = b"12\0"; +pub const R_DAY: &'static [u8; 3usize] = b"21\0"; +pub const R_SVN_REVISION: u32 = 79668; +pub type size_t = ::std::os::raw::c_ulonglong; +pub type wchar_t = ::std::os::raw::c_ushort; +#[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() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(max_align_t)) + ); + assert_eq!( + ::std::mem::align_of::(), + 16usize, + concat!("Alignment of ", stringify!(max_align_t)) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__clang_max_align_nonce1 as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(max_align_t), + "::", + stringify!(__clang_max_align_nonce1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__clang_max_align_nonce2 as *const _ as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(max_align_t), + "::", + stringify!(__clang_max_align_nonce2) + ) + ); +} +#[doc = "
"] +pub type R_xlen_t = isize; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +extern "C" { + pub fn __debugbreak(); +} +extern "C" { + pub fn __mingw_get_crt_info() -> *const ::std::os::raw::c_char; +} +pub type ssize_t = ::std::os::raw::c_longlong; +pub type rsize_t = size_t; +pub type wint_t = ::std::os::raw::c_ushort; +pub type wctype_t = ::std::os::raw::c_ushort; +pub type errno_t = ::std::os::raw::c_int; +pub type __time32_t = ::std::os::raw::c_long; +pub type __time64_t = ::std::os::raw::c_longlong; +pub type time_t = __time64_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadmbcinfostruct { + _unused: [u8; 0], +} +pub type pthreadlocinfo = *mut threadlocaleinfostruct; +pub type pthreadmbcinfo = *mut threadmbcinfostruct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __lc_time_data { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct localeinfo_struct { + pub locinfo: pthreadlocinfo, + pub mbcinfo: pthreadmbcinfo, +} +#[test] +fn bindgen_test_layout_localeinfo_struct() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(localeinfo_struct)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(localeinfo_struct)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).locinfo as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(localeinfo_struct), + "::", + stringify!(locinfo) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).mbcinfo as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(localeinfo_struct), + "::", + stringify!(mbcinfo) + ) + ); +} +pub type _locale_tstruct = localeinfo_struct; +pub type _locale_t = *mut localeinfo_struct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct tagLC_ID { + pub wLanguage: ::std::os::raw::c_ushort, + pub wCountry: ::std::os::raw::c_ushort, + pub wCodePage: ::std::os::raw::c_ushort, +} +#[test] +fn bindgen_test_layout_tagLC_ID() { + assert_eq!( + ::std::mem::size_of::(), + 6usize, + concat!("Size of: ", stringify!(tagLC_ID)) + ); + assert_eq!( + ::std::mem::align_of::(), + 2usize, + concat!("Alignment of ", stringify!(tagLC_ID)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).wLanguage as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(tagLC_ID), + "::", + stringify!(wLanguage) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).wCountry as *const _ as usize }, + 2usize, + concat!( + "Offset of field: ", + stringify!(tagLC_ID), + "::", + stringify!(wCountry) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).wCodePage as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(tagLC_ID), + "::", + stringify!(wCodePage) + ) + ); +} +pub type LC_ID = tagLC_ID; +pub type LPLC_ID = *mut tagLC_ID; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadlocaleinfostruct { + pub refcount: ::std::os::raw::c_int, + pub lc_codepage: ::std::os::raw::c_uint, + pub lc_collate_cp: ::std::os::raw::c_uint, + pub lc_handle: [::std::os::raw::c_ulong; 6usize], + pub lc_id: [LC_ID; 6usize], + pub lc_category: [threadlocaleinfostruct__bindgen_ty_1; 6usize], + pub lc_clike: ::std::os::raw::c_int, + pub mb_cur_max: ::std::os::raw::c_int, + pub lconv_intl_refcount: *mut ::std::os::raw::c_int, + pub lconv_num_refcount: *mut ::std::os::raw::c_int, + pub lconv_mon_refcount: *mut ::std::os::raw::c_int, + pub lconv: *mut lconv, + pub ctype1_refcount: *mut ::std::os::raw::c_int, + pub ctype1: *mut ::std::os::raw::c_ushort, + pub pctype: *const ::std::os::raw::c_ushort, + pub pclmap: *const ::std::os::raw::c_uchar, + pub pcumap: *const ::std::os::raw::c_uchar, + pub lc_time_curr: *mut __lc_time_data, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct threadlocaleinfostruct__bindgen_ty_1 { + pub locale: *mut ::std::os::raw::c_char, + pub wlocale: *mut wchar_t, + pub refcount: *mut ::std::os::raw::c_int, + pub wrefcount: *mut ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_threadlocaleinfostruct__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!( + "Size of: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!( + "Alignment of ", + stringify!(threadlocaleinfostruct__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).locale as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1), + "::", + stringify!(locale) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).wlocale as *const _ + as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1), + "::", + stringify!(wlocale) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).refcount as *const _ + as usize + }, + 16usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1), + "::", + stringify!(refcount) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).wrefcount as *const _ + as usize + }, + 24usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct__bindgen_ty_1), + "::", + stringify!(wrefcount) + ) + ); +} +#[test] +fn bindgen_test_layout_threadlocaleinfostruct() { + assert_eq!( + ::std::mem::size_of::(), + 352usize, + concat!("Size of: ", stringify!(threadlocaleinfostruct)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(threadlocaleinfostruct)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).refcount as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(refcount) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_codepage as *const _ as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_codepage) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_collate_cp as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_collate_cp) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_handle as *const _ as usize + }, + 12usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_handle) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).lc_id as *const _ as usize }, + 36usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_id) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_category as *const _ as usize + }, + 72usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_category) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).lc_clike as *const _ as usize }, + 264usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_clike) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).mb_cur_max as *const _ as usize + }, + 268usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(mb_cur_max) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lconv_intl_refcount as *const _ + as usize + }, + 272usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lconv_intl_refcount) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lconv_num_refcount as *const _ + as usize + }, + 280usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lconv_num_refcount) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lconv_mon_refcount as *const _ + as usize + }, + 288usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lconv_mon_refcount) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).lconv as *const _ as usize }, + 296usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lconv) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).ctype1_refcount as *const _ as usize + }, + 304usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(ctype1_refcount) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).ctype1 as *const _ as usize }, + 312usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(ctype1) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pctype as *const _ as usize }, + 320usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(pctype) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pclmap as *const _ as usize }, + 328usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(pclmap) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pcumap as *const _ as usize }, + 336usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(pcumap) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).lc_time_curr as *const _ as usize + }, + 344usize, + concat!( + "Offset of field: ", + stringify!(threadlocaleinfostruct), + "::", + stringify!(lc_time_curr) + ) + ); +} +pub type threadlocinfo = threadlocaleinfostruct; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _ptr: *mut ::std::os::raw::c_char, + pub _cnt: ::std::os::raw::c_int, + pub _base: *mut ::std::os::raw::c_char, + pub _flag: ::std::os::raw::c_int, + pub _file: ::std::os::raw::c_int, + pub _charbuf: ::std::os::raw::c_int, + pub _bufsiz: ::std::os::raw::c_int, + pub _tmpfname: *mut ::std::os::raw::c_char, +} +#[test] +fn bindgen_test_layout__iobuf() { + assert_eq!( + ::std::mem::size_of::<_iobuf>(), + 48usize, + concat!("Size of: ", stringify!(_iobuf)) + ); + assert_eq!( + ::std::mem::align_of::<_iobuf>(), + 8usize, + concat!("Alignment of ", stringify!(_iobuf)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._ptr as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_ptr) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._cnt as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_cnt) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._base as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_base) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._flag as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_flag) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._file as *const _ as usize }, + 28usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_file) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._charbuf as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_charbuf) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._bufsiz as *const _ as usize }, + 36usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_bufsiz) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_iobuf>()))._tmpfname as *const _ as usize }, + 40usize, + concat!( + "Offset of field: ", + stringify!(_iobuf), + "::", + stringify!(_tmpfname) + ) + ); +} +pub type FILE = _iobuf; +pub type _off_t = ::std::os::raw::c_long; +pub type off32_t = ::std::os::raw::c_long; +pub type _off64_t = ::std::os::raw::c_longlong; +pub type off64_t = ::std::os::raw::c_longlong; +pub type off_t = off32_t; +extern "C" { + pub fn __acrt_iob_func(index: ::std::os::raw::c_uint) -> *mut FILE; +} +extern "C" { + pub fn __iob_func() -> *mut FILE; +} +pub type fpos_t = ::std::os::raw::c_longlong; +extern "C" { + pub fn __mingw_sscanf( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsscanf( + _Str: *const ::std::os::raw::c_char, + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vscanf( + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fscanf( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfscanf( + fp: *mut FILE, + Format: *const ::std::os::raw::c_char, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsnprintf( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_snprintf( + s: *mut ::std::os::raw::c_char, + n: size_t, + format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_asprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vasprintf( + arg1: *mut *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_sscanf( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fscanf( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vprintf( + arg1: *const ::std::os::raw::c_char, + arg2: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vfprintf( + arg1: *mut FILE, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_sprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vsprintf( + arg1: *mut ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _filbuf(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _flsbuf(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fsopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _ShFlag: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn clearerr(_File: *mut FILE); +} +extern "C" { + pub fn fclose(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fcloseall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fdopen( + _FileHandle: ::std::os::raw::c_int, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn feof(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ferror(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fflush(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetc(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fgetchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos(_File: *mut FILE, _Pos: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgetpos64(_File: *mut FILE, _Pos: *mut fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fgets( + _Buf: *mut ::std::os::raw::c_char, + _MaxCount: ::std::os::raw::c_int, + _File: *mut FILE, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _fileno(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _tempnam( + _DirName: *const ::std::os::raw::c_char, + _FilePrefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _flushall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fopen64( + filename: *const ::std::os::raw::c_char, + mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fputc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputs(_Str: *const ::std::os::raw::c_char, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fread( + _DstBuf: *mut ::std::os::raw::c_void, + _ElementSize: ::std::os::raw::c_ulonglong, + _Count: ::std::os::raw::c_ulonglong, + _File: *mut FILE, + ) -> ::std::os::raw::c_ulonglong; +} +extern "C" { + pub fn freopen( + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _File: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn fsetpos(_File: *mut FILE, _Pos: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fsetpos64(_File: *mut FILE, _Pos: *const fpos_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseek( + _File: *mut FILE, + _Offset: ::std::os::raw::c_long, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftell(_File: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn _fseeki64( + _File: *mut FILE, + _Offset: ::std::os::raw::c_longlong, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftelli64(_File: *mut FILE) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn fseeko64( + stream: *mut FILE, + offset: _off64_t, + whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fseeko( + stream: *mut FILE, + offset: _off_t, + whence: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ftello(stream: *mut FILE) -> _off_t; +} +extern "C" { + pub fn ftello64(stream: *mut FILE) -> _off64_t; +} +extern "C" { + pub fn fwrite( + _Str: *const ::std::os::raw::c_void, + _Size: ::std::os::raw::c_ulonglong, + _Count: ::std::os::raw::c_ulonglong, + _File: *mut FILE, + ) -> ::std::os::raw::c_ulonglong; +} +extern "C" { + pub fn getc(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _getmaxstdio() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn gets(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn _getw(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn perror(_ErrMsg: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn _pclose(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _popen( + _Command: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn putc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn puts(_Str: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _putw(_Word: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn remove(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rename( + _OldFilename: *const ::std::os::raw::c_char, + _NewFilename: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _unlink(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn unlink(_Filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rewind(_File: *mut FILE); +} +extern "C" { + pub fn _rmtmp() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setbuf(_File: *mut FILE, _Buffer: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn _setmaxstdio(_Max: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_output_format(_Format: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn _get_output_format() -> ::std::os::raw::c_uint; +} +extern "C" { + pub fn setvbuf( + _File: *mut FILE, + _Buf: *mut ::std::os::raw::c_char, + _Mode: ::std::os::raw::c_int, + _Size: size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tmpfile() -> *mut FILE; +} +extern "C" { + pub fn tmpnam(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn ungetc(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf( + _Dest: *mut ::std::os::raw::c_char, + _Count: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf( + _Dest: *mut ::std::os::raw::c_char, + _Count: size_t, + _Format: *const ::std::os::raw::c_char, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _set_printf_count_output(_Value: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _get_printf_count_output() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_swscanf( + _Src: *const wchar_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vswscanf( + _Str: *const wchar_t, + Format: *const wchar_t, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vwscanf(Format: *const wchar_t, argp: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fwscanf(_File: *mut FILE, _Format: *const wchar_t, ...) + -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfwscanf( + fp: *mut FILE, + Format: *const wchar_t, + argp: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_fwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vfwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_snwprintf( + s: *mut wchar_t, + n: size_t, + format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vsnwprintf( + arg1: *mut wchar_t, + arg2: size_t, + arg3: *const wchar_t, + arg4: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_swprintf(arg1: *mut wchar_t, arg2: *const wchar_t, ...) + -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_vswprintf( + arg1: *mut wchar_t, + arg2: *const wchar_t, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_swscanf( + _Src: *const wchar_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fwscanf(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_fwprintf(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vfwprintf( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_swprintf(arg1: *mut wchar_t, arg2: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __ms_vswprintf( + arg1: *mut wchar_t, + arg2: *const wchar_t, + arg3: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfsopen( + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _ShFlag: ::std::os::raw::c_int, + ) -> *mut FILE; +} +extern "C" { + pub fn fgetwc(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fgetwchar() -> wint_t; +} +extern "C" { + pub fn fputwc(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fputwchar(_Ch: wchar_t) -> wint_t; +} +extern "C" { + pub fn getwc(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn getwchar() -> wint_t; +} +extern "C" { + pub fn putwc(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn putwchar(_Ch: wchar_t) -> wint_t; +} +extern "C" { + pub fn ungetwc(_Ch: wint_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn fgetws( + _Dst: *mut wchar_t, + _SizeInWords: ::std::os::raw::c_int, + _File: *mut FILE, + ) -> *mut wchar_t; +} +extern "C" { + pub fn fputws(_Str: *const wchar_t, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _getws(_String: *mut wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _putws(_Str: *const wchar_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_c( + _DstBuf: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_c( + _DstBuf: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf( + _Dest: *mut wchar_t, + _Count: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf( + _Dest: *mut wchar_t, + _Count: size_t, + _Format: *const wchar_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf(_Dest: *mut wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wtempnam(_Directory: *const wchar_t, _FilePrefix: *const wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _snwscanf( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfdopen(_FileHandle: ::std::os::raw::c_int, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wfopen(_Filename: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wfreopen( + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _OldFile: *mut FILE, + ) -> *mut FILE; +} +extern "C" { + pub fn _wperror(_ErrMsg: *const wchar_t); +} +extern "C" { + pub fn _wpopen(_Command: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE; +} +extern "C" { + pub fn _wremove(_Filename: *const wchar_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wtmpnam(_Buffer: *mut wchar_t) -> *mut wchar_t; +} +extern "C" { + pub fn _fgetwc_nolock(_File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _fputwc_nolock(_Ch: wchar_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _ungetwc_nolock(_Ch: wint_t, _File: *mut FILE) -> wint_t; +} +extern "C" { + pub fn _lock_file(_File: *mut FILE); +} +extern "C" { + pub fn _unlock_file(_File: *mut FILE); +} +extern "C" { + pub fn _fclose_nolock(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fflush_nolock(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fread_nolock( + _DstBuf: *mut ::std::os::raw::c_void, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn _fseek_nolock( + _File: *mut FILE, + _Offset: ::std::os::raw::c_long, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftell_nolock(_File: *mut FILE) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn _fseeki64_nolock( + _File: *mut FILE, + _Offset: ::std::os::raw::c_longlong, + _Origin: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _ftelli64_nolock(_File: *mut FILE) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn _fwrite_nolock( + _DstBuf: *const ::std::os::raw::c_void, + _Size: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn _ungetc_nolock(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn tempnam( + _Directory: *const ::std::os::raw::c_char, + _FilePrefix: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn fcloseall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fdopen( + _FileHandle: ::std::os::raw::c_int, + _Format: *const ::std::os::raw::c_char, + ) -> *mut FILE; +} +extern "C" { + pub fn fgetchar() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fileno(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn flushall() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn getw(_File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn putw(_Ch: ::std::os::raw::c_int, _File: *mut FILE) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn rmtmp() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_wide_utf8( + wptr: *const wchar_t, + mbptr: *mut *mut ::std::os::raw::c_char, + buflen: *mut size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_utf8_wide( + mbptr: *const ::std::os::raw::c_char, + wptr: *mut *mut wchar_t, + buflen: *mut size_t, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __mingw_str_free(ptr: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn _wspawnl( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnle( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnlp( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnlpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const wchar_t, + ... + ) -> isize; +} +extern "C" { + pub fn _wspawnv( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnve( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + _Env: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnvp( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _wspawnvpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const wchar_t, + _ArgList: *const *const wchar_t, + _Env: *const *const wchar_t, + ) -> isize; +} +extern "C" { + pub fn _spawnv( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnve( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + _Env: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnvp( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn _spawnvpe( + _Mode: ::std::os::raw::c_int, + _Filename: *const ::std::os::raw::c_char, + _ArgList: *const *const ::std::os::raw::c_char, + _Env: *const *const ::std::os::raw::c_char, + ) -> isize; +} +extern "C" { + pub fn clearerr_s(_File: *mut FILE) -> errno_t; +} +extern "C" { + pub fn fread_s( + _DstBuf: *mut ::std::os::raw::c_void, + _DstSize: size_t, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +extern "C" { + pub fn fprintf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fscanf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fscanf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn printf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scanf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scanf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn scanf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_c( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_c( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fscanf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sscanf_l( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sscanf_s_l( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sscanf_s( + _Src: *const ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_s( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_l( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snscanf_s_l( + _Src: *const ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfprintf_s( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vprintf_s( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsnprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vsprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _Size: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_s( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_p( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_p( + _Dst: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_p( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_p( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_p( + _Dst: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_p( + _Format: *const ::std::os::raw::c_char, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_p_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_p_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_p_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _Format: *const ::std::os::raw::c_char, + arg1: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_p_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscprintf_p_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _printf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vprintf_s_l( + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fprintf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfprintf_s_l( + _File: *mut FILE, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _sprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_s_l( + _DstBuf: *mut ::std::os::raw::c_char, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snprintf_c_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + _Format: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnprintf_c_l( + _DstBuf: *mut ::std::os::raw::c_char, + _MaxCount: size_t, + arg1: *const ::std::os::raw::c_char, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fopen_s( + _File: *mut *mut FILE, + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + ) -> errno_t; +} +extern "C" { + pub fn freopen_s( + _File: *mut *mut FILE, + _Filename: *const ::std::os::raw::c_char, + _Mode: *const ::std::os::raw::c_char, + _Stream: *mut FILE, + ) -> errno_t; +} +extern "C" { + pub fn gets_s(arg1: *mut ::std::os::raw::c_char, arg2: rsize_t) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn tmpnam_s(arg1: *mut ::std::os::raw::c_char, arg2: rsize_t) -> errno_t; +} +extern "C" { + pub fn _getws_s(_Str: *mut wchar_t, _SizeInWords: size_t) -> *mut wchar_t; +} +extern "C" { + pub fn fwprintf_s(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn wprintf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vfwprintf_s( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vwprintf_s(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn vswprintf_s( + _Dst: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn swprintf_s( + _Dst: *mut wchar_t, + _SizeInWords: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_s( + _DstBuf: *mut wchar_t, + _DstSizeInWords: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_s( + _DstBuf: *mut wchar_t, + _DstSizeInWords: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_s_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_s_l( + _DstBuf: *mut wchar_t, + _DstSize: size_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwscanf_s_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fwscanf_s(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swscanf_s_l( + _Src: *const wchar_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn swscanf_s(_Src: *const wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_s( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_s_l( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wscanf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn wscanf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wfopen_s( + _File: *mut *mut FILE, + _Filename: *const wchar_t, + _Mode: *const wchar_t, + ) -> errno_t; +} +extern "C" { + pub fn _wfreopen_s( + _File: *mut *mut FILE, + _Filename: *const wchar_t, + _Mode: *const wchar_t, + _OldFile: *mut FILE, + ) -> errno_t; +} +extern "C" { + pub fn _wtmpnam_s(_DstBuf: *mut wchar_t, _SizeInWords: size_t) -> errno_t; +} +extern "C" { + pub fn _fwprintf_p(_File: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_p( + _File: *mut FILE, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_p( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_p( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwprintf_p_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vfwprintf_p_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_c_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swprintf_p_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_c_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vswprintf_p_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _scwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_p_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwprintf_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vsnwprintf_l( + _DstBuf: *mut wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __swprintf_l( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Plocinfo: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __vswprintf_l( + _Dest: *mut wchar_t, + _Format: *const wchar_t, + _Plocinfo: _locale_t, + _Args: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _vscwprintf_l( + _Format: *const wchar_t, + _Locale: _locale_t, + _ArgList: va_list, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fwscanf_l( + _File: *mut FILE, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _swscanf_l( + _Src: *const wchar_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _snwscanf_l( + _Src: *const wchar_t, + _MaxCount: size_t, + _Format: *const wchar_t, + _Locale: _locale_t, + ... + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _wscanf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fread_nolock_s( + _DstBuf: *mut ::std::os::raw::c_void, + _DstSize: size_t, + _ElementSize: size_t, + _Count: size_t, + _File: *mut FILE, + ) -> size_t; +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_dbl_type_t { + pub x: f64, + pub val: ::std::os::raw::c_ulonglong, + pub lh: __mingw_dbl_type_t__bindgen_ty_1, + _bindgen_union_align: u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __mingw_dbl_type_t__bindgen_ty_1 { + pub low: ::std::os::raw::c_uint, + pub high: ::std::os::raw::c_uint, +} +#[test] +fn bindgen_test_layout___mingw_dbl_type_t__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::<__mingw_dbl_type_t__bindgen_ty_1>(), + 8usize, + concat!("Size of: ", stringify!(__mingw_dbl_type_t__bindgen_ty_1)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_dbl_type_t__bindgen_ty_1>(), + 4usize, + concat!( + "Alignment of ", + stringify!(__mingw_dbl_type_t__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mingw_dbl_type_t__bindgen_ty_1>())).low as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t__bindgen_ty_1), + "::", + stringify!(low) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mingw_dbl_type_t__bindgen_ty_1>())).high as *const _ as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t__bindgen_ty_1), + "::", + stringify!(high) + ) + ); +} +#[test] +fn bindgen_test_layout___mingw_dbl_type_t() { + assert_eq!( + ::std::mem::size_of::<__mingw_dbl_type_t>(), + 8usize, + concat!("Size of: ", stringify!(__mingw_dbl_type_t)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_dbl_type_t>(), + 8usize, + concat!("Alignment of ", stringify!(__mingw_dbl_type_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_dbl_type_t>())).x as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t), + "::", + stringify!(x) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_dbl_type_t>())).val as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t), + "::", + stringify!(val) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_dbl_type_t>())).lh as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_dbl_type_t), + "::", + stringify!(lh) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union __mingw_flt_type_t { + pub x: f32, + pub val: ::std::os::raw::c_uint, + _bindgen_union_align: u32, +} +#[test] +fn bindgen_test_layout___mingw_flt_type_t() { + assert_eq!( + ::std::mem::size_of::<__mingw_flt_type_t>(), + 4usize, + concat!("Size of: ", stringify!(__mingw_flt_type_t)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_flt_type_t>(), + 4usize, + concat!("Alignment of ", stringify!(__mingw_flt_type_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_flt_type_t>())).x as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_flt_type_t), + "::", + stringify!(x) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_flt_type_t>())).val as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_flt_type_t), + "::", + stringify!(val) + ) + ); +} +#[repr(C, packed(8))] +#[derive(Copy, Clone)] +pub union __mingw_ldbl_type_t { + pub x: u128, + pub lh: __mingw_ldbl_type_t__bindgen_ty_1, + _bindgen_union_align: [u64; 2usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __mingw_ldbl_type_t__bindgen_ty_1 { + pub low: ::std::os::raw::c_uint, + pub high: ::std::os::raw::c_uint, + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize], u32>, +} +#[test] +fn bindgen_test_layout___mingw_ldbl_type_t__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::<__mingw_ldbl_type_t__bindgen_ty_1>(), + 16usize, + concat!("Size of: ", stringify!(__mingw_ldbl_type_t__bindgen_ty_1)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_ldbl_type_t__bindgen_ty_1>(), + 4usize, + concat!( + "Alignment of ", + stringify!(__mingw_ldbl_type_t__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mingw_ldbl_type_t__bindgen_ty_1>())).low as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_ldbl_type_t__bindgen_ty_1), + "::", + stringify!(low) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__mingw_ldbl_type_t__bindgen_ty_1>())).high as *const _ as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__mingw_ldbl_type_t__bindgen_ty_1), + "::", + stringify!(high) + ) + ); +} +impl __mingw_ldbl_type_t__bindgen_ty_1 { + #[inline] + pub fn sign_exponent(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_sign_exponent(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn res1(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_res1(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn res0(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 32u8) as u32) } + } + #[inline] + pub fn set_res0(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(32usize, 32u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + sign_exponent: ::std::os::raw::c_int, + res1: ::std::os::raw::c_int, + res0: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 8usize], u32> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize], u32> = + Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let sign_exponent: u32 = unsafe { ::std::mem::transmute(sign_exponent) }; + sign_exponent as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let res1: u32 = unsafe { ::std::mem::transmute(res1) }; + res1 as u64 + }); + __bindgen_bitfield_unit.set(32usize, 32u8, { + let res0: u32 = unsafe { ::std::mem::transmute(res0) }; + res0 as u64 + }); + __bindgen_bitfield_unit + } +} +#[test] +fn bindgen_test_layout___mingw_ldbl_type_t() { + assert_eq!( + ::std::mem::size_of::<__mingw_ldbl_type_t>(), + 16usize, + concat!("Size of: ", stringify!(__mingw_ldbl_type_t)) + ); + assert_eq!( + ::std::mem::align_of::<__mingw_ldbl_type_t>(), + 8usize, + concat!("Alignment of ", stringify!(__mingw_ldbl_type_t)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_ldbl_type_t>())).x as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_ldbl_type_t), + "::", + stringify!(x) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<__mingw_ldbl_type_t>())).lh as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__mingw_ldbl_type_t), + "::", + stringify!(lh) + ) + ); +} +extern "C" { + pub static mut __imp__HUGE: *mut f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _exception { + pub type_: ::std::os::raw::c_int, + pub name: *const ::std::os::raw::c_char, + pub arg1: f64, + pub arg2: f64, + pub retval: f64, +} +#[test] +fn bindgen_test_layout__exception() { + assert_eq!( + ::std::mem::size_of::<_exception>(), + 40usize, + concat!("Size of: ", stringify!(_exception)) + ); + assert_eq!( + ::std::mem::align_of::<_exception>(), + 8usize, + concat!("Alignment of ", stringify!(_exception)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).type_ as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).name as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).arg1 as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(arg1) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).arg2 as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(arg2) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_exception>())).retval as *const _ as usize }, + 32usize, + concat!( + "Offset of field: ", + stringify!(_exception), + "::", + stringify!(retval) + ) + ); +} +extern "C" { + pub fn __mingw_raise_matherr( + typ: ::std::os::raw::c_int, + name: *const ::std::os::raw::c_char, + a1: f64, + a2: f64, + rslt: f64, + ); +} +extern "C" { + pub fn __mingw_setusermatherr( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut _exception) -> ::std::os::raw::c_int, + >, + ); +} +extern "C" { + pub fn __setusermatherr( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut _exception) -> ::std::os::raw::c_int, + >, + ); +} +extern "C" { + pub fn sin(_X: f64) -> f64; +} +extern "C" { + pub fn cos(_X: f64) -> f64; +} +extern "C" { + pub fn tan(_X: f64) -> f64; +} +extern "C" { + pub fn sinh(_X: f64) -> f64; +} +extern "C" { + pub fn cosh(_X: f64) -> f64; +} +extern "C" { + pub fn tanh(_X: f64) -> f64; +} +extern "C" { + pub fn asin(_X: f64) -> f64; +} +extern "C" { + pub fn acos(_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 exp(_X: f64) -> f64; +} +extern "C" { + pub fn log(_X: f64) -> f64; +} +extern "C" { + pub fn log10(_X: f64) -> f64; +} +extern "C" { + pub fn pow(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn sqrt(_X: f64) -> f64; +} +extern "C" { + pub fn ceil(_X: f64) -> f64; +} +extern "C" { + pub fn floor(_X: f64) -> f64; +} +extern "C" { + pub fn fabsf(x: f32) -> f32; +} +extern "C" { + pub fn fabsl(arg1: u128) -> u128; +} +extern "C" { + pub fn fabs(_X: f64) -> f64; +} +extern "C" { + pub fn ldexp(_X: f64, _Y: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn frexp(_X: f64, _Y: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn modf(_X: f64, _Y: *mut f64) -> f64; +} +extern "C" { + pub fn fmod(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn sincos(__x: f64, p_sin: *mut f64, p_cos: *mut f64); +} +extern "C" { + pub fn sincosl(__x: u128, p_sin: *mut u128, p_cos: *mut u128); +} +extern "C" { + pub fn sincosf(__x: f32, p_sin: *mut f32, p_cos: *mut f32); +} +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 atof(_String: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn _atof_l(_String: *const ::std::os::raw::c_char, _Locale: _locale_t) -> f64; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _complex { + pub x: f64, + pub y: f64, +} +#[test] +fn bindgen_test_layout__complex() { + assert_eq!( + ::std::mem::size_of::<_complex>(), + 16usize, + concat!("Size of: ", stringify!(_complex)) + ); + assert_eq!( + ::std::mem::align_of::<_complex>(), + 8usize, + concat!("Alignment of ", stringify!(_complex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_complex>())).x as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(_complex), + "::", + stringify!(x) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::<_complex>())).y as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(_complex), + "::", + stringify!(y) + ) + ); +} +extern "C" { + pub fn _cabs(_ComplexA: _complex) -> f64; +} +extern "C" { + pub fn _hypot(_X: f64, _Y: f64) -> f64; +} +extern "C" { + pub fn _j0(_X: f64) -> f64; +} +extern "C" { + pub fn _j1(_X: f64) -> f64; +} +extern "C" { + pub fn _jn(_X: ::std::os::raw::c_int, _Y: f64) -> f64; +} +extern "C" { + pub fn _y0(_X: f64) -> f64; +} +extern "C" { + pub fn _y1(_X: f64) -> f64; +} +extern "C" { + pub fn _yn(_X: ::std::os::raw::c_int, _Y: f64) -> f64; +} +extern "C" { + pub fn _matherr(arg1: *mut _exception) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _chgsign(_X: f64) -> f64; +} +extern "C" { + pub fn _copysign(_Number: f64, _Sign: f64) -> f64; +} +extern "C" { + pub fn _logb(arg1: f64) -> f64; +} +extern "C" { + pub fn _nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn _scalb(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn _finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fpclass(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _isnan(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn j0(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 y0(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 chgsign(arg1: f64) -> f64; +} +extern "C" { + pub fn finite(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn fpclass(arg1: f64) -> ::std::os::raw::c_int; +} +pub type float_t = f32; +pub type double_t = f64; +extern "C" { + pub fn __fpclassifyl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __fpclassify(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnan(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnanf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __isnanl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbit(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbitf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn __signbitl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn sinf(_X: f32) -> f32; +} +extern "C" { + pub fn sinl(arg1: u128) -> u128; +} +extern "C" { + pub fn cosf(_X: f32) -> f32; +} +extern "C" { + pub fn cosl(arg1: u128) -> u128; +} +extern "C" { + pub fn tanf(_X: f32) -> f32; +} +extern "C" { + pub fn tanl(arg1: u128) -> u128; +} +extern "C" { + pub fn asinf(_X: f32) -> f32; +} +extern "C" { + pub fn asinl(arg1: u128) -> u128; +} +extern "C" { + pub fn acosf(arg1: f32) -> f32; +} +extern "C" { + pub fn acosl(arg1: u128) -> u128; +} +extern "C" { + pub fn atanf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanl(arg1: u128) -> u128; +} +extern "C" { + pub fn atan2f(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn atan2l(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn sinhf(_X: f32) -> f32; +} +extern "C" { + pub fn sinhl(arg1: u128) -> u128; +} +extern "C" { + pub fn coshf(_X: f32) -> f32; +} +extern "C" { + pub fn coshl(arg1: u128) -> u128; +} +extern "C" { + pub fn tanhf(_X: f32) -> f32; +} +extern "C" { + pub fn tanhl(arg1: u128) -> u128; +} +extern "C" { + pub fn acosh(arg1: f64) -> f64; +} +extern "C" { + pub fn acoshf(arg1: f32) -> f32; +} +extern "C" { + pub fn acoshl(arg1: u128) -> u128; +} +extern "C" { + pub fn asinh(arg1: f64) -> f64; +} +extern "C" { + pub fn asinhf(arg1: f32) -> f32; +} +extern "C" { + pub fn asinhl(arg1: u128) -> u128; +} +extern "C" { + pub fn atanh(arg1: f64) -> f64; +} +extern "C" { + pub fn atanhf(arg1: f32) -> f32; +} +extern "C" { + pub fn atanhl(arg1: u128) -> u128; +} +extern "C" { + pub fn expf(_X: f32) -> f32; +} +extern "C" { + pub fn expl(arg1: u128) -> u128; +} +extern "C" { + pub fn exp2(arg1: f64) -> f64; +} +extern "C" { + pub fn exp2f(arg1: f32) -> f32; +} +extern "C" { + pub fn exp2l(arg1: u128) -> u128; +} +extern "C" { + pub fn expm1(arg1: f64) -> f64; +} +extern "C" { + pub fn expm1f(arg1: f32) -> f32; +} +extern "C" { + pub fn expm1l(arg1: u128) -> u128; +} +extern "C" { + pub fn frexpf(_X: f32, _Y: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn frexpl(arg1: u128, arg2: *mut ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ilogbl(arg1: u128) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ldexpf(_X: f32, _Y: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn ldexpl(arg1: u128, arg2: ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn logf(arg1: f32) -> f32; +} +extern "C" { + pub fn logl(arg1: u128) -> u128; +} +extern "C" { + pub fn log10f(arg1: f32) -> f32; +} +extern "C" { + pub fn log10l(arg1: u128) -> u128; +} +extern "C" { + pub fn log1p(arg1: f64) -> f64; +} +extern "C" { + pub fn log1pf(arg1: f32) -> f32; +} +extern "C" { + pub fn log1pl(arg1: u128) -> u128; +} +extern "C" { + pub fn log2(arg1: f64) -> f64; +} +extern "C" { + pub fn log2f(arg1: f32) -> f32; +} +extern "C" { + pub fn log2l(arg1: u128) -> u128; +} +extern "C" { + pub fn logb(arg1: f64) -> f64; +} +extern "C" { + pub fn logbf(arg1: f32) -> f32; +} +extern "C" { + pub fn logbl(arg1: u128) -> u128; +} +extern "C" { + pub fn modff(arg1: f32, arg2: *mut f32) -> f32; +} +extern "C" { + pub fn modfl(arg1: u128, arg2: *mut u128) -> u128; +} +extern "C" { + pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn scalbnl(arg1: u128, arg2: ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; +} +extern "C" { + pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; +} +extern "C" { + pub fn scalblnl(arg1: u128, arg2: ::std::os::raw::c_long) -> u128; +} +extern "C" { + pub fn cbrt(arg1: f64) -> f64; +} +extern "C" { + pub fn cbrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn cbrtl(arg1: u128) -> u128; +} +extern "C" { + pub fn hypot(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn hypotf(x: f32, y: f32) -> f32; +} +extern "C" { + pub fn hypotl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn powf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn powl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn sqrtf(arg1: f32) -> f32; +} +extern "C" { + pub fn sqrtl(arg1: u128) -> u128; +} +extern "C" { + pub fn erf(arg1: f64) -> f64; +} +extern "C" { + pub fn erff(arg1: f32) -> f32; +} +extern "C" { + pub fn erfl(arg1: u128) -> u128; +} +extern "C" { + pub fn erfc(arg1: f64) -> f64; +} +extern "C" { + pub fn erfcf(arg1: f32) -> f32; +} +extern "C" { + pub fn erfcl(arg1: u128) -> u128; +} +extern "C" { + pub fn lgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn lgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn lgammal(arg1: u128) -> u128; +} +extern "C" { + pub static mut signgam: ::std::os::raw::c_int; +} +extern "C" { + pub fn tgamma(arg1: f64) -> f64; +} +extern "C" { + pub fn tgammaf(arg1: f32) -> f32; +} +extern "C" { + pub fn tgammal(arg1: u128) -> u128; +} +extern "C" { + pub fn ceilf(arg1: f32) -> f32; +} +extern "C" { + pub fn ceill(arg1: u128) -> u128; +} +extern "C" { + pub fn floorf(arg1: f32) -> f32; +} +extern "C" { + pub fn floorl(arg1: u128) -> u128; +} +extern "C" { + pub fn nearbyint(arg1: f64) -> f64; +} +extern "C" { + pub fn nearbyintf(arg1: f32) -> f32; +} +extern "C" { + pub fn nearbyintl(arg1: u128) -> u128; +} +extern "C" { + pub fn rint(arg1: f64) -> f64; +} +extern "C" { + pub fn rintf(arg1: f32) -> f32; +} +extern "C" { + pub fn rintl(arg1: u128) -> u128; +} +extern "C" { + pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lrintl(arg1: u128) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llrintl(arg1: u128) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn round(arg1: f64) -> f64; +} +extern "C" { + pub fn roundf(arg1: f32) -> f32; +} +extern "C" { + pub fn roundl(arg1: u128) -> u128; +} +extern "C" { + pub fn lround(arg1: f64) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn lroundl(arg1: u128) -> ::std::os::raw::c_long; +} +extern "C" { + pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn llroundl(arg1: u128) -> ::std::os::raw::c_longlong; +} +extern "C" { + pub fn trunc(arg1: f64) -> f64; +} +extern "C" { + pub fn truncf(arg1: f32) -> f32; +} +extern "C" { + pub fn truncl(arg1: u128) -> u128; +} +extern "C" { + pub fn fmodf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmodl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn remainder(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn remainderf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn remainderl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; +} +extern "C" { + pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; +} +extern "C" { + pub fn remquol(arg1: u128, arg2: u128, arg3: *mut ::std::os::raw::c_int) -> u128; +} +extern "C" { + pub fn copysign(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn copysignf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn copysignl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn nan(tagp: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn nanf(tagp: *const ::std::os::raw::c_char) -> f32; +} +extern "C" { + pub fn nanl(tagp: *const ::std::os::raw::c_char) -> u128; +} +extern "C" { + pub fn nextafter(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn nextafterf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn nextafterl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn nexttoward(arg1: f64, arg2: u128) -> f64; +} +extern "C" { + pub fn nexttowardf(arg1: f32, arg2: u128) -> f32; +} +extern "C" { + pub fn nexttowardl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fdim(x: f64, y: f64) -> f64; +} +extern "C" { + pub fn fdimf(x: f32, y: f32) -> f32; +} +extern "C" { + pub fn fdiml(x: u128, y: u128) -> u128; +} +extern "C" { + pub fn fmax(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fmaxf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fmaxl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fmin(arg1: f64, arg2: f64) -> f64; +} +extern "C" { + pub fn fminf(arg1: f32, arg2: f32) -> f32; +} +extern "C" { + pub fn fminl(arg1: u128, arg2: u128) -> u128; +} +extern "C" { + pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; +} +extern "C" { + pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; +} +extern "C" { + pub fn fmal(arg1: u128, arg2: u128, arg3: u128) -> u128; +} +extern "C" { + pub fn _copysignf(_Number: f32, _Sign: f32) -> f32; +} +extern "C" { + pub fn _chgsignf(_X: f32) -> f32; +} +extern "C" { + pub fn _logbf(_X: f32) -> f32; +} +extern "C" { + pub fn _nextafterf(_X: f32, _Y: f32) -> f32; +} +extern "C" { + pub fn _finitef(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _isnanf(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _fpclassf(_X: f32) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn _chgsignl(arg1: u128) -> u128; +} +extern "C" { + pub static mut R_NaN: f64; +} +extern "C" { + pub static mut R_PosInf: f64; +} +extern "C" { + pub static mut R_NegInf: f64; +} +extern "C" { + pub static mut R_NaReal: f64; +} +extern "C" { + pub static mut R_NaInt: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} +pub const Rboolean_FALSE: Rboolean = 0; +pub const Rboolean_TRUE: Rboolean = 1; +pub type Rboolean = u32; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +#[test] +fn bindgen_test_layout_Rcomplex() { + assert_eq!( + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(Rcomplex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(Rcomplex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).r as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(r) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).i as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(Rcomplex), + "::", + stringify!(i) + ) + ); +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); +} +extern "C" { + pub fn R_gc(); +} +extern "C" { + pub fn R_gc_running() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_alloc(arg1: size_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_allocLD(nelem: size_t) -> *mut u128; +} +extern "C" { + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_malloc_gc(arg1: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_calloc_gc(arg1: size_t, arg2: size_t) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: size_t, + ) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); +} +extern "C" { + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_qsort(v: *mut f64, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: size_t, j: size_t); +} +extern "C" { + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); +} +extern "C" { + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn R_atof(str: *const ::std::os::raw::c_char) -> f64; +} +extern "C" { + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; +} +extern "C" { + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); +} +extern "C" { + pub fn R_CheckUserInterrupt(); +} +extern "C" { + pub fn R_CheckStack(); +} +extern "C" { + pub fn R_CheckStack2(arg1: size_t); +} +extern "C" { + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} +extern "C" { + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[test] +fn bindgen_test_layout_R_CMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 32usize, + concat!("Size of: ", stringify!(R_CMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(numArgs) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).types as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_CMethodDef), + "::", + stringify!(types) + ) + ); +} +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_R_CallMethodDef() { + assert_eq!( + ::std::mem::size_of::(), + 24usize, + concat!("Size of: ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_CallMethodDef)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).name as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(name) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).fun as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(fun) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).numArgs as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_CallMethodDef), + "::", + stringify!(numArgs) + ) + ); +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; +} +extern "C" { + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +pub const NativeSymbolType_R_ANY_SYM: NativeSymbolType = 0; +pub const NativeSymbolType_R_C_SYM: NativeSymbolType = 1; +pub const NativeSymbolType_R_CALL_SYM: NativeSymbolType = 2; +pub const NativeSymbolType_R_FORTRAN_SYM: NativeSymbolType = 3; +pub const NativeSymbolType_R_EXTERNAL_SYM: NativeSymbolType = 4; +pub type NativeSymbolType = u32; +extern "C" { + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; +} +extern "C" { + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); +} +extern "C" { + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} +pub type Rbyte = ::std::os::raw::c_uchar; +pub type R_len_t = ::std::os::raw::c_int; +pub type SEXPTYPE = ::std::os::raw::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct SEXPREC { + _unused: [u8; 0], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isNull(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLogical(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isReal(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isComplex(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isExpression(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isString(s: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isObject(s: SEXP) -> Rboolean; +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = -2; +pub const SORTED_DECR: _bindgen_ty_1 = -1; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = -2147483648; +pub const SORTED_INCR: _bindgen_ty_1 = 1; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = 2; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = 0; +pub type _bindgen_ty_1 = i32; +extern "C" { + pub fn ATTRIB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn TRACKREFS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_ATTRIB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); +} +extern "C" { + pub fn ENSURE_NAMEDMAX(x: SEXP); +} +extern "C" { + pub fn ENSURE_NAMED(x: SEXP); +} +extern "C" { + pub fn SETTER_CLEAR_NAMED(x: SEXP); +} +extern "C" { + pub fn RAISE_NAMED(x: SEXP, n: ::std::os::raw::c_int); +} +extern "C" { + pub fn DECREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn INCREMENT_REFCNT(x: SEXP); +} +extern "C" { + pub fn DISABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn ENABLE_REFCNT(x: SEXP); +} +extern "C" { + pub fn MARK_NOT_MUTABLE(x: SEXP); +} +extern "C" { + pub fn ASSIGNMENT_PENDING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ASSIGNMENT_PENDING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn IS_ASSIGNMENT_CALL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MARK_ASSIGNMENT_CALL(x: SEXP); +} +extern "C" { + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn UNSET_S4_OBJECT(x: SEXP); +} +extern "C" { + pub fn NOJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn MAYBEJIT(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_NOJIT(x: SEXP); +} +extern "C" { + pub fn SET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn UNSET_MAYBEJIT(x: SEXP); +} +extern "C" { + pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_GROWABLE_BIT(x: SEXP); +} +extern "C" { + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn SETLENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); +} +extern "C" { + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn REAL(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn RAW_RO(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn REAL_RO(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); +} +extern "C" { + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; +} +extern "C" { + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; +} +extern "C" { + pub fn VECTOR_PTR(x: SEXP) -> *mut SEXP; +} +extern "C" { + pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTREP_DUPLICATE_EX(x: SEXP, deep: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREP_COERCE(x: SEXP, type_: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn ALTREP_INSPECT( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean; +} +extern "C" { + pub fn ALTREP_SERIALIZED_CLASS(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_SERIALIZED_STATE(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREP_UNSERIALIZE_EX( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn ALTREP_LENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTREP_TRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn ALTVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn ALTVEC_EXTRACT_SUBSET(x: SEXP, indx: SEXP, call: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTLOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTLOGICAL_SET_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn ALTREAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn ALTREAL_SET_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn ALTSTRING_ELT(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn ALTSTRING_SET_ELT(arg1: SEXP, arg2: R_xlen_t, arg3: SEXP); +} +extern "C" { + pub fn ALTCOMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn ALTCOMPLEX_SET_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); +} +extern "C" { + pub fn ALTRAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn ALTRAW_SET_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); +} +extern "C" { + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; +} +extern "C" { + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; +} +extern "C" { + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; +} +extern "C" { + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; +} +extern "C" { + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ALTINTEGER_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTINTEGER_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn INTEGER_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn INTEGER_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTREAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MIN(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn ALTREAL_MAX(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn REAL_MATCH( + arg1: SEXP, + arg2: SEXP, + arg3: ::std::os::raw::c_int, + arg4: SEXP, + arg5: SEXP, + arg6: Rboolean, + ) -> SEXP; +} +extern "C" { + pub fn REAL_IS_NA(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ALTLOGICAL_SUM(x: SEXP, narm: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_compact_intrange(n1: R_xlen_t, n2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_deferred_coerceToString(v: SEXP, info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_virtrep_vec(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryWrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_tryUnwrap(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BadLongVector( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> R_len_t; +} +extern "C" { + pub fn BNDCELL_TAG(e: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_BNDCELL_TAG(e: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn BNDCELL_DVAL(cell: SEXP) -> f64; +} +extern "C" { + pub fn BNDCELL_IVAL(cell: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn BNDCELL_LVAL(cell: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_BNDCELL_DVAL(cell: SEXP, v: f64); +} +extern "C" { + pub fn SET_BNDCELL_IVAL(cell: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_BNDCELL_LVAL(cell: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn INIT_BNDCELL(cell: SEXP, type_: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_BNDCELL(cell: SEXP, val: SEXP); +} +extern "C" { + pub fn TAG(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR0(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CDDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CADDDR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn CAD4R(e: SEXP) -> SEXP; +} +extern "C" { + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_MISSING(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_TAG(x: SEXP, y: SEXP); +} +extern "C" { + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn CONS_NR(a: SEXP, b: SEXP) -> SEXP; +} +extern "C" { + pub fn FORMALS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn BODY(x: SEXP) -> SEXP; +} +extern "C" { + pub fn CLOENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FORMALS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_BODY(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_CLOENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRINTNAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn SYMVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn INTERNAL(x: SEXP) -> SEXP; +} +extern "C" { + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_DDVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRINTNAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_SYMVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_INTERNAL(x: SEXP, v: SEXP); +} +extern "C" { + pub fn FRAME(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENCLOS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn HASHTAB(x: SEXP) -> SEXP; +} +extern "C" { + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_FRAME(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_ENCLOS(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_HASHTAB(x: SEXP, v: SEXP); +} +extern "C" { + pub fn PRCODE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRENV(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRVALUE(x: SEXP) -> SEXP; +} +extern "C" { + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_PRSEEN(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_PRENV(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRVALUE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn SET_PRCODE(x: SEXP, v: SEXP); +} +extern "C" { + pub fn HASHASH(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn HASHVALUE(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_HASHASH(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_HASHVALUE(x: SEXP, v: ::std::os::raw::c_int); +} +pub type PROTECT_INDEX = ::std::os::raw::c_int; +extern "C" { + pub static mut R_GlobalEnv: SEXP; +} +extern "C" { + pub static mut R_EmptyEnv: SEXP; +} +extern "C" { + pub static mut R_BaseEnv: SEXP; +} +extern "C" { + pub static mut R_BaseNamespace: SEXP; +} +extern "C" { + pub static mut R_NamespaceRegistry: SEXP; +} +extern "C" { + pub static mut R_Srcref: SEXP; +} +extern "C" { + pub static mut R_NilValue: SEXP; +} +extern "C" { + pub static mut R_UnboundValue: SEXP; +} +extern "C" { + pub static mut R_MissingArg: SEXP; +} +extern "C" { + pub static mut R_InBCInterpreter: SEXP; +} +extern "C" { + pub static mut R_CurrentExpression: SEXP; +} +extern "C" { + pub static mut R_RestartToken: SEXP; +} +extern "C" { + pub static mut R_AsCharacterSymbol: SEXP; +} +extern "C" { + pub static mut R_baseSymbol: SEXP; +} +extern "C" { + pub static mut R_BaseSymbol: SEXP; +} +extern "C" { + pub static mut R_BraceSymbol: SEXP; +} +extern "C" { + pub static mut R_Bracket2Symbol: SEXP; +} +extern "C" { + pub static mut R_BracketSymbol: SEXP; +} +extern "C" { + pub static mut R_ClassSymbol: SEXP; +} +extern "C" { + pub static mut R_DeviceSymbol: SEXP; +} +extern "C" { + pub static mut R_DimNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_DimSymbol: SEXP; +} +extern "C" { + pub static mut R_DollarSymbol: SEXP; +} +extern "C" { + pub static mut R_DotsSymbol: SEXP; +} +extern "C" { + pub static mut R_DoubleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_DropSymbol: SEXP; +} +extern "C" { + pub static mut R_EvalSymbol: SEXP; +} +extern "C" { + pub static mut R_FunctionSymbol: SEXP; +} +extern "C" { + pub static mut R_LastvalueSymbol: SEXP; +} +extern "C" { + pub static mut R_LevelsSymbol: SEXP; +} +extern "C" { + pub static mut R_ModeSymbol: SEXP; +} +extern "C" { + pub static mut R_NaRmSymbol: SEXP; +} +extern "C" { + pub static mut R_NameSymbol: SEXP; +} +extern "C" { + pub static mut R_NamesSymbol: SEXP; +} +extern "C" { + pub static mut R_NamespaceEnvSymbol: SEXP; +} +extern "C" { + pub static mut R_PackageSymbol: SEXP; +} +extern "C" { + pub static mut R_PreviousSymbol: SEXP; +} +extern "C" { + pub static mut R_QuoteSymbol: SEXP; +} +extern "C" { + pub static mut R_RowNamesSymbol: SEXP; +} +extern "C" { + pub static mut R_SeedsSymbol: SEXP; +} +extern "C" { + pub static mut R_SortListSymbol: SEXP; +} +extern "C" { + pub static mut R_SourceSymbol: SEXP; +} +extern "C" { + pub static mut R_SpecSymbol: SEXP; +} +extern "C" { + pub static mut R_TripleColonSymbol: SEXP; +} +extern "C" { + pub static mut R_TspSymbol: SEXP; +} +extern "C" { + pub static mut R_dot_defined: SEXP; +} +extern "C" { + pub static mut R_dot_Method: SEXP; +} +extern "C" { + pub static mut R_dot_packageName: SEXP; +} +extern "C" { + pub static mut R_dot_target: SEXP; +} +extern "C" { + pub static mut R_dot_Generic: SEXP; +} +extern "C" { + pub static mut R_NaString: SEXP; +} +extern "C" { + pub static mut R_BlankString: SEXP; +} +extern "C" { + pub static mut R_BlankScalarString: SEXP; +} +extern "C" { + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asLogical2( + x: SEXP, + checking: ::std::os::raw::c_int, + call: SEXP, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_asReal(x: SEXP) -> f64; +} +extern "C" { + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +pub const warn_type_iSILENT: warn_type = 0; +pub const warn_type_iWARN: warn_type = 1; +pub const warn_type_iERROR: warn_type = 2; +pub type warn_type = u32; +extern "C" { + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_addMissingVarsToNewEnv(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList2(sym1: SEXP, sym2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList3(sym1: SEXP, sym2: SEXP, sym3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList4(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList5(sym1: SEXP, sym2: SEXP, sym3: SEXP, sym4: SEXP, sym5: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_allocFormalsList6( + sym1: SEXP, + sym2: SEXP, + sym3: SEXP, + sym4: SEXP, + sym5: SEXP, + sym6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; +} +extern "C" { + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_allocS4Object() -> SEXP; +} +extern "C" { + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; +} +extern "C" { + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; +} +extern "C" { + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_arraySubscript( + arg1: ::std::os::raw::c_int, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::option::Option SEXP>, + arg5: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP, + >, + arg6: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_fixSubset3Args(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: *mut SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); +} +extern "C" { + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_countContexts( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_CreateTag(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_DropDims(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_envHasNoSpecialSymbols(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_ExtractSubset(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFun3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findFunctionForBody(arg1: SEXP); +} +extern "C" { + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_FixupDigits(arg1: SEXP, arg2: warn_type) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_FixupWidth(arg1: SEXP, arg2: warn_type) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_installChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_installDDVAL(i: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_installS3Signature( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + ) -> SEXP; +} +extern "C" { + pub fn Rf_isFree(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnmodifiedSpecSym(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; +} +extern "C" { + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; +} +extern "C" { + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_matchE(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +pub const nchar_type_Bytes: nchar_type = 0; +pub const nchar_type_Chars: nchar_type = 1; +pub const nchar_type_Width: nchar_type = 2; +pub type nchar_type = u32; +extern "C" { + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_pmatch(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> Rboolean; +} +extern "C" { + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} +extern "C" { + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_PrintValue(arg1: SEXP); +} +extern "C" { + pub fn Rf_printwhere(); +} +extern "C" { + pub fn Rf_readS3VarsFromFrame( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut SEXP, + arg5: *mut SEXP, + arg6: *mut SEXP, + arg7: *mut SEXP, + ); +} +extern "C" { + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_setSVector(arg1: *mut SEXP, arg2: ::std::os::raw::c_int, arg3: SEXP); +} +extern "C" { + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); +} +extern "C" { + pub fn Rf_stringSuffix(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; +} +extern "C" { + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateChar0(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect_ptr(arg1: SEXP); +} +extern "C" { + pub fn R_signal_protect_error(); +} +extern "C" { + pub fn R_signal_unprotect_error(); +} +extern "C" { + pub fn R_signal_reprotect_error(i: PROTECT_INDEX); +} +extern "C" { + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_GetCurrentEnv() -> SEXP; +} +extern "C" { + pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn Rf_isS4(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_cycle_detected(s: SEXP, child: SEXP) -> Rboolean; +} +pub const cetype_t_CE_NATIVE: cetype_t = 0; +pub const cetype_t_CE_UTF8: cetype_t = 1; +pub const cetype_t_CE_LATIN1: cetype_t = 2; +pub const cetype_t_CE_BYTES: cetype_t = 3; +pub const cetype_t_CE_SYMBOL: cetype_t = 5; +pub const cetype_t_CE_ANY: cetype_t = 99; +pub type cetype_t = u32; +extern "C" { + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; +} +extern "C" { + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; +} +extern "C" { + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; +} +extern "C" { + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClearExternalPtr(s: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); +} +extern "C" { + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); +} +extern "C" { + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; +} +pub type R_CFinalizer_t = ::std::option::Option; +extern "C" { + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); +} +extern "C" { + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); +} +extern "C" { + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); +} +extern "C" { + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); +} +extern "C" { + pub fn R_RunPendingFinalizers(); +} +extern "C" { + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; +} +extern "C" { + pub fn R_WeakRefKey(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_WeakRefValue(w: SEXP) -> SEXP; +} +extern "C" { + pub fn R_RunWeakRefFinalizer(w: SEXP); +} +extern "C" { + pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; +} +extern "C" { + pub fn R_initialize_bcode(); +} +extern "C" { + pub fn R_bcEncode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_bcDecode(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn R_registerBC(arg1: SEXP, arg2: SEXP); +} +extern "C" { + pub fn R_checkConstants(arg1: Rboolean) -> Rboolean; +} +extern "C" { + pub fn R_BCVersionOK(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_init_altrep(); +} +extern "C" { + pub fn R_reinit_altrep_classes(arg1: *mut DllInfo); +} +extern "C" { + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; +} +extern "C" { + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; +} +extern "C" { + pub fn R_MakeUnwindCont() -> SEXP; +} +extern "C" { + pub fn R_ContinueUnwind(cont: SEXP); +} +extern "C" { + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; +} +extern "C" { + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_RestoreHashCount(rho: SEXP); +} +extern "C" { + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; +} +extern "C" { + pub fn R_FindNamespace(info: SEXP) -> SEXP; +} +extern "C" { + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); +} +extern "C" { + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_LockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_unLockBinding(sym: SEXP, env: SEXP); +} +extern "C" { + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); +} +extern "C" { + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; +} +extern "C" { + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); +} +extern "C" { + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; +} +extern "C" { + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); +} +extern "C" { + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +pub const R_pstream_format_t_R_pstream_any_format: R_pstream_format_t = 0; +pub const R_pstream_format_t_R_pstream_ascii_format: R_pstream_format_t = 1; +pub const R_pstream_format_t_R_pstream_binary_format: R_pstream_format_t = 2; +pub const R_pstream_format_t_R_pstream_xdr_format: R_pstream_format_t = 3; +pub const R_pstream_format_t_R_pstream_asciihex_format: R_pstream_format_t = 4; +pub type R_pstream_format_t = u32; +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +#[test] +fn bindgen_test_layout_R_outpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 48usize, + concat!("Size of: ", stringify!(R_outpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_outpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).version as *const _ as usize }, + 12usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(version) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).OutBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).OutPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_outpstream_st), + "::", + stringify!(OutPersistHookData) + ) + ); +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout_R_inpstream_st() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(R_inpstream_st)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(R_inpstream_st)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).data as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(data) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 8usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InChar as *const _ as usize }, + 16usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InChar) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).InBytes as *const _ as usize }, + 24usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InBytes) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookFunc as *const _ as usize + }, + 32usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookFunc) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).InPersistHookData as *const _ as usize + }, + 40usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(InPersistHookData) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).native_encoding as *const _ as usize }, + 48usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(native_encoding) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2nat_obj as *const _ as usize }, + 112usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2nat_obj) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).nat2utf8_obj as *const _ as usize }, + 120usize, + concat!( + "Offset of field: ", + stringify!(R_inpstream_st), + "::", + stringify!(nat2utf8_obj) + ) + ); +} +extern "C" { + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); +} +extern "C" { + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); +} +extern "C" { + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; +} +extern "C" { + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; +} +extern "C" { + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn R_getClassDef_R(what: SEXP) -> SEXP; +} +extern "C" { + pub fn R_has_methods_attached() -> Rboolean; +} +extern "C" { + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; +} +extern "C" { + pub fn R_do_new_object(class_def: SEXP) -> SEXP; +} +extern "C" { + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_PreserveObject(arg1: SEXP); +} +extern "C" { + pub fn R_ReleaseObject(arg1: SEXP); +} +extern "C" { + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); +} +extern "C" { + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_dot_Last(); +} +extern "C" { + pub fn R_RunExitFinalizers(); +} +extern "C" { + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; +} +extern "C" { + pub fn R_body_no_src(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); +} +extern "C" { + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; +} +extern "C" { + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; +} +extern "C" { + pub fn Rf_lang1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_length(arg1: SEXP) -> R_len_t; +} +extern "C" { + pub fn Rf_list1(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; +} +extern "C" { + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; +} +extern "C" { + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; +} +extern "C" { + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; +} +extern "C" { + pub fn Rf_protect(arg1: SEXP) -> SEXP; +} +extern "C" { + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); +} +extern "C" { + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); +} +extern "C" { + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); +} +extern "C" { + pub fn R_FixupRHS(x: SEXP, y: SEXP) -> SEXP; +} +extern "C" { + pub fn CAR(e: SEXP) -> SEXP; +} +extern "C" { + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; +} +extern "C" { + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; +} +extern "C" { + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; +} +extern "C" { + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; +} +extern "C" { + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; +} +extern "C" { + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; +} +extern "C" { + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; +} +extern "C" { + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; +} +extern "C" { + pub fn SCALAR_DVAL(x: SEXP) -> f64; +} +extern "C" { + pub fn SCALAR_LVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SCALAR_IVAL(x: SEXP) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn SET_SCALAR_DVAL(x: SEXP, v: f64); +} +extern "C" { + pub fn SET_SCALAR_LVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_IVAL(x: SEXP, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_SCALAR_CVAL(x: SEXP, v: Rcomplex); +} +extern "C" { + pub fn SET_SCALAR_BVAL(x: SEXP, v: Rbyte); +} +extern "C" { + pub fn R_altrep_data1(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_altrep_data2(x: SEXP) -> SEXP; +} +extern "C" { + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); +} +extern "C" { + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); +} +extern "C" { + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; +} +extern "C" { + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; +} +extern "C" { + pub fn REAL0(x: SEXP) -> *mut f64; +} +extern "C" { + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; +} +extern "C" { + pub fn RAW0(x: SEXP) -> *mut Rbyte; +} +extern "C" { + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); +} +extern "C" { + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); +} +extern "C" { + pub fn R_BadValueInRCode( + value: SEXP, + call: SEXP, + rho: SEXP, + rawmsg: *const ::std::os::raw::c_char, + errmsg: *const ::std::os::raw::c_char, + warnmsg: *const ::std::os::raw::c_char, + varname: *const ::std::os::raw::c_char, + warnByDefault: Rboolean, + ); +} +extern "C" { + pub static mut R_CStackLimit: usize; +} +extern "C" { + pub fn Rf_initEmbeddedR( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); +} +extern "C" { + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn setup_Rmainloop(); +} +extern "C" { + pub fn R_ReplDLLinit(); +} +extern "C" { + pub fn R_ReplDLLdo1() -> ::std::os::raw::c_int; +} +extern "C" { + pub fn R_setStartTime(); +} +extern "C" { + pub fn CleanEd(); +} +extern "C" { + pub fn Rf_KillAllDevices(); +} +extern "C" { + pub static mut R_DirtyImage: ::std::os::raw::c_int; +} +extern "C" { + pub fn R_CleanTempDir(); +} +extern "C" { + pub static mut R_TempDir: *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn R_SaveGlobalEnv(); +} +extern "C" { + pub fn getDLLVersion() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn getRUser() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn get_R_HOME() -> *mut ::std::os::raw::c_char; +} +extern "C" { + pub fn setup_term_ui(); +} +extern "C" { + pub static mut UserBreak: ::std::os::raw::c_int; +} +extern "C" { + pub static mut AllDevicesKilled: Rboolean; +} +extern "C" { + pub fn editorcleanall(); +} +extern "C" { + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn GA_appcleanup(); +} +extern "C" { + pub fn readconsolecfg(); +} +pub const ParseStatus_PARSE_NULL: ParseStatus = 0; +pub const ParseStatus_PARSE_OK: ParseStatus = 1; +pub const ParseStatus_PARSE_INCOMPLETE: ParseStatus = 2; +pub const ParseStatus_PARSE_ERROR: ParseStatus = 3; +pub const ParseStatus_PARSE_EOF: ParseStatus = 4; +pub type ParseStatus = u32; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct lconv { + pub _address: u8, +}